/* ==========================================================================
   Cute Beauty - mobile web styled like the mobile app (< 768px only).
   Design only: no markup is removed, every field, button and link keeps its
   name/id/href/onclick. Desktop is untouched (everything is inside the media
   query below, except the @font-face).
   Reference: docs/mobile-design-brief.md, docs/app-screens/
   ========================================================================== */

@font-face {
    font-family: 'TajawalApp';
    src: url('../fonts/tajawal/Tajawal-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'TajawalApp';
    src: url('../fonts/tajawal/Tajawal-Medium.ttf') format('truetype');
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: 'TajawalApp';
    src: url('../fonts/tajawal/Tajawal-Bold.ttf') format('truetype');
    font-weight: 700 900;
    font-display: swap;
}

@media (max-width: 767.98px) {

    /* ---------------------------------------------------------------- tokens */
    :root {
        --app-primary: #C6006D;
        --app-secondary: #8A004C;
        --app-text: #1D2939;
        --app-heading: #0F1728;
        --app-grey: #667084;
        --app-muted: #98A1B2;
        --app-border: #C5CEE0;
        --app-bg: #F8F9FB;
        --app-bg-2: #F2F4F7;
        --app-nav-bg: #E8E8E8;
        --app-strike: #C9C9C9;
        --app-error: #960000;
        --app-radius: 14px;
        --app-shadow: 0 2px 10px rgba(16, 24, 40, 0.08);
        --primary: #C6006D;
        --hov-primary: #8A004C;
        --soft-primary: rgba(198, 0, 109, 0.12);
    }

    /* ---------------------------------------------------------------- base */
    body,
    body .h1, body .h2, body .h3, body .h4, body .h5, body .h6,
    body h1, body h2, body h3, body h4, body h5, body h6,
    body .btn, body input, body select, body textarea, body button {
        font-family: 'TajawalApp', 'Tajawal', 'Roboto', sans-serif !important;
    }
    body {
        color: var(--app-text);
        background-color: #fff;
    }
    .container,
    .container-fluid {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    .text-primary { color: var(--app-primary) !important; }
    .bg-primary { background-color: var(--app-primary) !important; }
    .btn-primary,
    .btn-primary:hover,
    .btn-primary:focus {
        background-color: var(--app-primary) !important;
        border-color: var(--app-primary) !important;
        color: #fff !important;
    }
    .btn-outline-primary {
        color: var(--app-primary) !important;
        border-color: var(--app-primary) !important;
    }

    /* Icons from the app, drawn with a mask so they follow the text colour. */
    .app-icon-mask::before,
    .app-bottom-nav-item > i::before,
    .app-bottom-nav-item > span > i::before {
        content: '' !important;
        display: inline-block;
        width: 26px;
        height: 26px;
        background-color: currentColor;
        -webkit-mask: var(--icon) center / contain no-repeat;
        mask: var(--icon) center / contain no-repeat;
    }

    /* ---------------------------------------------------------------- header */
    header.sticky-top,
    header {
        border-bottom: 0 !important;
        box-shadow: none !important;
    }
    header .logo-bar-area .container > .d-flex {
        min-height: 64px;
    }
    header .logo-section-header img {
        height: 52px !important;
        width: auto;
    }
    /* search / location / menu: plain icons like the app's header */
    header .logo-bar-area button img,
    header .logo-bar-area a[data-target=".front-header-search"] img {
        background: transparent !important;
        width: 30px !important;
        height: 30px !important;
    }

    /* ---------------------------------------------------------------- bottom nav */
    .app-bottom-nav {
        height: calc(68px + env(safe-area-inset-bottom));
        background-color: var(--app-nav-bg);
        border-top: 0;
    }
    .app-bottom-nav-item {
        color: #9D9D9D !important;
        font-size: 13px;
        font-weight: 500;
    }
    .app-bottom-nav-item.active {
        color: var(--app-primary) !important;
    }
    .app-bottom-nav-item i { margin-bottom: 2px; }
    .app-bottom-nav-item .la-home { --icon: url('../img/app-icons/home.svg'); }
    .app-bottom-nav-item .la-th-large { --icon: url('../img/app-icons/categories.svg'); }
    .app-bottom-nav-item .la-search { --icon: url('../img/app-icons/search.svg'); }
    .app-bottom-nav-item .la-shopping-cart { --icon: url('../img/app-icons/cart.svg'); }
    .app-bottom-nav-item .la-user { --icon: url('../img/app-icons/user.svg'); }
    .app-bottom-nav-badge {
        top: -2px;
        right: auto;
        left: -4px;
        background-color: var(--app-primary);
    }
    body {
        padding-bottom: calc(68px + env(safe-area-inset-bottom));
    }

    /* ---------------------------------------------------------------- section titles */
    section .h2.fw-700,
    section h2.h2 {
        font-size: 20px !important;
        font-weight: 700 !important;
        color: var(--app-heading);
    }
    section h2 > span.pb-3 {
        padding-bottom: 0 !important;
        border-bottom: 0 !important;
    }

    /* header search: grey rounded field, like the app's search bar */
    header #search {
        height: 46px !important;
        background: var(--app-bg-2) !important;
        border: 0 !important;
        border-radius: 23px !important;
        padding-right: 18px !important;
        font-size: 15px;
        box-shadow: none !important;
    }
    header #search::placeholder {
        color: var(--app-muted);
    }
    section .d-flex.mb-3.align-items-baseline {
        align-items: center !important;
        border-bottom: 0 !important;
        margin-bottom: 12px !important;
    }
    /* "View more" as a plain link, like "مشاهدة المزيد" in the app */
    section .d-flex.align-items-baseline > a.btn,
    section .d-flex.align-items-center > a.btn {
        background: none !important;
        border: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
        color: var(--app-secondary) !important;
        font-size: 15px;
        font-weight: 400;
    }
    /* sections lose their card frame: white page, like the app */
    section > .container > .bg-white.shadow-sm.rounded,
    section > .container > .px-2.py-4 {
        box-shadow: none !important;
        background: transparent !important;
        padding: 0 !important;
    }
    section.mb-4 {
        margin-bottom: 28px !important;
    }

    /* ---------------------------------------------------------------- carousels */
    /* Horizontal rows peek the next card (RTL: on the left), no arrows. */
    .aiz-carousel .slick-arrow {
        display: none !important;
    }
    section .aiz-carousel.half-outside-arrow .slick-list {
        padding-left: 18% !important;
        margin-left: -16px;
    }
    .px-sm-3 { padding-left: 0 !important; padding-right: 0 !important; }

    /* ---------------------------------------------------------------- product card */
    .aiz-card-box {
        position: relative;
        border: 0 !important;
        border-radius: var(--app-radius) !important;
        box-shadow: var(--app-shadow) !important;
        background: #fff !important;
        overflow: hidden;
        margin: 6px 0 12px !important;
    }
    .aiz-card-box img.img-box {
        height: 150px !important;
        object-fit: contain;
        padding: 8px 8px 0;
    }
    /* heart: grey circle, top-left */
    .aiz-card-box .absolute-top-right-product {
        position: absolute;
        top: 8px !important;
        left: 8px !important;
        right: auto !important;
        z-index: 2;
    }
    .aiz-card-box .absolute-top-right-product .product {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: #EDEDED;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .aiz-card-box .absolute-top-right-product i {
        font-size: 20px !important;
        color: #BDBDBD;
    }
    .aiz-card-box .absolute-top-right-product i.la-heart {
        color: var(--app-primary);
    }
    /* discount badge: yellow, top-right */
    .aiz-card-box .badge-custom {
        position: absolute;
        top: 0;
        right: 0;
        left: auto;
        z-index: 2;
        background: #F6C33F !important;
        color: #fff !important;
        font-size: 12px;
        font-weight: 700;
        padding: 4px 12px;
        border-radius: 0 var(--app-radius) 0 var(--app-radius) !important;
        transform: none !important;
    }
    .aiz-card-box .badge-custom .box {
        background: transparent !important;
        color: #fff !important;
    }
    .aiz-card-box .product-content-section {
        text-align: right !important;
        padding: 0 10px;
    }
    .aiz-card-box .product-content-section h3 {
        height: auto !important;
        min-height: 40px;
        padding: 6px 0 0 !important;
        margin: 0 !important;
    }
    .aiz-card-box .product-content-section h3 a {
        font-size: 14px !important;
        font-weight: 400 !important;
        color: var(--app-text) !important;
        line-height: 1.45;
        display: -webkit-box !important;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    /* the app card shows no rating and no loyalty points */
    .aiz-card-box .rating,
    .aiz-card-box .rating + span,
    .aiz-card-box .product-content-section > .col-12,
    .aiz-card-box .bg-soft-primary.border-soft-primary {
        display: none !important;
    }
    .aiz-card-box .product-content-section > .fs-14.d-flex.mt-3 {
        margin-top: 0 !important;
    }
    .aiz-card-box #content-area #add,
    .aiz-card-box #add {
        padding: 8px 0 10px;
        align-items: flex-end !important;
    }
    .aiz-card-box #add > .m-3 {
        margin: 0 !important;
        flex-direction: column;
        align-items: flex-start !important;
    }
    .aiz-card-box #add .fw-700.text-primary,
    .aiz-card-box #add .text-primary {
        color: var(--app-primary) !important;
        font-weight: 500 !important;
        font-size: 15px;
    }
    .aiz-card-box #add del,
    .aiz-card-box #add .opacity-60 {
        color: var(--app-strike) !important;
        font-size: 12px;
        opacity: 1 !important;
    }
    /* add to cart: round primary "+" */
    .aiz-card-box .btn-add-to-cart {
        width: 38px;
        height: 38px;
        min-width: 38px;
        border-radius: 50%;
        background: var(--app-primary) !important;
        align-items: center;
        justify-content: center;
        order: -1;
    }
    .aiz-card-box .btn-add-to-cart img {
        display: none !important;
    }
    .aiz-card-box .btn-add-to-cart::before {
        content: '';
        width: 20px;
        height: 20px;
        background:
            linear-gradient(#fff, #fff) center / 20px 2px no-repeat,
            linear-gradient(#fff, #fff) center / 2px 20px no-repeat;
    }

    .aiz-card-box .product-content-section,
    .aiz-card-box .product-content-section > *,
    .aiz-card-box #content-area {
        background: #fff !important;
    }

    /* ---------------------------------------------------------------- home: banner */
    .aiz-carousel.dots-inside-bottom img {
        border-radius: 22px !important;
        box-shadow: none !important;
    }
    .aiz-carousel.dots-inside-bottom .slick-dots {
        position: static !important;
        transform: none !important;
        left: auto !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center;
        align-items: center;
        margin: 12px 0 0 !important;
    }
    .aiz-carousel.dots-inside-bottom .slick-dots li button {
        width: 8px !important;
        height: 8px !important;
        background: #CFCFCF !important;
        border: 0 !important;
        opacity: 1 !important;
    }
    .aiz-carousel.dots-inside-bottom .slick-dots li.slick-active button {
        width: 12px !important;
        height: 12px !important;
        background: var(--app-primary) !important;
        box-shadow: 0 0 0 4px rgba(198, 0, 109, 0.18);
    }

    /* ---------------------------------------------------------------- home: shop by category */
    /* The circles become a horizontal row of primary pills (app: "تسوق حسب القسم"). */
    .category-circle-item-mobile ~ *,
    .d-sm-none.d-flex.flex-column.gap-2.overflow-auto {
        flex-direction: row !important;
        flex-wrap: nowrap;
        gap: 10px !important;
        padding-bottom: 4px;
    }
    .d-sm-none.d-flex.flex-column.gap-2.overflow-auto > .d-flex {
        display: contents !important;
    }
    .d-sm-flex.scroll-hide > .d-flex.gap-4 {
        gap: 10px !important;
    }
    .category-circle-item-mobile,
    .category-circle-item {
        flex: 0 0 auto;
        background: var(--app-primary);
        border-radius: 999px;
        padding: 12px 20px;
        width: auto !important;
    }
    .category-circle-wrapper-mobile,
    .category-circle-wrapper {
        display: none !important;
    }
    .category-circle-title-mobile,
    .category-circle-title {
        color: #fff !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        margin: 0 !important;
        white-space: nowrap;
        max-width: none !important;
    }
    section.pt-5 {
        padding-top: 0 !important;
    }

    /* ---------------------------------------------------------------- page titles */
    /* Page title on the right, no breadcrumb (the app shows a plain title). */
    section.pt-4.mb-4 .container.text-center,
    section.pt-4.mb-4 .text-center.text-lg-left {
        text-align: right !important;
    }
    section.pt-4.mb-4 h1 {
        font-size: 24px !important;
        font-weight: 700 !important;
        color: var(--app-heading) !important;
        margin-bottom: 0;
    }
    section.pt-4.mb-4 .breadcrumb {
        display: none !important;
    }
    section.pt-4.mb-4 {
        margin-bottom: 12px !important;
        padding-top: 16px !important;
    }

    /* ---------------------------------------------------------------- all categories */
    /* Main categories in a grey column on the right (chosen one white), the
       chosen category's sub-categories in a 3-column grid on the left. */
    section.pt-4.mb-4:has(+ section.app-categories) {
        margin-bottom: 8px !important;
    }
    section.pt-4.mb-4:has(+ section.app-categories) h1 {
        font-size: 18px !important;
    }
    section.app-categories {
        display: flex;
        align-items: stretch;
        min-height: calc(100vh - 220px);
        margin-bottom: 0;
    }
    .app-categories-main {
        flex: 0 0 26%;
        max-width: 26%;
        background: #F5F5F5;
        display: flex;
        flex-direction: column;
    }
    .app-categories-tab {
        display: block;
        width: 100%;
        border: 0;
        border-bottom: 1px solid #E8E8E8;
        background: transparent;
        padding: 10px 6px;
        min-height: 42px;
        font-size: 13px;
        font-weight: 400;
        line-height: 1.4;
        color: var(--app-grey);
        text-align: center;
        word-break: break-word;
        cursor: pointer;
    }
    .app-categories-tab:focus { outline: none; }
    .app-categories-tab:focus-visible { box-shadow: inset 0 0 0 2px var(--app-primary); }
    .app-categories-tab.active {
        background: #fff;
        color: var(--app-heading);
        font-weight: 700;
    }
    .app-categories-panels {
        flex: 1 1 auto;
        min-width: 0;
        padding: 2px 6px 16px;
        background: #FAFAFA;
    }
    .app-categories-panel { display: none; }
    .app-categories-panel.active { display: block; }
    .app-categories-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 36px 4px;
    }
    .app-categories-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-width: 0;
        color: var(--app-text) !important;
        text-decoration: none !important;
    }
    .app-categories-img {
        display: block;
        width: 76%;
        aspect-ratio: 1 / 1;
        border-radius: 12px;
        overflow: hidden;
        background: #fff;
    }
    .app-categories-img img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    .app-categories-name {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-top: 8px;
        font-size: 12px;
        line-height: 1.5;
        text-align: center;
        word-break: break-word;
    }

    /* ---------------------------------------------------------------- product details */
    /* gallery on a light background, thumbnails centred, active one framed */
    .gallary-product-detial {
        background: var(--app-bg);
        margin: -12px -16px 0 !important;
        padding: 12px 16px !important;
        flex: 0 0 calc(100% + 32px) !important;
        max-width: calc(100% + 32px) !important;
    }
    .gallary-product-detial .product-gallery img {
        background: #fff;
        border-radius: 0;
    }
    .gallary-product-detial .product-gallery-thumb .slick-track {
        display: flex;
        justify-content: center;
    }
    .gallary-product-detial .product-gallery-thumb .carousel-box,
    .gallary-product-detial .product-gallery-thumb .slick-slide > div > * {
        border-radius: 6px;
    }
    .gallary-product-detial .product-gallery-thumb .slick-current .carousel-box,
    .gallary-product-detial .product-gallery-thumb .slick-current img {
        border-color: var(--app-primary) !important;
    }
    /* share row: compact and centred */
    .product-detials-share {
        margin-top: 12px !important;
        justify-content: center;
    }
    .product-detials-share .jssocials-share-link {
        width: 36px;
        height: 36px;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    /* name, price */
    .gallary-product-detial + .col-xl-5 {
        padding-top: 12px;
    }
    .gallary-product-detial + .col-xl-5 > .text-left {
        width: 100%;
        text-align: right !important;
    }
    .gallary-product-detial + .col-xl-5 h1 {
        font-size: 22px !important;
        font-weight: 700 !important;
        color: var(--app-text) !important;
        line-height: 1.4;
        margin: 4px 0 8px !important;
    }
    .gallary-product-detial + .col-xl-5 .row.no-gutters.mb-3 > .col-sm-2 {
        display: none;
    }
    .gallary-product-detial + .col-xl-5 .row.no-gutters.mb-3 strong.text-primary,
    .gallary-product-detial + .col-xl-5 .row.no-gutters.mb-3 .text-primary {
        font-size: 24px !important;
        font-weight: 700 !important;
        color: var(--app-primary) !important;
    }
    .gallary-product-detial + .col-xl-5 del {
        color: var(--app-strike) !important;
    }

    /* add to cart: a bar fixed to the bottom of the screen (same buttons, moved) */
    body:has(.btns-buy-product) .app-bottom-nav {
        display: none !important;
    }
    body:has(.btns-buy-product) {
        padding-bottom: calc(84px + env(safe-area-inset-bottom)) !important;
    }
    .btns-buy-product {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1030;
        margin: 0 !important;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        background: #fff;
        box-shadow: 0 -2px 12px rgba(16, 24, 40, 0.08);
        flex-wrap: nowrap !important;
        align-items: center;
        gap: 10px;
    }
    .btns-buy-product > .btn,
    .btns-buy-product > [class*="productInCart_"] {
        margin: 0 !important;
        height: 50px !important;
        border-radius: 14px !important;
        min-width: 0 !important;
    }
    .btns-buy-product .btn-pescription {
        flex: 1 1 auto;
        justify-content: center;
        align-items: center;
        background: var(--app-primary) !important;
        border: 0 !important;
        font-size: 16px !important;
        font-weight: 700 !important;
    }
    .btns-buy-product .btn-pescription > span.d-none {
        display: inline !important;
        margin-right: 6px;
    }
    .btns-buy-product > [class*="productInCart_"]:not(.d-none) {
        flex: 1 1 auto;
        width: auto !important;
        background: var(--app-primary) !important;
    }
    .btns-buy-product .buy-now {
        flex: 0 0 auto;
        width: auto !important;
        padding: 0 14px !important;
        background: #fff !important;
        color: var(--app-primary) !important;
        border: 1.5px solid var(--app-primary) !important;
        font-size: 14px !important;
    }

    /* description / reviews / related: open sections instead of framed boxes */
    .aiz-main-wrapper .bg-white.border,
    .aiz-main-wrapper .bg-white.mb-4.border {
        border: 0 !important;
    }
    .aiz-nav-tabs {
        border-bottom: 1px solid #D0D5DD;
    }
    .aiz-nav-tabs a {
        color: var(--app-grey) !important;
        font-weight: 400 !important;
        border-bottom: 0 !important;
        position: relative;
    }
    .aiz-nav-tabs a.active {
        color: var(--app-primary) !important;
    }
    .aiz-nav-tabs a.active::after {
        content: '';
        position: absolute;
        left: 20%;
        right: 20%;
        bottom: -1px;
        height: 4px;
        border-radius: 4px 4px 0 0;
        background: var(--app-primary);
    }
    .aiz-main-wrapper h3.fs-16.fw-700,
    .aiz-main-wrapper .p-3.p-sm-4.fs-16.fw-600 {
        font-size: 20px !important;
        font-weight: 700 !important;
        color: var(--app-heading);
    }

    /* ---------------------------------------------------------------- auth pages */
    /* Login, register, forgot password, verification: pink top with the logo in
       white and a curved edge, then the form on a light page (app style). */
    section.gry-bg.py-6:has(form.form-default) {
        position: relative;
        padding-top: 0 !important;
        padding-bottom: 24px !important;
        background: #F9F9F9 !important;
    }
    section.gry-bg.py-6:has(form.form-default)::before {
        content: '';
        display: block;
        height: 230px;
        margin-bottom: 8px;
        background: var(--app-primary);
        border-radius: 0 0 50% 50% / 0 0 48px 48px;
    }
    section.gry-bg.py-6:has(form.form-default)::after {
        content: '';
        position: absolute;
        top: 38px;
        left: 50%;
        /* the mark only: the square logo is drawn 220px wide and its text, in
           the lower part, falls outside this 128px tall window */
        width: 220px;
        height: 150px;
        transform: translateX(-50%);
        background: #fff;
        -webkit-mask: url('../img/app-icons/logo-mark.svg') center -26px / 220px 220px no-repeat;
        mask: url('../img/app-icons/logo-mark.svg') center -26px / 220px 220px no-repeat;
        pointer-events: none;
    }
    section.gry-bg.py-6:has(form.form-default) .card {
        border: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
    }
    section.gry-bg.py-6:has(form.form-default) .card .row > [class*="col-lg-6"]:first-child {
        padding: 8px 16px 16px !important;
    }
    section.gry-bg.py-6:has(form.form-default) h1 {
        display: none;
    }
    section.gry-bg.py-6:has(form.form-default) h5,
    section.gry-bg.py-6:has(form.form-default) .text-center > p {
        font-size: 17px !important;
        font-weight: 400 !important;
        color: #4A5468 !important;
        margin-bottom: 4px;
    }
    /* fields: tall, rounded, light border; labels kept for screen readers only */
    section.gry-bg.py-6:has(form.form-default) .form-group > label,
    section.gry-bg.py-6:has(form.form-default) .form-group label.fs-12 {
        position: absolute !important;
        width: 1px; height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
    section.gry-bg.py-6:has(form.form-default) .form-group {
        margin-bottom: 18px !important;
    }
    /* "Optional" / "Required" tag of the e-mail field stays visible */
    section.gry-bg.py-6:has(form.form-default) .form-group > .d-flex.justify-content-between {
        justify-content: flex-end !important;
    }
    section.gry-bg.py-6:has(form.form-default) .form-group > .d-flex.justify-content-between label.fs-11 {
        position: static !important;
        width: auto; height: auto;
        clip: auto;
        overflow: visible;
        font-size: 12px !important;
        font-weight: 400 !important;
        color: var(--app-grey) !important;
        margin-bottom: 4px;
    }
    section.gry-bg.py-6:has(form.form-default) .form-group > .d-flex.justify-content-between label:not(.fs-11) {
        position: absolute !important;
        width: 1px; height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }
    section.gry-bg.py-6:has(form.form-default) .form-control {
        height: 54px !important;
        border: 1px solid #A7A7AA !important;
        border-radius: 10px !important;
        background: transparent !important;
        font-size: 15px;
        color: var(--app-text);
    }
    section.gry-bg.py-6:has(form.form-default) .form-control::placeholder {
        color: var(--app-muted);
    }
    section.gry-bg.py-6:has(form.form-default) .iti {
        width: 100%;
    }
    section.gry-bg.py-6:has(form.form-default) .btn-primary,
    section.gry-bg.py-6:has(form.form-default) button[type="submit"] {
        height: 54px;
        border-radius: 16px !important;
        font-size: 18px !important;
        font-weight: 700 !important;
        background: var(--app-primary) !important;
        border: 0 !important;
    }
    section.gry-bg.py-6:has(form.form-default) a[href*="password/reset"] {
        color: var(--app-secondary) !important;
        font-size: 14px !important;
    }
    section.gry-bg.py-6:has(form.form-default) a[href*="password/reset"] u {
        text-decoration: none;
    }
    section.gry-bg.py-6:has(form.form-default) .text-center:last-child {
        display: flex;
        justify-content: center;
        align-items: baseline;
        gap: 6px;
    }
    section.gry-bg.py-6:has(form.form-default) .text-center:last-child p {
        font-size: 15px !important;
        color: var(--app-text) !important;
    }
    section.gry-bg.py-6:has(form.form-default) .text-center:last-child a {
        font-size: 15px !important;
        font-weight: 400 !important;
        color: var(--app-secondary) !important;
    }
    section.gry-bg.py-6:has(form.form-default) .invalid-feedback,
    section.gry-bg.py-6:has(form.form-default) .text-danger {
        color: var(--app-error) !important;
    }
    section.gry-bg.py-6:has(form.form-default) .form-control.is-invalid {
        border-color: var(--app-error) !important;
    }

    /* phone field with the country picker: the plugin may measure the picker
       while the field is hidden and leave a huge left padding */
    .iti--separate-dial-code input[type="tel"].form-control {
        padding-left: 96px !important;
    }

    /* forgot password / reset with code / phone verification: simple card pages */
    .py-6 .bg-white.rounded.shadow-sm.p-4:has(form),
    section.py-4 .card:has(form) {
        background: transparent !important;
        box-shadow: none !important;
        border: 0 !important;
        text-align: center !important;
        padding: 8px 0 !important;
    }
    .py-6:has(.bg-white.rounded.shadow-sm.p-4 form) {
        padding-top: 24px !important;
    }
    /* the app's illustration above the title */
    .py-6 .bg-white.rounded.shadow-sm.p-4:has(form[action$="password/email"])::before,
    .py-6 .bg-white.rounded.shadow-sm.p-4:has(form[action*="password/reset"])::before {
        content: '';
        display: block;
        height: 210px;
        margin-bottom: 16px;
        background: url('../img/app-images/verification_code.png') center / contain no-repeat;
    }
    /* phone / e-mail verification: illustration, title, code field, then
       "resend" under the button (order only, same elements) */
    section.py-4 .card:has(form[action*="verification"]) {
        display: flex !important;
        flex-direction: column;
    }
    section.py-4 .card:has(form[action*="verification"])::before {
        content: '';
        display: block;
        height: 210px;
        margin: 8px 0 16px;
        background: url('../img/app-images/verification_code.png') center / contain no-repeat;
    }
    section.py-4 .card:has(form[action*="verification"]) > .text-center {
        display: contents;
    }
    section.py-4 .card:has(form[action*="verification"]) > .text-center > .btn-link {
        order: 3;
        align-self: center;
    }
    section.py-4 .card:has(form[action*="verification"]) > .px-5 {
        order: 2;
        padding: 8px 0 0 !important;
    }
    section.py-4 .card:has(form[action*="verification"]) input[name="verification_code"] {
        text-align: center !important;
        font-size: 24px !important;
        letter-spacing: 12px;
        font-family: 'Roboto', 'TajawalApp', sans-serif !important;
        height: 60px !important;
        border-color: var(--app-border) !important;
    }
    section.py-4 .card:has(form[action*="verification"]) input[name="verification_code"]::placeholder {
        font-size: 15px;
        letter-spacing: 0;
    }
    section.py-4 .card:has(form[action*="verification"]) input[name="verification_code"]:focus {
        border-color: var(--app-primary) !important;
        box-shadow: none;
    }
    .py-6 .bg-white.rounded.shadow-sm.p-4:has(form) h1,
    section.py-4 .card:has(form) h1 {
        font-size: 28px !important;
        font-weight: 700 !important;
        color: var(--app-primary) !important;
        line-height: 1.5;
        margin-bottom: 8px;
    }
    .py-6 .bg-white.rounded.shadow-sm.p-4:has(form) h1 + p,
    section.py-4 .card:has(form) p {
        font-size: 16px;
        color: #4A5468 !important;
        opacity: 1 !important;
    }
    .py-6 .bg-white.rounded.shadow-sm.p-4:has(form) .form-control,
    section.py-4 .card:has(form) .form-control {
        height: 54px !important;
        border: 1px solid #A7A7AA !important;
        border-radius: 10px !important;
        background: transparent !important;
        font-size: 15px;
        text-align: right;
    }
    .py-6 .bg-white.rounded.shadow-sm.p-4:has(form) select.form-control {
        background: var(--app-bg-2) !important;
        border-color: var(--app-bg-2) !important;
        font-weight: 500;
        color: var(--app-text);
    }
    .py-6 .bg-white.rounded.shadow-sm.p-4:has(form) .btn-primary,
    section.py-4 .card:has(form) .btn-primary {
        height: 54px;
        border-radius: 16px !important;
        font-size: 17px !important;
        font-weight: 700 !important;
        margin-top: 12px;
        white-space: normal;
    }
    .py-6 .bg-white.rounded.shadow-sm.p-4:has(form) .mt-3 a,
    section.py-4 .card:has(form) .btn-link {
        color: var(--app-secondary) !important;
        opacity: 1 !important;
        font-size: 15px;
    }

    /* ---------------------------------------------------------------- product listing / search */
    /* title, then filter + brand + sort in a light toolbar */
    #search-form .col-xl-9 > .text-left {
        text-align: right !important;
        background: var(--app-bg-2);
        margin: 0 -16px 12px;
        padding: 12px 16px 2px;
        border-bottom: 1px solid #E4E7EC;
    }
    #search-form .col-xl-9 > .text-left h1 {
        font-size: 20px !important;
        font-weight: 700 !important;
        color: var(--app-heading) !important;
        margin: 0;
    }
    #search-form .col-xl-9 > .text-left .la-filter {
        color: var(--app-text);
        font-size: 26px !important;
    }
    #search-form .col-xl-9 > .text-left .bootstrap-select > .btn,
    #search-form .col-xl-9 > .text-left select.form-control {
        background: #fff !important;
        border: 1px solid #E4E7EC !important;
        border-radius: 10px !important;
        height: 40px;
        font-size: 14px;
    }
    #search-form .col-xl-9 > .text-left .bootstrap-select {
        border: 0 !important;
        background: transparent !important;
    }
    /* two products per row, like the app */
    #search-form .col-xl-9 > .px-3 {
        padding: 0 !important;
    }
    #search-form .row.gutters-16[class*="row-cols"] {
        margin: 0 -6px !important;
    }
    #search-form .row.gutters-16[class*="row-cols"] > .col {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        padding: 0 6px !important;
    }
    #search-form .row.gutters-16[class*="row-cols"] > .col .aiz-card-box {
        height: calc(100% - 18px);
        display: flex;
        flex-direction: column;
    }
    #search-form .row.gutters-16[class*="row-cols"] > .col .product-content-section {
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    #search-form .row.gutters-16[class*="row-cols"] > .col #content-area {
        margin-top: auto;
    }
    /* no results: the app's illustration under the "no product" title */
    #search-form .col-xl-9:not(:has(.aiz-card-box))::after {
        content: '';
        display: block;
        height: 260px;
        margin-top: 24px;
        background: url('../img/app-icons/empty_products.svg') center / contain no-repeat;
    }
    /* ---------------------------------------------------------------- cart & checkout */
    /* checkout steps: circles joined by a line, like the app (done = pink,
       current = dark, next = grey). Same markup, labels stay hidden. */
    .aiz-steps,
    section.pt-5.mb-4 .row:has(> .col > .border-bottom-6px) {
        margin: 0 !important;
        flex-wrap: nowrap;
    }
    .aiz-steps > .col,
    section.pt-5.mb-4 .row:has(> .col > .border-bottom-6px) > .col {
        position: relative;
        display: flex;
        justify-content: center;
        padding: 0 !important;
    }
    .aiz-steps > .col > .text-center,
    section.pt-5.mb-4 .row > .col > .border-bottom-6px {
        position: relative;
        z-index: 1;
        width: 46px;
        height: 46px;
        padding: 0 !important;
        border: 2px solid var(--app-muted) !important;
        border-radius: 50%;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--app-muted) !important;
    }
    .aiz-steps > .col.done > .text-center,
    section.pt-5.mb-4 .row > .col.done > .border-bottom-6px {
        border-color: var(--app-primary) !important;
        color: var(--app-primary) !important;
    }
    .aiz-steps > .col.active > .text-center,
    section.pt-5.mb-4 .row > .col.active > .border-bottom-6px {
        border-color: var(--app-heading) !important;
        color: var(--app-heading) !important;
    }
    .aiz-steps .text-center > i,
    .aiz-steps .text-center svg,
    section.pt-5.mb-4 .border-bottom-6px > i {
        font-size: 22px !important;
        width: 22px;
        height: 22px;
        margin: 0 !important;
        opacity: 1 !important;
        transition: none !important;
    }
    .aiz-steps > .col:not(.done):not(.active) svg path,
    .aiz-steps > .col:not(.done):not(.active) svg circle {
        fill: var(--app-muted);
    }
    .aiz-steps > .col.active svg path,
    .aiz-steps > .col.active svg circle {
        fill: var(--app-heading);
    }
    /* the line from the previous step (on the right in RTL) */
    .aiz-steps.arrow-divider > *:not(:first-of-type)::before,
    section.pt-5.mb-4 .row:has(> .col > .border-bottom-6px) > .col:not(:first-child)::before {
        content: '' !important;
        position: absolute;
        top: 50% !important;
        left: calc(-50% + 23px) !important;
        right: auto !important;
        width: calc(100% - 46px);
        height: 2px;
        margin-top: -1px;
        background: var(--app-muted) !important;
        opacity: 1 !important;
        font-size: 0;
    }
    [dir="rtl"] .aiz-steps.arrow-divider > *:not(:first-of-type)::before,
    [dir="rtl"] section.pt-5.mb-4 .row:has(> .col > .border-bottom-6px) > .col:not(:first-child)::before {
        left: auto !important;
        right: calc(-50% + 23px) !important;
    }
    .aiz-steps.arrow-divider > .col.done::before,
    .aiz-steps.arrow-divider > .col.active::before,
    section.pt-5.mb-4 .row:has(> .col > .border-bottom-6px) > .col.done::before,
    section.pt-5.mb-4 .row:has(> .col > .border-bottom-6px) > .col.active::before {
        background: var(--app-primary) !important;
    }
    section.pt-5.mb-4:has(.aiz-steps),
    section.pt-5.mb-4:has(.border-bottom-6px) {
        padding-top: 16px !important;
        margin-bottom: 12px !important;
    }
    section.pt-5.mb-4:has(.aiz-steps) .col-xl-8,
    section.pt-5.mb-4:has(.border-bottom-6px) .col-xl-8 {
        padding: 0 8px;
    }

    /* framed boxes become plain white areas */
    .aiz-main-wrapper .border.bg-white.p-3,
    .aiz-main-wrapper .shadow-sm.bg-white.p-3,
    .aiz-main-wrapper .card.rounded-0 {
        border: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }
    /* each cart line: a rounded card */
    .cart-detials .list-group-item {
        border: 0 !important;
        padding: 0 !important;
        margin-bottom: 12px;
    }
    .cart-detials .list-group-item > .row {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        background: #fff;
        border-radius: var(--app-radius);
        box-shadow: var(--app-shadow);
        padding: 12px;
        margin: 0;
        gap: 8px 0;
    }
    .cart-detials .list-group-item > .row > [class*="col-md-5"] {
        flex: 0 0 100%;
        max-width: 100%;
        margin: 0 !important;
        align-items: flex-start !important;
    }
    .cart-detials .list-group-item img.size-70px {
        width: 72px !important;
        height: 72px !important;
        border-radius: 10px;
        background: var(--app-bg);
        object-fit: contain;
    }
    .cart-detials .list-group-item .fs-18.fw-bold {
        font-size: 15px !important;
        font-weight: 500 !important;
        color: var(--app-text);
        line-height: 1.45;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .cart-detials .list-group-item [class*="col-md-5"] .col-md {
        padding: 4px 0 0 !important;
        margin: 0 !important;
        max-width: none;
    }
    .cart-detials .list-group-item [class*="col-md-5"] .col-md .d-block {
        display: none !important;
    }
    .cart-detials .list-group-item [class*="col-md-5"] .col-md .fw-700 {
        color: var(--app-primary);
        font-weight: 500 !important;
    }
    /* quantity, total and delete on one line */
    .cart-detials .list-group-item > .row > .col-md-2,
    .cart-detials .list-group-item > .row > .col-md.col-3,
    .cart-detials .list-group-item > .row > .col-md-auto {
        width: auto !important;
        padding: 0 4px !important;
    }
    .cart-detials .list-group-item > .row > .col-md-2 {
        order: 1;
        flex: 0 0 auto;
        width: auto;
        max-width: none;
    }
    .cart-detials .list-group-item > .row > .col-md.col-3 {
        order: 2;
        flex: 1 1 0;
        min-width: 0;
        max-width: none;
        margin: 0 !important;
        text-align: center;
    }
    .cart-detials .list-group-item > .row > .col-md-auto {
        order: 3;
        flex: 0 0 auto;
        width: auto;
        max-width: none;
    }
    .cart-detials .aiz-plus-minus {
        align-items: center !important;
        gap: 6px;
        margin: 0 !important;
    }
    .cart-detials .aiz-plus-minus .btn {
        width: 32px;
        height: 32px;
        border-radius: 8px !important;
        border: 1.5px solid var(--app-primary) !important;
        background: #fff !important;
        color: var(--app-primary) !important;
    }
    .cart-detials .aiz-plus-minus .btn[data-type="plus"] {
        background: var(--app-primary) !important;
        color: #fff !important;
    }
    .cart-detials .aiz-plus-minus input {
        width: 34px;
        font-size: 16px !important;
        font-weight: 700;
        background: transparent;
    }
    .cart-detials .list-group-item .la-trash {
        color: var(--app-error);
    }
    .cart-detials .list-group-item .btn-soft-primary {
        background: #FDECEC !important;
    }
    /* subtotal and the continue button */
    .cart-detials + .border-top {
        border-top: 0 !important;
        background: var(--app-bg-2);
        border-radius: 12px;
        padding: 12px 14px !important;
    }
    .cart-detials + .border-top .opacity-60 {
        opacity: 1 !important;
        color: var(--app-grey);
    }
    .aiz-main-wrapper a.btn-primary.rounded-0,
    .aiz-main-wrapper button.btn-primary.rounded-0 {
        display: block;
        width: 100%;
        height: 52px;
        line-height: 36px;
        border-radius: 14px !important;
        font-size: 16px !important;
    }

    /* checkout: address step */
    .address-space-between {
        display: block !important;
    }
    .address-space-between .choose-address {
        font-size: 20px !important;
        font-weight: 700;
        color: var(--app-heading);
        padding: 0 !important;
        margin-bottom: 12px !important;
        justify-content: flex-start !important;
        text-align: right !important;
    }
    .address-space-between [onclick="add_new_address()"] {
        border: 1.5px dashed var(--app-primary);
        border-radius: var(--app-radius) !important;
        padding: 18px !important;
        color: var(--app-primary);
        font-weight: 500;
        align-items: center;
        gap: 8px;
    }
    .aiz-main-wrapper form.form-default > .shadow-sm.p-4 {
        box-shadow: none !important;
        padding: 0 !important;
    }
    /* selectable boxes (addresses, delivery, payment): rounded cards, pink when chosen */
    .aiz-megabox .aiz-megabox-elem {
        border: 1px solid #E4E7EC !important;
        border-radius: var(--app-radius) !important;
        background: #fff;
        text-align: right !important;
        line-height: 1.8;
    }
    .aiz-megabox > input:checked ~ .aiz-megabox-elem {
        border-color: var(--app-primary) !important;
        box-shadow: 0 0 0 1px var(--app-primary);
    }
    .aiz-megabox .aiz-megabox-elem .opacity-60 {
        color: var(--app-grey);
        opacity: 1 !important;
    }
    .aiz-megabox > input:checked ~ .aiz-megabox-elem .aiz-rounded-check {
        border-color: var(--app-primary) !important;
    }
    .aiz-megabox > input:checked ~ .aiz-megabox-elem .aiz-rounded-check::after {
        background: var(--app-primary) !important;
    }
    /* checkout steps' main button: full width, app style */
    .aiz-main-wrapper form.form-default button.btn-primary,
    .aiz-main-wrapper form button.btn-primary.fw-900,
    .aiz-main-wrapper #checkout-form button.btn-primary {
        width: 100%;
        height: 52px;
        border-radius: 14px !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        padding: 0 16px !important;
    }

    /* pagination: compact rounded pills */
    .aiz-pagination .pagination {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }
    .aiz-pagination .page-link {
        border-radius: 10px !important;
        border: 1px solid #E4E7EC;
        color: var(--app-text);
        min-width: 36px;
        text-align: center;
    }
    .aiz-pagination .page-item.active .page-link {
        background: var(--app-primary);
        border-color: var(--app-primary);
        color: #fff;
    }

    /* ---------------------------------------------------------------- checkout: delivery info */
    /* (delivery_info posts with method POST; shipping_info uses GET, so this
       never touches the address step) */
    section.py-4:has(form.form-default[method="POST"][action$="payment_select"]) {
        background: #fff !important;
        padding-top: 4px !important;
    }
    section.py-4 .border.bg-white.p-4:has(> form.form-default[method="POST"][action$="payment_select"]) {
        border: 0 !important;
        padding: 0 !important;
    }
    form.form-default[method="POST"][action$="payment_select"] .card {
        margin-bottom: 20px !important;
        background: transparent;
    }
    form.form-default[method="POST"][action$="payment_select"] .card-header {
        background: transparent;
        padding: 0 0 10px !important;
    }
    form.form-default[method="POST"][action$="payment_select"] .card-header h5 {
        font-size: 18px !important;
        font-weight: 700 !important;
        color: var(--app-heading) !important;
        line-height: 1.5;
    }
    form.form-default[method="POST"][action$="payment_select"] .list-group {
        border: 0 !important;
        padding: 0 !important;
        background: transparent;
    }
    form.form-default[method="POST"][action$="payment_select"] .list-group-item {
        border: 0 !important;
        border-radius: var(--app-radius) !important;
        box-shadow: var(--app-shadow);
        padding: 10px 12px !important;
        margin-bottom: 10px;
    }
    form.form-default[method="POST"][action$="payment_select"] .list-group-item img {
        width: 56px !important;
        height: 56px !important;
        border-radius: 10px;
        background: var(--app-bg);
        object-fit: contain;
    }
    [dir="rtl"] form.form-default[method="POST"][action$="payment_select"] .list-group-item .mr-2 {
        margin-left: 12px !important;
    }
    form.form-default[method="POST"][action$="payment_select"] .list-group-item .fs-14 {
        font-size: 15px !important;
        color: var(--app-text) !important;
        line-height: 1.5;
    }
    form.form-default[method="POST"][action$="payment_select"] h6 {
        font-size: 18px !important;
        font-weight: 700 !important;
        color: var(--app-heading);
        margin: 4px 0 12px !important;
    }
    form.form-default[method="POST"][action$="payment_select"] .row.gutters-5 > .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 10px;
    }
    form.form-default[method="POST"][action$="payment_select"] .aiz-megabox-elem {
        padding: 18px 16px !important;
        align-items: center;
        font-size: 16px;
    }
    form.form-default[method="POST"][action$="payment_select"] .aiz-megabox-elem .aiz-rounded-check {
        margin-top: 0 !important;
    }
    /* "continue to payment" full width, "return to shop" under it */
    form.form-default[method="POST"][action$="payment_select"] > .pt-4.d-flex {
        flex-direction: column-reverse;
        align-items: stretch !important;
        gap: 14px;
        padding-top: 8px !important;
    }
    form.form-default[method="POST"][action$="payment_select"] > .pt-4.d-flex .btn-primary {
        height: 56px;
        border-radius: 16px !important;
        font-size: 18px !important;
    }
    form.form-default[method="POST"][action$="payment_select"] > .pt-4.d-flex .btn-link {
        color: var(--app-secondary) !important;
        font-weight: 500 !important;
        text-align: center;
    }

    /* ---------------------------------------------------------------- checkout: payment */
    section.mb-4:has(form[action$="checkout/payment"]) > .container {
        text-align: right;
    }
    [dir="ltr"] section.mb-4:has(form[action$="checkout/payment"]) > .container {
        text-align: left;
    }
    form[action$="checkout/payment"] > .card {
        background: transparent;
    }
    /* the card header repeats the first heading */
    form[action$="checkout/payment"] > .card > .card-header {
        display: none;
    }
    form[action$="checkout/payment"] > .card > .card-body {
        padding: 0 !important;
        text-align: inherit !important;
    }
    form[action$="checkout/payment"] .card-body h3 {
        font-size: 18px !important;
        font-weight: 700 !important;
        color: var(--app-heading);
        text-align: right;
        margin: 6px 0 12px !important;
    }
    [dir="ltr"] form[action$="checkout/payment"] .card-body h3 { text-align: left; }
    form[action$="checkout/payment"] .card-body .row > [class*="col-md-4"] {
        margin-bottom: 0 !important;
    }
    form[action$="checkout/payment"] .card-body .row > [class*="col-md-4"] > .btn {
        display: block;
        box-shadow: none !important;
        text-align: inherit;
    }
    /* each method: one row card - radio, logo, name */
    form[action$="checkout/payment"] .aiz-megabox2 {
        display: block !important;
        width: 100%;
        margin-bottom: 10px !important;
    }
    form[action$="checkout/payment"] .aiz-megabox2 .aiz-megabox-elem {
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        gap: 14px;
        min-height: 68px;
        padding: 10px 16px !important;
        border: 1px solid #D0D5DD !important;
        border-radius: var(--app-radius) !important;
        background: #fff;
        box-shadow: none;
    }
    form[action$="checkout/payment"] .aiz-megabox2 .aiz-megabox-elem:has(input:checked) {
        border-color: var(--app-primary) !important;
        box-shadow: 0 0 0 1px var(--app-primary);
    }
    form[action$="checkout/payment"] .aiz-megabox2 .aiz-megabox-elem > img {
        order: 1;
        width: 48px;
        height: 40px;
        object-fit: contain;
        margin: 0 !important;
        flex: 0 0 auto;
    }
    form[action$="checkout/payment"] .aiz-megabox2 .aiz-megabox-elem > .d-block {
        order: 2;
        flex: 1 1 auto;
        min-width: 0;
        text-align: inherit !important;
    }
    form[action$="checkout/payment"] .aiz-megabox2 .aiz-megabox-elem > .d-block .fs-15 {
        font-size: 16px !important;
        font-weight: 500 !important;
        color: var(--app-text);
    }
    form[action$="checkout/payment"] .aiz-megabox2 .aiz-megabox-elem > input[type="radio"] {
        order: 0;
        -webkit-appearance: none;
        appearance: none;
        position: static !important;
        opacity: 1 !important;
        flex: 0 0 24px;
        width: 24px;
        height: 24px;
        margin: 0;
        border-radius: 50%;
        background: #D9D9D9;
        pointer-events: none;
    }
    form[action$="checkout/payment"] .aiz-megabox2 .aiz-megabox-elem > input[type="radio"]:checked {
        background: var(--app-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
    }
    /* wallet box */
    form[action$="checkout/payment"] .aiz-megabox2 .aiz-megabox-elem .btn-secondary,
    form[action$="checkout/payment"] .aiz-megabox2 .aiz-megabox-elem .btn-primary {
        border-radius: 10px !important;
    }
    form[action$="checkout/payment"] .aiz-megabox2 > .h6 {
        text-align: inherit;
        font-size: 13px;
        color: var(--app-grey);
    }
    /* pay now, deliver later */
    form[action$="checkout/payment"] .form-group.col-12:has(#showCalendarCheckbox) {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        padding: 6px 15px 0;
    }
    form[action$="checkout/payment"] #showCalendarCheckbox {
        position: static;
        margin: 0;
        width: 20px;
        height: 20px;
        accent-color: var(--app-primary);
    }
    form[action$="checkout/payment"] #calendarContainer {
        flex: 0 0 100%;
    }
    form[action$="checkout/payment"] #calendarContainer .form-control {
        height: 50px;
        border-radius: 10px;
    }
    /* order summary: one grey rounded panel, coupon on top, total in pink */
    #cart_summary {
        margin-top: 16px !important;
    }
    #cart_summary > .card {
        border: 0 !important;
        border-radius: 24px !important;
        background: #EEEEF0 !important;
        overflow: hidden;
    }
    #cart_summary .card-header {
        background: transparent !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 16px 4px !important;
    }
    #cart_summary .card-header h3 {
        font-size: 18px !important;
        color: var(--app-heading);
    }
    #cart_summary .badge {
        border-radius: 999px !important;
        padding: 4px 10px !important;
        height: auto;
    }
    #cart_summary > .card > .px-4 {
        padding: 4px 16px !important;
    }
    #cart_summary > .card > .px-4 h3 {
        font-size: 14px !important;
        font-weight: 400 !important;
        color: var(--app-grey);
    }
    #cart_summary .card-body {
        display: flex;
        flex-direction: column;
        padding: 8px 16px 16px !important;
    }
    #cart_summary .card-body > .mt-3:has(#apply-coupon-form),
    #cart_summary .card-body > .mt-3:has(#remove-coupon-form) {
        order: -1;
        margin: 0 0 12px !important;
    }
    #cart_summary .table {
        margin-bottom: 0;
        background: transparent;
    }
    #cart_summary .table[style] {
        margin-top: 8px !important;
    }
    #cart_summary .table th,
    #cart_summary .table td {
        border-color: #DADDE3 !important;
        font-size: 15px !important;
        color: var(--app-text) !important;
    }
    #cart_summary tfoot th {
        font-weight: 400 !important;
        color: var(--app-grey) !important;
    }
    #cart_summary tfoot td,
    #cart_summary tfoot td .fw-600 {
        font-weight: 500 !important;
    }
    #cart_summary tfoot tr.cart-total th,
    #cart_summary tfoot tr.cart-total td,
    #cart_summary tfoot tr.cart-total th span,
    #cart_summary tfoot tr.cart-total td span {
        color: var(--app-primary) !important;
        font-size: 20px !important;
        font-weight: 700 !important;
        border-top: 0 !important;
    }
    #cart_summary .table thead th {
        font-size: 12px !important;
    }
    #cart_summary .cart_item .product-name {
        line-height: 1.5;
    }
    /* coupon field with the button inside, like the app */
    #cart_summary #apply-coupon-form .input-group,
    #cart_summary #remove-coupon-form .input-group {
        position: relative;
        background: #F8F9FB;
        border-radius: 14px;
        padding: 6px;
    }
    #cart_summary #apply-coupon-form .form-control,
    #cart_summary #remove-coupon-form .form-control {
        height: 46px;
        border: 0 !important;
        background: transparent !important;
        font-size: 15px;
        box-shadow: none !important;
    }
    #cart_summary #apply-coupon-form .form-control {
        padding-left: 120px;
        padding-right: 10px;
    }
    #cart_summary #apply-coupon-form .position-absolute {
        top: 6px;
        bottom: 6px;
        left: 6px;
        z-index: 4;
    }
    #cart_summary #apply-coupon-form .btn-primary {
        height: 100%;
        min-width: 108px;
        border-radius: 10px !important;
        font-weight: 700;
    }
    /* terms + complete order (the mobile copies under the summary) */
    section.mb-4:has(#cart_summary) .pt-3.d-lg-none.d-block {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 14px 15px 0 !important;
        font-size: 13px;
        line-height: 1.8;
        color: var(--app-grey);
    }
    section.mb-4:has(#cart_summary) .pt-3.d-lg-none.d-block a {
        color: var(--app-secondary);
    }
    section.mb-4:has(#cart_summary) .d-lg-none.d-flex:has(button[onclick^="submitOrder"]) {
        flex-direction: column-reverse;
        align-items: stretch !important;
        gap: 14px;
        padding: 14px 15px 8px !important;
    }
    section.mb-4:has(#cart_summary) .d-lg-none.d-flex:has(button[onclick^="submitOrder"]) > .col-6 {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        padding: 0;
        text-align: center !important;
    }
    section.mb-4:has(#cart_summary) button[onclick^="submitOrder"] {
        width: 100%;
        height: 58px;
        border-radius: 16px !important;
        font-size: 18px !important;
        font-weight: 700 !important;
        padding: 0 16px !important;
    }
    section.mb-4:has(#cart_summary) .d-lg-none.d-flex .link {
        color: var(--app-secondary) !important;
        font-weight: 500;
    }

    /* ---------------------------------------------------------------- order confirmed */
    section.py-4:has(h1.text-success) .container {
        text-align: right;
    }
    [dir="ltr"] section.py-4:has(h1.text-success) .container { text-align: left; }
    section.py-4:has(h1.text-success) .text-center.py-4 {
        text-align: center !important;
        padding: 8px 0 20px !important;
    }
    section.py-4:has(h1.text-success) .text-center.py-4 > svg {
        width: 72px;
        height: 72px;
    }
    section.py-4:has(h1.text-success) .text-center.py-4 > svg circle {
        fill: var(--app-primary);
    }
    section.py-4 h1.text-success {
        font-size: 24px !important;
        font-weight: 700 !important;
        color: var(--app-primary) !important;
    }
    section.py-4:has(h1.text-success) .text-center.py-4 p {
        font-size: 14px !important;
        color: var(--app-grey) !important;
    }
    /* summary and each order: rounded cards */
    section.py-4:has(h1.text-success) .bg-white.p-4.border,
    section.py-4:has(h1.text-success) .card.border {
        border: 0 !important;
        border-radius: var(--app-radius) !important;
        box-shadow: var(--app-shadow);
        padding: 16px !important;
        margin-bottom: 16px !important;
    }
    section.py-4:has(h1.text-success) .card.border > .card-body {
        padding: 0 !important;
    }
    section.py-4:has(h1.text-success) h5 {
        font-size: 17px !important;
        font-weight: 700 !important;
        color: var(--app-heading) !important;
        border-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    section.py-4:has(h1.text-success) h2.h5 {
        font-size: 17px !important;
    }
    section.py-4:has(h1.text-success) .card .text-center.py-1 {
        text-align: center !important;
        margin-bottom: 12px !important;
        background: var(--app-bg-2);
        border-radius: 12px;
        padding: 10px !important;
    }
    section.py-4:has(h1.text-success) .bg-white.p-4 .table {
        margin-bottom: 0;
    }
    section.py-4:has(h1.text-success) .bg-white.p-4 .table td {
        font-size: 14px;
        padding: 6px 0 !important;
        color: var(--app-text);
        vertical-align: top;
    }
    section.py-4:has(h1.text-success) .bg-white.p-4 .table td.w-50 {
        width: 42% !important;
        font-weight: 400 !important;
        color: var(--app-grey);
    }
    /* products: one block per line instead of a wide table */
    section.py-4:has(h1.text-success) .table-responsive-md thead {
        display: none;
    }
    section.py-4:has(h1.text-success) .table-responsive-md,
    section.py-4:has(h1.text-success) .table-responsive-md tbody {
        display: block;
        overflow: visible;
    }
    section.py-4:has(h1.text-success) .table-responsive-md tr {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 2px 12px;
        padding: 10px 0;
        border-bottom: 1px solid #EAECF0;
    }
    section.py-4:has(h1.text-success) .table-responsive-md td {
        display: block;
        border: 0 !important;
        padding: 0 !important;
        color: var(--app-grey);
        font-size: 13px;
    }
    section.py-4:has(h1.text-success) .table-responsive-md td:first-child {
        display: none;
    }
    section.py-4:has(h1.text-success) .table-responsive-md td:nth-child(2) {
        flex: 0 0 100%;
        font-size: 15px;
        font-weight: 500;
        color: var(--app-text);
        line-height: 1.5;
    }
    section.py-4:has(h1.text-success) .table-responsive-md td:nth-child(4)::before {
        content: '× ';
    }
    section.py-4:has(h1.text-success) .table-responsive-md td:last-child {
        margin-inline-start: auto;
        font-size: 15px;
        font-weight: 700;
        color: var(--app-primary);
    }
    section.py-4:has(h1.text-success) .col-xl-5.col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    section.py-4:has(h1.text-success) .col-xl-5 .table {
        margin: 8px 0 0;
    }
    section.py-4:has(h1.text-success) .col-xl-5 .table th,
    section.py-4:has(h1.text-success) .col-xl-5 .table td {
        font-size: 14px;
        font-weight: 400;
        color: var(--app-grey);
        padding: 5px 0 !important;
        border: 0 !important;
    }
    section.py-4:has(h1.text-success) .col-xl-5 .table tr:last-child th,
    section.py-4:has(h1.text-success) .col-xl-5 .table tr:last-child td,
    section.py-4:has(h1.text-success) .col-xl-5 .table tr:last-child span {
        color: var(--app-primary);
        font-size: 18px;
        font-weight: 700;
        padding-top: 10px !important;
    }
    section.py-4:has(h1.text-success) .col-md-6.order-1 {
        padding: 8px 0 0;
    }
    section.py-4:has(h1.text-success) .col-md-6.order-1 > .btn {
        display: block;
        width: 100%;
        height: 56px;
        line-height: 40px;
        border-radius: 16px !important;
        font-size: 17px !important;
        text-decoration: none;
    }

    /* ---------------------------------------------------------------- account (user panel) */
    section.py-5:has(> .container > .d-flex > .aiz-user-panel) {
        padding-top: 12px !important;
        padding-bottom: 24px !important;
    }
    .aiz-user-panel {
        min-width: 0;
        width: 100%;
    }
    .aiz-user-panel .aiz-titlebar {
        margin: 4px 0 14px !important;
    }
    .aiz-user-panel .aiz-titlebar h1,
    .aiz-user-panel .aiz-titlebar .h3,
    .aiz-user-panel .aiz-titlebar .h4 {
        font-size: 20px !important;
        font-weight: 700 !important;
        color: var(--app-heading) !important;
        line-height: 1.5;
        margin: 0;
    }
    /* cards: rounded, soft shadow */
    .aiz-user-panel .card {
        border: 0 !important;
        border-radius: var(--app-radius) !important;
        box-shadow: var(--app-shadow) !important;
        overflow: hidden;
    }
    .aiz-user-panel .card-header {
        background: transparent !important;
        border-bottom: 1px solid #EAECF0 !important;
        padding: 14px 16px !important;
        min-height: 0;
    }
    .aiz-user-panel .card-header h5,
    .aiz-user-panel .card-header h6,
    .aiz-user-panel .card-header b {
        font-size: 17px !important;
        font-weight: 700 !important;
        color: var(--app-heading) !important;
    }
    .aiz-user-panel .card-body {
        padding: 12px 16px !important;
    }

    /* dashboard ("حسابي"): the account menu shown on the page, like the app */
    section.py-5 .d-flex:has(> .aiz-user-panel .customer-data-card) {
        flex-direction: column;
        align-items: stretch !important;
    }
    section.py-5 .d-flex:has(> .aiz-user-panel .customer-data-card) > .aiz-user-sidenav-wrap {
        display: block;
        flex: 0 0 auto;
        max-width: none;
        width: 100%;
        height: auto;
        border: 0;
        box-shadow: none !important;
        background: transparent;
        margin-bottom: 8px;
    }
    section.py-5 .d-flex:has(> .aiz-user-panel .customer-data-card) .aiz-user-sidenav {
        position: static;
        height: auto;
        overflow: visible !important;
        padding-bottom: 0 !important;
        background: transparent;
    }
    section.py-5 .d-flex:has(> .aiz-user-panel .customer-data-card) .user-data {
        background: transparent !important;
        color: var(--app-heading) !important;
        text-align: center !important;
        border: 0 !important;
        padding: 4px 0 12px !important;
        margin-bottom: 8px !important;
    }
    section.py-5 .d-flex:has(> .aiz-user-panel .customer-data-card) .user-data .avatar {
        width: 92px;
        height: 92px;
        padding: 4px;
        border-radius: 50%;
        border: 2px dashed #F6C33F;
        background: #fff;
    }
    section.py-5 .d-flex:has(> .aiz-user-panel .customer-data-card) .user-data .avatar img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
    }
    section.py-5 .d-flex:has(> .aiz-user-panel .customer-data-card) .user-data h4 {
        font-size: 20px !important;
        font-weight: 700 !important;
        color: var(--app-heading);
    }
    section.py-5 .d-flex:has(> .aiz-user-panel .customer-data-card) .user-data .opacity-60 {
        color: var(--app-grey);
        opacity: 1 !important;
        direction: ltr;
    }
    /* menu rows: light grey, icon at the start, chevron at the end */
    section.py-5 .d-flex:has(> .aiz-user-panel .customer-data-card) .aiz-side-nav-list {
        padding: 0;
    }
    section.py-5 .d-flex:has(> .aiz-user-panel .customer-data-card) .aiz-side-nav-list > li > .aiz-side-nav-link,
    section.py-5 .d-flex:has(> .aiz-user-panel .customer-data-card) .aiz-side-nav-list > div > li > .aiz-side-nav-link {
        position: relative;
        display: flex;
        align-items: center;
        min-height: 56px;
        padding: 10px 16px !important;
        background: #F5F5F5;
        border-bottom: 1px solid #E6E6E6;
        border-radius: 0 !important;
        color: var(--app-text) !important;
        font-size: 16px;
    }
    section.py-5 .d-flex:has(> .aiz-user-panel .customer-data-card) .aiz-side-nav-link.active {
        background: #F5F5F5 !important;
        color: var(--app-primary) !important;
    }
    section.py-5 .d-flex:has(> .aiz-user-panel .customer-data-card) .aiz-side-nav-icon {
        font-size: 22px !important;
        width: 24px;
        margin: 0 0 0 12px !important;
        color: var(--app-text);
    }
    [dir="ltr"] section.py-5 .d-flex:has(> .aiz-user-panel .customer-data-card) .aiz-side-nav-icon {
        margin: 0 12px 0 0 !important;
    }
    section.py-5 .d-flex:has(> .aiz-user-panel .customer-data-card) .aiz-side-nav-link:not(:has(.aiz-side-nav-arrow))::after {
        content: '\f104';
        font-family: 'Line Awesome Free';
        font-weight: 900;
        margin-inline-start: auto;
        font-size: 18px;
        color: var(--app-text);
    }
    [dir="ltr"] section.py-5 .d-flex:has(> .aiz-user-panel .customer-data-card) .aiz-side-nav-link:not(:has(.aiz-side-nav-arrow))::after {
        content: '\f105';
    }
    section.py-5 .d-flex:has(> .aiz-user-panel .customer-data-card) .aiz-side-nav-list .level-2 .aiz-side-nav-link {
        background: #fff;
        min-height: 48px;
        padding-inline-start: 52px !important;
        border-bottom: 1px solid #EFEFEF;
        font-size: 15px;
    }
    /* language / currency switchers: same rows (dropdowns unchanged) */
    section.py-5 .d-flex:has(> .aiz-user-panel .customer-data-card) .aiz-side-nav-list br {
        display: none;
    }
    section.py-5 .d-flex:has(> .aiz-user-panel .customer-data-card) #lang-change,
    section.py-5 .d-flex:has(> .aiz-user-panel .customer-data-card) #currency-change {
        display: block;
        margin: 0 !important;
    }
    section.py-5 .d-flex:has(> .aiz-user-panel .customer-data-card) #lang-change > a,
    section.py-5 .d-flex:has(> .aiz-user-panel .customer-data-card) #currency-change > a {
        align-items: center;
        min-height: 56px;
        padding: 10px 16px !important;
        background: #F5F5F5;
        border-bottom: 1px solid #E6E6E6;
        color: var(--app-text) !important;
    }
    section.py-5 .d-flex:has(> .aiz-user-panel .customer-data-card) #lang-change > a svg,
    section.py-5 .d-flex:has(> .aiz-user-panel .customer-data-card) #currency-change > a svg {
        fill: var(--app-text) !important;
        flex: 0 0 auto;
    }
    section.py-5 .d-flex:has(> .aiz-user-panel .customer-data-card) #lang-change > a span,
    section.py-5 .d-flex:has(> .aiz-user-panel .customer-data-card) #currency-change > a span {
        font-size: 16px !important;
        font-weight: 400 !important;
        color: var(--app-text) !important;
        margin: 0 12px !important;
        width: auto !important;
    }
    section.py-5 .d-flex:has(> .aiz-user-panel .customer-data-card) #lang-change > a::after,
    section.py-5 .d-flex:has(> .aiz-user-panel .customer-data-card) #currency-change > a::after {
        content: '\f107';
        font-family: 'Line Awesome Free';
        font-weight: 900;
        margin-inline-start: auto;
        font-size: 18px;
        border: 0;
    }
    /* the dashboard's own figures: a compact 2 x 2 grid under the menu */
    .aiz-user-panel:has(.customer-data-card) > .aiz-titlebar {
        margin-top: 12px !important;
    }
    .aiz-user-panel .row.gutters-10:has(> .customer-data-card) {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin: 0 0 14px !important;
    }
    .aiz-user-panel .customer-data-card {
        max-width: none !important;
        padding: 0 !important;
    }
    .aiz-user-panel .customer-data-card > div {
        flex-direction: column;
        align-items: flex-start !important;
        height: 100%;
        margin: 0 !important;
        padding: 12px !important;
        border-radius: var(--app-radius) !important;
        background: var(--app-bg-2) !important;
    }
    .aiz-user-panel .customer-data-card .data-icons {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--app-primary) !important;
    }
    .aiz-user-panel .customer-data-card .data-icons img {
        height: 22px !important;
        margin: 0 !important;
    }
    .aiz-user-panel .customer-data-card > div > div:last-child {
        padding: 8px 0 0 !important;
    }
    .aiz-user-panel .customer-data-card .h3 {
        font-size: 17px !important;
        font-weight: 700 !important;
        color: var(--app-heading);
        margin: 0;
    }
    .aiz-user-panel .customer-data-card .opacity-50 {
        font-size: 13px;
        color: var(--app-grey);
        opacity: 1 !important;
    }
    .aiz-user-panel .card .list-unstyled li {
        padding: 6px 0 !important;
        font-size: 14px;
        color: var(--app-text);
        border-bottom: 1px solid #F2F4F7;
    }
    .aiz-user-panel .card .list-unstyled li:last-child { border-bottom: 0; }

    /* orders (purchase history): every order a rounded row card */
    .aiz-user-panel .card:has(> .card-body:not(.table-responsive) > table.aiz-table) {
        box-shadow: none !important;
        background: transparent !important;
        overflow: visible;
    }
    .aiz-user-panel .card:has(> .card-body:not(.table-responsive) > table.aiz-table) > .card-header {
        border: 0 !important;
        padding: 4px 0 6px !important;
    }
    .aiz-user-panel .card:has(> .card-body:not(.table-responsive) > table.aiz-table) > .card-header h5 {
        font-size: 20px !important;
    }
    .aiz-user-panel .card:has(> .card-body:not(.table-responsive) > table.aiz-table) > .card-body {
        padding: 0 !important;
    }
    .aiz-user-panel .card:has(> .card-body:not(.table-responsive) > table.aiz-table) table.aiz-table {
        border-collapse: separate;
        border-spacing: 0 10px;
        margin-top: -10px;
    }
    .aiz-user-panel .card:has(> .card-body:not(.table-responsive) > table.aiz-table) table.aiz-table thead th {
        border: 0 !important;
        padding: 0 12px !important;
        font-size: 12px;
        color: var(--app-muted);
        font-weight: 400;
    }
    .aiz-user-panel .card:has(> .card-body:not(.table-responsive) > table.aiz-table) table.aiz-table tbody > tr > td {
        background: #fff;
        border: 0 !important;
        padding: 14px 10px !important;
        vertical-align: middle;
    }
    .aiz-user-panel .card:has(> .card-body:not(.table-responsive) > table.aiz-table) table.aiz-table tbody > tr {
        filter: drop-shadow(0 2px 4px rgba(16, 24, 40, 0.08));
    }
    .aiz-user-panel .card:has(> .card-body:not(.table-responsive) > table.aiz-table) table.aiz-table tbody > tr > td:first-child {
        border-radius: 0 var(--app-radius) var(--app-radius) 0;
    }
    .aiz-user-panel .card:has(> .card-body:not(.table-responsive) > table.aiz-table) table.aiz-table tbody > tr > td:last-child {
        border-radius: var(--app-radius) 0 0 var(--app-radius);
    }
    [dir="ltr"] .aiz-user-panel .card:has(> .card-body:not(.table-responsive) > table.aiz-table) table.aiz-table tbody > tr > td:first-child {
        border-radius: var(--app-radius) 0 0 var(--app-radius);
    }
    [dir="ltr"] .aiz-user-panel .card:has(> .card-body:not(.table-responsive) > table.aiz-table) table.aiz-table tbody > tr > td:last-child {
        border-radius: 0 var(--app-radius) var(--app-radius) 0;
    }
    .aiz-user-panel .card:has(> .card-body:not(.table-responsive) > table.aiz-table) table.aiz-table tbody > tr > td:only-child {
        border-radius: var(--app-radius);
    }
    .aiz-user-panel table.aiz-table tbody td a:not(.btn) {
        color: var(--app-secondary);
        font-weight: 500;
    }
    .aiz-user-panel .card:has(> .card-body:not(.table-responsive) > table.aiz-table) table.aiz-table tbody td.fw-700 {
        color: var(--app-primary);
        white-space: nowrap;
    }
    .aiz-user-panel table.aiz-table .footable-toggle {
        color: var(--app-primary);
    }
    .aiz-user-panel table.aiz-table .footable-details th,
    .aiz-user-panel table.aiz-table .footable-details td {
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        font-size: 13px;
        padding: 4px 0 !important;
    }
    .aiz-user-panel table.aiz-table .footable-details th {
        color: var(--app-grey);
        font-weight: 400;
    }
    .aiz-user-panel table.aiz-table .btn-icon {
        width: 34px;
        height: 34px;
    }
    /* no orders yet: the app's empty illustration */
    /* (the table plugin adds its own "nothing found" row: illustration
       instead of its sad face, message in the app's style) */
    .aiz-user-panel .card:has(> .card-body:not(.table-responsive) > table.aiz-table):has(tr.footable-empty) thead {
        display: none;
    }
    .aiz-user-panel .card:has(> .card-body:not(.table-responsive) > table.aiz-table) table.aiz-table tbody > tr.footable-empty > td {
        background: transparent;
        border-radius: 0 !important;
        padding: 290px 8px 8px !important;
        font-size: 22px;
        font-weight: 700;
        color: var(--app-primary);
        text-align: center;
    }
    .aiz-user-panel .card:has(> .card-body:not(.table-responsive) > table.aiz-table) table.aiz-table tbody > tr.footable-empty {
        filter: none;
    }
    .aiz-user-panel table.aiz-table.footable > tbody > tr.footable-empty > td::before {
        content: '';
        top: 24px;
        left: 0;
        right: 0;
        height: 240px;
        transform: none;
        opacity: 1;
        background: url('../img/app-icons/empty_order.svg') center / contain no-repeat;
    }

    /* order details */
    .aiz-user-panel .aiz-titlebar h1.fs-20 {
        font-size: 18px !important;
        word-break: break-word;
    }
    .aiz-user-panel .table-borderless td {
        padding: 6px 0 !important;
        font-size: 14px;
        color: var(--app-text);
        vertical-align: top;
    }
    .aiz-user-panel .table-borderless td.w-50,
    .aiz-user-panel .table-borderless td.text-main {
        width: 42% !important;
        font-weight: 400 !important;
        color: var(--app-grey);
    }
    .aiz-user-panel .card-body.table-responsive {
        overflow: visible;
    }
    .aiz-user-panel .card-body.table-responsive table.aiz-table th,
    .aiz-user-panel .card-body.table-responsive table.aiz-table td {
        border-color: #EAECF0 !important;
        font-size: 14px;
        vertical-align: top;
    }
    .aiz-user-panel .card-body.table-responsive table.aiz-table td a {
        color: var(--app-text) !important;
        line-height: 1.5;
    }
    .aiz-user-panel .card-body.table-responsive table.aiz-table td.fw-700 {
        color: var(--app-primary);
        white-space: nowrap;
    }

    .aiz-user-panel .col-md-6.order-1 > a.btn.bg-primary {
        display: block;
        width: 100%;
        height: 54px;
        line-height: 38px;
        border-radius: 16px !important;
        font-size: 16px !important;
        text-decoration: none;
    }

    /* wishlist: the product cards in two columns, empty state like the app */
    .aiz-user-panel .row.gutters-5:has(> [id^="wishlist_"]) {
        margin: 0 -6px;
    }
    .aiz-user-panel .row.gutters-5 > [id^="wishlist_"] {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0 6px;
    }
    .aiz-user-panel [id^="wishlist_"] > .card {
        box-shadow: none !important;
        background: transparent;
        overflow: visible;
        height: calc(100% - 8px);
    }
    .aiz-user-panel [id^="wishlist_"] > .card > .card-body {
        padding: 0 !important;
        height: 100%;
    }
    .aiz-user-panel [id^="wishlist_"] .aiz-card-box {
        height: 100%;
    }
    .aiz-user-panel .row.gutters-5 > .col > .text-center.shadow {
        box-shadow: none !important;
        background: transparent !important;
        padding: 32px 8px !important;
    }
    /* the app's empty wishlist picture instead of the site's */
    .aiz-user-panel .row.gutters-5 > .col > .text-center.shadow img {
        display: none;
    }
    .aiz-user-panel .row.gutters-5 > .col > .text-center.shadow::before {
        content: '';
        display: block;
        height: 240px;
        background: url('../img/app-icons/empty_wish_list.svg') center / contain no-repeat;
    }
    .aiz-user-panel .row.gutters-5 > .col > .text-center.shadow h5 {
        font-size: 22px !important;
        font-weight: 700 !important;
        color: var(--app-primary);
        margin-top: 24px !important;
    }

    /* ---------------------------------------------------------------- page width */
    html, body { overflow-x: clip; }
}
