/*
 * Makhtoum final luxury consistency layer.
 * Loaded after the premium storefront stylesheet.
 */

:root {
    --mk-page: #f4f6f2;
    --mk-paper: #f8faf7;
    --mk-panel: #ffffff;
    --mk-ink: #203128;
    --mk-forest-deep: #0c291a;
    --mk-line: rgba(32, 73, 47, 0.14);
    --mk-gold-soft: #e7c57d;
    --mk-focus: #d7ad58;
}

.mk-icon {
    display: block;
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mk-icon .mk-icon__fill {
    fill: currentColor;
    stroke: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--mk-focus) !important;
    outline-offset: 3px;
}

/* Announcement */
.makhtoum-header__utility {
    min-height: 50px;
    background: var(--mk-forest-deep);
}

.mk-announcements,
.mk-announcements__track {
    height: 50px;
}

.mk-announcements {
    position: relative;
    z-index: 2;
    color: #f7f4ea;
}

.mk-announcements::before,
.mk-announcements::after {
    position: absolute;
    z-index: 3;
    top: 0;
    bottom: 0;
    width: clamp(18px, 5vw, 76px);
    pointer-events: none;
    content: "";
}

.mk-announcements::before {
    left: 0;
    background: linear-gradient(90deg, var(--mk-forest-deep), rgba(12, 41, 26, 0));
}

.mk-announcements::after {
    right: 0;
    background: linear-gradient(270deg, var(--mk-forest-deep), rgba(12, 41, 26, 0));
}

.mk-announcements__track {
    display: flex;
    width: max-content;
    min-width: 0;
    align-items: center;
    animation: mk-luxury-announcement var(--mk-announcement-duration, 44s) linear infinite;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.mk-announcements__group {
    display: flex;
    flex: 0 0 auto;
    min-width: max-content;
    align-items: center;
    gap: clamp(42px, 5vw, 78px);
    padding-inline-end: clamp(42px, 5vw, 78px);
}

.mk-announcements .mk-announcement {
    position: static;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 12px;
    opacity: 1;
    color: #f4f6f1;
    transform: none;
    transition: none;
}

.mk-announcements .mk-announcement::before,
.mk-announcements .mk-announcement > span::before {
    display: none;
    content: none;
}

.mk-announcement > .mk-icon {
    width: 19px;
    height: 19px;
    color: var(--mk-gold-soft);
    stroke-width: 1.6;
}

.mk-announcements .mk-announcement > span {
    position: static;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    opacity: 1;
    transform: none;
    transition: none;
}

.mk-announcement strong {
    color: #f7e1b2;
    font-size: 12px;
    font-weight: 760;
}

.mk-announcement b {
    padding-inline-start: 11px;
    border-inline-start: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    font-family: var(--mk-arabic-font);
    font-size: 14px;
    font-weight: 680;
    line-height: 1.3;
}

.mk-announcements:hover .mk-announcements__track,
.mk-announcements:focus .mk-announcements__track,
.mk-announcements:focus-within .mk-announcements__track {
    animation-play-state: paused;
}

@keyframes mk-luxury-announcement {
    to {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Header and navigation icons */
.makhtoum-header__action .mk-icon,
.makhtoum-search .mk-icon {
    width: 21px;
    height: 21px;
    transition: transform 180ms ease, color 180ms ease;
}

.makhtoum-header__action:hover .mk-icon,
.makhtoum-header__action:focus .mk-icon,
.makhtoum-search button:hover .mk-icon,
.makhtoum-search button:focus .mk-icon {
    color: #a87324;
    transform: translateY(-1px);
}

.makhtoum-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    place-items: center;
    padding: 0;
}

.makhtoum-menu-toggle > span {
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    background: none !important;
}

.makhtoum-menu-toggle__open,
.makhtoum-menu-toggle__close {
    display: grid;
    place-items: center;
}

.makhtoum-menu-toggle__close,
.makhtoum-menu-toggle[aria-expanded="true"] .makhtoum-menu-toggle__open {
    display: none;
}

.makhtoum-menu-toggle[aria-expanded="true"] .makhtoum-menu-toggle__close {
    display: grid;
}

.mk-nav-collections {
    position: relative;
}

.mk-nav-collections > button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 5px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--mk-primary-dark);
    font-size: 13px;
    font-weight: 750;
}

.mk-nav-collections > button .mk-icon {
    width: 15px;
    height: 15px;
    transition: transform 180ms ease;
}

.mk-nav-collections.is-open > button .mk-icon {
    transform: rotate(180deg);
}

.mk-nav-collections.is-current > button,
.mk-nav-collections > button:hover,
.mk-nav-collections > button:focus,
.makhtoum-header__nav > a[aria-current="page"] {
    color: #a87324;
}

.mk-nav-collections__panel {
    position: absolute;
    z-index: 30;
    top: calc(100% + 16px);
    left: 50%;
    display: grid;
    visibility: hidden;
    width: 520px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    padding: 10px;
    border: 1px solid rgba(32, 73, 47, 0.14);
    border-radius: 7px;
    opacity: 0;
    background: #fff;
    box-shadow: 0 24px 52px rgba(13, 40, 27, 0.16);
    transform: translate(-50%, 8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.mk-nav-collections.is-open .mk-nav-collections__panel,
.mk-nav-collections:focus-within .mk-nav-collections__panel {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
}

.mk-nav-collections__panel a {
    display: grid;
    min-height: 64px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-content: center;
    gap: 2px 10px;
    padding: 10px 12px;
    border-radius: 5px;
    color: var(--mk-ink);
}

.mk-nav-collections__panel a:hover,
.mk-nav-collections__panel a:focus,
.mk-nav-collections__panel a[aria-current="page"] {
    background: #edf3ed;
    color: var(--mk-primary-dark);
}

.mk-nav-collections__panel a span {
    font-size: 12px;
    font-weight: 780;
}

.mk-nav-collections__panel a b {
    grid-column: 1;
    color: #9a6a20;
    font-family: var(--mk-arabic-font);
    font-size: 11px;
}

.mk-nav-collections__panel a .mk-icon {
    grid-row: 1 / 3;
    grid-column: 2;
    align-self: center;
    width: 16px;
    height: 16px;
}

/* Premium Arabic FAQ */
.mk-faq {
    position: relative;
    overflow: hidden;
    background-color: #edf2ed;
    background-image: url("../icons/makhtoum-pattern.svg");
    background-size: 150px 150px;
}

.mk-faq::before {
    position: absolute;
    inset: 0;
    background: rgba(237, 242, 237, 0.82);
    content: "";
}

.mk-faq__layout {
    position: relative;
    z-index: 1;
    gap: clamp(42px, 6vw, 84px);
}

.mk-faq__visual {
    min-height: 610px;
    border: 1px solid rgba(231, 197, 125, 0.28);
    border-radius: 7px;
    background: #123522;
    box-shadow: 0 30px 60px rgba(13, 40, 27, 0.14);
}

.mk-faq__visual::after {
    background: linear-gradient(180deg, rgba(18, 53, 34, 0.02) 22%, rgba(10, 36, 23, 0.96) 82%);
}

.mk-faq__visual > img {
    top: 12px;
    right: -28px;
    width: 88%;
    height: 420px;
    mix-blend-mode: normal;
    object-fit: contain;
    opacity: 0.94;
}

.mk-faq__visual > div {
    padding: 42px;
}

.mk-faq__visual h2 {
    max-width: 520px;
    margin: 8px 0 0;
    color: #fff;
    font-family: var(--mk-arabic-font);
    font-size: 34px;
    font-weight: 740;
    line-height: 1.55;
    text-align: right;
}

.mk-faq__visual p:last-child {
    line-height: 1.75;
}

.mk-accordion {
    display: grid;
    gap: 12px;
    border: 0;
}

.mk-accordion__item {
    overflow: hidden;
    border: 1px solid rgba(32, 73, 47, 0.14);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 30px rgba(13, 40, 27, 0.045);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.mk-accordion__item.is-open {
    border-color: rgba(201, 154, 61, 0.46);
    box-shadow: 0 18px 36px rgba(13, 40, 27, 0.08);
    transform: translateY(-1px);
}

.mk-accordion__item > button {
    min-height: 90px;
    padding: 17px 20px;
    text-align: right;
}

.mk-accordion__question {
    display: grid;
    gap: 5px;
}

.mk-accordion__question strong {
    color: var(--mk-primary-dark);
    font-family: var(--mk-arabic-font);
    font-size: 17px;
    font-weight: 740;
    line-height: 1.65;
}

.mk-accordion__question small {
    color: #718078;
    font-size: 11px;
    font-weight: 650;
}

.mk-accordion__toggle {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border: 1px solid rgba(32, 73, 47, 0.18);
    border-radius: 50%;
    color: var(--mk-primary);
    background: #f7faf6;
}

.mk-accordion__toggle .mk-icon {
    width: 18px;
    height: 18px;
}

.mk-accordion__panel {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows 240ms ease, opacity 180ms ease;
}

.mk-accordion__panel > div {
    min-height: 0;
    overflow: hidden;
}

.mk-accordion__item.is-open .mk-accordion__panel {
    grid-template-rows: 1fr;
    opacity: 1;
}

.mk-accordion__panel p {
    max-width: none;
    margin: 0;
    padding: 0 20px 7px;
    color: #45584c;
    font-family: var(--mk-arabic-font);
    font-size: 14px;
    line-height: 1.9;
    text-align: right;
}

.mk-accordion__panel small {
    display: block;
    padding: 0 20px 22px;
    color: #7a887f;
    font-size: 11px;
    line-height: 1.7;
}

.mk-faq__mount > details {
    margin-bottom: 10px;
    padding: 0 18px;
    border: 1px solid var(--mk-line);
    border-radius: 7px;
    background: #fff;
}

.mk-faq__mount > details summary {
    display: grid;
    min-height: 78px;
    align-content: center;
    gap: 4px;
    padding: 14px 0;
}

.mk-faq__mount > details summary span {
    font-family: var(--mk-arabic-font);
    font-size: 17px;
}

.mk-faq__mount > details summary small {
    color: #718078;
    font-size: 11px;
}

.mk-faq__mount > details > div {
    padding-bottom: 18px;
}

/* Brand symbol and footer */
.mk-final-cta__symbol {
    display: grid;
    width: 126px;
    height: 126px;
    place-items: center;
}

.mk-final-cta__symbol img {
    width: 112px;
    height: 112px;
    object-fit: contain;
    transition: transform 260ms ease;
}

.mk-final-cta:hover .mk-final-cta__symbol img {
    transform: rotate(8deg) scale(1.03);
}

.makhtoum-footer {
    color: #e4ece6;
    background:
        linear-gradient(rgba(13, 40, 27, 0.96), rgba(9, 31, 20, 0.99)),
        url("../icons/makhtoum-pattern.svg");
    background-size: auto, 180px 180px;
}

.makhtoum-footer__signature-brand {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: center;
    gap: 18px;
}

.makhtoum-footer__signature-brand > img {
    width: 62px;
    height: 62px;
    object-fit: contain;
}

.makhtoum-footer__signature-brand > div {
    display: grid;
}

.makhtoum-footer__signature-brand > div > span {
    color: #b7c7bc;
}

.makhtoum-footer__signature-brand > div > strong {
    margin-top: 4px;
    color: var(--mk-gold-soft);
    font-family: var(--mk-arabic-font);
    font-size: 20px;
}

.makhtoum-footer__commitments span {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-color: rgba(255, 255, 255, 0.17);
    color: #e4ece6;
}

.makhtoum-footer__commitments .mk-icon {
    width: 17px;
    height: 17px;
    color: var(--mk-gold-soft);
}

.makhtoum-footer__grid {
    grid-template-columns: minmax(250px, 1.35fr) repeat(3, minmax(130px, 0.66fr)) minmax(190px, 0.8fr);
    gap: 46px 30px;
}

.makhtoum-footer h2 {
    margin-bottom: 20px;
    color: var(--mk-gold-soft) !important;
    font-size: 13px;
    letter-spacing: 0;
}

.makhtoum-footer__grid > div:not(.makhtoum-footer__brand) > a {
    display: block;
    width: fit-content;
    margin: 0 0 10px;
    color: #d7e1da !important;
    font-size: 12px;
    line-height: 1.5;
}

.makhtoum-footer__grid > div:not(.makhtoum-footer__brand) > a:hover,
.makhtoum-footer__grid > div:not(.makhtoum-footer__brand) > a:focus {
    color: #fff !important;
    text-decoration-color: var(--mk-gold-soft);
}

.makhtoum-footer__brand p {
    color: #b9c8be !important;
    line-height: 1.8;
}

.makhtoum-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.makhtoum-footer__socials a {
    position: relative;
    display: grid !important;
    width: 50px;
    min-width: 50px;
    height: 50px;
    min-height: 50px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    color: #f5f7f4 !important;
    background: rgba(255, 255, 255, 0.035);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.makhtoum-footer__socials a:hover,
.makhtoum-footer__socials a:focus {
    border-color: var(--mk-gold-soft);
    color: var(--mk-gold-soft) !important;
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

.makhtoum-footer__socials .mk-icon {
    width: 22px;
    height: 22px;
}

.makhtoum-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.makhtoum-footer__bottom span {
    color: #b8c6bc;
}

/* Utility page art direction */
.mk-page {
    color: var(--mk-ink);
    background-color: var(--mk-page);
    background-image: url("../icons/makhtoum-pattern.svg");
    background-size: 180px 180px;
}

.mk-page-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--mk-line);
    background: rgba(248, 250, 247, 0.94);
}

.mk-page-hero__layout {
    display: grid;
    min-height: 280px;
    grid-template-columns: minmax(0, 1fr) 140px;
    align-items: center;
    gap: 48px;
    padding-top: 56px;
    padding-bottom: 56px;
}

.mk-page-hero h1,
.mk-about-hero h1,
.mk-contact-hero h1,
.mk-help-hero h1,
.mk-404-page h1 {
    margin: 7px 0 14px;
    color: var(--mk-primary-dark);
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.08;
}

.mk-page-hero__layout > div > p:last-child,
.mk-contact-hero .mk-shell > p:last-child,
.mk-help-hero__layout > div > p:last-child {
    max-width: 670px;
    color: #68766d;
    font-size: 15px;
    line-height: 1.75;
}

.mk-page-hero__layout > img {
    width: 128px;
    height: 128px;
}

.mk-page-arabic {
    margin: 4px 0;
    color: #a87324;
    font-family: var(--mk-arabic-font);
    font-size: 21px;
    font-weight: 720;
    line-height: 1.7;
}

.mk-page-content {
    padding-top: 58px;
    padding-bottom: 82px;
}

.mk-page-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 38px;
}

.mk-page-heading h2 {
    max-width: 720px;
    margin: 6px 0 0;
    font-size: clamp(31px, 4vw, 47px);
}

.mk-page-heading > p {
    max-width: 480px;
    margin: 0;
    color: #68766d;
    font-family: var(--mk-arabic-font);
    font-size: 15px;
    line-height: 1.9;
}

/* About */
.mk-about-hero,
.mk-contact-hero,
.mk-help-hero {
    background: rgba(248, 250, 247, 0.94);
}

.mk-about-hero__layout {
    display: grid;
    min-height: 650px;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
    align-items: center;
    gap: 84px;
}

.mk-about-hero__copy > p:not(.mk-page-arabic) {
    max-width: 670px;
    color: #66756b;
    font-size: 16px;
    line-height: 1.85;
}

.mk-about-hero__visual {
    position: relative;
    display: grid;
    min-height: 500px;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--mk-line);
    background: #edf3ed;
}

.mk-about-hero__visual::before {
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(201, 154, 61, 0.32);
    content: "";
}

.mk-about-hero__visual img {
    position: relative;
    z-index: 1;
    width: 82%;
    height: 420px;
    object-fit: contain;
}

.mk-about-hero__visual > span {
    position: absolute;
    z-index: 2;
    right: 26px;
    bottom: 24px;
    padding: 9px 13px;
    color: #fff;
    background: var(--mk-primary-dark);
    font-family: var(--mk-arabic-font);
    font-size: 12px;
}

.mk-about-values {
    padding: 92px 0;
    background: #fff;
}

.mk-about-values__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.mk-about-values__grid article {
    min-height: 260px;
    padding: 28px;
    border: 1px solid var(--mk-line);
    border-radius: 7px;
    background: #f8faf7;
}

.mk-about-values__grid .mk-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 44px;
    color: #a87324;
}

.mk-about-values__grid strong,
.mk-about-values__grid b {
    display: block;
}

.mk-about-values__grid strong {
    color: var(--mk-primary-dark);
    font-size: 18px;
}

.mk-about-values__grid b {
    margin-top: 5px;
    color: #a87324;
    font-family: var(--mk-arabic-font);
    font-size: 14px;
}

.mk-about-values__grid p {
    margin: 18px 0 0;
    color: #68766d;
    font-size: 13px;
    line-height: 1.75;
}

.mk-about-proof {
    padding: 90px 0;
    background-color: #edf2ed;
    background-image: url("../icons/makhtoum-pattern.svg");
    background-size: 160px 160px;
}

.mk-about-proof__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.mk-about-proof__grid a {
    position: relative;
    display: grid;
    gap: 14px;
    padding: 12px 12px 18px;
    border: 1px solid var(--mk-line);
    border-radius: 7px;
    color: var(--mk-primary-dark);
    background: #fff;
}

.mk-about-proof__grid a > span {
    display: block;
    height: 250px;
    overflow: hidden;
    background: #eef1ec;
}

.mk-about-proof__grid img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mk-about-proof__grid .mk-icon {
    position: absolute;
    right: 14px;
    bottom: 16px;
    width: 16px;
    height: 16px;
    color: #a87324;
}

.mk-about-cta {
    padding: 60px 0;
    color: #fff;
    background: #133723;
}

.mk-about-cta .mk-shell {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) auto;
    align-items: center;
    gap: 36px;
}

.mk-about-cta img {
    width: 92px;
    height: 92px;
}

.mk-about-cta p {
    margin: 0 0 5px;
    color: var(--mk-gold-soft);
    font-family: var(--mk-arabic-font);
    font-size: 17px;
}

.mk-about-cta h2 {
    margin: 0;
    color: #fff;
    font-size: 34px;
}

/* Contact and help */
.mk-contact-hero .mk-shell {
    min-height: 430px;
    padding-top: 80px;
    padding-bottom: 80px;
}

.mk-contact-content {
    padding: 88px 0;
    background-color: #edf2ed;
    background-image: url("../icons/makhtoum-pattern.svg");
    background-size: 150px 150px;
}

.mk-contact-content__layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
    gap: 70px;
}

.mk-contact-content aside {
    padding: 34px;
    color: #fff;
    background: #123522;
}

.mk-contact-content__mark img {
    width: 76px;
    height: 76px;
    margin-bottom: 48px;
}

.mk-contact-content aside h2 {
    margin: 9px 0 18px;
    color: #fff;
    font-family: var(--mk-arabic-font);
    font-size: 31px;
    line-height: 1.55;
}

.mk-contact-content aside > p {
    color: #c6d3ca;
    font-size: 13px;
    line-height: 1.8;
}

.mk-contact-socials {
    display: grid;
    gap: 8px;
    margin-top: 32px;
}

.mk-contact-socials a {
    display: grid;
    min-height: 50px;
    grid-template-columns: 24px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #eff5f0;
}

.mk-contact-socials a:hover,
.mk-contact-socials a:focus {
    border-color: var(--mk-gold-soft);
    color: var(--mk-gold-soft);
}

.mk-contact-socials .mk-icon:last-child {
    width: 15px;
    height: 15px;
}

.mk-contact-form {
    align-self: stretch;
    padding: 34px;
    border: 1px solid var(--mk-line);
    background: #fff;
}

.mk-contact-form > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--mk-line);
}

.mk-contact-form > header span {
    color: var(--mk-primary-dark);
    font-size: 18px;
    font-weight: 800;
}

.mk-contact-form > header strong {
    color: #a87324;
    font-family: var(--mk-arabic-font);
    font-size: 15px;
}

.mk-contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.mk-contact-form-grid__wide {
    grid-column: 1 / -1;
}

.mk-contact-form-grid label {
    display: grid;
    gap: 4px;
    color: var(--mk-primary-dark);
    font-size: 12px;
    font-weight: 780;
}

.mk-contact-form-grid label small {
    color: #a87324;
    font-family: var(--mk-arabic-font);
    font-size: 11px;
}

.mk-contact-form-grid input,
.mk-contact-form-grid textarea {
    width: 100%;
    min-height: 52px;
    margin-top: 6px;
    padding: 12px 14px;
    border: 1px solid rgba(32, 73, 47, 0.2);
    border-radius: 5px;
    color: var(--mk-ink);
    background: #f8faf7;
}

.mk-contact-form-grid textarea {
    min-height: 150px;
    resize: vertical;
}

.mk-contact-form-grid input[type="submit"] {
    width: auto;
    min-width: 210px;
    border-color: var(--mk-primary);
    color: #fff;
    background: var(--mk-primary);
    font-weight: 800;
}

.mk-help-hero__layout {
    display: grid;
    min-height: 500px;
    grid-template-columns: minmax(0, 1fr) 200px;
    align-items: center;
    gap: 70px;
}

.mk-help-hero__mark {
    display: grid;
    width: 180px;
    height: 180px;
    place-items: center;
    border: 1px solid rgba(32, 73, 47, 0.13);
    background: #edf3ed;
}

.mk-help-hero__mark img {
    width: 128px;
    height: 128px;
}

.mk-help-content {
    padding: 90px 0;
    background-color: #edf2ed;
    background-image: url("../icons/makhtoum-pattern.svg");
    background-size: 150px 150px;
}

.mk-help-content__layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
    align-items: start;
    gap: 72px;
}

.mk-help-content aside {
    position: sticky;
    top: 140px;
}

.mk-help-content aside h2 {
    margin: 8px 0 18px;
    color: var(--mk-primary-dark);
    font-family: var(--mk-arabic-font);
    font-size: 35px;
    line-height: 1.55;
}

.mk-help-content aside p {
    margin-bottom: 28px;
    color: #68766d;
    line-height: 1.8;
}

/* WooCommerce cart, checkout, account and wishlist */
.makhtoum-commerce-page .mk-page-content {
    padding-top: 48px;
}

.mk-page-content .wp-block-woocommerce-cart,
.mk-page-content .wp-block-woocommerce-checkout {
    max-width: none;
    margin: 0;
}

.wc-block-components-sidebar-layout.wc-block-cart,
.wc-block-components-sidebar-layout.wc-block-checkout {
    display: grid !important;
    grid-template-columns: minmax(0, 1.75fr) minmax(340px, 0.95fr) !important;
    align-items: start;
    gap: 38px;
}

.wc-block-cart__main,
.wc-block-checkout__main,
.wc-block-cart__sidebar,
.wc-block-checkout__sidebar {
    width: 100% !important;
}

.wc-block-cart__main,
.wc-block-checkout__main {
    padding-right: 0 !important;
}

.wc-block-cart__sidebar,
.wc-block-checkout__sidebar {
    position: sticky;
    top: 132px;
    padding: 26px !important;
    border: 1px solid var(--mk-line);
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 20px 45px rgba(13, 40, 27, 0.07);
}

.wc-block-cart-items {
    border: 1px solid var(--mk-line) !important;
    border-radius: 7px;
    background: #fff;
}

.wc-block-cart-items__header {
    min-height: 54px;
    color: #647269;
    background: #edf3ed;
}

.wc-block-cart-items__row {
    min-height: 160px;
    border-bottom-color: var(--mk-line) !important;
}

.wc-block-cart-item__image img,
.wc-block-components-order-summary-item__image img {
    border: 1px solid var(--mk-line);
    border-radius: 5px;
    background: #f5f7f3;
    object-fit: contain;
}

.wc-block-components-product-name {
    color: var(--mk-primary-dark) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.55;
}

.wc-block-components-product-metadata,
.wc-block-components-product-details {
    color: #758178 !important;
    font-size: 11px !important;
}

.wc-block-components-quantity-selector {
    min-height: 42px;
    border-color: rgba(32, 73, 47, 0.2) !important;
    border-radius: 5px !important;
    background: #f8faf7;
}

.wc-block-components-quantity-selector__button {
    width: 42px !important;
    min-width: 42px !important;
    color: var(--mk-primary-dark) !important;
}

.wc-block-cart-item__remove-link {
    min-height: 34px;
    color: #8d4a42 !important;
    text-decoration: none !important;
}

.wc-block-cart__totals-title,
.wc-block-components-checkout-order-summary__title-text {
    color: var(--mk-primary-dark);
    font-size: 16px !important;
    font-weight: 850 !important;
}

.wc-block-components-totals-wrapper {
    border-color: var(--mk-line) !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-block-components-totals-item__value {
    color: var(--mk-primary-dark);
    font-weight: 850;
}

.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
    min-height: 56px !important;
    border-radius: 5px !important;
    color: #fff !important;
    background: var(--mk-primary) !important;
    font-weight: 850 !important;
    box-shadow: 0 12px 26px rgba(47, 99, 60, 0.19);
}

.wc-block-cart__submit-button:hover,
.wc-block-cart__submit-button:focus,
.wc-block-components-checkout-place-order-button:hover,
.wc-block-components-checkout-place-order-button:focus {
    background: var(--mk-primary-dark) !important;
}

.wc-block-checkout__main > div,
.wc-block-checkout__main .wc-block-components-checkout-step {
    margin-bottom: 16px;
    padding: 24px !important;
    border: 1px solid var(--mk-line);
    border-radius: 7px;
    background: #fff;
}

.wc-block-components-checkout-step__heading {
    margin-bottom: 18px !important;
}

.wc-block-components-checkout-step__title {
    color: var(--mk-primary-dark);
    font-size: 19px !important;
}

.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input,
.wc-block-components-address-form select {
    min-height: 54px !important;
    border-color: rgba(32, 73, 47, 0.21) !important;
    border-radius: 5px !important;
    color: var(--mk-ink) !important;
    background: #f8faf7 !important;
}

.wc-block-components-text-input label,
.wc-block-components-combobox .wc-block-components-combobox-control label {
    color: #66756b !important;
}

.wc-block-components-radio-control-accordion-option {
    overflow: hidden;
    border: 1px solid var(--mk-line) !important;
    border-radius: 6px !important;
    background: #f8faf7;
}

.wc-block-components-validation-error,
.wc-block-components-notice-banner.is-error,
.woocommerce-error {
    border-color: #bb5146 !important;
    color: #772b25 !important;
    background: #fff4f2 !important;
}

.woocommerce-MyAccount-navigation {
    width: 270px !important;
}

.woocommerce-MyAccount-navigation ul {
    border: 1px solid var(--mk-line) !important;
    border-radius: 7px !important;
    background: #fff !important;
}

.woocommerce-MyAccount-navigation a {
    min-height: 50px;
    border-bottom-color: var(--mk-line) !important;
    color: #4d5e53 !important;
    font-weight: 700;
}

.woocommerce-MyAccount-navigation .is-active a,
.woocommerce-MyAccount-navigation a:hover,
.woocommerce-MyAccount-navigation a:focus {
    color: var(--mk-primary-dark) !important;
    background: #edf3ed;
}

.woocommerce-MyAccount-content {
    width: calc(100% - 310px) !important;
    min-height: 340px;
    padding: 28px;
    border: 1px solid var(--mk-line);
    border-radius: 7px;
    background: #fff;
}

.woocommerce-MyAccount-content p {
    color: #5f6f65;
    line-height: 1.8;
}

.wishlist-title {
    display: none;
}

.wishlist_table {
    overflow: hidden;
    border: 1px solid var(--mk-line) !important;
    border-radius: 7px;
    background: #fff;
}

.wishlist_table th {
    color: var(--mk-primary-dark) !important;
    background: #edf3ed !important;
}

.wishlist_table td {
    border-color: var(--mk-line) !important;
}

.woocommerce-form-track-order {
    max-width: 760px;
    padding: 30px;
    border: 1px solid var(--mk-line);
    border-radius: 7px;
    background: #fff;
}

.woocommerce-form-track-order input {
    min-height: 52px;
    border-color: var(--mk-line);
    border-radius: 5px;
}

.wc-block-cart__empty-cart__title {
    color: var(--mk-primary-dark);
    font-size: 28px;
}

/* Product details */
.mk-product-assurance > div {
    position: relative;
    padding-top: 54px;
}

.mk-product-assurance > div > .mk-icon {
    position: absolute;
    top: 17px;
    left: 18px;
    width: 24px;
    height: 24px;
    color: #a87324;
}

.mk-neutral-product-copy {
    display: grid;
    gap: 10px;
    padding: 18px;
    border-inline-start: 3px solid var(--mk-gold);
    background: #f4f7f2;
}

.mk-neutral-product-copy p {
    margin: 0 !important;
}

.mk-product-description-panel,
body.single-product .woocommerce-tabs {
    background-color: #f4f6f2;
    background-image: url("../icons/makhtoum-pattern.svg");
    background-size: 180px 180px;
}

body.single-product .product_title {
    unicode-bidi: plaintext;
}

body.single-product .woocommerce-product-details__short-description [dir="rtl"],
.mk-product-description-panel [dir="rtl"] {
    font-family: var(--mk-arabic-font);
    line-height: 1.95;
    text-align: right;
}

/* 404 */
.mk-404-page__content {
    min-height: 680px;
    padding: 100px 0;
    text-align: center;
    background: rgba(248, 250, 247, 0.9);
}

.mk-404-page__content .mk-shell {
    display: grid;
    justify-items: center;
}

.mk-404-page__content img {
    width: 116px;
    height: 116px;
    margin-bottom: 30px;
}

.mk-404-page__content > .mk-shell > p:not(.mk-page-arabic) {
    color: #68766d;
}

.mk-404-search {
    display: grid;
    width: min(100%, 560px);
    grid-template-columns: minmax(0, 1fr) 54px;
    margin: 24px 0 18px;
    border: 1px solid var(--mk-line);
    border-radius: 6px;
    background: #fff;
}

.mk-404-search input {
    min-width: 0;
    height: 54px;
    padding: 0 16px;
    border: 0;
    background: transparent;
}

.mk-404-search button {
    display: grid;
    place-items: center;
    border: 0;
    color: #fff;
    background: var(--mk-primary);
}

@media (max-width: 1180px) {
    .makhtoum-footer__grid {
        grid-template-columns: minmax(240px, 1.25fr) repeat(3, minmax(130px, 0.7fr));
    }

    .makhtoum-footer__grid > div:last-child {
        grid-column: 2 / -1;
    }

    .mk-about-hero__layout {
        gap: 48px;
    }

    .mk-contact-content__layout,
    .mk-help-content__layout {
        gap: 44px;
    }
}

@media (max-width: 1024px) {
    .makhtoum-menu-toggle {
        display: grid;
    }

    .mk-nav-collections {
        display: none;
    }

    .makhtoum-header__nav {
        top: 124px;
        max-height: calc(100vh - 124px);
    }

    .makhtoum-header__category-list {
        display: grid;
    }

    .mk-page-hero__layout {
        min-height: 240px;
    }

    .mk-about-hero__layout {
        min-height: 580px;
        grid-template-columns: minmax(0, 1fr) minmax(300px, 0.75fr);
    }

    .mk-about-proof__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mk-contact-content__layout {
        grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
    }
}

@media (max-width: 782px) {
    .makhtoum-header__utility,
    .mk-announcements,
    .mk-announcements__track {
        height: 46px;
        min-height: 46px;
    }

    .mk-announcements__group {
        gap: 42px;
        padding-inline-end: 42px;
    }

    .mk-announcement {
        gap: 9px;
    }

    .mk-announcement > .mk-icon {
        width: 17px;
        height: 17px;
    }

    .mk-announcement > span {
        gap: 8px;
    }

    .mk-announcement strong {
        font-size: 10.5px;
    }

    .mk-announcement b {
        padding-inline-start: 8px;
        font-size: 12.5px;
    }

    .makhtoum-header__nav {
        top: 120px;
        max-height: calc(100vh - 120px);
    }

    .mk-faq__layout,
    .mk-about-hero__layout,
    .mk-contact-content__layout,
    .mk-help-hero__layout,
    .mk-help-content__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .mk-faq__visual {
        min-height: 500px;
    }

    .mk-faq__visual > img {
        right: -10px;
        width: 92%;
        height: 330px;
    }

    .mk-faq__visual > div {
        padding: 28px;
    }

    .mk-faq__visual h2 {
        font-size: 27px;
    }

    .mk-accordion__item > button {
        min-height: 84px;
        padding: 14px 16px;
    }

    .mk-accordion__question strong {
        font-size: 15px;
    }

    .mk-page-hero__layout {
        min-height: 230px;
        grid-template-columns: minmax(0, 1fr) 80px;
        gap: 20px;
        padding-top: 36px;
        padding-bottom: 36px;
    }

    .mk-page-hero__layout > img {
        width: 76px;
        height: 76px;
    }

    .mk-page-hero h1,
    .mk-about-hero h1,
    .mk-contact-hero h1,
    .mk-help-hero h1,
    .mk-404-page h1 {
        font-size: 38px;
    }

    .mk-page-heading {
        display: grid;
        gap: 18px;
    }

    .mk-page-content {
        padding-top: 34px;
        padding-bottom: 58px;
    }

    .mk-about-hero__layout {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .mk-about-hero__visual {
        min-height: 400px;
    }

    .mk-about-hero__visual img {
        height: 340px;
    }

    .mk-about-values,
    .mk-about-proof,
    .mk-contact-content,
    .mk-help-content {
        padding: 64px 0;
    }

    .mk-about-values__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .mk-about-values__grid article {
        min-height: 220px;
    }

    .mk-about-values__grid .mk-icon {
        margin-bottom: 30px;
    }

    .mk-about-cta .mk-shell {
        grid-template-columns: 82px minmax(0, 1fr);
    }

    .mk-about-cta .mk-button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .mk-contact-hero .mk-shell {
        min-height: 360px;
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .mk-contact-form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .mk-contact-form-grid__wide {
        grid-column: auto;
    }

    .mk-help-hero__layout {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .mk-help-hero__mark {
        display: none;
    }

    .mk-help-content aside {
        position: static;
    }

    .wc-block-components-sidebar-layout.wc-block-cart,
    .wc-block-components-sidebar-layout.wc-block-checkout {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 24px;
    }

    .wc-block-cart__main,
    .wc-block-cart__sidebar,
    .wc-block-checkout__main,
    .wc-block-checkout__sidebar {
        width: 100% !important;
    }

    .wc-block-cart__sidebar,
    .wc-block-checkout__sidebar {
        position: static;
        padding: 20px !important;
    }

    .wc-block-checkout__main > div,
    .wc-block-checkout__main .wc-block-components-checkout-step {
        padding: 20px !important;
    }

    .woocommerce-MyAccount-navigation,
    .woocommerce-MyAccount-content {
        width: 100% !important;
        float: none !important;
    }

    .woocommerce-MyAccount-navigation {
        margin-bottom: 22px;
    }

    .woocommerce-MyAccount-content {
        padding: 22px;
    }

    .makhtoum-footer__signature {
        display: grid;
        gap: 24px;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .makhtoum-footer__commitments {
        justify-content: flex-start;
    }

    .makhtoum-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 22px;
    }

    .makhtoum-footer__grid > div:last-child {
        grid-column: 1 / -1;
    }

    .makhtoum-footer__socials {
        grid-template-columns: none;
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .mk-announcements::before,
    .mk-announcements::after {
        width: 18px;
    }

    .mk-announcement > span {
        display: grid;
        gap: 0;
    }

    .mk-announcement b {
        padding-inline-start: 0;
        border-inline-start: 0;
        line-height: 1.25;
    }

    .mk-page-hero__layout {
        grid-template-columns: minmax(0, 1fr) 58px;
    }

    .mk-page-hero__layout > img {
        width: 56px;
        height: 56px;
    }

    .mk-page-hero h1,
    .mk-about-hero h1,
    .mk-contact-hero h1,
    .mk-help-hero h1,
    .mk-404-page h1 {
        font-size: 32px;
    }

    .mk-page-arabic {
        font-size: 17px;
    }

    .mk-hero .mk-button {
        font-size: 13px;
    }

    .mk-faq__visual {
        min-height: 450px;
    }

    .mk-faq__visual > img {
        height: 285px;
    }

    .mk-accordion__item > button {
        gap: 12px;
    }

    .mk-accordion__question strong {
        font-size: 14px;
    }

    .mk-accordion__toggle {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .mk-about-proof__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .mk-about-proof__grid a > span {
        height: 300px;
    }

    .mk-about-cta .mk-shell {
        grid-template-columns: 62px minmax(0, 1fr);
    }

    .mk-about-cta img {
        width: 58px;
        height: 58px;
    }

    .mk-about-cta h2 {
        font-size: 24px;
    }

    .mk-contact-content aside,
    .mk-contact-form {
        padding: 24px;
    }

    .mk-contact-form > header {
        display: grid;
        gap: 4px;
    }

    .wc-block-cart-items__row {
        min-height: 140px;
    }

    .wc-block-cart__sidebar,
    .wc-block-checkout__sidebar,
    .wc-block-checkout__main > div,
    .wc-block-checkout__main .wc-block-components-checkout-step {
        padding: 16px !important;
    }

    .makhtoum-footer__signature-brand > img {
        width: 52px;
        height: 52px;
    }

    .makhtoum-footer__signature-brand > div > strong {
        font-size: 17px;
    }

    .makhtoum-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 16px;
    }

    .makhtoum-footer__brand,
    .makhtoum-footer__grid > div:last-child {
        grid-column: 1 / -1;
    }

    .makhtoum-footer__socials a {
        width: 48px;
        min-width: 48px;
        height: 48px;
        min-height: 48px;
    }

    .mk-404-page__content {
        min-height: 620px;
        padding: 72px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mk-announcements {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .mk-announcements__track {
        animation: none !important;
        transform: none !important;
    }

    .mk-announcements__group[aria-hidden="true"] {
        display: none;
    }

    .mk-final-cta__symbol img,
    .makhtoum-footer__socials a,
    .mk-accordion__item,
    .mk-accordion__panel {
        transition: none !important;
    }
}
