/* ==========================================================
   Moeen Commerce - Store Page
   Clean Compact Pro Cards
========================================================== */

.mc-store-section,
.mc-store-section * {
    box-sizing: border-box;
}

/* Guest purchase guidance, limited to WooCommerce product and cart contexts. */
.moeen-purchase-login-note {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
    padding: 13px 14px;
    border: 1px solid rgba(53, 240, 227, 0.20);
    border-radius: 17px;
    color: #eaffff;
    background:
        radial-gradient(circle at 8% 20%, rgba(53, 240, 227, 0.09), transparent 34%),
        rgba(5, 22, 29, 0.90);
}

.moeen-purchase-login-note__icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(53, 240, 227, 0.28);
    border-radius: 14px;
    color: #35f0e3;
    background: rgba(53, 240, 227, 0.07);
}

.moeen-purchase-login-note__icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.moeen-purchase-login-note strong,
.moeen-purchase-login-note p {
    display: block;
    margin: 0;
}

.moeen-purchase-login-note p {
    margin-top: 3px;
    color: rgba(234, 255, 255, 0.65);
    font-size: 12px;
    line-height: 1.7;
}

.moeen-purchase-login-note__actions {
    display: flex;
    align-items: center;
    gap: 7px;
}

.moeen-purchase-login-note__actions a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid rgba(53, 240, 227, 0.34);
    border-radius: 12px;
    color: #35f0e3;
    background: rgba(53, 240, 227, 0.05);
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}

.moeen-purchase-login-note__actions a:first-child {
    color: #061014;
    border-color: rgba(53, 240, 227, 0.62);
    background: #35f0e3;
}

@media (max-width: 760px) {
    .moeen-purchase-login-note {
        grid-template-columns: 40px minmax(0, 1fr);
    }

    .moeen-purchase-login-note__actions {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

/* Cart page final UI redesign: compact product alignment and calmer controls. */
.mc-cart-section table.shop_table {
    border-radius: 24px !important;
    border-color: rgba(53, 240, 227, 0.16) !important;
    background:
        radial-gradient(circle at 82% 0%, rgba(53, 240, 227, 0.09), transparent 32%),
        linear-gradient(180deg, rgba(6, 24, 31, 0.86), rgba(2, 11, 16, 0.94)) !important;
    box-shadow:
        0 22px 70px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.035) !important;
}

.mc-cart-section table.shop_table thead th {
    padding-block: 18px !important;
    color: rgba(234, 255, 255, 0.74) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
}

.mc-cart-section table.shop_table th.product-name,
.mc-cart-section table.shop_table td.product-name {
    text-align: right !important;
    padding-inline-start: 0 !important;
    padding-inline-end: 18px !important;
}

.mc-cart-section table.shop_table td.product-name a,
.mc-cart-section table.shop_table td.product-name .mc-cart-product-name-text,
.mc-cart-section table.shop_table td.product-name {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 950 !important;
    line-height: 1.55 !important;
}

.mc-cart-section table.shop_table th.product-thumbnail,
.mc-cart-section table.shop_table td.product-thumbnail {
    width: 118px !important;
}

.mc-cart-section table.shop_table td.product-thumbnail a,
.mc-cart-section table.shop_table td.product-thumbnail img {
    width: 78px !important;
    height: 72px !important;
    border-radius: 17px !important;
}

.mc-cart-section table.shop_table td.product-thumbnail img {
    object-fit: cover !important;
    padding: 5px !important;
    border: 1px solid rgba(53, 240, 227, 0.16) !important;
    background:
        radial-gradient(circle at 50% 35%, rgba(53, 240, 227, 0.08), transparent 52%),
        rgba(255, 255, 255, 0.92) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18) !important;
}

.mc-cart-section a.remove {
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(255, 105, 125, 0.32) !important;
    color: #ff7f8f !important;
    background:
        radial-gradient(circle at 35% 25%, rgba(255, 105, 125, 0.18), transparent 55%),
        rgba(255, 105, 125, 0.055) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
    font-size: 0 !important;
    line-height: 1 !important;
    transition:
        transform 220ms ease,
        border-color 220ms ease,
        color 220ms ease,
        background 220ms ease,
        box-shadow 220ms ease !important;
}

.mc-cart-section a.remove::before {
    content: "×" !important;
    display: grid !important;
    place-items: center !important;
    width: 100% !important;
    height: 100% !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

.mc-cart-section a.remove:hover,
.mc-cart-section a.remove:focus-visible {
    transform: translateY(-2px) scale(1.03) !important;
    border-color: rgba(255, 105, 125, 0.55) !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, rgba(255, 105, 125, 0.30), rgba(255, 105, 125, 0.12)) !important;
    box-shadow: 0 14px 28px rgba(255, 105, 125, 0.12) !important;
}

.mc-cart-section .quantity {
    width: 126px !important;
    min-height: 50px !important;
    padding: 5px !important;
    border-radius: 18px !important;
    border: 1px solid rgba(53, 240, 227, 0.22) !important;
    background:
        linear-gradient(180deg, rgba(16, 46, 55, 0.72), rgba(5, 18, 25, 0.78)) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 12px 28px rgba(0, 0, 0, 0.18) !important;
}

.mc-cart-section .quantity .qty {
    height: 38px !important;
    min-width: 38px !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 950 !important;
    background: transparent !important;
}

.mc-cart-section .mc-cart-qty-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 13px !important;
    border: 1px solid rgba(53, 240, 227, 0.30) !important;
    color: #35f0e3 !important;
    background:
        radial-gradient(circle at 50% 18%, rgba(53, 240, 227, 0.20), transparent 58%),
        rgba(53, 240, 227, 0.08) !important;
    box-shadow: none !important;
    font-size: 17px !important;
    font-weight: 950 !important;
    transition:
        transform 220ms ease,
        color 220ms ease,
        background 220ms ease,
        border-color 220ms ease !important;
}

.mc-cart-section .mc-cart-qty-btn:hover,
.mc-cart-section .mc-cart-qty-btn:focus-visible {
    transform: translateY(-1px) !important;
    color: #061014 !important;
    border-color: rgba(53, 240, 227, 0.66) !important;
    background: linear-gradient(135deg, #35f0e3, #72fff4) !important;
}

.mc-cart-section table.shop_table td.actions,
.mc-cart-section table.shop_table tr:last-child td.actions {
    padding: 22px !important;
    border-top: 1px solid rgba(53, 240, 227, 0.11) !important;
    background:
        radial-gradient(circle at 18% 50%, rgba(53, 240, 227, 0.07), transparent 35%),
        rgba(2, 11, 16, 0.58) !important;
}

.mc-cart-section .coupon {
    align-items: end !important;
    gap: 10px !important;
}

.mc-cart-section .coupon label {
    margin-bottom: 7px !important;
    color: #ffffff !important;
    font-size: 14px !important;
}

.mc-cart-section .coupon .input-text,
.mc-cart-section .coupon .button,
.mc-cart-section .coupon input.button,
.mc-cart-section .coupon button.button,
.mc-cart-section button.button[name="update_cart"],
.mc-cart-section input.button[name="update_cart"] {
    min-height: 50px !important;
    height: 50px !important;
    border-radius: 16px !important;
    font-size: 14px !important;
    font-weight: 950 !important;
}

.mc-cart-section .coupon .input-text {
    border-color: rgba(53, 240, 227, 0.28) !important;
    color: #ffffff !important;
    background:
        linear-gradient(180deg, rgba(8, 28, 36, 0.84), rgba(2, 12, 18, 0.78)) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

.mc-cart-section .coupon .input-text:focus {
    border-color: rgba(53, 240, 227, 0.58) !important;
    box-shadow:
        0 0 0 3px rgba(53, 240, 227, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

.mc-cart-section .coupon .button,
.mc-cart-section .coupon input.button,
.mc-cart-section .coupon button.button {
    position: relative !important;
    min-width: 148px !important;
    color: #061014 !important;
    border: 1px solid rgba(53, 240, 227, 0.70) !important;
    background: linear-gradient(135deg, #35f0e3, #76fff4) !important;
    box-shadow: 0 16px 34px rgba(53, 240, 227, 0.16) !important;
}

.mc-cart-section button.button[name="update_cart"],
.mc-cart-section input.button[name="update_cart"] {
    min-width: 170px !important;
    color: #f6d47b !important;
    border: 1px solid rgba(242, 201, 107, 0.44) !important;
    background:
        linear-gradient(135deg, rgba(242, 201, 107, 0.13), rgba(255, 255, 255, 0.035)) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045) !important;
}

.mc-cart-section button.button[name="update_cart"]:not(:disabled):hover,
.mc-cart-section input.button[name="update_cart"]:not(:disabled):hover,
.mc-cart-section button.button[name="update_cart"].is-ready,
.mc-cart-section input.button[name="update_cart"].is-ready {
    color: #061014 !important;
    border-color: rgba(242, 201, 107, 0.76) !important;
    background: linear-gradient(135deg, #f2c96b, #e0b458) !important;
    box-shadow: 0 16px 34px rgba(242, 201, 107, 0.13) !important;
}

.mc-cart-section .coupon .button:hover,
.mc-cart-section .coupon input.button:hover,
.mc-cart-section .coupon button.button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 20px 42px rgba(53, 240, 227, 0.20) !important;
}

@media (min-width: 761px) {
    .mc-cart-section table.shop_table thead th.product-name {
        padding-inline-end: 18px !important;
    }

    .mc-cart-section table.shop_table td.actions,
    .mc-cart-section table.shop_table tr:last-child td.actions {
        grid-template-columns: minmax(0, 1fr) minmax(170px, 210px) !important;
        gap: 12px !important;
        align-items: end !important;
    }

    .mc-cart-section .coupon {
        display: grid !important;
        grid-template-columns: minmax(240px, 1fr) 148px !important;
    }

    .mc-cart-section .coupon label {
        grid-column: 1 / -1 !important;
    }

    .mc-cart-section button.button[name="update_cart"],
    .mc-cart-section input.button[name="update_cart"] {
        justify-self: start !important;
        width: 190px !important;
    }
}

@media (max-width: 760px) {
    .mc-cart-section table.shop_table tr.cart_item,
    .mc-cart-section table.shop_table tr.woocommerce-cart-form__cart-item {
        padding: 14px !important;
        border-radius: 22px !important;
        background:
            radial-gradient(circle at 90% 0%, rgba(53, 240, 227, 0.10), transparent 38%),
            linear-gradient(180deg, rgba(6, 24, 31, 0.94), rgba(2, 11, 16, 0.96)) !important;
    }

    .mc-cart-section table.shop_table td.product-name {
        display: grid !important;
        gap: 6px !important;
        justify-items: start !important;
        text-align: right !important;
    }

    .mc-cart-section table.shop_table td.product-name::before {
        content: "المنتج" !important;
        display: block !important;
        color: rgba(234, 255, 255, 0.54) !important;
        font-size: 12px !important;
        font-weight: 950 !important;
        line-height: 1.2 !important;
    }

    .mc-cart-section table.shop_table td.product-name::after {
        display: none !important;
        content: none !important;
    }

    .mc-cart-section table.shop_table td.product-price,
    .mc-cart-section table.shop_table td.product-quantity,
    .mc-cart-section table.shop_table td.product-subtotal {
        display: grid !important;
        grid-template-columns: 86px minmax(0, 1fr) !important;
        gap: 12px !important;
        justify-items: start !important;
        align-items: center !important;
        text-align: right !important;
    }

    .mc-cart-section table.shop_table td.product-price::before,
    .mc-cart-section table.shop_table td.product-quantity::before,
    .mc-cart-section table.shop_table td.product-subtotal::before {
        justify-self: start !important;
    }

    .mc-cart-section table.shop_table td.product-quantity .quantity {
        justify-self: start !important;
    }

    .mc-cart-section table.shop_table td.product-remove {
        justify-content: flex-end !important;
    }

    .mc-cart-section table.shop_table td.actions,
    .mc-cart-section table.shop_table tr:last-child td.actions,
    .mc-cart-section .coupon {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .mc-cart-section .coupon .button,
    .mc-cart-section .coupon input.button,
    .mc-cart-section .coupon button.button,
    .mc-cart-section button.button[name="update_cart"],
    .mc-cart-section input.button[name="update_cart"] {
        width: 100% !important;
    }
}

.mc-store-section {
    --mc-panel: rgba(8, 20, 29, 0.78);
    --mc-card: rgba(7, 18, 27, 0.94);
    --mc-border: rgba(38, 214, 203, 0.18);
    --mc-border-strong: rgba(38, 214, 203, 0.36);
    --mc-teal: #26d6cb;
    --mc-teal-2: #4ee8df;
    --mc-gold: #f2c96b;
    --mc-text: #ffffff;
    --mc-muted: rgba(236, 252, 252, 0.70);
    --mc-soft: rgba(236, 252, 252, 0.50);
    --mc-radius-xl: 22px;
    --mc-radius-lg: 18px;
    --mc-radius-md: 14px;
    --mc-transition: 220ms ease;

    direction: rtl;
    padding-top: clamp(36px, 5vw, 64px);
    padding-bottom: clamp(52px, 7vw, 86px);
}

/* ================================
   Section Head
================================ */

.mc-store-head {
    max-width: 780px;
    margin: 0 auto 24px;
    text-align: center;
}

.mc-store-head .section-title {
    margin-top: 12px;
    margin-bottom: 8px;
}

.mc-store-head .section-lead {
    max-width: 680px;
    margin-inline: auto;
}

/* ================================
   Filters
================================ */

.mc-store-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    flex-wrap: wrap;
    margin: 0 auto 28px;
}

.mc-filter {
    min-height: 36px;
    padding: 7px 15px;
    border: 1px solid var(--mc-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--mc-muted);
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
    transition:
        transform var(--mc-transition),
        background var(--mc-transition),
        border-color var(--mc-transition),
        color var(--mc-transition),
        box-shadow var(--mc-transition);
}

.mc-filter:hover {
    transform: translateY(-1px);
    border-color: var(--mc-border-strong);
    color: #fff;
    background: rgba(38, 214, 203, 0.065);
    box-shadow: 0 10px 22px rgba(38, 214, 203, 0.06);
}

.mc-filter.is-active {
    background: linear-gradient(135deg, var(--mc-teal), var(--mc-teal-2));
    border-color: transparent;
    color: #041214;
}

/* ================================
   Grid - Always 3 cards on desktop
================================ */

.mc-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 350px));
    justify-content: center;
    gap: 18px;
    align-items: stretch;
}

/* ================================
   Product Card
================================ */

.mc-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid var(--mc-border);
    border-radius: 22px;
    background:
        radial-gradient(circle at 85% 0%, rgba(38, 214, 203, 0.10), transparent 40%),
        linear-gradient(180deg, rgba(10, 24, 34, 0.95), rgba(4, 10, 15, 0.98));
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);
    transition:
        transform 240ms ease,
        border-color 240ms ease,
        box-shadow 240ms ease;
}

.mc-product-card:hover {
    transform: translateY(-2px);
    border-color: rgba(38, 214, 203, 0.30);
    box-shadow:
        0 16px 38px rgba(0, 0, 0, 0.20),
        0 0 0 1px rgba(38, 214, 203, 0.035);
}

.mc-product-card[hidden] {
    display: none !important;
}

/* ================================
   Product Media
================================ */

.mc-product-card__media {
    position: relative;
    aspect-ratio: 16 / 7;
    overflow: hidden;
    border-bottom: 1px solid var(--mc-border);
    background:
        linear-gradient(135deg, rgba(38, 214, 203, 0.07), rgba(255, 255, 255, 0.025));
}

.mc-product-card__media-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    color: inherit;
}

.mc-product-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 45%, rgba(3, 10, 14, 0.52)),
        radial-gradient(circle at 50% 0%, rgba(38, 214, 203, 0.08), transparent 60%);
    pointer-events: none;
}

.mc-product-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.001);
    transition:
        transform 420ms ease,
        filter 420ms ease;
}

.mc-product-card:hover .mc-product-card__media img {
    transform: scale(1.035);
    filter: saturate(1.03) contrast(1.02);
}

.mc-product-card__placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--mc-teal-2);
    background:
        radial-gradient(circle at 50% 35%, rgba(38, 214, 203, 0.18), transparent 42%),
        linear-gradient(135deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
}

.mc-product-card__placeholder svg {
    width: 52px;
    height: 52px;
    opacity: 0.88;
}

/* ================================
   Badges
================================ */

.mc-product-card__floating-badges {
    position: absolute;
    z-index: 2;
    inset-inline-start: 12px;
    inset-block-end: 12px;
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.mc-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid rgba(242, 201, 107, 0.30);
    background: rgba(3, 10, 14, 0.74);
    color: var(--mc-gold);
    font-size: 10px;
    font-weight: 900;
    backdrop-filter: blur(10px);
}

.mc-badge--type {
    border-color: rgba(38, 214, 203, 0.34);
    color: var(--mc-teal-2);
}

/* ================================
   Product Body
================================ */

.mc-product-card__body {
    position: relative;
    flex: 1;
    padding: 14px 15px 6px;
}

.mc-product-card__body h3 a {
    color: inherit;
    text-decoration: none;
}

.mc-product-card__body h3 a:hover,
.mc-product-card__body h3 a:focus-visible,
.mc-product-details-link:hover,
.mc-product-details-link:focus-visible {
    color: var(--mc-teal-2);
}

.mc-product-details-link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: auto;
    color: var(--mc-teal-2);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

/* Static icon only - no hover */
.mc-product-card__icon {
    width: 34px;
    height: 34px;
    display: none;
    place-items: center;
    margin-bottom: 9px;
    border-radius: 12px;
    border: 1px solid var(--mc-border);
    background: rgba(38, 214, 203, 0.08);
    color: var(--mc-teal-2);
}

.mc-product-card__icon svg {
    width: 18px;
    height: 18px;
}

.mc-product-card h3 {
    margin: 0 0 7px;
    color: #fff;
    font-size: 17px;
    line-height: 1.45;
    font-weight: 900;
    letter-spacing: -0.01em;
}

.mc-product-card p {
    min-height: 0;
    margin: 0;
    color: var(--mc-muted);
    font-size: 12.5px;
    line-height: 1.75;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* ================================
   Feature Bullets - Static, clean
================================ */

.mc-product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 9px 0 0;
    padding: 0;
    list-style: none;
}

.mc-product-features li {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 3px 7px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    background: rgba(255, 255, 255, 0.035);
    color: rgba(236, 252, 252, 0.78);
    font-size: 10.8px;
    font-weight: 800;
}

.mc-product-features li:nth-child(n + 3) {
    display: none;
}

.mc-product-features li::before {
    content: "";
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    margin-inline-end: 5px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--mc-teal), var(--mc-teal-2));

    -webkit-mask:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M9.2 16.6 4.9 12.3l1.4-1.4 2.9 2.9 8.5-8.5 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M9.2 16.6 4.9 12.3l1.4-1.4 2.9 2.9 8.5-8.5 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ================================
   Product Footer
================================ */

.mc-product-card__footer {
    padding: 7px 15px 14px;
}

.mc-product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 9px;
    color: var(--mc-gold);
    font-size: 17px;
    line-height: 1.1;
    font-weight: 950;
}

.mc-product-price .amount {
    color: inherit;
}

.mc-price-before {
    color: var(--mc-gold);
    font-weight: 950;
}

.mc-discount-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid rgba(38, 214, 203, 0.32);
    background: rgba(38, 214, 203, 0.09);
    color: var(--mc-teal-2);
    font-size: 10.5px;
    font-weight: 950;
}

/* ================================
   Product Actions
================================ */

.mc-product-actions {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 8px;
}

.mc-product-actions .mc-btn:only-child {
    grid-column: 1 / -1;
}

.mc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-family: inherit;
    font-size: 12.8px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform var(--mc-transition),
        color var(--mc-transition),
        background var(--mc-transition),
        border-color var(--mc-transition),
        box-shadow var(--mc-transition),
        filter var(--mc-transition);
}

.mc-btn:hover {
    transform: translateY(-2px);
}

.mc-btn--primary {
    color: #021214;
    background: linear-gradient(135deg, var(--mc-teal), var(--mc-teal-2));
    box-shadow: 0 14px 30px rgba(38, 214, 203, 0.13);
}

.mc-btn--primary:hover {
    color: #021214;
    filter: brightness(1.04) saturate(1.05);
}

.mc-btn--ghost {
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.095);
}

.mc-btn--ghost:hover {
    color: var(--mc-teal-2);
    border-color: var(--mc-border-strong);
    background: rgba(38, 214, 203, 0.065);
}

/* ================================
   Empty State
================================ */

.mc-store-empty {
    max-width: 720px;
    margin: 30px auto 0;
    padding: 32px;
    text-align: center;
    border: 1px solid var(--mc-border);
    border-radius: var(--mc-radius-xl);
    background: var(--mc-panel);
}

.mc-store-empty h2 {
    margin: 14px 0 8px;
    color: #fff;
    font-size: 28px;
}

.mc-store-empty p {
    margin: 0;
    color: var(--mc-muted);
}

/* ================================
   Responsive
================================ */

@media (min-width: 1025px) {
    .mc-products-grid {
        grid-template-columns: repeat(3, minmax(280px, 350px));
    }
}

@media (max-width: 1024px) {
    .mc-products-grid {
        grid-template-columns: repeat(2, minmax(280px, 350px));
    }
}

@media (max-width: 720px) {
    .mc-store-section {
        padding-top: 36px;
        padding-bottom: 62px;
    }

    .mc-store-filters {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 8px;
        scroll-snap-type: x mandatory;
    }

    .mc-filter {
        flex: 0 0 auto;
        scroll-snap-align: start;
        min-height: 34px;
        padding: 7px 12px;
        font-size: 12px;
    }

    .mc-products-grid {
        grid-template-columns: minmax(0, 390px);
        gap: 16px;
    }

    .mc-product-card {
        border-radius: 20px;
    }

    .mc-product-card__media {
        aspect-ratio: 16 / 9;
    }

    .mc-product-card__body {
        padding: 16px 16px 8px;
    }

    .mc-product-card__footer {
        padding: 8px 16px 16px;
    }

    .mc-product-actions {
        grid-template-columns: 1fr;
    }

    .mc-product-card h3 {
        font-size: 17px;
    }

    .mc-product-card p {
        min-height: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mc-store-section *,
    .mc-store-section *::before,
    .mc-store-section *::after {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
}


/* ==========================================================
   Moeen Commerce - Cart Page Stable Premium UI
   Scope: .mc-cart-section
========================================================== */

.mc-cart-section,
.mc-cart-section * {
    box-sizing: border-box;
}

.mc-cart-section {
    --cart-bg: #07131d;
    --cart-panel: rgba(7, 18, 27, 0.92);
    --cart-panel-2: rgba(10, 25, 36, 0.72);
    --cart-border: rgba(38, 214, 203, 0.22);
    --cart-border-strong: rgba(38, 214, 203, 0.42);
    --cart-teal: #26d6cb;
    --cart-teal-2: #4ee8df;
    --cart-gold: #f2c96b;
    --cart-red: #ff7373;
    --cart-text: #ffffff;
    --cart-muted: rgba(236, 252, 252, 0.72);
    --cart-soft: rgba(236, 252, 252, 0.52);
    --cart-radius-xl: 26px;
    --cart-radius-lg: 20px;
    --cart-radius-md: 14px;
    --cart-shadow: 0 22px 64px rgba(0, 0, 0, 0.22);

    direction: rtl;
    padding: clamp(38px, 5vw, 66px) 0 clamp(64px, 7vw, 96px);
}

.mc-cart-section .mc-cart-shell {
    width: min(1180px, 100%);
    margin-inline: auto;
}

.mc-cart-section .woocommerce {
    color: var(--cart-text);
}

/* Notices */
.mc-cart-section .woocommerce-notices-wrapper {
    margin-bottom: 18px;
}

.mc-cart-section .woocommerce-message,
.mc-cart-section .woocommerce-info,
.mc-cart-section .woocommerce-error {
    margin: 0 0 20px;
    padding: 15px 18px;
    border: 1px solid var(--cart-border);
    border-radius: var(--cart-radius-lg);
    background:
        radial-gradient(circle at 100% 0%, rgba(38, 214, 203, 0.12), transparent 36%),
        rgba(8, 20, 29, 0.84);
    color: var(--cart-muted);
}

.mc-cart-section .woocommerce-message::before,
.mc-cart-section .woocommerce-info::before {
    color: var(--cart-teal);
}

.mc-cart-section .woocommerce-message .button,
.mc-cart-section .woocommerce-info .button {
    float: left;
    min-height: 38px;
    padding: 9px 15px;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--cart-teal), var(--cart-teal-2));
    color: #021214;
    font-weight: 900;
    text-decoration: none;
}

/* Title */
.mc-cart-section .woocommerce-cart-form::before {
    content: "منتجات السلة";
    display: block;
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(22px, 2.4vw, 32px);
    font-weight: 950;
}

/* Main cart table */
.mc-cart-section table.shop_table,
.mc-cart-section .woocommerce-cart-form__contents {
    width: 100%;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--cart-border);
    border-radius: var(--cart-radius-xl);
    border-collapse: separate;
    border-spacing: 0;
    background:
        radial-gradient(circle at 100% 0%, rgba(38, 214, 203, 0.09), transparent 35%),
        linear-gradient(180deg, rgba(9, 23, 33, 0.94), rgba(4, 10, 15, 0.98));
    box-shadow: var(--cart-shadow);
}

.mc-cart-section table.shop_table th,
.mc-cart-section table.shop_table td {
    border: 0;
    border-bottom: 1px solid rgba(38, 214, 203, 0.14);
    text-align: right;
}

.mc-cart-section table.shop_table th {
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.025);
    color: rgba(236, 252, 252, 0.78);
    font-size: 13px;
    font-weight: 950;
}

.mc-cart-section table.shop_table td {
    padding: 16px 18px;
    color: var(--cart-muted);
    font-size: 14px;
    vertical-align: middle;
}

.mc-cart-section table.shop_table tbody tr:last-child td {
    border-bottom: 0;
}

/* Product image */
.mc-cart-section .product-thumbnail {
    width: 96px;
}

.mc-cart-section .product-thumbnail img {
    width: 82px;
    height: 62px;
    display: block;
    object-fit: cover;
    border-radius: 15px;
    border: 1px solid rgba(38, 214, 203, 0.22);
    background: rgba(255, 255, 255, 0.035);
}

/* Product name */
.mc-cart-section .product-name {
    min-width: 230px;
}

.mc-cart-section .product-name a,
.mc-cart-section .product-name .mc-cart-product-name-text {
    color: #fff;
    font-size: 15px;
    font-weight: 950;
    line-height: 1.6;
    text-decoration: none !important;
    pointer-events: none;
    cursor: default;
}

/* Remove */
.mc-cart-section .product-remove {
    width: 54px;
    text-align: center;
}

.mc-cart-section a.remove {
    width: 32px;
    height: 32px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    border: 1px solid rgba(255, 115, 115, 0.26);
    background: rgba(255, 115, 115, 0.08);
    color: var(--cart-red) !important;
    font-size: 20px;
    line-height: 1;
    text-decoration: none;
    transition: 180ms ease;
}

.mc-cart-section a.remove:hover {
    background: rgba(255, 115, 115, 0.18);
    color: #fff !important;
    transform: translateY(-1px);
}

/* Price */
.mc-cart-section .product-price,
.mc-cart-section .product-subtotal {
    color: var(--cart-gold);
    font-size: 15px;
    font-weight: 950;
    white-space: nowrap;
}

.mc-cart-section .amount {
    color: inherit;
    font-weight: inherit;
}

/* Quantity */
.mc-cart-section .product-quantity {
    min-width: 130px;
}

.mc-cart-section .quantity {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 4px;
    border: 1px solid rgba(38, 214, 203, 0.22);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.035);
}

.mc-cart-section .quantity .qty {
    width: 54px;
    height: 34px;
    padding: 6px;
    border: 0;
    border-inline: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 950;
    text-align: center;
    outline: none;
    -moz-appearance: textfield;
}

.mc-cart-section .quantity .qty::-webkit-inner-spin-button,
.mc-cart-section .quantity .qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.mc-cart-section .mc-cart-qty-btn {
    width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(38, 214, 203, 0.24);
    border-radius: 11px;
    background: rgba(38, 214, 203, 0.10);
    color: #fff;
    font-size: 15px;
    font-weight: 950;
    cursor: pointer;
    transition: 180ms ease;
}

.mc-cart-section .mc-cart-qty-btn:hover {
    background: linear-gradient(135deg, var(--cart-teal), var(--cart-teal-2));
    color: #021214;
}

/* Actions row */
.mc-cart-section .actions {
    padding: 18px !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(38, 214, 203, 0.08), transparent 36%),
        rgba(8, 20, 29, 0.68);
}

.mc-cart-section .coupon {
    width: min(640px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
    float: right !important;
}

.mc-cart-section .coupon::before {
    content: "هل لديك كود خصم؟";
    grid-column: 1 / -1;
    color: #fff;
    font-size: 14px;
    font-weight: 950;
}

.mc-cart-section .coupon::after {
    content: none;
    grid-column: 1 / -1;
    margin-top: -4px;
    color: var(--cart-soft);
    font-size: 12px;
    font-weight: 700;
}

.mc-cart-section .coupon label {
    display: none;
}

.mc-cart-section .coupon .input-text {
    width: 100% !important;
    height: 44px;
    padding: 10px 14px;
    border: 1px solid rgba(38, 214, 203, 0.24);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.055);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    outline: none;
}

.mc-cart-section .coupon .input-text::placeholder {
    color: rgba(236, 252, 252, 0.46);
}

.mc-cart-section .coupon .button {
    min-width: 124px;
    height: 44px;
    border-radius: 14px;
    border-color: transparent;
    background: linear-gradient(135deg, var(--cart-teal), var(--cart-teal-2));
    color: #021214;
    font-weight: 950;
}

/* Buttons */
.mc-cart-section .button,
.mc-cart-section button.button {
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid rgba(38, 214, 203, 0.22);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.045);
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 900;
    transition: 180ms ease;
}

.mc-cart-section .button:hover,
.mc-cart-section button.button:hover {
    border-color: rgba(255, 255, 255, 0.055);
    background: rgba(38, 214, 203, 0.075);
    color: var(--cart-teal-2);
}

.mc-cart-section button.button[name="update_cart"] {
    float: left !important;
    min-width: 132px;
    height: 44px;
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(38, 214, 203, 0.20);
    color: rgba(236, 252, 252, 0.46);
    opacity: 1;
}

.mc-cart-section button.button[name="update_cart"]:disabled {
    cursor: not-allowed;
}

.mc-cart-section button.button[name="update_cart"].is-ready {
    background: rgba(38, 214, 203, 0.11);
    border-color: rgba(255, 255, 255, 0.055);
    color: var(--cart-teal-2);
}

/* Cart totals */
.mc-cart-section .cart-collaterals {
    margin-top: 28px;
    display: flex;
    justify-content: flex-start;
}

.mc-cart-section .cart-collaterals .cart_totals {
    float: none;
    width: min(460px, 100%);
    padding: 24px;
    border: 1px solid rgba(38, 214, 203, 0.26);
    border-radius: 28px;
    background:
        radial-gradient(circle at 100% 0%, rgba(38, 214, 203, 0.12), transparent 38%),
        linear-gradient(180deg, rgba(10, 24, 34, 0.94), rgba(4, 10, 15, 0.98));
    box-shadow: var(--cart-shadow);
}

.mc-cart-section .cart_totals h2 {
    margin: 0 0 18px;
    color: #fff;
    font-size: 26px;
    font-weight: 950;
}

.mc-cart-section .cart_totals table {
    width: 100%;
    margin: 0 0 20px;
    border: 0;
    box-shadow: none;
    background: transparent;
}

.mc-cart-section .cart_totals th,
.mc-cart-section .cart_totals td {
    padding: 14px 0;
    border: 0;
    border-bottom: 1px solid rgba(38, 214, 203, 0.14);
    color: rgba(236, 252, 252, 0.84);
    font-size: 15px;
}

.mc-cart-section .cart_totals td {
    text-align: left;
    color: var(--cart-gold);
    font-weight: 950;
}

.mc-cart-section .cart_totals tr:last-child th,
.mc-cart-section .cart_totals tr:last-child td {
    border-bottom: 0;
}

.mc-cart-section .wc-proceed-to-checkout {
    padding: 0;
}

.mc-cart-section .wc-proceed-to-checkout a.checkout-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    margin: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--cart-teal), var(--cart-teal-2));
    color: #021214;
    font-family: inherit;
    font-size: 16px;
    font-weight: 950;
    box-shadow: 0 18px 44px rgba(38, 214, 203, 0.15);
}

.mc-cart-section .wc-proceed-to-checkout a.checkout-button:hover {
    transform: translateY(-2px);
    color: #021214;
    filter: brightness(1.04) saturate(1.05);
}

.mc-cart-section .mc-continue-shopping {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-top: 12px;
    border-radius: 15px;
    border: 1px solid rgba(38, 214, 203, 0.22);
    background: rgba(255, 255, 255, 0.035);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.mc-cart-section .mc-continue-shopping:hover {
    border-color: rgba(38, 214, 203, 0.44);
    background: rgba(38, 214, 203, 0.075);
    color: var(--cart-teal-2);
}

/* Empty */
.mc-cart-section .cart-empty {
    padding: 34px;
    border: 1px solid var(--cart-border);
    border-radius: 26px;
    background: var(--cart-panel);
    color: var(--cart-muted);
}

.mc-cart-section .return-to-shop .button {
    background: linear-gradient(135deg, var(--cart-teal), var(--cart-teal-2));
    color: #021214;
}

/* Responsive */
@media (max-width: 768px) {
    .mc-cart-section table.shop_table,
    .mc-cart-section .woocommerce-cart-form__contents {
        border-radius: 22px;
    }

    .mc-cart-section table.shop_table_responsive tr {
        display: block;
        margin-bottom: 14px;
        border-bottom: 1px solid rgba(38, 214, 203, 0.14);
    }

    .mc-cart-section table.shop_table_responsive tr td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 14px 16px !important;
        text-align: left !important;
    }

    .mc-cart-section table.shop_table_responsive tr td::before {
        color: var(--cart-soft);
        font-weight: 900;
    }

    .mc-cart-section .product-thumbnail {
        display: none !important;
    }

    .mc-cart-section .product-name {
        min-width: 0;
    }

    .mc-cart-section .coupon {
        grid-template-columns: 1fr;
        float: none !important;
    }

    .mc-cart-section .coupon .button,
    .mc-cart-section button.button[name="update_cart"] {
        width: 100%;
        float: none !important;
    }

    .mc-cart-section .cart-collaterals {
        justify-content: stretch;
    }

    .mc-cart-section .cart-collaterals .cart_totals {
        width: 100%;
    }
}

/* ==========================================================
   Moeen Cart Final Refinements
   Notices + Coupon/Update Buttons + Contrast
   Scope: .mc-cart-section
========================================================== */

/* ================================
   Cart remove/undo notice
================================ */

.mc-cart-section .woocommerce-message,
.mc-cart-section .woocommerce-info {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-height: 60px;
    margin: 0 0 26px !important;
    padding: 15px 18px !important;
    border: 1px solid rgba(242, 201, 107, 0.26) !important;
    border-radius: 20px !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(242, 201, 107, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(10, 24, 34, 0.92), rgba(4, 10, 15, 0.98)) !important;
    color: rgba(236, 252, 252, 0.86) !important;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.8;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18);
}

/* WooCommerce icon fix */
.mc-cart-section .woocommerce-message::before,
.mc-cart-section .woocommerce-info::before {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: inline-grid !important;
    place-items: center;
    margin: 0 !important;
    border-radius: 50%;
    border: 1px solid rgba(242, 201, 107, 0.40);
    background: rgba(242, 201, 107, 0.12);
    color: #f2c96b !important;
    font-size: 14px;
    line-height: 1;
}

/* Undo link: ØªØ±Ø§Ø¬Ø¹ */
.mc-cart-section .woocommerce-message a,
.mc-cart-section .woocommerce-info a,
.mc-cart-section .woocommerce-message .restore-item,
.mc-cart-section .woocommerce-info .restore-item {
    color: #f2c96b !important;
    font-weight: 950;
    text-decoration: none !important;
    border-bottom: 1px dashed rgba(242, 201, 107, 0.55);
    transition:
        color 180ms ease,
        border-color 180ms ease,
        opacity 180ms ease;
}

.mc-cart-section .woocommerce-message a:hover,
.mc-cart-section .woocommerce-info a:hover,
.mc-cart-section .woocommerce-message .restore-item:hover,
.mc-cart-section .woocommerce-info .restore-item:hover {
    color: #4ee8df !important;
    border-color: rgba(78, 232, 223, 0.70);
}

/* Make message button if exists clean */
.mc-cart-section .woocommerce-message .button,
.mc-cart-section .woocommerce-info .button {
    margin-inline-start: auto;
    min-height: 38px;
    padding: 8px 15px;
    border-radius: 13px;
    background: rgba(242, 201, 107, 0.14) !important;
    border: 1px solid rgba(242, 201, 107, 0.35) !important;
    color: #f2c96b !important;
    font-size: 12.5px;
    font-weight: 950;
}

.mc-cart-section .woocommerce-message .button:hover,
.mc-cart-section .woocommerce-info .button:hover {
    background: rgba(38, 214, 203, 0.10) !important;
    border-color: rgba(38, 214, 203, 0.42) !important;
    color: #4ee8df !important;
}

/* ================================
   Cart table spacing after notice
================================ */

.mc-cart-section .woocommerce-cart-form::before {
    margin-top: 4px;
}

/* ================================
   Coupon row polish
================================ */

.mc-cart-section .actions {
    border-color: rgba(38, 214, 203, 0.26) !important;
    background:
        radial-gradient(circle at 90% 0%, rgba(38, 214, 203, 0.10), transparent 36%),
        linear-gradient(180deg, rgba(9, 23, 33, 0.95), rgba(4, 10, 15, 0.98)) !important;
}

.mc-cart-section .coupon::before {
    color: #ffffff;
    font-size: 15px;
    font-weight: 950;
}

.mc-cart-section .coupon::after {
    color: rgba(236, 252, 252, 0.58);
    font-size: 12.5px;
}

.mc-cart-section .coupon .input-text {
    height: 46px !important;
    border-radius: 15px !important;
    border: 1px solid rgba(38, 214, 203, 0.30) !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.060), rgba(255, 255, 255, 0.035)) !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 800;
}

.mc-cart-section .coupon .input-text::placeholder {
    color: rgba(236, 252, 252, 0.48) !important;
}

.mc-cart-section .coupon .input-text:focus {
    border-color: rgba(242, 201, 107, 0.55) !important;
    box-shadow: 0 0 0 4px rgba(242, 201, 107, 0.10) !important;
}

/* ================================
   Update cart + coupon buttons
   Second brand color: Gold
================================ */

.mc-cart-section .coupon .button,
.mc-cart-section button.button[name="update_cart"] {
    height: 46px !important;
    min-height: 46px !important;
    border-radius: 15px !important;
    border: 1px solid rgba(242, 201, 107, 0.42) !important;
    background: linear-gradient(135deg, #f2c96b, #e2ae3f) !important;
    color: #07131d !important;
    font-size: 13.5px !important;
    font-weight: 950 !important;
    box-shadow: 0 14px 32px rgba(242, 201, 107, 0.12);
    transition:
        transform 180ms ease,
        background 180ms ease,
        border-color 180ms ease,
        color 180ms ease,
        box-shadow 180ms ease,
        opacity 180ms ease;
}

.mc-cart-section .coupon .button:hover,
.mc-cart-section button.button[name="update_cart"]:hover,
.mc-cart-section button.button[name="update_cart"].is-ready:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.035) !important;
    border-color: rgba(242, 201, 107, 0.62) !important;
    color: #f2c96b !important;
    box-shadow: 0 10px 24px rgba(242, 201, 107, 0.08);
}

/* Disabled update button: clear but not ugly */
.mc-cart-section button.button[name="update_cart"]:disabled {
    background: rgba(242, 201, 107, 0.10) !important;
    border-color: rgba(242, 201, 107, 0.20) !important;
    color: rgba(242, 201, 107, 0.50) !important;
    box-shadow: none;
    cursor: not-allowed;
}

.mc-cart-section button.button[name="update_cart"].is-ready {
    background: linear-gradient(135deg, #f2c96b, #e2ae3f) !important;
    border-color: rgba(242, 201, 107, 0.48) !important;
    color: #07131d !important;
    opacity: 1;
}

/* ================================
   Remove button refinement
================================ */

.mc-cart-section a.remove {
    border-color: rgba(255, 115, 115, 0.30) !important;
    background: rgba(255, 115, 115, 0.08) !important;
    color: #ff7373 !important;
}

.mc-cart-section a.remove:hover {
    background: rgba(255, 115, 115, 0.18) !important;
    border-color: rgba(255, 115, 115, 0.52) !important;
    color: #ffffff !important;
}

/* ================================
   Quantity buttons contrast
================================ */

.mc-cart-section .mc-cart-qty-btn {
    background: rgba(38, 214, 203, 0.10) !important;
    border-color: rgba(38, 214, 203, 0.28) !important;
    color: #ffffff !important;
}

.mc-cart-section .mc-cart-qty-btn:hover {
    background: linear-gradient(135deg, #26d6cb, #4ee8df) !important;
    border-color: transparent !important;
    color: #07131d !important;
}

/* ================================
   Responsive notice
================================ */

@media (max-width: 768px) {
    .mc-cart-section .woocommerce-message,
    .mc-cart-section .woocommerce-info {
        align-items: flex-start;
        padding: 14px 15px !important;
        font-size: 13px;
    }

    .mc-cart-section .woocommerce-message .button,
    .mc-cart-section .woocommerce-info .button {
        margin-inline-start: 0;
    }
}


/* ==========================================================
   Moeen Cart UX Fixes
   Update button / Coupon button / Product image / Quantity
========================================================== */

/* Center quantity column title and content */
.mc-cart-section table.shop_table th.product-quantity,
.mc-cart-section table.shop_table td.product-quantity {
    text-align: center !important;
}

.mc-cart-section .product-quantity {
    text-align: center !important;
}

.mc-cart-section .quantity {
    margin-inline: auto;
}

/* Slightly bigger product image */
.mc-cart-section .product-thumbnail {
    width: 118px;
}

.mc-cart-section .product-thumbnail img {
    width: 96px !important;
    height: 74px !important;
    border-radius: 17px !important;
    object-fit: cover;
}

/* Keep product name clean and aligned */
.mc-cart-section .product-name {
    min-width: 260px;
}

.mc-cart-section .product-name a,
.mc-cart-section .product-name .mc-cart-product-name-text,
.mc-cart-section .product-name {
    font-size: 15.5px !important;
    font-weight: 950;
}

/* Coupon area better balance */
.mc-cart-section .coupon {
    grid-template-columns: minmax(0, 1fr) 136px !important;
    align-items: end;
}

.mc-cart-section .coupon::before {
    font-size: 15px !important;
    margin-bottom: 0;
}

.mc-cart-section .coupon::after {
    font-size: 12.5px !important;
    color: rgba(236, 252, 252, 0.64) !important;
}

.mc-cart-section .coupon .input-text {
    height: 46px !important;
    padding-inline: 15px !important;
    border-radius: 15px !important;
    border-color: rgba(38, 214, 203, 0.32) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
    font-weight: 800;
}

/* Coupon button: visible text */
.mc-cart-section .coupon .button,
.mc-cart-section .coupon input.button,
.mc-cart-section .coupon button.button {
    width: 136px !important;
    min-width: 136px !important;
    height: 46px !important;
    padding: 0 16px !important;
    border-radius: 15px !important;
    border: 1px solid rgba(242, 201, 107, 0.44) !important;
    background: linear-gradient(135deg, #f2c96b, #e0ae42) !important;
    color: #07131d !important;
    font-size: 13.5px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    text-align: center !important;
    opacity: 1 !important;
    box-shadow: 0 12px 28px rgba(242, 201, 107, 0.12);
}

.mc-cart-section .coupon .button:hover,
.mc-cart-section .coupon input.button:hover,
.mc-cart-section .coupon button.button:hover {
    background: rgba(255, 255, 255, 0.035) !important;
    color: #f2c96b !important;
    border-color: rgba(242, 201, 107, 0.62) !important;
}

/* Update cart button: readable even when disabled */
.mc-cart-section button.button[name="update_cart"],
.mc-cart-section input.button[name="update_cart"] {
    width: 136px !important;
    min-width: 136px !important;
    height: 46px !important;
    border-radius: 15px !important;
    border: 1px solid rgba(242, 201, 107, 0.32) !important;
    background: rgba(242, 201, 107, 0.12) !important;
    color: rgba(242, 201, 107, 0.82) !important;
    font-size: 13.5px !important;
    font-weight: 950 !important;
    opacity: 1 !important;
    box-shadow: none !important;
}

.mc-cart-section button.button[name="update_cart"]:disabled,
.mc-cart-section input.button[name="update_cart"]:disabled {
    cursor: not-allowed !important;
    background: rgba(242, 201, 107, 0.10) !important;
    color: rgba(242, 201, 107, 0.62) !important;
    border-color: rgba(242, 201, 107, 0.24) !important;
}

.mc-cart-section button.button[name="update_cart"].is-ready,
.mc-cart-section input.button[name="update_cart"].is-ready {
    background: linear-gradient(135deg, #f2c96b, #e0ae42) !important;
    color: #07131d !important;
    border-color: rgba(242, 201, 107, 0.48) !important;
    box-shadow: 0 12px 28px rgba(242, 201, 107, 0.12) !important;
}

.mc-cart-section button.button[name="update_cart"].is-ready:hover,
.mc-cart-section input.button[name="update_cart"].is-ready:hover {
    background: rgba(255, 255, 255, 0.035) !important;
    color: #f2c96b !important;
    border-color: rgba(242, 201, 107, 0.62) !important;
}

/* Quantity buttons stable and premium */
.mc-cart-section .quantity {
    gap: 7px !important;
    padding: 5px !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(38, 214, 203, 0.26) !important;
}

.mc-cart-section .quantity .qty {
    width: 54px !important;
    height: 34px !important;
    color: #ffffff !important;
    font-weight: 950 !important;
}

.mc-cart-section .mc-cart-qty-btn {
    width: 31px !important;
    height: 31px !important;
    border-radius: 11px !important;
    background: rgba(38, 214, 203, 0.12) !important;
    border-color: rgba(38, 214, 203, 0.32) !important;
    color: #ffffff !important;
}

.mc-cart-section .mc-cart-qty-btn:hover {
    background: linear-gradient(135deg, #26d6cb, #4ee8df) !important;
    color: #07131d !important;
    border-color: transparent !important;
}

/* Removed item notice */
.mc-cart-section .woocommerce-message,
.mc-cart-section .woocommerce-info {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 14px 17px !important;
    border-radius: 18px !important;
    border-color: rgba(242, 201, 107, 0.30) !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(242, 201, 107, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(10, 24, 34, 0.94), rgba(4, 10, 15, 0.98)) !important;
    color: rgba(236, 252, 252, 0.90) !important;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.7;
}

.mc-cart-section .woocommerce-message::before,
.mc-cart-section .woocommerce-info::before {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: inline-grid !important;
    place-items: center;
    margin: 0 !important;
    border-radius: 50%;
    border: 1px solid rgba(242, 201, 107, 0.42);
    background: rgba(242, 201, 107, 0.12);
    color: #f2c96b !important;
    font-size: 13px;
    line-height: 1;
}

.mc-cart-section .woocommerce-message a,
.mc-cart-section .woocommerce-info a,
.mc-cart-section .woocommerce-message .restore-item,
.mc-cart-section .woocommerce-info .restore-item {
    color: #f2c96b !important;
    font-weight: 950 !important;
    text-decoration: none !important;
    border-bottom: 1px dashed rgba(242, 201, 107, 0.58);
}

.mc-cart-section .woocommerce-message a:hover,
.mc-cart-section .woocommerce-info a:hover,
.mc-cart-section .woocommerce-message .restore-item:hover,
.mc-cart-section .woocommerce-info .restore-item:hover {
    color: #4ee8df !important;
    border-color: rgba(78, 232, 223, 0.70);
}

/* Empty after remove: keep layout elegant */
.mc-cart-section .woocommerce-cart-form__cart-item:only-child {
    margin-bottom: 0;
}

/* Mobile fixes */
@media (max-width: 768px) {
    .mc-cart-section .product-thumbnail {
        width: auto;
    }

    .mc-cart-section .product-thumbnail img {
        width: 82px !important;
        height: 62px !important;
    }

    .mc-cart-section .coupon {
        grid-template-columns: 1fr !important;
    }

    .mc-cart-section .coupon .button,
    .mc-cart-section .coupon input.button,
    .mc-cart-section .coupon button.button,
    .mc-cart-section button.button[name="update_cart"],
    .mc-cart-section input.button[name="update_cart"] {
        width: 100% !important;
        min-width: 100% !important;
    }
}
/* ==========================================================
   Moeen Cart - Coupon Button + Quantity Buttons Final Fix
========================================================== */

/* Ø²Ø± ØªØ·Ø¨ÙŠÙ‚ Ø§Ù„Ø®ØµÙ
 */
.mc-cart-section .coupon .button,
.mc-cart-section .coupon input.button,
.mc-cart-section .coupon button.button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 140px !important;
    min-width: 140px !important;
    height: 46px !important;
    padding: 0 16px !important;
    border-radius: 15px !important;
    border: 1px solid rgba(242, 201, 107, 0.45) !important;
    background: linear-gradient(135deg, #f2c96b, #e2ae3f) !important;
    color: #07131d !important;
    font-family: inherit !important;
    font-size: 13.5px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    text-align: center !important;
    opacity: 1 !important;
    cursor: pointer !important;
    box-shadow: 0 12px 28px rgba(242, 201, 107, 0.12);
}

.mc-cart-section .coupon .button:hover,
.mc-cart-section .coupon input.button:hover,
.mc-cart-section .coupon button.button:hover {
    background: rgba(255, 255, 255, 0.04) !important;
    color: #f2c96b !important;
    border-color: rgba(242, 201, 107, 0.65) !important;
}

/* Ø­Ù‚Ù„ Ø§Ù„ÙƒÙˆØ¨ÙˆÙ† */
.mc-cart-section .coupon .input-text {
    height: 46px !important;
    border-radius: 15px !important;
    border: 1px solid rgba(38, 214, 203, 0.32) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 800 !important;
}

/* Ø£Ø²Ø±Ø§Ø± Ø§Ù„ÙƒÙ
ÙŠØ© */
.mc-cart-section .quantity {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    padding: 5px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(38, 214, 203, 0.28) !important;
    background: rgba(255, 255, 255, 0.04) !important;
}

.mc-cart-section .quantity .qty {
    width: 54px !important;
    height: 34px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #ffffff !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 950 !important;
    text-align: center !important;
    box-shadow: none !important;
    outline: none !important;
    -moz-appearance: textfield;
}

.mc-cart-section .quantity .qty::-webkit-inner-spin-button,
.mc-cart-section .quantity .qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.mc-cart-section .mc-cart-qty-btn {
    width: 31px !important;
    height: 31px !important;
    display: inline-grid !important;
    place-items: center !important;
    flex: 0 0 31px !important;
    border-radius: 11px !important;
    border: 1px solid rgba(38, 214, 203, 0.34) !important;
    background: rgba(38, 214, 203, 0.12) !important;
    color: #ffffff !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    transition: 180ms ease;
}

.mc-cart-section .mc-cart-qty-btn:hover {
    background: linear-gradient(135deg, #26d6cb, #4ee8df) !important;
    border-color: transparent !important;
    color: #07131d !important;
}

/* ØªØ­Ø¯ÙŠØ« Ø§Ù„Ø³Ù„Ø© */
.mc-cart-section button.button[name="update_cart"],
.mc-cart-section input.button[name="update_cart"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 136px !important;
    height: 46px !important;
    border-radius: 15px !important;
    border: 1px solid rgba(242, 201, 107, 0.28) !important;
    background: rgba(242, 201, 107, 0.10) !important;
    color: rgba(242, 201, 107, 0.65) !important;
    font-family: inherit !important;
    font-size: 13.5px !important;
    font-weight: 950 !important;
    opacity: 1 !important;
}

.mc-cart-section button.button[name="update_cart"].is-ready,
.mc-cart-section input.button[name="update_cart"].is-ready {
    background: linear-gradient(135deg, #f2c96b, #e2ae3f) !important;
    color: #07131d !important;
    border-color: rgba(242, 201, 107, 0.48) !important;
}

/* ==========================================================
   Moeen Cart - Coupon / Update Alignment Polish
========================================================== */

.mc-cart-section .actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas: "coupon update" !important;
    align-items: end !important;
    gap: 18px !important;
    padding: 22px !important;
}

.mc-cart-section .coupon {
    grid-area: coupon !important;
    width: 100% !important;
    max-width: 680px !important;
    float: none !important;
    display: grid !important;
    grid-template-columns: minmax(220px, 1fr) 148px !important;
    grid-template-areas:
        "title title"
        "input apply"
        "hint hint" !important;
    align-items: center !important;
    gap: 10px 12px !important;
    margin: 0 !important;
}

.mc-cart-section .coupon::before {
    grid-area: title !important;
    margin: 0 !important;
    color: #ffffff !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
}

.mc-cart-section .coupon::after {
    grid-area: hint !important;
    margin: 0 !important;
    color: rgba(236, 252, 252, 0.66) !important;
    font-size: 12.5px !important;
    line-height: 1.6 !important;
}

.mc-cart-section .coupon .input-text {
    grid-area: input !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 48px !important;
    margin: 0 !important;
}

.mc-cart-section .coupon .button,
.mc-cart-section .coupon input.button,
.mc-cart-section .coupon button.button {
    grid-area: apply !important;
    width: 148px !important;
    min-width: 148px !important;
    height: 48px !important;
    margin: 0 !important;
}

.mc-cart-section button.button[name="update_cart"],
.mc-cart-section input.button[name="update_cart"] {
    grid-area: update !important;
    align-self: center !important;
    justify-self: end !important;
    width: 148px !important;
    min-width: 148px !important;
    height: 48px !important;
    margin: 0 !important;
    float: none !important;
}

@media (max-width: 768px) {
    .mc-cart-section .actions {
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "coupon"
            "update" !important;
        gap: 14px !important;
        padding: 18px !important;
    }

    .mc-cart-section .coupon {
        max-width: none !important;
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "title"
            "input"
            "apply"
            "hint" !important;
        gap: 10px !important;
    }

    .mc-cart-section .coupon::before,
    .mc-cart-section .coupon::after {
        text-align: center !important;
    }

    .mc-cart-section .coupon .input-text,
    .mc-cart-section .coupon .button,
    .mc-cart-section .coupon input.button,
    .mc-cart-section .coupon button.button,
    .mc-cart-section button.button[name="update_cart"],
    .mc-cart-section input.button[name="update_cart"] {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .mc-cart-section button.button[name="update_cart"],
    .mc-cart-section input.button[name="update_cart"] {
        justify-self: stretch !important;
    }
}

@media (max-width: 430px) {
    .mc-cart-section .actions {
        padding: 14px !important;
        border-radius: 20px !important;
    }

    .mc-cart-section .coupon .input-text,
    .mc-cart-section .coupon .button,
    .mc-cart-section .coupon input.button,
    .mc-cart-section .coupon button.button,
    .mc-cart-section button.button[name="update_cart"],
    .mc-cart-section input.button[name="update_cart"] {
        height: 46px !important;
        border-radius: 15px !important;
        font-size: 13.5px !important;
    }
}

/* ==========================================================
   Moeen Cart - Mobile Product Card Polish
========================================================== */

@media (max-width: 768px) {
    .mc-cart-section table.shop_table_responsive tbody tr.cart_item,
    .mc-cart-section table.shop_table_responsive tr.woocommerce-cart-form__cart-item {
        position: relative !important;
        display: grid !important;
        grid-template-columns: 82px minmax(0, 1fr) !important;
        grid-template-areas:
            "remove remove"
            "thumb name"
            "price price"
            "qty qty"
            "subtotal subtotal" !important;
        gap: 0 14px !important;
        margin: 0 0 18px !important;
        padding: 14px !important;
        border: 1px solid rgba(38, 214, 203, 0.22) !important;
        border-radius: 24px !important;
        background:
            radial-gradient(circle at 100% 0%, rgba(38, 214, 203, 0.10), transparent 40%),
            rgba(5, 17, 25, 0.82) !important;
        overflow: hidden !important;
    }

    .mc-cart-section table.shop_table_responsive tr.cart_item td,
    .mc-cart-section table.shop_table_responsive tr.woocommerce-cart-form__cart-item td {
        width: 100% !important;
        min-height: 54px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        padding: 12px 0 !important;
        border: 0 !important;
        border-bottom: 1px solid rgba(38, 214, 203, 0.12) !important;
        text-align: start !important;
    }

    .mc-cart-section table.shop_table_responsive tr.cart_item td::before,
    .mc-cart-section table.shop_table_responsive tr.woocommerce-cart-form__cart-item td::before {
        flex: 0 0 auto !important;
        margin: 0 !important;
        color: rgba(236, 252, 252, 0.58) !important;
        font-size: 14px !important;
        font-weight: 950 !important;
        text-align: right !important;
    }

    .mc-cart-section table.shop_table_responsive td.product-remove {
        grid-area: remove !important;
        min-height: 34px !important;
        justify-content: flex-end !important;
        padding: 0 0 6px !important;
        border-bottom: 0 !important;
    }

    .mc-cart-section table.shop_table_responsive td.product-remove::before,
    .mc-cart-section table.shop_table_responsive td.product-thumbnail::before {
        display: none !important;
        content: none !important;
    }

    .mc-cart-section table.shop_table_responsive td.product-thumbnail {
        grid-area: thumb !important;
        display: flex !important;
        align-items: stretch !important;
        justify-content: center !important;
        min-height: 82px !important;
        padding: 0 !important;
        border-bottom: 0 !important;
    }

    .mc-cart-section table.shop_table_responsive td.product-thumbnail a,
    .mc-cart-section table.shop_table_responsive td.product-thumbnail img {
        display: block !important;
        width: 82px !important;
        height: 82px !important;
    }

    .mc-cart-section table.shop_table_responsive td.product-thumbnail img {
        object-fit: cover !important;
        border-radius: 18px !important;
        border: 1px solid rgba(38, 214, 203, 0.24) !important;
        background:
            radial-gradient(circle at 50% 20%, rgba(38, 214, 203, 0.16), transparent 62%),
            rgba(255, 255, 255, 0.035) !important;
    }

    .mc-cart-section table.shop_table_responsive td.product-name {
        grid-area: name !important;
        min-height: 82px !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding: 0 !important;
        border-bottom: 0 !important;
    }

    .mc-cart-section table.shop_table_responsive td.product-name::before {
        display: none !important;
        content: none !important;
    }

    .mc-cart-section table.shop_table_responsive td.product-name a,
    .mc-cart-section table.shop_table_responsive td.product-name .mc-cart-product-name-text {
        display: block !important;
        color: #ffffff !important;
        font-size: 16px !important;
        font-weight: 950 !important;
        line-height: 1.6 !important;
        text-align: right !important;
    }

    .mc-cart-section table.shop_table_responsive td.product-price {
        grid-area: price !important;
    }

    .mc-cart-section table.shop_table_responsive td.product-quantity {
        grid-area: qty !important;
        text-align: start !important;
    }

    .mc-cart-section table.shop_table_responsive td.product-subtotal {
        grid-area: subtotal !important;
        border-bottom: 0 !important;
    }

    .mc-cart-section table.shop_table_responsive td.product-price .amount,
    .mc-cart-section table.shop_table_responsive td.product-subtotal .amount {
        min-width: 110px !important;
        color: rgba(236, 252, 252, 0.88) !important;
        font-size: 15px !important;
        font-weight: 950 !important;
        text-align: left !important;
    }

    .mc-cart-section table.shop_table_responsive td.product-quantity .quantity {
        margin-inline: auto 0 !important;
        justify-self: end !important;
    }
}

@media (max-width: 430px) {
    .mc-cart-section table.shop_table_responsive tbody tr.cart_item,
    .mc-cart-section table.shop_table_responsive tr.woocommerce-cart-form__cart-item {
        grid-template-columns: 74px minmax(0, 1fr) !important;
        gap: 0 12px !important;
        padding: 12px !important;
        border-radius: 22px !important;
    }

    .mc-cart-section table.shop_table_responsive td.product-thumbnail,
    .mc-cart-section table.shop_table_responsive td.product-name {
        min-height: 74px !important;
    }

    .mc-cart-section table.shop_table_responsive td.product-thumbnail a,
    .mc-cart-section table.shop_table_responsive td.product-thumbnail img {
        width: 74px !important;
        height: 74px !important;
        border-radius: 16px !important;
    }

    .mc-cart-section table.shop_table_responsive td.product-name a,
    .mc-cart-section table.shop_table_responsive td.product-name .mc-cart-product-name-text {
        font-size: 15px !important;
    }

    .mc-cart-section table.shop_table_responsive td.product-quantity .quantity {
        transform: scale(0.94);
        transform-origin: left center;
    }
}






/* ==========================================================
   Moeen Commerce - Checkout Page Final Modern UI
   Scope: .mc-checkout-section
========================================================== */

.mc-checkout-section,
.mc-checkout-section * {
    box-sizing: border-box;
}

.mc-checkout-section {
    --co-card: rgba(7, 18, 27, 0.94);
    --co-card-2: rgba(10, 25, 36, 0.90);
    --co-border: rgba(38, 214, 203, 0.22);
    --co-border-strong: rgba(38, 214, 203, 0.46);
    --co-teal: #26d6cb;
    --co-teal-2: #4ee8df;
    --co-gold: #f2c96b;
    --co-gold-2: #e2ae3f;
    --co-red: #ff7373;
    --co-text: #ffffff;
    --co-muted: rgba(236, 252, 252, 0.76);
    --co-soft: rgba(236, 252, 252, 0.56);
    --co-faint: rgba(236, 252, 252, 0.36);
    --co-radius-xl: 28px;
    --co-radius-lg: 22px;
    --co-radius-md: 16px;
    --co-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
    --co-transition: 180ms ease;

    direction: rtl;
    padding: clamp(40px, 5vw, 68px) 0 clamp(66px, 7vw, 104px);
}

.mc-checkout-section .mc-checkout-shell {
    width: min(1180px, 100%);
    margin-inline: auto;
}

.mc-checkout-section .woocommerce {
    color: var(--co-text);
}

/* ==========================================================
   Hide unnecessary WooCommerce checkout elements
========================================================== */

.mc-checkout-section .woocommerce-form-coupon-toggle,
.mc-checkout-section .woocommerce-form-login-toggle,
.mc-checkout-section .checkout_coupon,
.mc-checkout-section .woocommerce-additional-fields,
.mc-checkout-section .woocommerce-additional-fields__field-wrapper,
.mc-checkout-section #order_comments_field,
.mc-checkout-section .woocommerce-info:empty,
.mc-checkout-section .woocommerce-message:empty,
.mc-checkout-section .woocommerce-shipping-fields,
.mc-checkout-section .create-account,
.mc-checkout-section .woocommerce-account-fields {
    display: none !important;
}

.mc-checkout-section > .container > .mc-checkout-shell > .woocommerce > .woocommerce-info:first-child {
    display: none !important;
}

/* ==========================================================
   Checkout layout
========================================================== */

.mc-checkout-section form.checkout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 440px;
    gap: 26px;
    align-items: start;
    margin: 0;
}

.mc-checkout-section #customer_details {
    grid-column: 1;
    min-width: 0;
}

.mc-checkout-section #order_review_heading,
.mc-checkout-section #order_review {
    grid-column: 2;
}

.mc-checkout-section #customer_details,
.mc-checkout-section #customer_details .col-1,
.mc-checkout-section #customer_details .col-2 {
    float: none !important;
    width: 100% !important;
}

/* ==========================================================
   Billing card
========================================================== */

.mc-checkout-section .woocommerce-billing-fields {
    width: 100%;
    padding: 28px;
    border: 1px solid var(--co-border);
    border-radius: var(--co-radius-xl);
    background:
        radial-gradient(circle at 100% 0%, rgba(38, 214, 203, 0.12), transparent 38%),
        linear-gradient(180deg, rgba(9, 23, 33, 0.96), rgba(4, 10, 15, 0.99));
    box-shadow: var(--co-shadow);
}

.mc-checkout-section .woocommerce-billing-fields > h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 0;
    line-height: 1.25;
    font-weight: 950;
}

.mc-checkout-section .woocommerce-billing-fields > h3::before {
    content: "بيانات التواصل";
    display: block;
    width: fit-content;
    color: var(--co-cyan);
    background: linear-gradient(135deg, #35f0e3 0%, #22c9bf 54%, #f2c96b 115%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 22px rgba(38, 214, 203, 0.16);
    font-size: clamp(25px, 2.5vw, 34px);
    font-weight: 950;
    letter-spacing: -0.02em;
}

.mc-checkout-section .woocommerce-billing-fields::before {
    
    display: block;
    margin: 0 0 22px;
    color: var(--co-soft);
    font-size: 13.5px;
    font-weight: 750;
    line-height: 1.8;
}

/* Fields grid */
.mc-checkout-section .woocommerce-billing-fields__field-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.mc-checkout-section .form-row,
.mc-checkout-section .woocommerce form .form-row,
.mc-checkout-section .form-row-first,
.mc-checkout-section .form-row-last {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.mc-checkout-section #billing_first_name_field,
.mc-checkout-section #billing_last_name_field,
.mc-checkout-section #billing_phone_field,
.mc-checkout-section #billing_email_field {
    grid-column: span 1;
}

/* Labels */
.mc-checkout-section label {
    display: block;
    margin-bottom: 8px;
    color: rgba(236, 252, 252, 0.88);
    font-size: 13.5px;
    font-weight: 900;
    line-height: 1.4;
}

.mc-checkout-section .required {
    color: var(--co-gold);
    text-decoration: none;
}

/* Inputs */
.mc-checkout-section input.input-text,
.mc-checkout-section textarea,
.mc-checkout-section select,
.mc-checkout-section .select2-container--default .select2-selection--single {
    width: 100% !important;
    min-height: 52px;
    border-radius: 16px !important;
    border: 1px solid rgba(38, 214, 203, 0.30) !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.060), rgba(255, 255, 255, 0.035)) !important;
    color: #ffffff !important;
    padding: 12px 15px !important;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 850;
    outline: none;
    box-shadow: none !important;
    transition:
        border-color var(--co-transition),
        box-shadow var(--co-transition),
        background var(--co-transition);
}

.mc-checkout-section input.input-text::placeholder,
.mc-checkout-section textarea::placeholder {
    color: rgba(236, 252, 252, 0.44);
}

.mc-checkout-section input.input-text:focus,
.mc-checkout-section textarea:focus,
.mc-checkout-section select:focus,
.mc-checkout-section .select2-container--open .select2-selection--single {
    border-color: rgba(38, 214, 203, 0.62) !important;
    box-shadow: 0 0 0 4px rgba(38, 214, 203, 0.10) !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.040)) !important;
}

/* Select2 */
.mc-checkout-section .select2-container {
    width: 100% !important;
}

.mc-checkout-section .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #ffffff;
    line-height: 50px;
    padding: 0;
}

.mc-checkout-section .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 50px;
}

/* Validation */
.mc-checkout-section .woocommerce-invalid label {
    color: rgba(255, 155, 155, 0.92);
}

.mc-checkout-section .woocommerce-invalid input.input-text,
.mc-checkout-section .woocommerce-invalid textarea,
.mc-checkout-section .woocommerce-invalid select {
    border-color: rgba(255, 115, 115, 0.50) !important;
    box-shadow: 0 0 0 4px rgba(255, 115, 115, 0.07) !important;
}

.mc-checkout-section .woocommerce-error {
    margin: 0 0 22px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 115, 115, 0.30);
    border-radius: var(--co-radius-lg);
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 115, 115, 0.12), transparent 36%),
        rgba(8, 20, 29, 0.90);
    color: rgba(255, 235, 235, 0.92);
    font-size: 13.5px;
    line-height: 1.8;
}

.mc-checkout-section .woocommerce-error::before {
    color: var(--co-red);
}

/* ==========================================================
   Order review
========================================================== */

.mc-checkout-section #order_review_heading {
    display: none !important;
}

.mc-checkout-section #order_review {
    width: 100%;
    padding: 24px;
    border: 1px solid rgba(38, 214, 203, 0.26);
    border-radius: var(--co-radius-xl);
    background:
        radial-gradient(circle at 100% 0%, rgba(38, 214, 203, 0.13), transparent 38%),
        linear-gradient(180deg, rgba(10, 24, 34, 0.95), rgba(4, 10, 15, 0.99));
    box-shadow: var(--co-shadow);
}

.mc-checkout-section #order_review::before {
    content: "ملخص الطلب";
    display: block;
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(25px, 2.4vw, 34px);
    line-height: 1.25;
    font-weight: 950;
    letter-spacing: -0.02em;
}

/* Order table */
.mc-checkout-section table.shop_table,
.mc-checkout-section .woocommerce-checkout-review-order-table {
    width: 100%;
    margin: 0 0 22px;
    border: 0 !important;
    border-collapse: separate;
    border-spacing: 0;
    background: transparent !important;
}

.mc-checkout-section table.shop_table thead {
    display: none;
}

.mc-checkout-section table.shop_table th,
.mc-checkout-section table.shop_table td {
    padding: 14px 0;
    border: 0 !important;
    border-bottom: 1px solid rgba(38, 214, 203, 0.14) !important;
    color: rgba(236, 252, 252, 0.84);
    font-size: 14.5px;
    text-align: right;
    background: transparent !important;
}

.mc-checkout-section table.shop_table td {
    text-align: left;
}

.mc-checkout-section table.shop_table .product-name {
    text-align: right;
    color: #fff;
    font-weight: 950;
    line-height: 1.7;
}

.mc-checkout-section table.shop_table .product-total,
.mc-checkout-section table.shop_table tfoot td,
.mc-checkout-section table.shop_table .amount {
    color: var(--co-gold);
    font-weight: 950;
    white-space: nowrap;
}

.mc-checkout-section table.shop_table tfoot th {
    color: rgba(236, 252, 252, 0.78);
    font-weight: 950;
}

.mc-checkout-section table.shop_table tr:last-child th,
.mc-checkout-section table.shop_table tr:last-child td {
    border-bottom: 0 !important;
}

/* Highlight order total */
.mc-checkout-section table.shop_table .order-total th,
.mc-checkout-section table.shop_table .order-total td {
    padding-top: 16px;
    color: #fff;
    font-size: 16px;
}

.mc-checkout-section table.shop_table .order-total .amount {
    color: var(--co-gold);
    font-size: 18px;
}

/* ==========================================================
   Payment methods
========================================================== */

.mc-checkout-section #payment {
    background: transparent !important;
    border-radius: 0;
}

.mc-checkout-section #payment ul.payment_methods {
    margin: 0 0 18px;
    padding: 0 !important;
    border: 0 !important;
}

.mc-checkout-section #payment ul.payment_methods::before {
    content: "طريقة الدفع";
    display: block;
    margin: 0 0 12px;
    color: #fff;
    font-size: 19px;
    font-weight: 950;
}

.mc-checkout-section #payment ul.payment_methods li {
    position: relative;
    display: block;
    margin: 0 0 12px !important;
    padding: 15px !important;
    border: 1px solid rgba(38, 214, 203, 0.22);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
    color: #fff;
    list-style: none;
    transition:
        border-color var(--co-transition),
        background var(--co-transition),
        box-shadow var(--co-transition),
        transform var(--co-transition);
}

.mc-checkout-section #payment ul.payment_methods li:hover {
    transform: translateY(-1px);
    border-color: rgba(38, 214, 203, 0.40);
    background: rgba(38, 214, 203, 0.055);
}

.mc-checkout-section #payment ul.payment_methods li.mc-payment-active {
    border-color: rgba(242, 201, 107, 0.52);
    background:
        radial-gradient(circle at 100% 0%, rgba(242, 201, 107, 0.12), transparent 34%),
        rgba(255, 255, 255, 0.045);
    box-shadow: 0 14px 32px rgba(242, 201, 107, 0.08);
}

.mc-checkout-section #payment ul.payment_methods li input[type="radio"] {
    margin: 0 0 0 8px;
    accent-color: var(--co-gold);
}

.mc-checkout-section #payment ul.payment_methods li label {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: calc(100% - 28px);
    margin: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 950;
    cursor: pointer;
}

.mc-checkout-section #payment ul.payment_methods li img {
    max-height: 34px;
    max-width: 88px;
    margin: 0;
    border-radius: 8px;
    object-fit: contain;
}

/* Payment explanation */
.mc-checkout-section .payment_box {
    margin: 14px 0 0 !important;
    padding: 14px 15px !important;
    border-radius: 15px;
    background: rgba(242, 201, 107, 0.08) !important;
    color: rgba(236, 252, 252, 0.82) !important;
    font-size: 13px;
    line-height: 1.8;
}

.mc-checkout-section .payment_box::before {
    display: none !important;
}

/* Privacy */
.mc-checkout-section .woocommerce-privacy-policy-text {
    margin: 16px 0;
    color: var(--co-soft);
    font-size: 12.5px;
    line-height: 1.9;
}

.mc-checkout-section .woocommerce-privacy-policy-text a {
    color: var(--co-gold);
    text-decoration: none;
}

/* Place order */
.mc-checkout-section #payment .place-order {
    margin: 0;
    padding: 0 !important;
}

.mc-checkout-section #place_order {
    width: 100%;
    min-height: 54px;
    margin-top: 14px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--co-teal), var(--co-teal-2));
    color: #021214;
    font-family: inherit;
    font-size: 16px;
    font-weight: 950;
    box-shadow: 0 18px 44px rgba(38, 214, 203, 0.15);
    cursor: pointer;
    transition:
        transform var(--co-transition),
        filter var(--co-transition),
        box-shadow var(--co-transition),
        background var(--co-transition),
        color var(--co-transition);
}

.mc-checkout-section #place_order:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.035);
    color: var(--co-teal-2);
    outline: 1px solid rgba(38, 214, 203, 0.40);
    filter: none;
    box-shadow: 0 22px 50px rgba(38, 214, 203, 0.12);
}

/* Remove old injected trust note if exists */
.mc-checkout-section .mc-checkout-trust-note {
    display: none !important;
}

/* Free order */
.mc-checkout-section.mc-checkout-free-order #payment ul.payment_methods,
.mc-checkout-section.mc-checkout-free-order .payment_box {
    display: none !important;
}

/* ==========================================================
   Responsive
========================================================== */

@media (max-width: 1080px) {
    .mc-checkout-section form.checkout {
        grid-template-columns: 1fr;
    }

    .mc-checkout-section #customer_details,
    .mc-checkout-section #order_review_heading,
    .mc-checkout-section #order_review {
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    .mc-checkout-section {
        padding-top: 34px;
    }

    .mc-checkout-section .woocommerce-billing-fields,
    .mc-checkout-section #order_review {
        padding: 18px;
        border-radius: 22px;
    }

    .mc-checkout-section .woocommerce-billing-fields__field-wrapper {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .mc-checkout-section #billing_first_name_field,
    .mc-checkout-section #billing_last_name_field,
    .mc-checkout-section #billing_phone_field,
    .mc-checkout-section #billing_email_field {
        grid-column: auto;
    }

    .mc-checkout-section input.input-text,
    .mc-checkout-section textarea,
    .mc-checkout-section select,
    .mc-checkout-section .select2-container--default .select2-selection--single {
        min-height: 48px;
    }

    .mc-checkout-section table.shop_table th,
    .mc-checkout-section table.shop_table td {
        font-size: 13.5px;
    }

    .mc-checkout-section #payment ul.payment_methods li label {
        width: calc(100% - 28px);
        align-items: center;
    }
}

/* ==========================================================
   Moeen Checkout/Cart Notices - Premium Unified UI
   Fix top WooCommerce success/notice bar
========================================================== */

/* Ø¥Ø´Ø¹Ø§Ø±Ø§Øª ÙˆÙˆÙƒÙˆÙ
Ø±Ø³ Ø¯Ø§Ø®Ù„ ØµÙØ­Ø§Øª Ø§Ù„Ù
ØªØ¬Ø±/Ø§Ù„Ø³Ù„Ø©/Ø§Ù„Ø¯ÙØ¹ */
.mc-checkout-section .woocommerce-notices-wrapper,
.mc-cart-section .woocommerce-notices-wrapper {
    margin: 0 0 24px !important;
}

/* Ø´Ø±ÙŠØ· Ø§Ù„Ù†Ø¬Ø§Ø­ / Ø§Ù„Ù
Ø¹Ù„ÙˆÙ
Ø§Øª */
.mc-checkout-section .woocommerce-message,
.mc-checkout-section .woocommerce-info,
.mc-cart-section .woocommerce-message,
.mc-cart-section .woocommerce-info {
    position: relative !important;
    isolation: isolate;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;

    min-height: 64px !important;
    margin: 0 0 24px !important;
    padding: 14px 18px !important;

    border: 1px solid rgba(38, 214, 203, 0.28) !important;
    border-radius: 22px !important;

    background:
        radial-gradient(circle at 100% 0%, rgba(38, 214, 203, 0.14), transparent 36%),
        radial-gradient(circle at 0% 100%, rgba(242, 201, 107, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(9, 23, 33, 0.96), rgba(4, 10, 15, 0.99)) !important;

    color: rgba(236, 252, 252, 0.90) !important;
    font-size: 14px !important;
    font-weight: 850 !important;
    line-height: 1.8 !important;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18) !important;

    overflow: hidden;
}

/* Ù„Ù
Ø¹Ø© Ø®ÙÙŠÙØ© Ø¯Ø§Ø®Ù„ Ø§Ù„Ø´Ø±ÙŠØ· */
.mc-checkout-section .woocommerce-message::after,
.mc-checkout-section .woocommerce-info::after,
.mc-cart-section .woocommerce-message::after,
.mc-cart-section .woocommerce-info::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(38, 214, 203, 0.055),
        transparent
    );
    opacity: 0.75;
}

/* Ø£ÙŠÙ‚ÙˆÙ†Ø© ÙˆÙˆÙƒÙˆÙ
Ø±Ø³ */
.mc-checkout-section .woocommerce-message::before,
.mc-checkout-section .woocommerce-info::before,
.mc-cart-section .woocommerce-message::before,
.mc-cart-section .woocommerce-info::before {
    position: static !important;
    inset: auto !important;
    transform: none !important;

    content: "✓" !important;
    width: 32px !important;
    height: 32px !important;
    flex: 0 0 32px !important;

    display: inline-grid !important;
    place-items: center !important;
    margin: 0 !important;

    border-radius: 50% !important;
    border: 1px solid rgba(242, 201, 107, 0.44) !important;
    background:
        radial-gradient(circle, rgba(242, 201, 107, 0.24), rgba(242, 201, 107, 0.08)) !important;

    color: #f2c96b !important;
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    box-shadow: 0 8px 20px rgba(242, 201, 107, 0.10);
}

/* Ø²Ø± Ø¹Ø±Ø¶ Ø§Ù„Ø³Ù„Ø© Ø¯Ø§Ø®Ù„ Ø§Ù„Ø¥Ø´Ø¹Ø§Ø± */
.mc-checkout-section .woocommerce-message .button,
.mc-checkout-section .woocommerce-info .button,
.mc-cart-section .woocommerce-message .button,
.mc-cart-section .woocommerce-info .button {
    order: 3 !important;
    flex: 0 0 auto !important;

    min-height: 42px !important;
    padding: 9px 18px !important;

    border-radius: 14px !important;
    border: 1px solid rgba(38, 214, 203, 0.34) !important;
    background: rgba(38, 214, 203, 0.10) !important;

    color: #4ee8df !important;
    font-size: 13px !important;
    font-weight: 950 !important;
    text-decoration: none !important;

    box-shadow: none !important;
    transition:
        transform 180ms ease,
        background 180ms ease,
        border-color 180ms ease,
        color 180ms ease;
}

.mc-checkout-section .woocommerce-message .button:hover,
.mc-checkout-section .woocommerce-info .button:hover,
.mc-cart-section .woocommerce-message .button:hover,
.mc-cart-section .woocommerce-info .button:hover {
    transform: translateY(-1px);
    border-color: rgba(242, 201, 107, 0.52) !important;
    background: rgba(242, 201, 107, 0.12) !important;
    color: #f2c96b !important;
}

/* Ø±Ø§Ø¨Ø· Ø§Ù„ØªØ±Ø§Ø¬Ø¹ */
.mc-checkout-section .woocommerce-message a:not(.button),
.mc-checkout-section .woocommerce-info a:not(.button),
.mc-cart-section .woocommerce-message a:not(.button),
.mc-cart-section .woocommerce-info a:not(.button) {
    color: #f2c96b !important;
    font-weight: 950 !important;
    text-decoration: none !important;
    border-bottom: 1px dashed rgba(242, 201, 107, 0.55);
}

.mc-checkout-section .woocommerce-message a:not(.button):hover,
.mc-checkout-section .woocommerce-info a:not(.button):hover,
.mc-cart-section .woocommerce-message a:not(.button):hover,
.mc-cart-section .woocommerce-info a:not(.button):hover {
    color: #4ee8df !important;
    border-color: rgba(78, 232, 223, 0.70);
}

/* Ø¶Ø¨Ø· Ù†Øµ Ø§Ù„Ø¥Ø´Ø¹Ø§Ø± Ù†ÙØ³Ù‡ */
.mc-checkout-section .woocommerce-message,
.mc-checkout-section .woocommerce-info {
    direction: rtl;
    text-align: right;
}

/* Ù
ÙˆØ¨Ø§ÙŠÙ„ */
@media (max-width: 768px) {
    .mc-checkout-section .woocommerce-message,
    .mc-checkout-section .woocommerce-info,
    .mc-cart-section .woocommerce-message,
    .mc-cart-section .woocommerce-info {
        flex-wrap: wrap;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        padding: 14px 15px !important;
        font-size: 13px !important;
        border-radius: 18px !important;
    }

    .mc-checkout-section .woocommerce-message .button,
    .mc-checkout-section .woocommerce-info .button,
    .mc-cart-section .woocommerce-message .button,
    .mc-cart-section .woocommerce-info .button {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* ==========================================================
   Checkout extra polish
   Colors / spacing / performance-safe refinements
========================================================== */

/* Ø¥Ø²Ø§Ù„Ø© Ø´Ø±ÙŠØ· Ø§Ù„ÙƒÙˆØ¨ÙˆÙ† Ù
Ù† Ø§Ù„Ø¯ÙØ¹ Ù†Ù‡Ø§Ø¦ÙŠØ§ Ù„Ùˆ Ù
Ø§ Ø²Ø§Ù„ ÙŠØ¸Ù‡Ø± */
.mc-checkout-section .woocommerce-form-coupon-toggle,
.mc-checkout-section .checkout_coupon {
    display: none !important;
}

/* Ø¶Ø¨Ø· Ù„ÙˆÙ† Ø§Ù„ÙƒØ±ÙˆØª Ø£ÙƒØ«Ø± Ù
Ø¹ Ù‡ÙˆÙŠØ© Ø§Ù„Ù
ÙˆÙ‚Ø¹ */
.mc-checkout-section .woocommerce-billing-fields,
.mc-checkout-section #order_review {
    border-color: rgba(38, 214, 203, 0.28) !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(38, 214, 203, 0.13), transparent 38%),
        linear-gradient(180deg, rgba(8, 22, 32, 0.96), rgba(3, 9, 14, 0.99)) !important;
}

/* Ù
Ù†Ø¹ Ù
Ø³Ø§Ø­Ø§Øª ÙƒØ¨ÙŠØ±Ø© ØºÙŠØ± Ù„Ø§Ø²Ù
Ø© */
.mc-checkout-section form.checkout {
    row-gap: 24px !important;
}

/* ØªØ­Ø³ÙŠÙ† Ø§Ù„Ø­Ù‚ÙˆÙ„ */
.mc-checkout-section input.input-text,
.mc-checkout-section textarea,
.mc-checkout-section select {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.035)) !important;
    border-color: rgba(38, 214, 203, 0.34) !important;
    color: #ffffff !important;
    caret-color: #26d6cb;
}

/* Ø¥Ø®ÙØ§Ø¡ Ù„ÙˆÙ† autofill Ø§Ù„Ø£Ø¨ÙŠØ¶ ÙÙŠ ÙƒØ±ÙˆÙ
 */
.mc-checkout-section input.input-text:-webkit-autofill,
.mc-checkout-section input.input-text:-webkit-autofill:hover,
.mc-checkout-section input.input-text:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff !important;
    box-shadow: 0 0 0 1000px rgba(9, 23, 33, 0.98) inset !important;
    border-color: rgba(38, 214, 203, 0.42) !important;
    transition: background-color 9999s ease-in-out 0s;
}

/* Ø¬Ø¹Ù„ Ø£Ø³Ø¹Ø§Ø± Ø§Ù„Ù
Ù„Ø®Øµ Ø£ÙˆØ¶Ø­ */
.mc-checkout-section #order_review .amount {
    color: #f2c96b !important;
    font-weight: 950 !important;
}

/* ØªØ­Ø³ÙŠÙ† ÙƒØ§Ø±Øª Ø§Ù„Ø¯ÙØ¹ Ø§Ù„Ù
Ø®ØªØ§Ø± */
.mc-checkout-section #payment ul.payment_methods li.mc-payment-active {
    border-color: rgba(242, 201, 107, 0.55) !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(242, 201, 107, 0.13), transparent 34%),
        rgba(255, 255, 255, 0.045) !important;
}

/* ØµÙ†Ø¯ÙˆÙ‚ Ø´Ø±Ø­ ÙˆØ³ÙŠÙ„Ø© Ø§Ù„Ø¯ÙØ¹ */
.mc-checkout-section .payment_box {
    border: 1px solid rgba(242, 201, 107, 0.18);
    background:
        linear-gradient(180deg, rgba(242, 201, 107, 0.09), rgba(242, 201, 107, 0.045)) !important;
}

/* Ø²Ø± ØªØ£ÙƒÙŠØ¯ Ø§Ù„Ø·Ù„Ø¨ */
.mc-checkout-section #place_order {
    background: linear-gradient(135deg, #26d6cb, #4ee8df) !important;
    color: #021214 !important;
}

.mc-checkout-section #place_order:hover {
    background: rgba(255, 255, 255, 0.035) !important;
    color: #4ee8df !important;
    border: 1px solid rgba(38, 214, 203, 0.44) !important;
}

/* Performance: ØªÙ‚Ù„ÙŠÙ„ ØªÙƒÙ„ÙØ© Ø§Ù„ØªØ£Ø«ÙŠØ±Ø§Øª Ø¹Ù„Ù‰ Ø§Ù„Ø£Ø¬Ù‡Ø²Ø© Ø§Ù„Ø¶Ø¹ÙŠÙØ© */
@media (prefers-reduced-motion: reduce) {
    .mc-checkout-section *,
    .mc-cart-section * {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
}


/* ==========================================================
   Moeen Checkout - Phone Field + Error Notice Fix
========================================================== */

/* ØªØ£ÙƒÙŠØ¯ Ø¸Ù‡ÙˆØ± Ø®Ø§Ù†Ø© Ø§Ù„Ø¬ÙˆØ§Ù„ */
.mc-checkout-section #billing_phone_field {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    grid-column: span 1 !important;
}

/* ØªØ±ØªÙŠØ¨ ÙˆØ§Ø¶Ø­ Ù„Ù„Ø­Ù‚ÙˆÙ„ Ø§Ù„Ø£Ø±Ø¨Ø¹Ø© */
.mc-checkout-section .woocommerce-billing-fields__field-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

.mc-checkout-section #billing_first_name_field,
.mc-checkout-section #billing_last_name_field,
.mc-checkout-section #billing_phone_field,
.mc-checkout-section #billing_email_field {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ù
Ø¸Ù‡Ø± Ù
ÙˆØ­Ø¯ Ù„Ù„Ø­Ù‚ÙˆÙ„ */
.mc-checkout-section #billing_phone,
.mc-checkout-section #billing_first_name,
.mc-checkout-section #billing_last_name,
.mc-checkout-section #billing_email {
    width: 100% !important;
    min-height: 52px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(38, 214, 203, 0.34) !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.035)) !important;
    color: #ffffff !important;
    font-size: 14.5px !important;
    font-weight: 850 !important;
    box-shadow: none !important;
}

.mc-checkout-section #billing_phone {
    direction: ltr !important;
    text-align: left !important;
}

.mc-checkout-section #billing_phone::placeholder,
.mc-checkout-section #billing_first_name::placeholder,
.mc-checkout-section #billing_last_name::placeholder,
.mc-checkout-section #billing_email::placeholder {
    color: rgba(236, 252, 252, 0.44) !important;
}

/* Ù„ÙˆÙ† Ø§Ù„Ø®Ø·Ø£ ÙŠÙƒÙˆÙ† Ù‡Ø§Ø¯Ø¦ ÙˆÙ„ÙŠØ³ ØµØ§Ø±Ø® */
.mc-checkout-section .woocommerce-invalid label,
.mc-checkout-section .woocommerce-invalid-required-field label {
    color: rgba(255, 170, 170, 0.94) !important;
}

.mc-checkout-section .woocommerce-invalid input.input-text,
.mc-checkout-section .woocommerce-invalid-required-field input.input-text {
    border-color: rgba(255, 115, 115, 0.50) !important;
    box-shadow: 0 0 0 4px rgba(255, 115, 115, 0.07) !important;
}

/* Ø¥ØµÙ„Ø§Ø­ ØµÙ†Ø¯ÙˆÙ‚ Ø±Ø³Ø§Ø¦Ù„ Ø§Ù„Ø®Ø·Ø£ Ø£Ø¹Ù„Ù‰ Ø§Ù„Ø¯ÙØ¹ */
.mc-checkout-section .woocommerce-error {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;

    margin: 0 0 24px !important;
    padding: 15px 18px !important;

    border: 1px solid rgba(255, 115, 115, 0.34) !important;
    border-radius: 20px !important;

    background:
        radial-gradient(circle at 100% 0%, rgba(255, 115, 115, 0.14), transparent 35%),
        linear-gradient(180deg, rgba(38, 12, 18, 0.92), rgba(12, 7, 10, 0.98)) !important;

    color: rgba(255, 238, 238, 0.94) !important;
    font-size: 14px !important;
    font-weight: 850 !important;
    line-height: 1.8 !important;
    list-style: none !important;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18) !important;
}

/* Ù„Ùˆ WooCommerce Ø®Ø±Ø¬ Ø§Ù„Ø±Ø³Ø§Ù„Ø© ÙƒÙ€ ul/li */
.mc-checkout-section .woocommerce-error li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ø¥ØµÙ„Ø§Ø­ Ø§Ù„Ø£ÙŠÙ‚ÙˆÙ†Ø© Ø§Ù„Ù
ØªØ¯Ø§Ø®Ù„Ø© */
.mc-checkout-section .woocommerce-error::before {
    position: static !important;
    inset: auto !important;
    transform: none !important;

    content: "!" !important;
    width: 30px !important;
    height: 30px !important;
    flex: 0 0 30px !important;

    display: inline-grid !important;
    place-items: center !important;
    margin: 0 !important;

    border-radius: 50% !important;
    border: 1px solid rgba(255, 115, 115, 0.48) !important;
    background: rgba(255, 115, 115, 0.14) !important;

    color: #ff9b9b !important;
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
}

/* Ø¥ØµÙ„Ø§Ø­ Ø£ÙŠÙ‚ÙˆÙ†Ø§Øª success/info Ø£ÙŠØ¶Ø§ ÙÙŠ checkout */
.mc-checkout-section .woocommerce-message::before,
.mc-checkout-section .woocommerce-info::before {
    position: static !important;
    inset: auto !important;
    transform: none !important;
}

/* Ø¥Ø®ÙØ§Ø¡ ÙƒÙˆØ¨ÙˆÙ† Ø§Ù„Ø¯ÙØ¹ ØªÙ
Ø§Ù
Ø§ */
.mc-checkout-section .woocommerce-form-coupon-toggle,
.mc-checkout-section .checkout_coupon {
    display: none !important;
}

/* Ù
ÙˆØ¨Ø§ÙŠÙ„ */
@media (max-width: 768px) {
    .mc-checkout-section .woocommerce-billing-fields__field-wrapper {
        grid-template-columns: 1fr !important;
    }

    .mc-checkout-section #billing_first_name_field,
    .mc-checkout-section #billing_last_name_field,
    .mc-checkout-section #billing_phone_field,
    .mc-checkout-section #billing_email_field {
        grid-column: auto !important;
    }

    .mc-checkout-section .woocommerce-error {
        align-items: flex-start !important;
        font-size: 13px !important;
        padding: 14px 15px !important;
    }
}






/* ==========================================================
   Moeen Order Received Page - Calm Compact Final UI
========================================================== */

body.mc-order-received-page .page-hero {
    padding-bottom: clamp(22px, 3vw, 38px) !important;
}

body.mc-order-received-page .page-hero h1 {
    font-size: clamp(38px, 5vw, 64px) !important;
}

body.mc-order-received-page .page-hero p {
    max-width: 620px !important;
}

body.mc-order-received-page .mc-checkout-section {
    padding-top: 18px !important;
    padding-bottom: 70px !important;
}

body.mc-order-received-page .mc-checkout-section .mc-checkout-shell {
    width: min(980px, 100%) !important;
    margin-inline: auto;
}

body.mc-order-received-page .woocommerce-order {
    display: grid !important;
    gap: 18px !important;
    color: #fff;
}

/* Hide noisy default overview/cards */
body.mc-order-received-page .woocommerce-order-overview,
body.mc-order-received-page .woocommerce-customer-details {
    display: none !important;
}

/* Hide default paragraph if we build our own message */
body.mc-order-received-page .woocommerce-order > p:not(.woocommerce-thankyou-order-received) {
    display: none !important;
}

/* Main success notice */
body.mc-order-received-page .woocommerce-thankyou-order-received,
body.mc-order-received-page .woocommerce-notice--success {
    display: none !important;
}

/* New compact success card injected by JS */
body.mc-order-received-page .mc-thankyou-card {
    padding: clamp(24px, 3vw, 34px);
    border: 1px solid rgba(38, 214, 203, 0.24);
    border-radius: 28px;
    background:
        radial-gradient(circle at 100% 0%, rgba(38, 214, 203, 0.13), transparent 38%),
        radial-gradient(circle at 0% 100%, rgba(242, 201, 107, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(9, 23, 33, 0.96), rgba(4, 10, 15, 0.99));
    box-shadow: 0 22px 64px rgba(0, 0, 0, 0.18);
}

body.mc-order-received-page .mc-thankyou-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

body.mc-order-received-page .mc-thankyou-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(242, 201, 107, 0.45);
    background: rgba(242, 201, 107, 0.12);
    color: #f2c96b;
    font-size: 21px;
    font-weight: 950;
}

body.mc-order-received-page .mc-thankyou-title {
    margin: 0 0 6px;
    color: #fff;
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 950;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

body.mc-order-received-page .mc-thankyou-desc {
    margin: 0;
    color: rgba(236, 252, 252, 0.72);
    font-size: 14px;
    font-weight: 750;
    line-height: 1.8;
}

body.mc-order-received-page .mc-thankyou-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
}

body.mc-order-received-page .mc-thankyou-meta-item {
    min-height: 72px;
    padding: 13px 14px;
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(38, 214, 203, 0.16);
}

body.mc-order-received-page .mc-thankyou-meta-label {
    display: block;
    margin-bottom: 5px;
    color: rgba(236, 252, 252, 0.54);
    font-size: 12px;
    font-weight: 850;
}

body.mc-order-received-page .mc-thankyou-meta-value {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 950;
    line-height: 1.5;
    word-break: break-word;
}

body.mc-order-received-page .mc-thankyou-meta-value.is-price {
    color: #f2c96b;
}

body.mc-order-received-page .mc-thankyou-note {
    margin: 18px 0 0;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(242, 201, 107, 0.20);
    background: rgba(242, 201, 107, 0.055);
    color: rgba(236, 252, 252, 0.76);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.8;
}

body.mc-order-received-page .mc-order-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

body.mc-order-received-page .mc-order-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 14px;
    font-size: 13.5px;
    font-weight: 950;
    text-decoration: none !important;
    transition: 180ms ease;
}

body.mc-order-received-page .mc-order-btn--primary {
    border: 1px solid transparent;
    background: linear-gradient(135deg, #26d6cb, #4ee8df);
    color: #021214 !important;
}

body.mc-order-received-page .mc-order-btn--secondary {
    border: 1px solid rgba(38, 214, 203, 0.28);
    background: rgba(255, 255, 255, 0.035);
    color: #fff !important;
}

body.mc-order-received-page .mc-order-btn:hover {
    transform: translateY(-2px);
}

body.mc-order-received-page .mc-order-btn--secondary:hover {
    border-color: rgba(242, 201, 107, 0.50);
    color: #f2c96b !important;
}

/* Order details: calm simple card */
body.mc-order-received-page .woocommerce-order-details {
    padding: 22px 24px !important;
    border: 1px solid rgba(38, 214, 203, 0.18) !important;
    border-radius: 24px !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(38, 214, 203, 0.08), transparent 38%),
        linear-gradient(180deg, rgba(8, 20, 30, 0.90), rgba(3, 9, 14, 0.98)) !important;
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.14);
}

body.mc-order-received-page .woocommerce-order-details__title {
    margin: 0 0 14px !important;
    color: #fff !important;
    font-size: clamp(22px, 2.2vw, 28px) !important;
    font-weight: 950 !important;
}

body.mc-order-received-page .woocommerce-order-details table.shop_table {
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: transparent !important;
}

body.mc-order-received-page .woocommerce-order-details table.shop_table thead {
    display: none !important;
}

body.mc-order-received-page .woocommerce-order-details table.shop_table th,
body.mc-order-received-page .woocommerce-order-details table.shop_table td {
    padding: 10px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(38, 214, 203, 0.10) !important;
    background: transparent !important;
    color: rgba(236, 252, 252, 0.80) !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}

body.mc-order-received-page .woocommerce-order-details table.shop_table .product-name {
    color: #fff !important;
    font-weight: 950 !important;
    text-align: right !important;
}

body.mc-order-received-page .woocommerce-order-details table.shop_table .product-total,
body.mc-order-received-page .woocommerce-order-details table.shop_table tfoot td,
body.mc-order-received-page .woocommerce-order-details table.shop_table .amount {
    color: #f2c96b !important;
    font-weight: 950 !important;
    text-align: left !important;
}

body.mc-order-received-page .woocommerce-order-details table.shop_table tfoot tr:last-child th,
body.mc-order-received-page .woocommerce-order-details table.shop_table tfoot tr:last-child td {
    border-bottom: 0 !important;
    color: #fff !important;
}

body.mc-order-received-page .woocommerce-order-details table.shop_table tfoot tr:last-child .amount {
    color: #f2c96b !important;
    font-size: 16px !important;
}

/* Currency cleanup visuals */
body.mc-order-received-page .amount {
    white-space: nowrap;
}

/* Mobile */
@media (max-width: 768px) {
    body.mc-order-received-page .mc-thankyou-meta {
        grid-template-columns: 1fr;
    }

    body.mc-order-received-page .mc-order-actions {
        flex-direction: column;
    }

    body.mc-order-received-page .mc-order-btn {
        width: 100%;
    }

    body.mc-order-received-page .mc-thankyou-card,
    body.mc-order-received-page .woocommerce-order-details {
        padding: 18px !important;
        border-radius: 22px !important;
    }
}

/* ==========================================================
   Order Received - session expired / login required state
   لما الجلسة تنتهي بعد الدفع وWooCommerce يطلب تسجيل دخول
   لعرض الطلب، بنلبس النموذج نفس هوية بطاقة "تم استلام الطلب".
========================================================== */

body.mc-order-received-page .woocommerce-notices-wrapper .woocommerce-info,
body.mc-order-received-page .woocommerce-notices-wrapper .woocommerce-error {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 20px;
    padding: 16px 20px;
    border: 1px solid rgba(38, 214, 203, 0.24);
    border-radius: 20px;
    background:
        radial-gradient(circle at 100% 0%, rgba(38, 214, 203, 0.13), transparent 38%),
        linear-gradient(180deg, rgba(9, 23, 33, 0.96), rgba(4, 10, 15, 0.99));
    box-shadow: 0 22px 64px rgba(0, 0, 0, 0.18);
    color: rgba(236, 252, 252, 0.86);
    font-size: 14px;
    font-weight: 750;
    line-height: 1.8;
    list-style: none;
}

body.mc-order-received-page .woocommerce-notices-wrapper .woocommerce-info::before,
body.mc-order-received-page .woocommerce-notices-wrapper .woocommerce-error::before {
    content: "";
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(38, 214, 203, 0.45);
    background: rgba(38, 214, 203, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ee8df' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 16px no-repeat;
}

body.mc-order-received-page .woocommerce-form-login {
    display: grid;
    gap: 14px;
    max-width: 460px;
    padding: clamp(24px, 3vw, 34px);
    border: 1px solid rgba(38, 214, 203, 0.24);
    border-radius: 28px;
    background:
        radial-gradient(circle at 0% 100%, rgba(242, 201, 107, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(9, 23, 33, 0.96), rgba(4, 10, 15, 0.99));
    box-shadow: 0 22px 64px rgba(0, 0, 0, 0.18);
}

body.mc-order-received-page .woocommerce-form-login .form-row {
    margin: 0;
}

body.mc-order-received-page .woocommerce-form-login label {
    display: block;
    margin-bottom: 8px;
    color: rgba(236, 252, 252, 0.72);
    font-size: 13px;
    font-weight: 800;
}

body.mc-order-received-page .woocommerce-form-login label .required {
    color: #f2c96b;
}

body.mc-order-received-page .woocommerce-form-login input.input-text {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    transition: border-color 180ms ease, background 180ms ease;
}

body.mc-order-received-page .woocommerce-form-login input.input-text:focus {
    outline: none;
    border-color: rgba(38, 214, 203, 0.55);
    background: rgba(38, 214, 203, 0.06);
}

body.mc-order-received-page .woocommerce-form-login__submit {
    width: 100%;
    min-height: 48px;
    border: 1px solid transparent;
    border-radius: 14px;
    background: linear-gradient(135deg, #26d6cb, #4ee8df);
    color: #021214;
    font-size: 14px;
    font-weight: 950;
    cursor: pointer;
    transition: 180ms ease;
}

body.mc-order-received-page .woocommerce-form-login__submit:hover {
    filter: brightness(1.06);
}

body.mc-order-received-page .woocommerce-form-login .lost_password,
body.mc-order-received-page .woocommerce-form-login .woocommerce-LostPassword {
    margin: 0;
    text-align: center;
}

body.mc-order-received-page .woocommerce-form-login .lost_password a,
body.mc-order-received-page .woocommerce-form-login .woocommerce-LostPassword a {
    color: rgba(236, 252, 252, 0.6);
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.mc-order-received-page .woocommerce-form-login .lost_password a:hover,
body.mc-order-received-page .woocommerce-form-login .woocommerce-LostPassword a:hover {
    color: #4ee8df;
}


/* ==========================================================
   Moeen Store - Purchased Product State
========================================================== */

.mc-product-owned,
.mc-store-actions {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.mc-product-owned__badge {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(38, 214, 203, 0.32);
    background: rgba(38, 214, 203, 0.10);
    color: #4ee8df;
    font-size: 13px;
    font-weight: 950;
}

.mc-product-owned__badge--review {
    border-color: rgba(242, 201, 107, 0.34);
    background: rgba(242, 201, 107, 0.10);
    color: #f2c96b;
}

.mc-store-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 15px;
    font-size: 13.5px;
    font-weight: 950;
    text-decoration: none !important;
    transition: 180ms ease;
}

.mc-store-btn--primary {
    border: 1px solid transparent;
    background: linear-gradient(135deg, #26d6cb, #4ee8df);
    color: #021214 !important;
}

.mc-store-btn--secondary {
    border: 1px solid rgba(38, 214, 203, 0.30);
    background: rgba(255, 255, 255, 0.035);
    color: #ffffff !important;
}

.mc-store-btn:hover {
    transform: translateY(-2px);
}

.mc-store-btn--secondary:hover {
    border-color: rgba(242, 201, 107, 0.50);
    color: #f2c96b !important;
}


/* ==========================================================
   Moeen Commerce UI Patch
   Ù‡Ø°Ø§ Ø§Ù„ÙƒÙˆØ¯ ÙŠØ­Ø³Ù† Ø³Ù„Ø© Ø§Ù„Ù‡ÙŠØ¯Ø±ØŒ Ø±Ø³Ø§Ø¦Ù„ checkoutØŒ ÙˆØ¸Ù‡ÙˆØ± Ø§Ù„ØªÙ†Ø²ÙŠÙ„Ø§Øª Ø¨Ø¹Ø¯ Ø§Ù„Ø·Ù„Ø¨.
========================================================== */

/* Checkout: ØªÙ‡Ø°ÙŠØ¨ Ø±Ø³Ø§Ø¦Ù„ Ø§Ù„Ø®Ø·Ø£ */
.woocommerce-checkout .woocommerce-NoticeGroup-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-error {
    display: grid !important;
    gap: 8px !important;
    padding: 14px 16px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 115, 115, .30) !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 115, 115, .12), transparent 38%),
        rgba(45, 6, 12, .72) !important;
    color: rgba(255, 235, 235, .94) !important;
    font-size: 13px !important;
    font-weight: 850 !important;
    line-height: 1.75 !important;
}

.woocommerce-checkout .woocommerce-error li {
    margin: 0 !important;
    padding: 0 !important;
}

/* Checkout: Ø§Ù„Ø­Ù‚ÙˆÙ„ Ø§Ù„Ø¯Ø§ÙƒÙ†Ø© */
.woocommerce-checkout input.input-text,
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout textarea,
.woocommerce-checkout select {
    min-height: 46px !important;
    border: 1px solid rgba(38, 214, 203, .22) !important;
    border-radius: 16px !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .038), rgba(255, 255, 255, .018)),
        rgba(3, 14, 20, .86) !important;
    box-shadow: none !important;
}

.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout input[type="text"]:focus,
.woocommerce-checkout input[type="email"]:focus,
.woocommerce-checkout input[type="tel"]:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus {
    border-color: rgba(38, 214, 203, .44) !important;
    box-shadow: 0 0 0 3px rgba(38, 214, 203, .065) !important;
}

/* Ø¥Ø®ÙØ§Ø¡ Ø¬Ø¯ÙˆÙ„ Ø§Ù„ØªÙ†Ø²ÙŠÙ„Ø§Øª Ù
Ù† ØµÙØ­Ø© Ø§Ù„Ø´ÙƒØ± Ø­ØªÙ‰ ÙŠÙƒÙˆÙ† Ù
ÙƒØ§Ù†Ù‡Ø§ Ø§Ù„Ø£Ø³Ø§Ø³ÙŠ ÙÙŠ Ø­Ø³Ø§Ø¨ÙŠ > Ø§Ù„ØªÙ†Ø²ÙŠÙ„Ø§Øª */
.woocommerce-order-received .woocommerce-order-downloads,
.woocommerce-order-received .woocommerce-table--order-downloads,
.woocommerce-order-received .woocommerce-order-downloads__title {
    display: none !important;
}

/* CTA Ø¨Ø¯ÙŠÙ„ Ù„Ù„ØªÙ†Ø²ÙŠÙ„Ø§Øª ÙÙŠ ØµÙØ­Ø© Ø§Ù„Ø´ÙƒØ± */
.moeen-thankyou-downloads-cta {
    margin: 18px 0 !important;
    padding: 18px !important;
    border-radius: 22px !important;
    border: 1px solid rgba(38, 214, 203, .20) !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(38, 214, 203, .09), transparent 36%),
        rgba(4, 15, 21, .70) !important;
    color: #fff !important;
}

.moeen-thankyou-downloads-cta strong {
    display: block !important;
    margin-bottom: 6px !important;
    font-size: 17px !important;
    font-weight: 950 !important;
}

.moeen-thankyou-downloads-cta p {
    margin: 0 0 12px !important;
    color: rgba(236, 252, 252, .72) !important;
    font-size: 13.5px !important;
    line-height: 1.75 !important;
}

.moeen-thankyou-downloads-cta a {
    min-height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 9px 15px !important;
    border-radius: 14px !important;
    color: #021214 !important;
    background: linear-gradient(135deg, #26d6cb, #4ee8df) !important;
    font-size: 12.8px !important;
    font-weight: 950 !important;
    text-decoration: none !important;
}

/* ØªØ­Ø³ÙŠÙ† Ø²Ø± Ø§Ù„ØªÙ†Ø²ÙŠÙ„ Ø¯Ø§Ø®Ù„ Ø­Ø³Ø§Ø¨ÙŠ */
.moeen-account-page .woocommerce-MyAccount-downloads-file,
.moeen-account-page .download-file a {
    border-radius: 999px !important;
    background: linear-gradient(135deg, #26d6cb, #4ee8df) !important;
    color: #021214 !important;
    font-weight: 950 !important;
    text-decoration: none !important;
}


/* ==========================================================
   Moeen Commerce Final Polish
   ÙŠØ¶Ø¨Ø· Ø´ÙƒÙ„ Ø³Ù„Ø© Ø§Ù„Ù‡ÙŠØ¯Ø±ØŒ ÙˆÙŠØ®ÙÙŠ ØªÙ†Ø²ÙŠÙ„Ø§Øª ØµÙØ­Ø© Ø§Ù„Ø´ÙƒØ± Ù„ØªÙƒÙˆÙ† Ø¯Ø§Ø®Ù„ Ø§Ù„Ø­Ø³Ø§Ø¨ ÙÙ‚Ø·.
========================================================== */


/* Ø¥Ø®ÙØ§Ø¡ Ø¬Ø¯ÙˆÙ„ Ø§Ù„ØªÙ†Ø²ÙŠÙ„Ø§Øª Ù
Ù† ØµÙØ­Ø© Ø§Ù„Ø´ÙƒØ± */
.woocommerce-order-received .woocommerce-order-downloads,
.woocommerce-order-received .woocommerce-table--order-downloads,
.woocommerce-order-received .woocommerce-order-downloads__title,
.woocommerce-order-received .moeen-thankyou-downloads-cta {
    display: none !important;
}

/* ==========================================================
   Order received — one stable unified confirmation panel
   ========================================================== */
body.mc-order-received-page .woocommerce-order {
    display: block !important;
}

/* Prevent the native details box flashing separately before JS moves it. */
body.mc-order-received-page .woocommerce-order > .woocommerce-order-details {
    max-height: 0;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0;
    visibility: hidden;
}

body.mc-order-received-page .mc-thankyou-card {
    position: relative;
    overflow: hidden;
    animation: mc-unified-order-reveal 480ms cubic-bezier(.22, 1, .36, 1) both;
}

body.mc-order-received-page .mc-thankyou-card::after {
    content: "";
    position: absolute;
    top: -45%;
    left: -25%;
    width: 18%;
    height: 190%;
    pointer-events: none;
    transform: rotate(18deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .08), transparent);
    animation: mc-unified-order-shine 5.8s ease-in-out 900ms infinite;
}

body.mc-order-received-page .mc-thankyou-card .woocommerce-order-details {
    max-height: none;
    margin: 24px 0 0 !important;
    padding: 22px 0 0 !important;
    overflow: visible;
    border: 0 !important;
    border-top: 1px solid rgba(38, 214, 203, .14) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: 1;
    visibility: visible;
}

body.mc-order-received-page .mc-thankyou-card .woocommerce-order-details__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px !important;
    font-size: clamp(19px, 2vw, 24px) !important;
}

body.mc-order-received-page .mc-thankyou-card .woocommerce-order-details__title::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #26d6cb;
    box-shadow: 0 0 14px rgba(38, 214, 203, .45);
}

body.mc-order-received-page .mc-thankyou-card .mc-thankyou-note {
    margin-top: 20px;
}

body.mc-order-received-page .mc-thankyou-card .mc-order-actions {
    position: relative;
    z-index: 2;
}

@keyframes mc-unified-order-reveal {
    from {
        opacity: 0;
        transform: translateY(12px) scale(.992);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes mc-unified-order-shine {
    0%, 68% {
        left: -25%;
        opacity: 0;
    }
    74% {
        opacity: .7;
    }
    90%, 100% {
        left: 118%;
        opacity: 0;
    }
}

@media (max-width: 768px) {
    body.mc-order-received-page .mc-thankyou-card .woocommerce-order-details {
        margin-top: 20px !important;
        padding: 18px 0 0 !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.mc-order-received-page .mc-thankyou-card {
        animation: none;
    }

    body.mc-order-received-page .mc-thankyou-card::after {
        animation: none;
        opacity: 0;
    }
}

/* ==========================================================
   WooCommerce loading state — Moeen identity
   Covers cart, checkout, coupons, payment refreshes and AJAX.
========================================================== */

.woocommerce .blockUI.blockOverlay,
.woocommerce-page .blockUI.blockOverlay,
.wc-block-components-spinner,
.wc-block-components-spinner::after {
    box-sizing: border-box !important;
}

.woocommerce .blockUI.blockOverlay,
.woocommerce-page .blockUI.blockOverlay {
    z-index: 9990 !important;
    margin: 0 !important;
    border: 1px solid rgba(38, 214, 203, .16) !important;
    border-radius: inherit !important;
    background:
        radial-gradient(circle at 50% 48%, rgba(38, 214, 203, .13), transparent 25%),
        linear-gradient(145deg, rgba(2, 12, 17, .88), rgba(3, 20, 26, .94)) !important;
    opacity: 1 !important;
    cursor: wait !important;
    backdrop-filter: blur(7px) saturate(1.1) !important;
    -webkit-backdrop-filter: blur(7px) saturate(1.1) !important;
}

.woocommerce .blockUI.blockOverlay::before,
.woocommerce-page .blockUI.blockOverlay::before {
    content: "" !important;
    position: absolute !important;
    inset: 50% auto auto 50% !important;
    width: 52px !important;
    height: 52px !important;
    margin: -40px 0 0 -26px !important;
    border: 2px solid rgba(38, 214, 203, .18) !important;
    border-top-color: #26d6cb !important;
    border-right-color: #e8b84b !important;
    border-radius: 50% !important;
    background: rgba(2, 14, 19, .9) !important;
    box-shadow:
        0 0 0 8px rgba(38, 214, 203, .045),
        0 16px 40px rgba(0, 0, 0, .34),
        inset 0 0 16px rgba(38, 214, 203, .08) !important;
    animation: moeenWooLoaderSpin .85s linear infinite !important;
}

.woocommerce .blockUI.blockOverlay::after,
.woocommerce-page .blockUI.blockOverlay::after {
    content: "جار تجهيز طلبك…" !important;
    position: absolute !important;
    top: calc(50% + 28px) !important;
    left: 50% !important;
    min-width: 170px !important;
    padding: 0 !important;
    transform: translateX(-50%) !important;
    color: rgba(239, 253, 252, .92) !important;
    background: transparent !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 850 !important;
    line-height: 1.6 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    white-space: nowrap !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .45) !important;
    animation: moeenWooLoaderText 1.35s ease-in-out infinite !important;
}

.woocommerce .blockUI.blockMsg.blockElement,
.woocommerce-page .blockUI.blockMsg.blockElement {
    display: none !important;
}

.woocommerce a.button.loading,
.woocommerce button.button.loading,
.woocommerce input.button.loading,
.woocommerce #place_order.processing {
    position: relative !important;
    color: transparent !important;
    pointer-events: none !important;
    cursor: wait !important;
}

.woocommerce a.button.loading::after,
.woocommerce button.button.loading::after,
.woocommerce input.button.loading::after,
.woocommerce #place_order.processing::after {
    content: "" !important;
    position: absolute !important;
    inset: 50% auto auto 50% !important;
    width: 20px !important;
    height: 20px !important;
    margin: -10px 0 0 -10px !important;
    border: 2px solid rgba(2, 18, 20, .24) !important;
    border-top-color: #031518 !important;
    border-radius: 50% !important;
    background: none !important;
    animation: moeenWooLoaderSpin .72s linear infinite !important;
}

.wc-block-components-spinner {
    width: 48px !important;
    height: 48px !important;
    border: 2px solid rgba(38, 214, 203, .18) !important;
    border-top-color: #26d6cb !important;
    border-right-color: #e8b84b !important;
    border-radius: 50% !important;
    color: transparent !important;
    animation: moeenWooLoaderSpin .85s linear infinite !important;
}

@keyframes moeenWooLoaderSpin {
    to { transform: rotate(360deg); }
}

@keyframes moeenWooLoaderText {
    0%, 100% { opacity: .58; }
    50% { opacity: 1; }
}

@media (max-width: 640px) {
    .woocommerce .blockUI.blockOverlay::before,
    .woocommerce-page .blockUI.blockOverlay::before {
        width: 46px !important;
        height: 46px !important;
        margin: -36px 0 0 -23px !important;
    }

    .woocommerce .blockUI.blockOverlay::after,
    .woocommerce-page .blockUI.blockOverlay::after {
        top: calc(50% + 24px) !important;
        font-size: 12px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .woocommerce .blockUI.blockOverlay::before,
    .woocommerce-page .blockUI.blockOverlay::before,
    .wc-block-components-spinner,
    .woocommerce a.button.loading::after,
    .woocommerce button.button.loading::after,
    .woocommerce input.button.loading::after,
    .woocommerce #place_order.processing::after {
        animation-duration: 1.8s !important;
    }

    .woocommerce .blockUI.blockOverlay::after,
    .woocommerce-page .blockUI.blockOverlay::after {
        animation: none !important;
    }
}

/* ØªØ­Ø³ÙŠÙ† Ø£Ø®Ø·Ø§Ø¡ checkout */
.woocommerce-checkout .woocommerce-error {
    padding: 14px 16px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 115, 115, .30) !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 115, 115, .12), transparent 38%),
        rgba(45, 6, 12, .72) !important;
    color: rgba(255, 235, 235, .94) !important;
    font-size: 13px !important;
    font-weight: 850 !important;
    line-height: 1.75 !important;
}

/* Ø­Ù‚ÙˆÙ„ checkout Ø¯Ø§ÙƒÙ†Ø© */
.woocommerce-checkout input.input-text,
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout textarea,
.woocommerce-checkout select {
    min-height: 46px !important;
    border: 1px solid rgba(38, 214, 203, .22) !important;
    border-radius: 16px !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .038), rgba(255, 255, 255, .018)),
        rgba(3, 14, 20, .86) !important;
    box-shadow: none !important;
}

/* ==========================================================
   Hide Downloads From Thank You Page
   Ø¥Ø®ÙØ§Ø¡ Ø¬Ø¯ÙˆÙ„ Ø§Ù„ØªÙ†Ø²ÙŠÙ„Ø§Øª ÙˆØ±Ø³Ø§Ù„Ø© Ø§Ù„ØªÙ†Ø²ÙŠÙ„Ø§Øª Ù
Ù† ØµÙØ­Ø© Ø¥ØªÙ
Ø§Ù
 Ø§Ù„Ø·Ù„Ø¨ ÙÙ‚Ø·.
========================================================== */

.woocommerce-order-received .woocommerce-order-downloads,
.woocommerce-order-received .woocommerce-order-downloads__title,
.woocommerce-order-received .woocommerce-table--order-downloads,
.woocommerce-order-received .moeen-thankyou-downloads-cta {
    display: none !important;
}

/* ==========================================================
   Moeen Commerce - Graceful fallback
   يظهر بدل شاشة الخطأ الفادحة إذا تعذّر عرض محتوى ووكومرس.
========================================================== */

.moeen-commerce-fallback {
    display: grid;
    gap: 14px;
    max-width: 560px;
    margin: 0 auto;
    padding: clamp(32px, 5vw, 54px);
    border: 1px solid rgba(35, 198, 189, 0.18);
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0%, rgba(35, 198, 189, 0.08), transparent 36%),
        rgba(6, 20, 28, 0.9);
    text-align: center;
    color: var(--text, #e7eef4);
}

.moeen-commerce-fallback h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 950;
}

.moeen-commerce-fallback p {
    margin: 0;
    color: var(--muted, #9aabb7);
    font-size: 14.5px;
    line-height: 1.9;
}

.moeen-commerce-fallback .hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 4px;
}
/* Checkout field hints: keep placeholders soft and clearly secondary. */
.mc-checkout-section input.input-text::placeholder,
.mc-checkout-section textarea::placeholder,
.mc-checkout-section #billing_phone::placeholder,
.mc-checkout-section #billing_first_name::placeholder,
.mc-checkout-section #billing_last_name::placeholder,
.mc-checkout-section #billing_email::placeholder {
    color: rgba(236, 252, 252, 0.24) !important;
    opacity: 1;
    font-weight: 500;
}

.mc-checkout-section input.input-text:focus::placeholder,
.mc-checkout-section textarea:focus::placeholder,
.mc-checkout-section #billing_phone:focus::placeholder,
.mc-checkout-section #billing_first_name:focus::placeholder,
.mc-checkout-section #billing_last_name:focus::placeholder,
.mc-checkout-section #billing_email:focus::placeholder {
    color: rgba(236, 252, 252, 0.16) !important;
}
/* Store cards: non-clickable card body, richer calm bullets, alternate add-to-cart CTA. */
.mc-product-card {
    cursor: default;
}

.mc-product-card__media-link {
    pointer-events: none;
}

.mc-product-card__body h3 {
    cursor: default;
}

.mc-product-details-link {
    display: none !important;
}

.mc-product-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 13px;
}

.mc-product-features li,
.mc-product-features li:nth-child(n + 3) {
    display: flex;
}

.mc-product-features li {
    position: relative;
    min-height: 28px;
    padding: 6px 10px;
    border-color: rgba(38, 214, 203, 0.13);
    border-radius: 12px;
    background:
        radial-gradient(circle at 100% 0%, rgba(38, 214, 203, 0.07), transparent 44%),
        rgba(255, 255, 255, 0.025);
    color: rgba(236, 252, 252, 0.82);
    font-size: 11.2px;
    line-height: 1.65;
    transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.mc-product-card:hover .mc-product-features li {
    border-color: rgba(38, 214, 203, 0.20);
}

.mc-product-card:hover .mc-product-features li:nth-child(2) {
    transform: translateX(-2px);
}

.mc-product-card:hover .mc-product-features li:nth-child(3) {
    transform: translateX(-4px);
}

.mc-product-features li::before {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
    margin-inline-end: 7px;
    border: 1px solid rgba(38, 214, 203, 0.20);
    background:
        radial-gradient(circle, var(--mc-teal-2) 0 3px, transparent 4px),
        rgba(38, 214, 203, 0.08);
    -webkit-mask: none;
    mask: none;
}

.mc-product-actions .mc-btn--ghost.mc-store-add-to-cart {
    border-color: rgba(242, 201, 107, 0.42);
    color: #061018;
    background: linear-gradient(135deg, var(--mc-gold), #f4df9a);
    box-shadow: 0 12px 28px rgba(242, 201, 107, 0.14);
}

.mc-product-actions .mc-btn--ghost.mc-store-add-to-cart:hover,
.mc-product-actions .mc-btn--ghost.mc-store-add-to-cart:focus-visible {
    border-color: rgba(242, 201, 107, 0.72);
    color: #061018;
    background: linear-gradient(135deg, #f8dd86, #fff1b9);
    transform: translateY(-2px);
}

.mc-product-actions .mc-btn--ghost.mc-store-add-to-cart.loading,
.mc-product-actions .mc-btn--ghost.mc-store-add-to-cart.added {
    opacity: 0.92;
}

.mc-cart-toast {
    position: fixed;
    top: clamp(92px, 10vw, 118px);
    inset-inline-end: 22px;
    z-index: 9999;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    width: min(360px, calc(100vw - 32px));
    padding: 15px;
    border: 1px solid rgba(38, 214, 203, 0.20);
    border-radius: 18px;
    color: #f7ffff;
    background:
        radial-gradient(circle at 100% 0%, rgba(38, 214, 203, 0.12), transparent 42%),
        rgba(5, 18, 25, 0.94);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(14px);
    opacity: 0;
    pointer-events: none;
    transform: translateX(-10px) translateY(-8px);
    transition: opacity 260ms ease, transform 260ms ease;
}

.mc-cart-toast.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) translateY(0);
}

.mc-cart-toast__icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 14px;
    color: #061018;
    background: linear-gradient(135deg, var(--mc-gold), #f4df9a);
    font-weight: 950;
}

.mc-cart-toast strong {
    display: block;
    margin-bottom: 3px;
    font-size: 13.5px;
}

.mc-cart-toast span {
    display: block;
    color: rgba(236, 252, 252, 0.68);
    font-size: 12px;
    line-height: 1.7;
}

.mc-cart-toast a {
    display: inline-flex;
    width: fit-content;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    margin-top: 9px;
    padding: 6px 12px;
    border: 1px solid rgba(38, 214, 203, 0.24);
    border-radius: 999px;
    color: var(--mc-teal-2);
    background: rgba(38, 214, 203, 0.06);
    font-size: 11.5px;
    font-weight: 900;
    text-decoration: none;
}

@media (max-width: 620px) {
    .mc-cart-toast {
        top: auto;
        right: 16px;
        bottom: 18px;
        left: 16px;
        width: auto;
    }
}

/* Final store cart UX polish */
.mc-product-card .added_to_cart,
.mc-product-card .wc-forward {
    display: none !important;
}

.mc-product-actions .mc-btn--ghost.mc-store-add-to-cart,
.mc-product-card .mc-store-add-to-cart {
    border-color: rgba(242, 201, 107, 0.50) !important;
    color: #061018 !important;
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 255, 255, .32), transparent 34%),
        linear-gradient(135deg, #f2c96b, #d9a83f) !important;
    box-shadow: 0 16px 34px rgba(242, 201, 107, 0.18) !important;
}

.mc-product-actions .mc-btn--ghost.mc-store-add-to-cart:hover,
.mc-product-actions .mc-btn--ghost.mc-store-add-to-cart:focus-visible,
.mc-product-card .mc-store-add-to-cart:hover,
.mc-product-card .mc-store-add-to-cart:focus-visible {
    border-color: rgba(53, 240, 227, 0.58) !important;
    color: #031018 !important;
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 255, 255, .35), transparent 34%),
        linear-gradient(135deg, #ffe29a, #35f0e3) !important;
    transform: translateY(-2px);
}

.mc-product-actions .mc-btn--ghost.mc-store-add-to-cart.loading,
.mc-product-card .mc-store-add-to-cart.loading {
    cursor: wait;
    filter: saturate(.85);
}

.moeen-cart-count.is-bumped {
    animation: moeenCartCountBump .38s ease both;
}

@keyframes moeenCartCountBump {
    0% { transform: scale(1); }
    45% { transform: scale(1.18); }
    100% { transform: scale(1); }
}

.mc-cart-toast {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
    width: min(392px, calc(100vw - 32px));
    padding: 16px;
    border-color: rgba(53, 240, 227, 0.24);
    border-radius: 22px;
    direction: rtl;
    background:
        radial-gradient(circle at 100% 0%, rgba(53, 240, 227, 0.16), transparent 42%),
        radial-gradient(circle at 0% 100%, rgba(242, 201, 107, 0.08), transparent 34%),
        linear-gradient(145deg, rgba(7, 25, 33, 0.97), rgba(3, 12, 18, 0.97));
    box-shadow:
        0 28px 72px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.045);
    transform: translateX(-16px) translateY(-8px) scale(.985);
}

.mc-cart-toast.is-visible {
    transform: translateX(0) translateY(0) scale(1);
}

.mc-cart-toast__icon {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    color: #031018;
    background:
        radial-gradient(circle at 35% 20%, rgba(255, 255, 255, .38), transparent 34%),
        linear-gradient(135deg, #35f0e3, #20c7bd);
    box-shadow: 0 14px 30px rgba(53, 240, 227, .17);
    font-size: 17px;
}

.mc-cart-toast__body {
    min-width: 0;
}

.mc-cart-toast strong {
    margin-bottom: 5px;
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 950;
}

.mc-cart-toast span {
    max-width: 270px;
    color: rgba(236, 252, 252, 0.72);
    font-size: 12.3px;
}

.mc-cart-toast a {
    min-height: 36px;
    margin-top: 11px;
    padding: 7px 15px;
    border-color: rgba(242, 201, 107, 0.42);
    color: #061018;
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 255, 255, .30), transparent 34%),
        linear-gradient(135deg, #f2c96b, #d9a83f);
    box-shadow: 0 14px 30px rgba(242, 201, 107, 0.16);
}

.mc-cart-toast a:hover,
.mc-cart-toast a:focus-visible {
    border-color: rgba(53, 240, 227, 0.55);
    color: #031018;
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 255, 255, .34), transparent 34%),
        linear-gradient(135deg, #ffe29a, #35f0e3);
}

/* Checkout contact fields: keep one clear label, no duplicated helper clutter. */
.mc-checkout-section #billing_first_name::placeholder,
.mc-checkout-section #billing_last_name::placeholder,
.mc-checkout-section #billing_phone::placeholder,
.mc-checkout-section #billing_email::placeholder {
    color: transparent !important;
    opacity: 0 !important;
}

.mc-checkout-section #billing_phone {
    direction: rtl !important;
    text-align: right !important;
}

.mc-checkout-section #billing_first_name_field .description,
.mc-checkout-section #billing_last_name_field .description,
.mc-checkout-section #billing_phone_field .description,
.mc-checkout-section #billing_email_field .description,
.mc-checkout-section #billing_first_name_field .woocommerce-error,
.mc-checkout-section #billing_last_name_field .woocommerce-error,
.mc-checkout-section #billing_phone_field .woocommerce-error,
.mc-checkout-section #billing_email_field .woocommerce-error,
.mc-checkout-section #billing_first_name_field .error,
.mc-checkout-section #billing_last_name_field .error,
.mc-checkout-section #billing_phone_field .error,
.mc-checkout-section #billing_email_field .error,
.mc-checkout-section #billing_first_name_field .field-validation-error,
.mc-checkout-section #billing_last_name_field .field-validation-error,
.mc-checkout-section #billing_phone_field .field-validation-error,
.mc-checkout-section #billing_email_field .field-validation-error,
.mc-checkout-section #billing_first_name_field small,
.mc-checkout-section #billing_last_name_field small,
.mc-checkout-section #billing_phone_field small,
.mc-checkout-section #billing_email_field small {
    display: none !important;
}

/* Cart page: desktop coupon/update balance and calmer totals frame. */
@media (min-width: 769px) {
    .mc-cart-section .actions {
        display: flex !important;
        align-items: flex-end !important;
        justify-content: space-between !important;
        gap: 24px !important;
        padding: 24px 28px !important;
        direction: rtl !important;
    }

    .mc-cart-section .coupon {
        flex: 0 1 min(680px, calc(100% - 190px)) !important;
        max-width: 680px !important;
        display: grid !important;
        grid-template-columns: minmax(260px, 1fr) 148px !important;
        grid-template-areas:
            "title title"
            "input apply" !important;
        align-items: end !important;
        gap: 10px 12px !important;
        margin: 0 !important;
        float: none !important;
    }

    .mc-cart-section button.button[name="update_cart"],
    .mc-cart-section input.button[name="update_cart"] {
        flex: 0 0 158px !important;
        align-self: end !important;
        width: 158px !important;
        min-width: 158px !important;
        height: 48px !important;
        margin: 0 !important;
        float: none !important;
    }
}

.mc-cart-section .coupon::after {
    content: none !important;
    display: none !important;
}

.mc-cart-section .cart-collaterals .cart_totals {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 28px !important;
    border: 1px solid rgba(53, 240, 227, 0.24) !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(53, 240, 227, 0.15), transparent 42%),
        radial-gradient(circle at 0% 100%, rgba(242, 201, 107, 0.08), transparent 36%),
        linear-gradient(145deg, rgba(8, 25, 34, 0.97), rgba(3, 12, 18, 0.98)) !important;
    box-shadow:
        0 26px 76px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.045) !important;
}

.mc-cart-section .cart_totals h2 {
    position: relative !important;
    margin-bottom: 22px !important;
    color: #ffffff !important;
    font-size: clamp(25px, 2.35vw, 34px) !important;
    letter-spacing: 0 !important;
}

.mc-cart-section .cart_totals table {
    overflow: hidden !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.025) !important;
}

.mc-cart-section .cart_totals th,
.mc-cart-section .cart_totals td {
    padding: 16px 18px !important;
    border-color: rgba(53, 240, 227, 0.14) !important;
}

.mc-cart-section .cart_totals th {
    color: rgba(236, 252, 252, 0.82) !important;
    font-size: 14px !important;
    font-weight: 900 !important;
}

.mc-cart-section .cart_totals td {
    color: #ffffff !important;
    font-size: 14.5px !important;
    font-weight: 950 !important;
}

.mc-cart-section .cart_totals .cart-subtotal td {
    color: #35f0e3 !important;
}

.mc-cart-section .mc-cart-count-summary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 30px !important;
    padding: 6px 12px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(53, 240, 227, 0.24) !important;
    background: rgba(53, 240, 227, 0.075) !important;
    color: #35f0e3 !important;
    font-size: 13px !important;
    font-weight: 950 !important;
}

.mc-cart-section .cart_totals .order-total th,
.mc-cart-section .cart_totals .order-total td {
    background: rgba(53, 240, 227, 0.035) !important;
}

/* Cart page: calmer modern table layout */
.mc-cart-section {
    padding-inline: clamp(14px, 3vw, 34px) !important;
}

.mc-cart-section .mc-cart-shell {
    width: min(1120px, 100%) !important;
    margin-inline: auto !important;
    overflow: hidden !important;
    border: 1px solid rgba(53, 240, 227, 0.20) !important;
    border-radius: 24px !important;
    background:
        radial-gradient(circle at 86% 0%, rgba(53, 240, 227, 0.11), transparent 34%),
        linear-gradient(145deg, rgba(6, 25, 33, 0.82), rgba(2, 9, 14, 0.94)) !important;
    box-shadow: 0 28px 82px rgba(0, 0, 0, 0.28) !important;
}

.mc-cart-section .woocommerce-cart-form {
    margin: 0 !important;
}

.mc-cart-section table.shop_table,
.mc-cart-section .woocommerce-cart-form__contents {
    width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.mc-cart-section table.shop_table thead th {
    height: 58px !important;
    padding: 14px 16px !important;
    border-bottom: 1px solid rgba(53, 240, 227, 0.14) !important;
    color: rgba(237, 250, 250, 0.72) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    text-align: center !important;
    white-space: nowrap !important;
}

.mc-cart-section table.shop_table td {
    padding: 18px 16px !important;
    vertical-align: middle !important;
    border-color: rgba(53, 240, 227, 0.11) !important;
}

.mc-cart-section table.shop_table th.product-remove,
.mc-cart-section table.shop_table td.product-remove {
    width: 74px !important;
    text-align: center !important;
}

.mc-cart-section table.shop_table th.product-thumbnail,
.mc-cart-section table.shop_table td.product-thumbnail {
    display: none !important;
}

.mc-cart-section table.shop_table th.product-name,
.mc-cart-section table.shop_table td.product-name {
    width: auto !important;
    text-align: right !important;
}

.mc-cart-section table.shop_table th.product-price,
.mc-cart-section table.shop_table td.product-price,
.mc-cart-section table.shop_table th.product-subtotal,
.mc-cart-section table.shop_table td.product-subtotal {
    width: 132px !important;
    text-align: center !important;
}

.mc-cart-section table.shop_table th.product-quantity,
.mc-cart-section table.shop_table td.product-quantity {
    width: 170px !important;
    text-align: center !important;
}

.mc-cart-section .product-name a,
.mc-cart-section .product-name .mc-cart-product-name-text,
.mc-cart-section td.product-name {
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 950 !important;
    line-height: 1.7 !important;
    text-decoration: none !important;
}

.mc-cart-section td.product-name::before {
    display: none !important;
}

.mc-cart-section a.remove {
    width: 32px !important;
    height: 32px !important;
    display: inline-grid !important;
    place-items: center !important;
    border: 1px solid rgba(255, 94, 94, 0.38) !important;
    border-radius: 12px !important;
    color: #ff7e7e !important;
    background: rgba(255, 94, 94, 0.08) !important;
    font-size: 0 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease !important;
}

.mc-cart-section a.remove::before {
    content: "×" !important;
    font-size: 18px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
}

.mc-cart-section a.remove:hover {
    border-color: rgba(255, 94, 94, 0.72) !important;
    background: rgba(255, 94, 94, 0.16) !important;
    transform: translateY(-2px) !important;
}

.mc-cart-section .quantity {
    width: fit-content !important;
    min-width: 132px !important;
    margin-inline: auto !important;
    padding: 5px !important;
    border-color: rgba(53, 240, 227, 0.26) !important;
    border-radius: 16px !important;
    background: rgba(53, 240, 227, 0.055) !important;
}

.mc-cart-section .quantity .qty {
    width: 44px !important;
    min-width: 44px !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 950 !important;
    background: transparent !important;
}

.mc-cart-section .mc-cart-qty-btn {
    width: 31px !important;
    height: 31px !important;
    border-radius: 11px !important;
    color: var(--mc-teal-2, #39eee3) !important;
    background: rgba(53, 240, 227, 0.08) !important;
}

.mc-cart-section .amount {
    color: #f2c96b !important;
    font-size: 14px !important;
    font-weight: 950 !important;
}

.mc-cart-section .actions {
    padding: 22px 26px 24px !important;
    border-top: 1px solid rgba(53, 240, 227, 0.12) !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(53, 240, 227, 0.10), transparent 36%),
        rgba(53, 240, 227, 0.035) !important;
}

.mc-cart-section .coupon {
    width: min(100%, 620px) !important;
    margin-inline-start: auto !important;
    display: grid !important;
    grid-template-columns: minmax(220px, 1fr) 148px !important;
    align-items: end !important;
    gap: 12px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.mc-cart-section .coupon::before,
.mc-cart-section .coupon::after {
    display: none !important;
    content: none !important;
}

.mc-cart-section .coupon label {
    grid-column: 1 / -1 !important;
    margin: 0 2px 2px !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 950 !important;
}

.mc-cart-section .coupon .input-text {
    width: 100% !important;
    height: 48px !important;
    margin: 0 !important;
    padding-inline: 18px !important;
    border: 1px solid rgba(53, 240, 227, 0.26) !important;
    border-radius: 15px !important;
    color: #fff !important;
    background: rgba(2, 13, 18, 0.58) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035) !important;
}

.mc-cart-section .coupon .input-text::placeholder {
    color: rgba(237, 250, 250, 0.42) !important;
}

.mc-cart-section .coupon .button,
.mc-cart-section .coupon input.button,
.mc-cart-section .coupon button.button {
    width: 100% !important;
    height: 48px !important;
    margin: 0 !important;
    border-color: rgba(53, 240, 227, 0.48) !important;
    color: #041014 !important;
    background: linear-gradient(135deg, #35f0e3, #20c9bf) !important;
    box-shadow: 0 14px 34px rgba(53, 240, 227, 0.16) !important;
}

.mc-cart-section button.button[name="update_cart"],
.mc-cart-section input.button[name="update_cart"] {
    width: min(190px, 100%) !important;
    height: 48px !important;
    margin-inline-start: 14px !important;
    border-color: rgba(242, 201, 107, 0.42) !important;
    color: #f8d982 !important;
    background: rgba(242, 201, 107, 0.09) !important;
}

.mc-cart-section button.button[name="update_cart"].is-ready,
.mc-cart-section input.button[name="update_cart"].is-ready {
    color: #061018 !important;
    background: linear-gradient(135deg, #f2c96b, #d9af55) !important;
}

@media (max-width: 820px) {
    .mc-cart-section .mc-cart-shell {
        border-radius: 20px !important;
        overflow: visible !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    .mc-cart-section table.shop_table_responsive tbody tr.cart_item,
    .mc-cart-section table.shop_table_responsive tr.woocommerce-cart-form__cart-item {
        border-radius: 20px !important;
        background:
            radial-gradient(circle at 88% 0%, rgba(53, 240, 227, 0.10), transparent 36%),
            rgba(4, 17, 23, 0.86) !important;
    }

    .mc-cart-section .actions {
        border-radius: 20px !important;
        padding: 18px !important;
    }

    .mc-cart-section .coupon {
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }

    .mc-cart-section button.button[name="update_cart"],
    .mc-cart-section input.button[name="update_cart"] {
        width: 100% !important;
        margin: 12px 0 0 !important;
    }
}

/* Cart page: product cards layout final pass */
.mc-cart-section .mc-cart-shell {
    width: min(1180px, 100%) !important;
    padding: clamp(16px, 2vw, 22px) !important;
    overflow: visible !important;
}

.mc-cart-section .woocommerce {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 390px) !important;
    align-items: start !important;
    gap: clamp(16px, 2vw, 24px) !important;
}

.mc-cart-section .woocommerce-notices-wrapper {
    grid-column: 1 / -1 !important;
}

.mc-cart-section .woocommerce-cart-form {
    min-width: 0 !important;
}

.mc-cart-section table.shop_table,
.mc-cart-section .woocommerce-cart-form__contents,
.mc-cart-section table.shop_table tbody,
.mc-cart-section table.shop_table tfoot {
    display: block !important;
    width: 100% !important;
}

.mc-cart-section table.shop_table thead {
    display: none !important;
}

.mc-cart-section table.shop_table tbody {
    display: grid !important;
    gap: 14px !important;
}

.mc-cart-section table.shop_table tr.cart_item,
.mc-cart-section table.shop_table tr.woocommerce-cart-form__cart-item {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(220px, 1fr) 110px 150px 110px 42px !important;
    align-items: center !important;
    gap: 12px !important;
    min-height: 104px !important;
    padding: 18px !important;
    border: 1px solid rgba(53, 240, 227, 0.18) !important;
    border-radius: 20px !important;
    background:
        radial-gradient(circle at 96% 0%, rgba(53, 240, 227, 0.10), transparent 36%),
        linear-gradient(145deg, rgba(5, 21, 28, 0.88), rgba(2, 10, 15, 0.96)) !important;
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.20) !important;
    direction: rtl !important;
}

.mc-cart-section table.shop_table tr.cart_item td,
.mc-cart-section table.shop_table tr.woocommerce-cart-form__cart-item td {
    display: flex !important;
    min-width: 0 !important;
    min-height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    align-items: center !important;
    justify-content: center !important;
}

.mc-cart-section table.shop_table td.product-thumbnail {
    display: none !important;
}

.mc-cart-section table.shop_table td.product-name {
    grid-column: 1 !important;
    justify-content: flex-start !important;
    text-align: right !important;
}

.mc-cart-section table.shop_table td.product-name a,
.mc-cart-section table.shop_table td.product-name .mc-cart-product-name-text,
.mc-cart-section table.shop_table td.product-name {
    max-width: 100% !important;
    color: #ffffff !important;
    font-size: clamp(14px, 1.2vw, 16px) !important;
    font-weight: 950 !important;
    line-height: 1.65 !important;
}

.mc-cart-section table.shop_table td.product-name::after {
    content: "منتج رقمي" !important;
    display: inline-flex !important;
    min-height: 24px !important;
    align-items: center !important;
    margin-inline-start: 10px !important;
    padding: 4px 9px !important;
    border: 1px solid rgba(53, 240, 227, 0.22) !important;
    border-radius: 999px !important;
    color: var(--mc-teal-2, #39eee3) !important;
    background: rgba(53, 240, 227, 0.07) !important;
    font-size: 10px !important;
    font-weight: 900 !important;
}

.mc-cart-section table.shop_table td.product-price {
    grid-column: 2 !important;
}

.mc-cart-section table.shop_table td.product-quantity {
    grid-column: 3 !important;
}

.mc-cart-section table.shop_table td.product-subtotal {
    grid-column: 4 !important;
}

.mc-cart-section table.shop_table td.product-remove {
    grid-column: 5 !important;
}

.mc-cart-section table.shop_table td.product-price::before,
.mc-cart-section table.shop_table td.product-quantity::before,
.mc-cart-section table.shop_table td.product-subtotal::before {
    display: block !important;
    margin-bottom: 6px !important;
    color: rgba(237, 250, 250, 0.50) !important;
    font-size: 10.5px !important;
    font-weight: 850 !important;
    line-height: 1.2 !important;
}

.mc-cart-section table.shop_table td.product-price,
.mc-cart-section table.shop_table td.product-quantity,
.mc-cart-section table.shop_table td.product-subtotal {
    flex-direction: column !important;
}

.mc-cart-section table.shop_table td.product-price::before {
    content: "السعر" !important;
}

.mc-cart-section table.shop_table td.product-quantity::before {
    content: "الكمية" !important;
}

.mc-cart-section table.shop_table td.product-subtotal::before {
    content: "الإجمالي" !important;
}

.mc-cart-section .quantity {
    min-width: 122px !important;
    border-radius: 15px !important;
}

.mc-cart-section table.shop_table .actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 12px !important;
    align-items: end !important;
    margin-top: 14px !important;
    padding: 18px !important;
    border: 1px solid rgba(53, 240, 227, 0.16) !important;
    border-radius: 20px !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(53, 240, 227, 0.09), transparent 38%),
        rgba(4, 17, 23, 0.74) !important;
}

.mc-cart-section table.shop_table tr:last-child {
    display: block !important;
}

.mc-cart-section table.shop_table tr:last-child td.actions {
    width: 100% !important;
}

.mc-cart-section .coupon {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(180px, 1fr) 140px !important;
    gap: 10px !important;
    align-items: end !important;
}

.mc-cart-section .coupon label {
    grid-column: 1 / -1 !important;
    margin: 0 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 950 !important;
}

.mc-cart-section .coupon .input-text,
.mc-cart-section .coupon .button,
.mc-cart-section .coupon input.button,
.mc-cart-section .coupon button.button,
.mc-cart-section button.button[name="update_cart"],
.mc-cart-section input.button[name="update_cart"] {
    min-height: 48px !important;
    border-radius: 15px !important;
}

.mc-cart-section button.button[name="update_cart"],
.mc-cart-section input.button[name="update_cart"] {
    width: 162px !important;
    margin: 0 !important;
    justify-self: end !important;
}

.mc-cart-section .cart-collaterals {
    position: sticky !important;
    top: calc(var(--header-h, 86px) + 18px) !important;
    margin: 0 !important;
}

.mc-cart-section .cart-collaterals .cart_totals {
    width: 100% !important;
    margin: 0 !important;
    border-radius: 24px !important;
}

.mc-cart-section .cart_totals h2 {
    margin-bottom: 18px !important;
    font-size: clamp(24px, 2.4vw, 34px) !important;
    line-height: 1.25 !important;
}

.mc-cart-section .wc-proceed-to-checkout {
    padding-top: 18px !important;
}

.mc-cart-section .wc-proceed-to-checkout a.checkout-button {
    min-height: 54px !important;
    border-radius: 17px !important;
}

@media (max-width: 980px) {
    .mc-cart-section .woocommerce {
        grid-template-columns: 1fr !important;
    }

    .mc-cart-section .cart-collaterals {
        position: static !important;
    }
}

@media (max-width: 760px) {
    .mc-cart-section .mc-cart-shell {
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    .mc-cart-section table.shop_table tbody {
        gap: 12px !important;
    }

    .mc-cart-section table.shop_table tr.cart_item,
    .mc-cart-section table.shop_table tr.woocommerce-cart-form__cart-item {
        grid-template-columns: 1fr 42px !important;
        gap: 12px !important;
        padding: 16px !important;
        border-radius: 19px !important;
    }

    .mc-cart-section table.shop_table td.product-name {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    .mc-cart-section table.shop_table td.product-remove {
        grid-column: 2 !important;
        grid-row: 1 !important;
        align-self: start !important;
    }

    .mc-cart-section table.shop_table td.product-price,
    .mc-cart-section table.shop_table td.product-quantity,
    .mc-cart-section table.shop_table td.product-subtotal {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        min-height: 46px !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        padding: 10px 12px !important;
        border: 1px solid rgba(53, 240, 227, 0.12) !important;
        border-radius: 14px !important;
        background: rgba(53, 240, 227, 0.035) !important;
    }

    .mc-cart-section table.shop_table td.product-price::before,
    .mc-cart-section table.shop_table td.product-quantity::before,
    .mc-cart-section table.shop_table td.product-subtotal::before {
        margin: 0 !important;
        font-size: 12px !important;
    }

    .mc-cart-section .coupon,
    .mc-cart-section table.shop_table .actions {
        grid-template-columns: 1fr !important;
    }

    .mc-cart-section button.button[name="update_cart"],
    .mc-cart-section input.button[name="update_cart"] {
        width: 100% !important;
        justify-self: stretch !important;
    }
}

/* Cart page: restore clean modern table layout */
.mc-cart-section .mc-cart-shell {
    width: min(1120px, calc(100vw - 36px)) !important;
    margin-inline: auto !important;
    padding: clamp(14px, 2vw, 22px) !important;
    overflow: hidden !important;
    border: 1px solid rgba(53, 240, 227, 0.20) !important;
    border-radius: 24px !important;
    background:
        radial-gradient(circle at 86% 0%, rgba(53, 240, 227, 0.10), transparent 32%),
        linear-gradient(145deg, rgba(5, 22, 30, 0.88), rgba(2, 9, 14, 0.96)) !important;
    box-shadow: 0 28px 82px rgba(0, 0, 0, 0.26) !important;
}

.mc-cart-section .woocommerce {
    display: block !important;
}

.mc-cart-section .woocommerce-cart-form {
    width: 100% !important;
    margin: 0 !important;
}

.mc-cart-section table.shop_table,
.mc-cart-section .woocommerce-cart-form__contents {
    display: table !important;
    width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(53, 240, 227, 0.12) !important;
    border-radius: 20px !important;
    background: rgba(2, 13, 18, 0.50) !important;
    box-shadow: none !important;
}

.mc-cart-section table.shop_table thead {
    display: table-header-group !important;
}

.mc-cart-section table.shop_table tbody {
    display: table-row-group !important;
}

.mc-cart-section table.shop_table tr,
.mc-cart-section table.shop_table tr.cart_item,
.mc-cart-section table.shop_table tr.woocommerce-cart-form__cart-item,
.mc-cart-section table.shop_table tr:last-child {
    display: table-row !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.mc-cart-section table.shop_table thead th {
    display: table-cell !important;
    height: 56px !important;
    padding: 14px 16px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(53, 240, 227, 0.14) !important;
    color: rgba(237, 250, 250, 0.68) !important;
    background: rgba(53, 240, 227, 0.035) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    text-align: center !important;
    white-space: nowrap !important;
}

.mc-cart-section table.shop_table td,
.mc-cart-section table.shop_table tr.cart_item td,
.mc-cart-section table.shop_table tr.woocommerce-cart-form__cart-item td {
    display: table-cell !important;
    padding: 20px 16px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(53, 240, 227, 0.10) !important;
    background: transparent !important;
    vertical-align: middle !important;
    text-align: center !important;
}

.mc-cart-section table.shop_table tbody tr.cart_item:hover td,
.mc-cart-section table.shop_table tbody tr.woocommerce-cart-form__cart-item:hover td {
    background: rgba(53, 240, 227, 0.025) !important;
}

.mc-cart-section table.shop_table th.product-thumbnail,
.mc-cart-section table.shop_table td.product-thumbnail {
    display: none !important;
}

.mc-cart-section table.shop_table th.product-remove,
.mc-cart-section table.shop_table td.product-remove {
    width: 70px !important;
}

.mc-cart-section table.shop_table th.product-name,
.mc-cart-section table.shop_table td.product-name {
    width: auto !important;
    text-align: right !important;
}

.mc-cart-section table.shop_table th.product-price,
.mc-cart-section table.shop_table td.product-price,
.mc-cart-section table.shop_table th.product-subtotal,
.mc-cart-section table.shop_table td.product-subtotal {
    width: 132px !important;
}

.mc-cart-section table.shop_table th.product-quantity,
.mc-cart-section table.shop_table td.product-quantity {
    width: 170px !important;
}

.mc-cart-section table.shop_table td.product-name::before,
.mc-cart-section table.shop_table td.product-name::after,
.mc-cart-section table.shop_table td.product-price::before,
.mc-cart-section table.shop_table td.product-quantity::before,
.mc-cart-section table.shop_table td.product-subtotal::before {
    display: none !important;
    content: none !important;
}

.mc-cart-section table.shop_table td.product-name a,
.mc-cart-section table.shop_table td.product-name .mc-cart-product-name-text,
.mc-cart-section table.shop_table td.product-name {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 950 !important;
    line-height: 1.7 !important;
    text-decoration: none !important;
}

.mc-cart-section a.remove {
    width: 32px !important;
    height: 32px !important;
    margin-inline: auto !important;
    display: inline-grid !important;
    place-items: center !important;
    border: 1px solid rgba(255, 94, 94, 0.38) !important;
    border-radius: 12px !important;
    color: #ff7e7e !important;
    background: rgba(255, 94, 94, 0.08) !important;
    font-size: 0 !important;
    text-decoration: none !important;
}

.mc-cart-section a.remove::before {
    content: "×" !important;
    font-size: 18px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
}

.mc-cart-section .quantity {
    width: fit-content !important;
    min-width: 128px !important;
    margin-inline: auto !important;
    padding: 5px !important;
    border: 1px solid rgba(53, 240, 227, 0.26) !important;
    border-radius: 16px !important;
    background: rgba(53, 240, 227, 0.055) !important;
}

.mc-cart-section .quantity .qty {
    width: 42px !important;
    min-width: 42px !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 950 !important;
    background: transparent !important;
}

.mc-cart-section .mc-cart-qty-btn {
    width: 31px !important;
    height: 31px !important;
    border-radius: 11px !important;
    color: var(--mc-teal-2, #39eee3) !important;
    background: rgba(53, 240, 227, 0.08) !important;
}

.mc-cart-section .amount {
    color: #f2c96b !important;
    font-size: 14px !important;
    font-weight: 950 !important;
}

.mc-cart-section table.shop_table td.actions,
.mc-cart-section table.shop_table tr:last-child td.actions {
    display: grid !important;
    width: 100% !important;
    grid-template-columns: minmax(0, 1fr) 168px !important;
    gap: 14px !important;
    align-items: end !important;
    padding: 18px !important;
    border-bottom: 0 !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(53, 240, 227, 0.08), transparent 38%),
        rgba(53, 240, 227, 0.035) !important;
}

.mc-cart-section .coupon {
    width: 100% !important;
    max-width: 640px !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(210px, 1fr) 148px !important;
    gap: 10px !important;
    align-items: end !important;
    justify-self: start !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.mc-cart-section .coupon::before,
.mc-cart-section .coupon::after {
    display: none !important;
    content: none !important;
}

.mc-cart-section .coupon label {
    grid-column: 1 / -1 !important;
    margin: 0 2px 2px !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 950 !important;
    line-height: 1.3 !important;
}

.mc-cart-section .coupon .input-text,
.mc-cart-section .coupon .button,
.mc-cart-section .coupon input.button,
.mc-cart-section .coupon button.button,
.mc-cart-section button.button[name="update_cart"],
.mc-cart-section input.button[name="update_cart"] {
    height: 48px !important;
    min-height: 48px !important;
    margin: 0 !important;
    border-radius: 15px !important;
}

.mc-cart-section .coupon .input-text {
    width: 100% !important;
    padding-inline: 16px !important;
    border: 1px solid rgba(53, 240, 227, 0.26) !important;
    color: #ffffff !important;
    background: rgba(2, 13, 18, 0.58) !important;
}

.mc-cart-section .coupon .button,
.mc-cart-section .coupon input.button,
.mc-cart-section .coupon button.button {
    width: 100% !important;
    border-color: rgba(53, 240, 227, 0.50) !important;
    color: #041014 !important;
    background: linear-gradient(135deg, #35f0e3, #20c9bf) !important;
    box-shadow: 0 14px 34px rgba(53, 240, 227, 0.16) !important;
}

.mc-cart-section button.button[name="update_cart"],
.mc-cart-section input.button[name="update_cart"] {
    width: 168px !important;
    justify-self: end !important;
    border-color: rgba(242, 201, 107, 0.42) !important;
    color: #f8d982 !important;
    background: rgba(242, 201, 107, 0.09) !important;
}

.mc-cart-section button.button[name="update_cart"].is-ready,
.mc-cart-section input.button[name="update_cart"].is-ready {
    color: #061018 !important;
    background: linear-gradient(135deg, #f2c96b, #d9af55) !important;
}

.mc-cart-section .cart-collaterals {
    width: min(440px, 100%) !important;
    margin: 24px 0 0 auto !important;
    position: static !important;
}

.mc-cart-section .cart-collaterals .cart_totals {
    width: 100% !important;
    margin: 0 !important;
    border-radius: 24px !important;
}

.mc-cart-section .cart_totals h2 {
    margin-bottom: 18px !important;
    font-size: clamp(24px, 2.4vw, 34px) !important;
    line-height: 1.25 !important;
}

@media (max-width: 760px) {
    .mc-cart-section .mc-cart-shell {
        width: min(100% - 24px, 560px) !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .mc-cart-section table.shop_table,
    .mc-cart-section .woocommerce-cart-form__contents,
    .mc-cart-section table.shop_table tbody,
    .mc-cart-section table.shop_table tr.cart_item,
    .mc-cart-section table.shop_table tr.woocommerce-cart-form__cart-item,
    .mc-cart-section table.shop_table td {
        display: block !important;
        width: 100% !important;
    }

    .mc-cart-section table.shop_table {
        border: 0 !important;
        background: transparent !important;
        overflow: visible !important;
    }

    .mc-cart-section table.shop_table tr.cart_item,
    .mc-cart-section table.shop_table tr.woocommerce-cart-form__cart-item {
        margin-bottom: 12px !important;
        padding: 16px !important;
        border: 1px solid rgba(53, 240, 227, 0.16) !important;
        border-radius: 20px !important;
        background: rgba(4, 17, 23, 0.86) !important;
    }

    .mc-cart-section table.shop_table td {
        display: flex !important;
        min-height: 44px !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 10px 0 !important;
        border-bottom: 1px solid rgba(53, 240, 227, 0.08) !important;
    }

    .mc-cart-section table.shop_table td.product-name,
    .mc-cart-section table.shop_table td.product-remove {
        border-bottom: 0 !important;
    }

    .mc-cart-section table.shop_table td.product-name {
        display: block !important;
        text-align: right !important;
    }

    .mc-cart-section table.shop_table td.product-price::before,
    .mc-cart-section table.shop_table td.product-quantity::before,
    .mc-cart-section table.shop_table td.product-subtotal::before {
        display: inline-flex !important;
        content: attr(data-title) !important;
        color: rgba(237, 250, 250, 0.55) !important;
        font-size: 12px !important;
        font-weight: 900 !important;
    }

    .mc-cart-section table.shop_table td.actions,
    .mc-cart-section table.shop_table tr:last-child td.actions,
    .mc-cart-section .coupon {
        grid-template-columns: 1fr !important;
    }

    .mc-cart-section button.button[name="update_cart"],
    .mc-cart-section input.button[name="update_cart"] {
        width: 100% !important;
        justify-self: stretch !important;
    }

    .mc-cart-section .cart-collaterals {
        width: 100% !important;
        margin-top: 18px !important;
    }
}

/* Cart table final alignment fix: preserve WooCommerce columns on desktop. */
@media (min-width: 761px) {
    .mc-cart-section table.shop_table,
    .mc-cart-section .woocommerce-cart-form__contents {
        direction: rtl !important;
        table-layout: fixed !important;
    }

    .mc-cart-section table.shop_table thead {
        display: table-header-group !important;
    }

    .mc-cart-section table.shop_table thead tr,
    .mc-cart-section table.shop_table tbody tr.cart_item {
        display: table-row !important;
    }

    .mc-cart-section table.shop_table thead th,
    .mc-cart-section table.shop_table tbody td {
        display: table-cell !important;
        vertical-align: middle !important;
        text-align: center !important;
    }

    .mc-cart-section table.shop_table th.product-remove,
    .mc-cart-section table.shop_table td.product-remove {
        width: 58px !important;
    }

    .mc-cart-section table.shop_table th.product-thumbnail,
    .mc-cart-section table.shop_table td.product-thumbnail {
        display: table-cell !important;
        width: 132px !important;
    }

    .mc-cart-section table.shop_table th.product-thumbnail {
        color: transparent !important;
        font-size: 0 !important;
        line-height: 0 !important;
    }

    .mc-cart-section table.shop_table th.product-name,
    .mc-cart-section table.shop_table td.product-name {
        width: auto !important;
        text-align: right !important;
    }

    .mc-cart-section table.shop_table th.product-price,
    .mc-cart-section table.shop_table td.product-price,
    .mc-cart-section table.shop_table th.product-subtotal,
    .mc-cart-section table.shop_table td.product-subtotal {
        width: 128px !important;
    }

    .mc-cart-section table.shop_table th.product-quantity,
    .mc-cart-section table.shop_table td.product-quantity {
        width: 168px !important;
    }

    .mc-cart-section table.shop_table td.product-thumbnail a,
    .mc-cart-section table.shop_table td.product-thumbnail img {
        display: block !important;
        width: 94px !important;
        height: 74px !important;
        margin-inline: auto !important;
    }

    .mc-cart-section table.shop_table td.product-thumbnail img {
        object-fit: cover !important;
        border: 1px solid rgba(53, 240, 227, 0.14) !important;
        border-radius: 16px !important;
        background: rgba(255, 255, 255, 0.04) !important;
    }

    .mc-cart-section table.shop_table td.product-price::before,
    .mc-cart-section table.shop_table td.product-quantity::before,
    .mc-cart-section table.shop_table td.product-subtotal::before,
    .mc-cart-section table.shop_table td.product-name::before,
    .mc-cart-section table.shop_table td.product-name::after {
        display: none !important;
        content: none !important;
    }

    .mc-cart-section table.shop_table td.actions,
    .mc-cart-section table.shop_table tr:last-child td.actions {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(180px, 220px) !important;
        gap: 14px !important;
        align-items: end !important;
    }

    .mc-cart-section .coupon {
        justify-self: stretch !important;
    }

    .mc-cart-section button.button[name="update_cart"],
    .mc-cart-section input.button[name="update_cart"] {
        justify-self: start !important;
        width: min(220px, 100%) !important;
    }
}

/* Cart final visual layer: product label alignment + redesigned controls. */
.mc-cart-section table.shop_table {
    border-radius: 24px !important;
    border-color: rgba(53, 240, 227, 0.16) !important;
    background:
        radial-gradient(circle at 82% 0%, rgba(53, 240, 227, 0.09), transparent 32%),
        linear-gradient(180deg, rgba(6, 24, 31, 0.86), rgba(2, 11, 16, 0.94)) !important;
    box-shadow:
        0 22px 70px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.035) !important;
}

.mc-cart-section table.shop_table thead th {
    padding-block: 18px !important;
    color: rgba(234, 255, 255, 0.74) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
}

.mc-cart-section table.shop_table th.product-name,
.mc-cart-section table.shop_table td.product-name {
    text-align: right !important;
    padding-inline-start: 0 !important;
    padding-inline-end: 18px !important;
}

.mc-cart-section table.shop_table td.product-name,
.mc-cart-section table.shop_table td.product-name a,
.mc-cart-section table.shop_table td.product-name .mc-cart-product-name-text {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 950 !important;
    line-height: 1.55 !important;
}

.mc-cart-section table.shop_table th.product-thumbnail,
.mc-cart-section table.shop_table td.product-thumbnail {
    width: 118px !important;
}

.mc-cart-section table.shop_table td.product-thumbnail a,
.mc-cart-section table.shop_table td.product-thumbnail img {
    width: 78px !important;
    height: 72px !important;
    margin-inline: auto !important;
    border-radius: 17px !important;
}

.mc-cart-section table.shop_table td.product-thumbnail img {
    object-fit: cover !important;
    padding: 5px !important;
    border: 1px solid rgba(53, 240, 227, 0.16) !important;
    background:
        radial-gradient(circle at 50% 35%, rgba(53, 240, 227, 0.08), transparent 52%),
        rgba(255, 255, 255, 0.92) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18) !important;
}

.mc-cart-section a.remove {
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(255, 105, 125, 0.32) !important;
    color: #ff7f8f !important;
    background:
        radial-gradient(circle at 35% 25%, rgba(255, 105, 125, 0.18), transparent 55%),
        rgba(255, 105, 125, 0.055) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
    font-size: 0 !important;
    line-height: 1 !important;
    transition: transform 220ms ease, border-color 220ms ease, color 220ms ease, background 220ms ease, box-shadow 220ms ease !important;
}

.mc-cart-section a.remove::before {
    content: "×" !important;
    display: grid !important;
    place-items: center !important;
    width: 100% !important;
    height: 100% !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

.mc-cart-section a.remove:hover,
.mc-cart-section a.remove:focus-visible {
    transform: translateY(-2px) scale(1.03) !important;
    border-color: rgba(255, 105, 125, 0.55) !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, rgba(255, 105, 125, 0.30), rgba(255, 105, 125, 0.12)) !important;
    box-shadow: 0 14px 28px rgba(255, 105, 125, 0.12) !important;
}

.mc-cart-section .quantity {
    width: 126px !important;
    min-height: 50px !important;
    padding: 5px !important;
    border-radius: 18px !important;
    border: 1px solid rgba(53, 240, 227, 0.22) !important;
    background: linear-gradient(180deg, rgba(16, 46, 55, 0.72), rgba(5, 18, 25, 0.78)) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 12px 28px rgba(0, 0, 0, 0.18) !important;
}

.mc-cart-section .quantity .qty {
    height: 38px !important;
    min-width: 38px !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 950 !important;
    background: transparent !important;
}

.mc-cart-section .mc-cart-qty-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 13px !important;
    border: 1px solid rgba(53, 240, 227, 0.30) !important;
    color: #35f0e3 !important;
    background:
        radial-gradient(circle at 50% 18%, rgba(53, 240, 227, 0.20), transparent 58%),
        rgba(53, 240, 227, 0.08) !important;
    box-shadow: none !important;
    font-size: 17px !important;
    font-weight: 950 !important;
    transition: transform 220ms ease, color 220ms ease, background 220ms ease, border-color 220ms ease !important;
}

.mc-cart-section .mc-cart-qty-btn:hover,
.mc-cart-section .mc-cart-qty-btn:focus-visible {
    transform: translateY(-1px) !important;
    color: #061014 !important;
    border-color: rgba(53, 240, 227, 0.66) !important;
    background: linear-gradient(135deg, #35f0e3, #72fff4) !important;
}

.mc-cart-section table.shop_table td.actions,
.mc-cart-section table.shop_table tr:last-child td.actions {
    padding: 22px !important;
    border-top: 1px solid rgba(53, 240, 227, 0.11) !important;
    background:
        radial-gradient(circle at 18% 50%, rgba(53, 240, 227, 0.07), transparent 35%),
        rgba(2, 11, 16, 0.58) !important;
}

.mc-cart-section .coupon {
    align-items: end !important;
    gap: 10px !important;
}

.mc-cart-section .coupon label {
    margin-bottom: 7px !important;
    color: #ffffff !important;
    font-size: 14px !important;
}

.mc-cart-section .coupon .input-text,
.mc-cart-section .coupon .button,
.mc-cart-section .coupon input.button,
.mc-cart-section .coupon button.button,
.mc-cart-section button.button[name="update_cart"],
.mc-cart-section input.button[name="update_cart"] {
    min-height: 50px !important;
    height: 50px !important;
    border-radius: 16px !important;
    font-size: 14px !important;
    font-weight: 950 !important;
}

.mc-cart-section .coupon .input-text {
    border-color: rgba(53, 240, 227, 0.28) !important;
    color: #ffffff !important;
    background: linear-gradient(180deg, rgba(8, 28, 36, 0.84), rgba(2, 12, 18, 0.78)) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

.mc-cart-section .coupon .button,
.mc-cart-section .coupon input.button,
.mc-cart-section .coupon button.button {
    min-width: 148px !important;
    color: #061014 !important;
    border: 1px solid rgba(53, 240, 227, 0.70) !important;
    background: linear-gradient(135deg, #35f0e3, #76fff4) !important;
    box-shadow: 0 16px 34px rgba(53, 240, 227, 0.16) !important;
}

.mc-cart-section button.button[name="update_cart"],
.mc-cart-section input.button[name="update_cart"] {
    min-width: 170px !important;
    color: #f6d47b !important;
    border: 1px solid rgba(242, 201, 107, 0.44) !important;
    background: linear-gradient(135deg, rgba(242, 201, 107, 0.13), rgba(255, 255, 255, 0.035)) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045) !important;
}

.mc-cart-section button.button[name="update_cart"]:not(:disabled):hover,
.mc-cart-section input.button[name="update_cart"]:not(:disabled):hover,
.mc-cart-section button.button[name="update_cart"].is-ready,
.mc-cart-section input.button[name="update_cart"].is-ready {
    color: #061014 !important;
    border-color: rgba(242, 201, 107, 0.76) !important;
    background: linear-gradient(135deg, #f2c96b, #e0b458) !important;
    box-shadow: 0 16px 34px rgba(242, 201, 107, 0.13) !important;
}

.mc-cart-section .coupon .button:hover,
.mc-cart-section .coupon input.button:hover,
.mc-cart-section .coupon button.button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 20px 42px rgba(53, 240, 227, 0.20) !important;
}

@media (min-width: 761px) {
    .mc-cart-section table.shop_table th.product-name,
    .mc-cart-section table.shop_table td.product-name {
        width: auto !important;
        text-align: right !important;
        padding-inline-end: 18px !important;
    }

    .mc-cart-section table.shop_table td.actions,
    .mc-cart-section table.shop_table tr:last-child td.actions {
        grid-template-columns: minmax(0, 1fr) minmax(170px, 210px) !important;
        gap: 12px !important;
        align-items: end !important;
    }

    .mc-cart-section .coupon {
        display: grid !important;
        grid-template-columns: minmax(240px, 1fr) 148px !important;
    }

    .mc-cart-section .coupon label {
        grid-column: 1 / -1 !important;
    }

    .mc-cart-section button.button[name="update_cart"],
    .mc-cart-section input.button[name="update_cart"] {
        justify-self: start !important;
        width: 190px !important;
    }
}

@media (max-width: 760px) {
    .mc-cart-section table.shop_table tr.cart_item,
    .mc-cart-section table.shop_table tr.woocommerce-cart-form__cart-item {
        padding: 14px !important;
        border-radius: 22px !important;
        background:
            radial-gradient(circle at 90% 0%, rgba(53, 240, 227, 0.10), transparent 38%),
            linear-gradient(180deg, rgba(6, 24, 31, 0.94), rgba(2, 11, 16, 0.96)) !important;
    }

    .mc-cart-section table.shop_table td.product-name {
        display: grid !important;
        gap: 6px !important;
        justify-items: start !important;
        text-align: right !important;
    }

    .mc-cart-section table.shop_table td.product-name::before {
        content: "المنتج" !important;
        display: block !important;
        color: rgba(234, 255, 255, 0.54) !important;
        font-size: 12px !important;
        font-weight: 950 !important;
        line-height: 1.2 !important;
    }

    .mc-cart-section table.shop_table td.product-name::after {
        display: none !important;
        content: none !important;
    }

    .mc-cart-section table.shop_table td.product-price,
    .mc-cart-section table.shop_table td.product-quantity,
    .mc-cart-section table.shop_table td.product-subtotal {
        display: grid !important;
        grid-template-columns: 86px minmax(0, 1fr) !important;
        gap: 12px !important;
        justify-items: start !important;
        align-items: center !important;
        text-align: right !important;
    }

    .mc-cart-section table.shop_table td.product-price::before,
    .mc-cart-section table.shop_table td.product-quantity::before,
    .mc-cart-section table.shop_table td.product-subtotal::before,
    .mc-cart-section table.shop_table td.product-quantity .quantity {
        justify-self: start !important;
    }

    .mc-cart-section table.shop_table td.product-remove {
        justify-content: flex-end !important;
    }

    .mc-cart-section table.shop_table td.actions,
    .mc-cart-section table.shop_table tr:last-child td.actions,
    .mc-cart-section .coupon {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .mc-cart-section .coupon .button,
    .mc-cart-section .coupon input.button,
    .mc-cart-section .coupon button.button,
    .mc-cart-section button.button[name="update_cart"],
    .mc-cart-section input.button[name="update_cart"] {
        width: 100% !important;
    }
}

/* MOEEN CHECKOUT NOTICE V2 */
.mc-checkout-section .woocommerce-NoticeGroup-checkout,
.mc-checkout-section .woocommerce-notices-wrapper {
    width: 100%;
    margin: 0 0 22px !important;
}

.mc-checkout-section .woocommerce-error,
.woocommerce-checkout .woocommerce-NoticeGroup-checkout .woocommerce-error {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 14px !important;
    width: 100% !important;
    min-height: 72px !important;
    margin: 0 !important;
    padding: 14px 16px !important;
    border: 1px solid rgba(255, 104, 112, .38) !important;
    border-inline-start: 4px solid #ff6870 !important;
    border-radius: 16px !important;
    background:
        linear-gradient(135deg, rgba(255, 104, 112, .10), transparent 46%),
        rgba(35, 13, 19, .94) !important;
    color: #ffe9ea !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .18) !important;
    list-style: none !important;
    text-align: right !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.75 !important;
    box-sizing: border-box !important;
}

.mc-checkout-section .woocommerce-error::before,
.woocommerce-checkout .woocommerce-NoticeGroup-checkout .woocommerce-error::before {
    position: static !important;
    inset: auto !important;
    content: "!" !important;
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    display: grid !important;
    place-items: center !important;
    border: 1px solid rgba(255, 126, 132, .48) !important;
    border-radius: 12px !important;
    background: rgba(255, 104, 112, .13) !important;
    color: #ff9ca1 !important;
    font-family: inherit !important;
    font-size: 18px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    transform: none !important;
}

.mc-checkout-section .woocommerce-error li,
.woocommerce-checkout .woocommerce-NoticeGroup-checkout .woocommerce-error li {
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
    list-style: none !important;
    text-align: right !important;
}

.mc-checkout-section .woocommerce-error li + li,
.woocommerce-checkout .woocommerce-NoticeGroup-checkout .woocommerce-error li + li {
    margin-top: 7px !important;
    padding-top: 7px !important;
    border-top: 1px solid rgba(255, 255, 255, .08) !important;
}

@media (max-width: 640px) {
    .mc-checkout-section .woocommerce-error,
    .woocommerce-checkout .woocommerce-NoticeGroup-checkout .woocommerce-error {
        grid-template-columns: 36px minmax(0, 1fr) !important;
        gap: 10px !important;
        min-height: 64px !important;
        padding: 12px !important;
        border-radius: 14px !important;
        font-size: 13px !important;
    }

    .mc-checkout-section .woocommerce-error::before,
    .woocommerce-checkout .woocommerce-NoticeGroup-checkout .woocommerce-error::before {
        width: 34px !important;
        height: 34px !important;
        border-radius: 10px !important;
    }
}
/* END MOEEN CHECKOUT NOTICE V2 */
/* ==========================================================
   Premium detailed product cards - 2026
========================================================== */
.mc-store-section .mc-product-card,
.single-product .maeen-related-card {
    isolation: isolate;
    border-color: rgba(53, 240, 227, 0.20);
    border-radius: 26px;
    background:
        radial-gradient(circle at 92% 0%, rgba(53, 240, 227, 0.13), transparent 34%),
        radial-gradient(circle at 0% 100%, rgba(242, 201, 107, 0.055), transparent 30%),
        linear-gradient(168deg, rgba(8, 29, 38, 0.98), rgba(3, 13, 19, 0.995));
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.mc-store-section .mc-product-card::before,
.single-product .maeen-related-card::before {
    content: "";
    position: absolute;
    z-index: 3;
    top: 0;
    right: 34px;
    left: 34px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(53, 240, 227, 0.52), transparent);
    pointer-events: none;
}

.mc-store-section .mc-product-card:hover,
.single-product .maeen-related-card:hover {
    transform: translateY(-5px);
    border-color: rgba(53, 240, 227, 0.34);
    box-shadow:
        0 32px 74px rgba(0, 0, 0, 0.32),
        0 0 0 1px rgba(53, 240, 227, 0.035),
        inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.mc-store-section .mc-product-card__media,
.single-product .maeen-related-card .mc-product-card__media {
    aspect-ratio: 16 / 7.2;
    border-bottom-color: rgba(53, 240, 227, 0.16);
}

.mc-store-section .mc-product-card__media::after,
.single-product .maeen-related-card .mc-product-card__media::after {
    background:
        linear-gradient(180deg, transparent 35%, rgba(2, 11, 16, 0.72)),
        linear-gradient(90deg, rgba(2, 11, 16, 0.12), transparent 46%);
}

.mc-store-section .mc-product-card__floating-badges,
.single-product .maeen-related-card .mc-product-card__floating-badges {
    inset-inline-start: 14px;
    inset-block-end: 13px;
    gap: 6px;
}

.mc-store-section .mc-badge,
.single-product .maeen-related-card .mc-badge {
    min-height: 27px;
    padding: 5px 10px;
    border-color: rgba(242, 201, 107, 0.38);
    background: rgba(3, 14, 20, 0.76);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.16);
}

.mc-store-section .mc-badge--type,
.single-product .maeen-related-card .mc-badge--type {
    border-color: rgba(53, 240, 227, 0.38);
}

.mc-store-section .mc-product-card__body,
.single-product .maeen-related-card .mc-product-card__body {
    padding: 18px 18px 8px;
}

.mc-store-section .mc-product-card h3,
.single-product .maeen-related-card h3 {
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 1.55;
}

.mc-store-section .mc-product-card p,
.single-product .maeen-related-card p {
    color: rgba(225, 241, 242, 0.69);
    font-size: 12.8px;
    line-height: 1.85;
    -webkit-line-clamp: 3;
}

/* Feature rows without cards or framed backgrounds. */
.mc-store-section .mc-product-features,
.single-product .maeen-related-card .mc-product-features {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3px;
    margin: 15px 0 2px;
    padding: 0;
}

.mc-store-section .mc-product-features li,
.mc-store-section .mc-product-features li:nth-child(n + 3),
.single-product .maeen-related-card .mc-product-features li,
.single-product .maeen-related-card .mc-product-features li:nth-child(n + 3) {
    position: relative;
    display: flex;
    min-height: 28px;
    align-items: center;
    padding: 3px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(238, 251, 251, 0.84);
    font-size: 11.6px;
    font-weight: 800;
    line-height: 1.7;
    transform: none;
}

.mc-store-section .mc-product-features li::before,
.single-product .maeen-related-card .mc-product-features li::before {
    content: "✓";
    display: grid;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    place-items: center;
    margin-inline-end: 9px;
    border: 1px solid rgba(53, 240, 227, 0.38);
    border-radius: 50%;
    color: #35f0e3;
    background: rgba(53, 240, 227, 0.065);
    font-family: Arial, sans-serif;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 0 0 3px rgba(53, 240, 227, 0.025);
    -webkit-mask: none;
    mask: none;
}

.mc-store-section .mc-product-features li:not(:last-child)::after,
.single-product .maeen-related-card .mc-product-features li:not(:last-child)::after {
    content: "";
    position: absolute;
    inset-inline-start: 8px;
    top: 23px;
    width: 1px;
    height: 8px;
    background: linear-gradient(180deg, rgba(53, 240, 227, 0.30), transparent);
}

/* The amount itself is the visual anchor; no price label is used. */
.mc-product-card__footer {
    padding: 9px 18px 18px;
}

.mc-product-price-shell {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 6px;
    margin: 2px 0 15px;
    padding: 7px 12px 11px;
    text-align: center;
}

.mc-product-price-shell::before {
    content: "";
    position: absolute;
    inset: auto 16% 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(242, 201, 107, 0.70), transparent);
    box-shadow: 0 0 18px rgba(242, 201, 107, 0.24);
}

.mc-product-price-shell::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: -16px;
    width: 150px;
    height: 58px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242, 201, 107, 0.13), transparent 68%);
    filter: blur(5px);
    pointer-events: none;
}

.mc-product-price-shell .mc-product-price {
    justify-content: center;
    margin: 0;
    color: #f6ce70;
    font-size: clamp(23px, 2.2vw, 28px);
    font-weight: 950;
    line-height: 1.12;
    letter-spacing: -0.025em;
    text-shadow: 0 0 22px rgba(242, 201, 107, 0.20);
}

.mc-product-price-shell .mc-product-price .amount,
.mc-product-price-shell .mc-product-price bdi {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.mc-product-price-shell .mc-product-price .woocommerce-Price-currencySymbol {
    display: inline-block;
    margin-inline-start: 3px;
    font-size: 0.58em;
    font-weight: 900;
    opacity: 0.92;
}

.mc-product-price-note {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: rgba(226, 242, 243, 0.50);
    font-size: 10.4px;
    font-weight: 750;
    line-height: 1.4;
}

.mc-product-price-note i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #35f0e3;
    box-shadow: 0 0 8px rgba(53, 240, 227, 0.55);
}

.mc-product-actions {
    grid-template-columns: 1.12fr .88fr;
    gap: 9px;
}

.mc-product-actions .mc-btn {
    min-height: 46px;
    border-radius: 14px;
    font-size: 12.8px;
}

.mc-store-add-to-cart {
    gap: 7px;
    overflow: hidden;
}

.mc-store-add-to-cart__icon {
    position: relative;
    display: grid;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    place-items: center;
    transition: transform 220ms ease;
}

.mc-store-add-to-cart__icon svg {
    width: 19px;
    height: 19px;
}

.mc-store-add-to-cart:hover .mc-store-add-to-cart__icon {
    transform: translateX(-2px) rotate(-4deg);
}

.mc-store-add-to-cart.loading {
    pointer-events: none;
}

.mc-store-add-to-cart.loading .mc-store-add-to-cart__icon {
    border: 2px solid rgba(3, 16, 24, 0.24);
    border-top-color: #031018;
    border-radius: 50%;
    animation: mcCartButtonSpin 680ms linear infinite;
}

.mc-store-add-to-cart.loading .mc-store-add-to-cart__icon svg {
    opacity: 0;
}

.mc-store-add-to-cart.added {
    background: linear-gradient(135deg, #35f0e3, #8df6c7) !important;
}

.mc-store-add-to-cart.added .mc-store-add-to-cart__icon {
    animation: mcCartButtonSuccess 480ms ease both;
}

.mc-store-add-to-cart.added .mc-store-add-to-cart__icon svg {
    opacity: 0;
}

.mc-store-add-to-cart.added .mc-store-add-to-cart__icon::before {
    content: "✓";
    position: absolute;
    color: #031018;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 950;
}

.mc-cart-toast.is-visible .mc-cart-toast__icon {
    animation: mcCartToastIconIn 520ms 80ms cubic-bezier(.2,.85,.3,1.25) both;
}

.mc-cart-toast.is-error {
    border-color: rgba(255, 119, 119, 0.35);
}

.mc-cart-toast.is-error .mc-cart-toast__icon {
    color: #fff;
    background: linear-gradient(135deg, #ff7777, #dc5050);
    box-shadow: 0 14px 30px rgba(255, 98, 98, 0.17);
}

@keyframes mcCartButtonSpin {
    to { transform: rotate(360deg); }
}

@keyframes mcCartButtonSuccess {
    0% { transform: scale(.72) rotate(-8deg); }
    60% { transform: scale(1.18) rotate(3deg); }
    100% { transform: scale(1) rotate(0); }
}

@keyframes mcCartToastIconIn {
    0% { opacity: 0; transform: scale(.55) rotate(-14deg); }
    70% { opacity: 1; transform: scale(1.14) rotate(4deg); }
    100% { opacity: 1; transform: scale(1) rotate(0); }
}

@media (max-width: 620px) {
    .mc-store-section .mc-product-card__body,
    .single-product .maeen-related-card .mc-product-card__body {
        padding: 16px 15px 7px;
    }

    .mc-product-card__footer {
        padding: 8px 15px 15px;
    }

    .mc-product-price-shell {
        margin-bottom: 13px;
    }

    .mc-product-actions .mc-btn {
        min-height: 45px;
        padding-inline: 10px;
        font-size: 12.2px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mc-store-add-to-cart.loading .mc-store-add-to-cart__icon,
    .mc-store-add-to-cart.added .mc-store-add-to-cart__icon,
    .mc-cart-toast.is-visible .mc-cart-toast__icon {
        animation: none;
    }
}