/* ============================================================================
   My Account — modern look, CSS only. Loaded AFTER css-my-account/style.css.
   Same colors (orange #f78d1e heading, #008186 accent, the tiles keep their
   existing background images/palettes) and same fonts. No markup/logic changes.
   ============================================================================ */

/* Page heading: same orange, accent bar in the same #008186 teal */
.topHeadingArea {
    border-bottom: none;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

    .topHeadingArea::after {
        content: "";
        position: absolute;
        left: 2px;
        bottom: 0;
        width: 56px;
        height: 4px;
        border-radius: 4px;
        background: #008186;
    }

/* ---------------- Sidebar: profile card ---------------- */
.myaccountSideBarSec {
    position: relative; /* anchor for the edit button */
    background: #ffffff;
    border: 1px solid #e4e8ed;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(16, 42, 67, 0.06);
    overflow: hidden;
    padding-bottom: 8px;
}

.accountUserInfo {
    padding: 16px 0 14px;
    border-bottom: 1px solid #eef1f4;
}

    /* the pic/text children are floats — clear them so the block keeps real height */
    .accountUserInfo::after {
        content: "";
        display: block;
        clear: both;
    }

/* edit icon → circular button pinned inside the card's top-right corner.
   Anchored to the card itself (overflow:hidden), so it can never sit outside it. */
.editBoxarea {
    position: absolute !important;
    top: 10px;
    right: 10px;
    left: auto;
    bottom: auto;
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: right;
    z-index: 5;
}

.editBoxarea a {
    display: inline-block;
    background: #ffffff;
    border: 1px solid #e0e6ee;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    line-height: 26px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(16, 42, 67, 0.10);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

    .editBoxarea a:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 10px rgba(16, 42, 67, 0.18);
    }

    .editBoxarea a img {
        float: none;
        margin: 0;
        vertical-align: middle;
        max-width: 15px;
        padding:9px;
    }

/* avatar in a soft circle */
.accountUserPicArea img {
    background: #f0f6fa;
    border: 1px solid #d9e7ee;
    border-radius: 50%;
    padding: 8px;
    box-sizing: border-box;
    max-width: 76%;
}

/* name bold, contact lines muted */
.accountUsertxtArea {
    font-size: 13px;
    line-height: 20px;
    color: #6b7a8c;
    padding-top: 6px;
    word-wrap: break-word;
}

    .accountUsertxtArea span[id$="lblName"] {
        font-size: 15px;
        font-weight: 700;
        color: #1a2b49;
    }

/* "My Profile" panel: clean section header + link rows */
.sideNavDrop .panel-default > .panel-heading {
    background: #f5f7fa !important;
    border: none !important;
    border-bottom: 1px solid #e8ecf1 !important;
}

.sideNavDrop .panel-title > a {
    font-weight: 700 !important;
    color: #1a2b49 !important;
    text-decoration: none !important;
}

.sideNavDrop .panel-group .panel {
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
}

.sideNavDrop .panel-body {
    padding: 4px 0 !important;
    border: none !important;
}

    .sideNavDrop .panel-body ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

        .sideNavDrop .panel-body ul li {
            border-bottom: 1px solid #f0f3f6;
        }

            .sideNavDrop .panel-body ul li:last-child {
                border-bottom: none;
            }

            .sideNavDrop .panel-body ul li a {
                display: block;
                padding: 10px 16px !important;
                font-size: 13px;
                font-weight: 600;
                color: #33455c !important;
                text-decoration: none !important;
                border-left: 3px solid transparent;
                transition: background 0.13s ease, color 0.13s ease, border-color 0.13s ease, padding-left 0.13s ease;
            }

                .sideNavDrop .panel-body ul li a:hover {
                    background: #f0f6fa;
                    color: #008186 !important;
                    border-left-color: #f78d1e;
                    padding-left: 21px !important;
                }

/* ---------------- Tiles ---------------- */
/* Keep each tile's existing background image / palette; modernize the shape,
   alignment and hover. Flex centers icon + label cleanly (kills the % offsets). */
.rowTypeADJ a div.linkBox {
    display: flex !important;
    align-items: center;
    justify-content: flex-start; /* left-aligned so icons line up column by column */
    min-height: 115px;
    padding: 0 16px 0 26px;
    box-sizing: border-box;
    border: none !important;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(16, 42, 67, 0.10);
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

    .rowTypeADJ a div.linkBox img {
        float: none !important;
        margin: 0 12px 0 0 !important;
        max-height: 40px;
    }

.rowTypeADJ a:hover div.linkBox {
    opacity: 1 !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(16, 42, 67, 0.18);
}

/* the Account Setting tile is wrapped in a LinkButton — same treatment */
.rowTypeADJ a {
    text-decoration: none !important;
}

@media screen and (max-width: 767px) {
    .rowTypeADJ a div.linkBox {
        min-height: 76px;
        font-size: 16px;
    }

        .rowTypeADJ a div.linkBox img {
            max-height: 30px;
        }
}

/* ---------------- Tiles - Option C (2026-11-21) ----------------
   my-account.aspx, .rowTypeADJ.acc-c: one large "Your orders" card on the left
   (spans two rows), four white shortcut cards beside it. The old background
   images / per-tile colours and the <img> icons are replaced by one white card
   style with a line icon in a soft chip (CSS only). Links, the hidden tiles and
   the Account settings LinkButton are unchanged. */
.rowTypeADJ.acc-c {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
    float: none;
    width: auto;
    margin: 0 15px 16px;
}

    .rowTypeADJ.acc-c > a {
        display: block;
        min-width: 0;
        text-decoration: none !important;
    }

        /* the first visible tile (Your orders) takes two rows */
        .rowTypeADJ.acc-c > a:first-of-type {
            grid-row: span 2;
        }

    .rowTypeADJ.acc-c a div.linkBox {
        position: relative;
        display: flex !important;
        align-items: center;
        gap: 12px;
        float: none;
        width: auto !important;
        height: 100%;
        min-height: 78px;
        margin: 0;
        padding: 14px 40px 14px 16px;
        box-sizing: border-box;
        border: 1px solid #e3e9ee !important;
        border-radius: 12px;
        background: #ffffff !important;
        box-shadow: 0 1px 4px rgba(16, 42, 67, 0.06);
        font-size: 14.5px;
        font-weight: 600;
        line-height: 19px;
        letter-spacing: 0;
        color: #1a2b49;
        text-align: left;
        transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
    }

        .rowTypeADJ.acc-c a div.linkBox img {
            display: none !important;
        }

        /* icon chip */
        .rowTypeADJ.acc-c a div.linkBox::before {
            content: "";
            flex: none;
            width: 40px;
            height: 40px;
            border-radius: 10px;
            background: #e6f4f4 no-repeat center / 20px 20px;
        }

        /* chevron */
        .rowTypeADJ.acc-c a div.linkBox::after {
            content: "";
            position: absolute;
            top: 50%;
            right: 14px;
            width: 16px;
            height: 16px;
            margin-top: -8px;
            background: no-repeat center / 16px 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa8b4' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E");
            transition: transform 0.16s ease;
        }

    .rowTypeADJ.acc-c a:hover div.linkBox {
        opacity: 1 !important;
        transform: translateY(-2px);
        border-color: #b9dcdc !important;
        box-shadow: 0 8px 18px rgba(16, 42, 67, 0.12);
    }

        .rowTypeADJ.acc-c a:hover div.linkBox::after {
            transform: translateX(3px);
        }

    /* icons */
    .rowTypeADJ.acc-c .boxWishList::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23008186' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E") !important;
    }

    .rowTypeADJ.acc-c .myGiftcard::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23008186' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z'/%3E%3C/svg%3E") !important;
    }

    .rowTypeADJ.acc-c .setting::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23008186' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 1 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06A1.65 1.65 0 0 0 4.68 15a1.65 1.65 0 0 0-1.51-1H3a2 2 0 1 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06A1.65 1.65 0 0 0 9 4.68a1.65 1.65 0 0 0 1-1.51V3a2 2 0 1 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06A1.65 1.65 0 0 0 19.4 9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 1 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z'/%3E%3C/svg%3E") !important;
    }

    .rowTypeADJ.acc-c .digitalOrder::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23008186' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 17.75l-6.17 3.24 1.18-6.87-5-4.86 6.9-1 3.09-6.26 3.09 6.26 6.9 1-5 4.86 1.18 6.87z'/%3E%3C/svg%3E") !important;
    }

    /* the large "Your orders" card: orange chip and left edge, title + line + link */
    .rowTypeADJ.acc-c a div.linkBox.boxMyOrder {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 6px;
        padding: 20px 22px 20px 20px;
        border-left: 4px solid #f78d1e !important;
        color: #1a2b49;
    }

        .rowTypeADJ.acc-c a div.linkBox.boxMyOrder::before {
            width: 48px;
            height: 48px;
            margin-bottom: 6px;
            border-radius: 12px;
            background-color: #fff1e3;
            background-size: 24px 24px;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e07b10' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3Cpath d='M2.5 3.5h2.6l2.4 11.5h11.4L21.5 7H6'/%3E%3C/svg%3E");
        }

        .rowTypeADJ.acc-c a div.linkBox.boxMyOrder::after {
            display: none;
        }

        .rowTypeADJ.acc-c .boxMyOrder .acc-t {
            font-size: 18px;
            font-weight: 700;
            line-height: 23px;
        }

        .rowTypeADJ.acc-c .boxMyOrder .acc-d {
            font-size: 13px;
            font-weight: 400;
            line-height: 19px;
            color: #5b6b7a;
        }

        .rowTypeADJ.acc-c .boxMyOrder .acc-go {
            margin-top: 4px;
            font-size: 13px;
            font-weight: 700;
            color: #c8650a;
        }

            .rowTypeADJ.acc-c .boxMyOrder .acc-go::after {
                content: "\2192";
                display: inline-block;
                margin-left: 6px;
                transition: transform 0.16s ease;
            }

    .rowTypeADJ.acc-c a:hover div.linkBox.boxMyOrder {
        border-color: #f6c99a !important;
        border-left-color: #f78d1e !important;
    }

        .rowTypeADJ.acc-c a:hover .boxMyOrder .acc-go::after {
            transform: translateX(4px);
        }

/* narrower content: Your orders across the top, shortcuts two per row */
@media screen and (max-width: 1100px) {
    .rowTypeADJ.acc-c {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

        .rowTypeADJ.acc-c > a:first-of-type {
            grid-column: 1 / -1;
            grid-row: auto;
        }

        .rowTypeADJ.acc-c a div.linkBox.boxMyOrder {
            display: grid !important;
            grid-template-columns: auto minmax(0, 1fr);
            column-gap: 14px;
            row-gap: 2px;
            align-items: center;
            padding: 16px 18px;
        }

            .rowTypeADJ.acc-c a div.linkBox.boxMyOrder::before {
                grid-row: 1 / span 3;
                margin-bottom: 0;
            }
}

/* phone: one card per row */
@media screen and (max-width: 480px) {
    .rowTypeADJ.acc-c {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        margin: 0 0 14px;
    }

        .rowTypeADJ.acc-c a div.linkBox {
            min-height: 64px;
            font-size: 14px;
        }
}

.rowTypeADJ.acc-c a div.linkBox:not(.boxMyOrder) .acc-d {
    display: none;
}

/* desktop / laptop: bigger cards, about as tall as the profile box beside them */
@media screen and (min-width: 1101px) {
    .rowTypeADJ.acc-c {
        gap: 16px;
    }

        .rowTypeADJ.acc-c a div.linkBox {
            flex-direction: column;
            align-items: flex-start;
            justify-content: flex-start;
            gap: 4px;
            min-height: 160px;
            padding: 22px 22px 20px;
            border-radius: 14px;
        }

            .rowTypeADJ.acc-c a div.linkBox::before {
                width: 52px;
                height: 52px;
                margin-bottom: 12px;
                border-radius: 13px;
                background-size: 26px 26px;
            }

            /* arrow moves to the bottom-right corner */
            .rowTypeADJ.acc-c a div.linkBox::after {
                top: auto;
                bottom: 20px;
                right: 20px;
                width: 20px;
                height: 20px;
                margin-top: 0;
                background-size: 20px 20px;
            }

            .rowTypeADJ.acc-c a div.linkBox .acc-t {
                font-size: 17px;
                font-weight: 700;
                line-height: 22px;
            }

            .rowTypeADJ.acc-c a div.linkBox:not(.boxMyOrder) .acc-d {
                display: block;
                padding-right: 24px;
                font-size: 13px;
                font-weight: 400;
                line-height: 19px;
                color: #5b6b7a;
            }

        /* Your orders */
        .rowTypeADJ.acc-c a div.linkBox.boxMyOrder {
            justify-content: center;
            gap: 8px;
            padding: 28px 30px;
        }

            .rowTypeADJ.acc-c a div.linkBox.boxMyOrder::before {
                width: 64px;
                height: 64px;
                margin-bottom: 10px;
                border-radius: 16px;
                background-size: 32px 32px;
            }

            .rowTypeADJ.acc-c .boxMyOrder .acc-t {
                font-size: 24px;
                line-height: 30px;
            }

            .rowTypeADJ.acc-c .boxMyOrder .acc-d {
                font-size: 14.5px;
                line-height: 21px;
            }

            .rowTypeADJ.acc-c .boxMyOrder .acc-go {
                display: inline-flex;
                align-items: center;
                height: 38px;
                margin-top: 10px;
                padding: 0 18px;
                border-radius: 8px;
                background: #f78d1e;
                font-size: 14px;
                color: #ffffff;
            }

        .rowTypeADJ.acc-c a:hover .boxMyOrder .acc-go {
            background: #e07b10;
        }
}

/* ============================================================================
   Order History (my-account-order-history.aspx) — same modern treatment.
   Scoped to .orderhistorysection / .productlistnext-prevarea.
   ============================================================================ */

/* Heading: teal accent bar under it, color/font unchanged */
.orderhistorysection h2 {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 14px;
}

    .orderhistorysection h2::after {
        content: "";
        position: absolute;
        left: 2px;
        bottom: 0;
        width: 56px;
        height: 4px;
        border-radius: 4px;
        background: #008186;
    }

/* Filter bar → compact card row */
.orderhistorysection .filterby {
    background: #f7f9fb;
    border: 1px solid #e8ecf1;
    border-radius: 10px;
    padding: 10px 14px !important;
    margin-bottom: 14px;
}

    .orderhistorysection .filterby .left {
        font-weight: 700;
        color: #1a2b49;
        line-height: 34px;
    }

    .orderhistorysection .filterby select {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        min-width: 230px;
        height: 38px;
        border: 1px solid #cfd8e3;
        border-radius: 8px;
        padding: 4px 36px 8px 12px;
        font-size: 13px;
        color: #333f4d;
        background: #ffffff url(../images/drop-arrow.png) no-repeat right 12px center;
        cursor: pointer;
        outline: none;
        transition: border-color 0.15s ease, box-shadow 0.15s ease;
    }

        .orderhistorysection .filterby select:hover {
            border-color: #9fb4cb;
        }

        .orderhistorysection .filterby select:focus {
            border-color: #008186;
            box-shadow: 0 0 0 2px rgba(0, 129, 134, 0.12);
        }

/* Listing table → card with modern rows */
.orderhistorysection .TscAdj {
    width: 100% !important;   /* legacy mobile CSS forces .TscAdj to 780px — the card must fit its column */
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #e8ecf1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(16, 42, 67, 0.06);
    width:99%
}

/* Desktop: no scrollbar — with table-layout:fixed the table fits its container.
   Mobile (below): the wrapper's inline overflow-x:auto is allowed to work again. */
@media screen and (min-width: 768px) {
    .orderhistorysection div[style*="overflow-x"] {
        overflow-x: hidden !important;
    }
}

/* tablets (768px to 991px): six columns in roughly 550px - tighter cells, the
   status badge may wrap, and the Sl.No column stops eating a fifth of the row */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .orderhistorysection table.tabBoxcontline td {
        padding: 9px 6px;
        font-size: 12.5px;
    }

    .orderhistorysection table.tabBoxcontline tr:first-child td {
        padding: 9px 6px;
        font-size: 10.5px;
        letter-spacing: 0;
    }

    .orderhistorysection table.tabBoxcontline td:nth-child(1) { width: 7%; }
    .orderhistorysection table.tabBoxcontline td:nth-child(2) { width: 18%; }
    .orderhistorysection table.tabBoxcontline td:nth-child(3) { width: 16%; }
    .orderhistorysection table.tabBoxcontline td:nth-child(4) { width: 21%; }
    .orderhistorysection table.tabBoxcontline td:nth-child(5) { width: 18%; }
    .orderhistorysection table.tabBoxcontline td:nth-child(6) { width: 20%; }

    .orderhistorysection .ppo-badge {
        white-space: normal;
        padding: 2px 8px;
        font-size: 11px;
        line-height: 16px;
    }
}

/* phones: the six-column table becomes one card per order. The header row is
   hidden and each cell shows its own label (the column order is fixed by the
   repeater: Sl.No, Order Number, Invoice Number, Order Status, Order Amount,
   Order Date Time). Same colours as the table. */
@media screen and (max-width: 767px) {
    .orderhistorysection .filterby {
        display: block;
        float: none;
        width: 100% !important;
        box-sizing: border-box;
    }

    .orderhistorysection .filterby .left,
    .orderhistorysection .filterby .right {
        float: none;
        width: auto;
    }

    .orderhistorysection .filterby .right label {
        display: block;
    }

    .orderhistorysection .filterby select {
        display: block;
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .orderhistorysection .TscAdj {
        background: none;
        border: 0;
        box-shadow: none;
        overflow: visible;
    }

    .orderhistorysection table.tabBoxcontline,
    .orderhistorysection table.tabBoxcontline tbody {
        display: block;
        width: 100%;
        min-width: 0;
    }

        .orderhistorysection table.tabBoxcontline tr {
            display: block;
            margin: 0 0 12px;
            padding: 6px 14px;
            border: 1px solid #e8ecf1;
            border-radius: 12px;
            background: #ffffff;
            box-shadow: 0 2px 10px rgba(16, 42, 67, 0.06);
        }

        .orderhistorysection table.tabBoxcontline tr:first-child {
            display: none;                  /* column headings */
        }

        .orderhistorysection table.tabBoxcontline tr:nth-child(even) td,
        .orderhistorysection table.tabBoxcontline tr:hover td {
            background: none;
        }

        .orderhistorysection table.tabBoxcontline td {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            width: auto !important;
            padding: 8px 0;
            border-bottom: 1px solid #eef2f5;
            font-size: 13px;
            text-align: right;
        }

            .orderhistorysection table.tabBoxcontline td:last-child {
                border-bottom: 0;
            }

            .orderhistorysection table.tabBoxcontline td::before {
                flex: none;
                font-size: 11px;
                font-weight: 700;
                letter-spacing: 0.4px;
                text-transform: uppercase;
                color: #6b7a8c;
                text-align: left;
            }

            .orderhistorysection table.tabBoxcontline td:nth-child(1)::before { content: "Sl.No"; }
            .orderhistorysection table.tabBoxcontline td:nth-child(2)::before { content: "Order number"; }
            .orderhistorysection table.tabBoxcontline td:nth-child(3)::before { content: "Invoice number"; }
            .orderhistorysection table.tabBoxcontline td:nth-child(4)::before { content: "Order status"; }
            .orderhistorysection table.tabBoxcontline td:nth-child(5)::before { content: "Order amount"; }
            .orderhistorysection table.tabBoxcontline td:nth-child(6)::before { content: "Order date"; }
}

.orderhistorysection table.tabBoxcontline {
    border-collapse: collapse !important;
    table-layout: fixed; /* columns honor their % widths — no overflow, ever */
    width: 100%;
    background: none !important;
}

    /* header row (first tr holds the <strong> column labels): teal gradient band */
    .orderhistorysection table.tabBoxcontline tr:first-child td {
        background: linear-gradient(135deg, #4184bb, #4184bb);
        color: #ffffff;
        font-size: 11.5px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        padding: 11px 12px;
        border-bottom: none;
    }

        .orderhistorysection table.tabBoxcontline tr:first-child td strong {
            font-weight: 700;
            color: #ffffff;
        }

    .orderhistorysection table.tabBoxcontline td {
        padding: 11px 12px;
        border-bottom: 1px solid #eef2f5;
        font-size: 13.5px;
        color: #333f4d;
        vertical-align: middle;
        overflow-wrap: break-word; /* long values wrap instead of widening columns */
        transition: background 0.12s ease;
    }

    /* zebra stripes + teal-tinted hover */
    .orderhistorysection table.tabBoxcontline tr:nth-child(even) td {
        background: #f7f9fb;
    }

    .orderhistorysection table.tabBoxcontline tr:hover td {
        background: #eaf4f6;
    }

    .orderhistorysection table.tabBoxcontline tr:first-child:hover td {
        background: linear-gradient(135deg, #4184bb, #4184bb)
    }

/* Status badges (classes added by the small presentation script on the page) */
.ppo-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    white-space: nowrap;
}

.ppo-proc {
    background: #fef4e4;
    color: #b3620e;
    border: 1px solid #f6e3c8;
}

.ppo-done {
    background: #e8f6ec;
    color: #1e7d3f;
    border: 1px solid #cdead6;
}

.ppo-part {
    background: #eaf1fb;
    color: #27508e;
    border: 1px solid #d8e2f0;
}

.ppo-canc {
    background: #fdecec;
    color: #c0392b;
    border: 1px solid #f5ccc8;
}

.ppo-other {
    background: #f5f6f8;
    color: #6b7a8c;
    border: 1px solid #e4e8ed;
}

    .orderhistorysection table.tabBoxcontline td a {
        font-weight: 600;
        text-decoration: none;
    }

        .orderhistorysection table.tabBoxcontline td a:hover {
            color: #008186 !important;
            text-decoration: none;
        }

/* Pager → pill buttons */
.productlistnext-prevarea .page a,
.productlistnext-prevarea .page span {
    display: inline-block;
    min-width: 30px;
    height: 30px;
    line-height: 28px;
    text-align: center;
    padding: 0 8px;
    margin: 2px 3px;
    border: 1px solid #d8e2f0;
    border-radius: 8px;
    background: #ffffff;
    color: #33455c;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.13s ease, color 0.13s ease;
    box-sizing: border-box;
}

    .productlistnext-prevarea .page a:hover {
        background: #008186;
        border-color: #008186;
        color: #ffffff;
    }

/* current page (rendered as span) */
.productlistnext-prevarea .page span {
    background: #008186;
    border-color: #008186;
    color: #ffffff;
}

/* ============================================================================
   Manage Cards (my-account-creditcards.aspx) — same modern treatment.
   Scoped to .managereceipentarea_3. The repeater nests a table per row, so the
   outer rows carry the separators and the inner cells carry the spacing.
   ============================================================================ */

.managereceipentarea_3 > h2 {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 14px;
}

    .managereceipentarea_3 > h2::after {
        content: "";
        position: absolute;
        left: 2px;
        bottom: 0;
        width: 56px;
        height: 4px;
        border-radius: 4px;
        background: #008186;
    }

/* card container around the listing */
.managereceipentarea_3 .TscAdj {
    width: 100% !important;   /* legacy mobile CSS forces .TscAdj to 780px — the card must fit its column */
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #e8ecf1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(16, 42, 67, 0.06);
    width:99%;
}

.managereceipentarea_3 .TscAdj > table {
    border-collapse: collapse !important;
    width: 100%;
}

    /* outer rows: separators + hover tint (inner tables inherit transparent bg) */
    .managereceipentarea_3 .TscAdj > table > tbody > tr > td {
        padding: 0;
        border-bottom: 1px solid #eef2f5;
    }

    .managereceipentarea_3 .TscAdj > table > tbody > tr:last-child > td {
        border-bottom: none;
    }

    .managereceipentarea_3 .TscAdj > table > tbody > tr:hover > td {
        background: #eaf4f6;
    }

    .managereceipentarea_3 .TscAdj > table > tbody > tr:first-child:hover > td {
        background: linear-gradient(135deg, #4184bb, #4184bb);
    }

    /* the outer first row carries the gradient so the band always spans full width */
    .managereceipentarea_3 .TscAdj > table > tbody > tr:first-child > td {
        background: linear-gradient(135deg, #4184bb, #4184bb);
    }

    .managereceipentarea_3 .TscAdj > table tr.blueheading td {
        float: none !important;
        display: table-cell !important;
        background: none !important;
        color: #ffffff !important;
        font-size: 11.5px !important;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        padding: 11px 12px !important;
        line-height: 18px !important;
        vertical-align: middle;
        box-sizing: border-box;
    }

    /* inner data cells */
    .managereceipentarea_3 .TscAdj > table table td {
        padding: 12px;
        font-size: 13.5px;
        color: #333f4d;
        vertical-align: middle;
    }

    /* keep the header band cells' own padding (rule above is more specific enough) */

    /* checkboxes in the site teal */
    .managereceipentarea_3 input[type="checkbox"] {
        width: 16px;
        height: 16px;
        accent-color: #277487;
        cursor: pointer;
        vertical-align: middle;
    }

    /* Yes/No default flag as a quiet chip */
.managereceipentarea_3 span[id*="lblIsDefault"],
    .managereceipentarea_3 span[id*="lblIsShip"] {
    display: inline-block;
    background: #f5f6f8;
    border: 1px solid #e4e8ed;
    border-radius: 999px;
    padding: 2px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #6b7a8c;
    margin-left: 9px;
}

/* buttons (Default / Remove Card): same blue family, modern pill */
.managereceipentarea_3 .bluebutton {
    display: inline-block;
    background: linear-gradient(135deg, #3b6bb4, #4d84d7) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 4px 15px !important;
    font-size: 12.5px !important;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none !important;
    box-shadow: 0 3px 8px rgba(59, 107, 180, 0.30);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
}

    .managereceipentarea_3 .bluebutton:hover {
        transform: translateY(-1px);
        box-shadow: 0 5px 12px rgba(59, 107, 180, 0.42);
        color: #ffffff !important;
    }

.managereceipentarea_3 .savebtnarea3 {
    margin-top: 14px;
}

/* address book: the Add / Remove buttons sit above the listing, side by side */
.managereceipentarea_3 .savebtnarea3.addrTopBar {
    clear: both;
    float: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 14px;
    padding: 0;
}

    .managereceipentarea_3 .savebtnarea3.addrTopBar .bluebutton {
        float: none;
        margin: 0 !important;
        white-space: nowrap;
    }

/* address book on phones and tablets (the left department column leaves the
   listing too little room for five table columns): each address becomes a card
   line 1: [checkbox] [address name .....] [Yes/No]
   line 2:                        [Default] [Edit]                                 */
@media screen and (max-width: 1024px) {
    .managereceipentarea_3.addrBook .TscAdj > table {
        min-width: 0 !important;
    }

    .managereceipentarea_3.addrBook .TscAdj > table table,
    .managereceipentarea_3.addrBook .TscAdj > table table > tbody {
        display: block;
        width: 100%;
    }

    .managereceipentarea_3.addrBook .TscAdj > table table > tbody > tr {
        display: grid;
        grid-template-columns: auto 1fr auto auto;
        column-gap: 10px;
        row-gap: 10px;
        align-items: center;
        padding: 12px 14px;
        box-sizing: border-box;
    }

        .managereceipentarea_3.addrBook .TscAdj > table table > tbody > tr > td {
            display: block !important;
            width: auto !important;
            float: none !important;
            padding: 0 !important;
            text-align: left !important;
            line-height: 20px;
        }

        /* data rows */
        .managereceipentarea_3.addrBook .TscAdj > table table > tbody > tr > td:nth-child(1) { grid-column: 1; grid-row: 1; }
        .managereceipentarea_3.addrBook .TscAdj > table table > tbody > tr > td:nth-child(2) { grid-column: 2 / 4; grid-row: 1; }
        .managereceipentarea_3.addrBook .TscAdj > table table > tbody > tr > td:nth-child(3) { grid-column: 4; grid-row: 1; justify-self: end; }
        .managereceipentarea_3.addrBook .TscAdj > table table > tbody > tr > td:nth-child(4) { grid-column: 3; grid-row: 2; justify-self: end; }
        .managereceipentarea_3.addrBook .TscAdj > table table > tbody > tr > td:nth-child(5) { grid-column: 4; grid-row: 2; justify-self: end; }

        .managereceipentarea_3.addrBook .TscAdj > table tr.blueheading {
            padding: 9px 14px;
        }

        .managereceipentarea_3.addrBook .TscAdj > table tr.blueheading > td:nth-child(3) { grid-column: 4; grid-row: 1; justify-self: end; }
        .managereceipentarea_3.addrBook .TscAdj > table tr.blueheading > td:nth-child(4) { display: none !important; }

    .managereceipentarea_3.addrBook span[id*="lblIsShip"] {
        margin-left: 0;
    }
}

/* desktop: the table fits — suppress the wrapper's inline overflow-x scrollbar */
@media screen and (min-width: 768px) {
    .managereceipentarea_3 div[style*="overflow-x"] {
        overflow-x: hidden !important;
    }
}

/* mobile: listing scrolls sideways inside the card */
@media screen and (max-width: 767px) {
    .managereceipentarea_3 .TscAdj > table {
        min-width: 560px !important;
    }

    .managereceipentarea_3 .TscAdj {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* The inline-styled scroll wrapper sits beside the section's floated h2 and
   collapses to a sliver on mobile — clear the floats so it always spans full width */
.managereceipentarea_3 div[style*="overflow-x"],
.orderhistorysection div[style*="overflow-x"] {
    clear: both;
    float: none;
    width: 100%;
    box-sizing: border-box;
}

/* ---- 2026-11-23 address book as a card grid (like the review list) -----------------------
   my-account-recipient-address.aspx, .TscAdj.addr-grid. The repeater markup is
       div.TscAdj > table > tbody > tr (header: checkbox "select all")
                                  > tr (one per address) > td > table > tbody > tr.boxline > 5 td
       td 1 checkbox | 2 name + address lines | 3 Yes/No label | 4 Set as default | 5 Edit
   Each address tr becomes a card:
       [checkbox]              [Default address]
       Name (bold first line)
       address lines
       [Set as default] [Edit]
   The default card (class addr-default, added by addrTidy() on the page) gets a teal
   border, the badge, sits first, and its Set-as-default button is hidden. Layout only. */
.managereceipentarea_3.addrBook .TscAdj.addr-grid {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

    .managereceipentarea_3.addrBook .TscAdj.addr-grid > table {
        display: block;
        width: 100%;
        min-width: 0 !important;
    }

        .managereceipentarea_3.addrBook .TscAdj.addr-grid > table > tbody {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
            gap: 16px;
        }

            .managereceipentarea_3.addrBook .TscAdj.addr-grid > table > tbody > tr {
                display: block;
                min-width: 0;
            }

                .managereceipentarea_3.addrBook .TscAdj.addr-grid > table > tbody > tr > td,
                .managereceipentarea_3.addrBook .TscAdj.addr-grid > table > tbody > tr:hover > td,
                .managereceipentarea_3.addrBook .TscAdj.addr-grid > table > tbody > tr:first-child > td,
                .managereceipentarea_3.addrBook .TscAdj.addr-grid > table > tbody > tr:first-child:hover > td {
                    display: block;
                    height: 100%;
                    padding: 0;
                    border: 0;
                    background: none;
                }

    /* header row: a slim "Select all" line above the cards */
    .managereceipentarea_3.addrBook .TscAdj.addr-grid > table > tbody > tr:first-child {
        grid-column: 1 / -1;
        order: -2;
    }

        .managereceipentarea_3.addrBook .TscAdj.addr-grid > table > tbody > tr:first-child table,
        .managereceipentarea_3.addrBook .TscAdj.addr-grid > table > tbody > tr:first-child table > tbody {
            display: block;
            width: auto;
        }

        .managereceipentarea_3.addrBook .TscAdj.addr-grid tr.blueheading {
            display: flex !important;
            align-items: center;
            gap: 8px;
            padding: 0 4px !important;
        }

            .managereceipentarea_3.addrBook .TscAdj.addr-grid tr.blueheading > td {
                display: none !important;
            }

            .managereceipentarea_3.addrBook .TscAdj.addr-grid tr.blueheading > td:first-child {
                display: flex !important;
                align-items: center;
                gap: 8px;
                width: auto !important;
                padding: 0 !important;
                font-size: 13px !important;
                font-weight: 600;
                letter-spacing: 0;
                text-transform: none;
                color: #3d4a55 !important;
            }

                .managereceipentarea_3.addrBook .TscAdj.addr-grid tr.blueheading > td:first-child::after {
                    content: "Select all";
                }

    /* the card */
    .managereceipentarea_3.addrBook .TscAdj.addr-grid > table > tbody > tr:not(:first-child) table {
        display: block;
        width: 100%;
        height: 100%;
    }

        .managereceipentarea_3.addrBook .TscAdj.addr-grid > table > tbody > tr:not(:first-child) table > tbody {
            display: block;
            height: 100%;
        }

    .managereceipentarea_3.addrBook .TscAdj.addr-grid tr.boxline:not(.blueheading) {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-rows: auto 1fr auto;
        grid-template-areas:
            "chk badge"
            "addr addr"
            "def edit";
        column-gap: 10px;
        row-gap: 10px;
        height: 100%;
        box-sizing: border-box;
        padding: 14px 16px 16px;
        border: 1px solid #e3e9ee;
        border-radius: 14px;
        background: #ffffff;
        box-shadow: 0 1px 4px rgba(16, 42, 67, 0.06);
        transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
    }

        .managereceipentarea_3.addrBook .TscAdj.addr-grid tr.boxline:not(.blueheading):hover {
            transform: translateY(-2px);
            border-color: #b9dcdc;
            box-shadow: 0 8px 20px rgba(16, 42, 67, 0.12);
        }

        .managereceipentarea_3.addrBook .TscAdj.addr-grid tr.boxline:not(.blueheading) > td {
            display: block !important;
            width: auto !important;
            float: none !important;
            padding: 0 !important;
            text-align: left !important;
            background: none !important;
        }

            .managereceipentarea_3.addrBook .TscAdj.addr-grid tr.boxline:not(.blueheading) > td:nth-child(1) { grid-area: chk; align-self: center; justify-self: start; }
            .managereceipentarea_3.addrBook .TscAdj.addr-grid tr.boxline:not(.blueheading) > td:nth-child(2) { grid-area: addr; justify-self: stretch; }
            .managereceipentarea_3.addrBook .TscAdj.addr-grid tr.boxline:not(.blueheading) > td:nth-child(3) { grid-area: badge; justify-self: end; align-self: center; }
            .managereceipentarea_3.addrBook .TscAdj.addr-grid tr.boxline:not(.blueheading) > td:nth-child(4) { grid-area: def; justify-self: stretch; align-self: end; }
            .managereceipentarea_3.addrBook .TscAdj.addr-grid tr.boxline:not(.blueheading) > td:nth-child(5) { grid-area: edit; justify-self: stretch; align-self: end; }

        /* address text: the first line is the recipient's name */
        .managereceipentarea_3.addrBook .TscAdj.addr-grid tr.boxline:not(.blueheading) > td:nth-child(2) {
            padding: 2px 0 0 26px !important;
            font-size: 13.5px;
            line-height: 21px;
            color: #4a5864;
            overflow-wrap: anywhere;
            background: no-repeat left 3px / 16px 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23008186' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E") !important;
        }

            .managereceipentarea_3.addrBook .TscAdj.addr-grid tr.boxline:not(.blueheading) > td:nth-child(2)::first-line {
                font-size: 15px;
                font-weight: 700;
                line-height: 24px;
                color: #1a2b49;
            }

        /* Yes / No label: only the default card shows a badge */
        .managereceipentarea_3.addrBook .TscAdj.addr-grid span[id$="lblIsShip"] {
            display: none;
        }

        /* buttons: same blue family, full width in their half */
        .managereceipentarea_3.addrBook .TscAdj.addr-grid tr.boxline:not(.blueheading) .bluebutton {
            display: flex !important;
            align-items: center;
            justify-content: center;
            box-sizing: border-box;
            width: 100%;
            height: 36px;
            margin: 0 !important;
            padding: 0 8px !important;
            font-size: 12px !important;
            white-space: nowrap;
        }

        .managereceipentarea_3.addrBook .TscAdj.addr-grid tr.boxline:not(.blueheading) a[id$="lnkMakeDefault"] {
            background: #ffffff !important;
            color: #3b6bb4 !important;
            border: 1px solid #b9cbe6 !important;
            box-shadow: none;
        }

            .managereceipentarea_3.addrBook .TscAdj.addr-grid tr.boxline:not(.blueheading) a[id$="lnkMakeDefault"]:hover {
                background: #f0f6fa !important;
                color: #3b6bb4 !important;
            }

    /* the default address */
    .managereceipentarea_3.addrBook .TscAdj.addr-grid > table > tbody > tr.addr-default {
        order: -1;
    }

        .managereceipentarea_3.addrBook .TscAdj.addr-grid > table > tbody > tr.addr-default tr.boxline:not(.blueheading) {
            border: 2px solid #008186;
            padding: 13px 15px 15px;
        }

        .managereceipentarea_3.addrBook .TscAdj.addr-grid > table > tbody > tr.addr-default span[id$="lblIsShip"] {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            margin: 0;
            padding: 2px 10px;
            border: 0;
            border-radius: 999px;
            background: #e6f4f4;
            font-size: 0;
            line-height: 20px;
            white-space: nowrap;
            color: #006d71;
        }

            .managereceipentarea_3.addrBook .TscAdj.addr-grid > table > tbody > tr.addr-default span[id$="lblIsShip"]::after {
                content: "\2713  Default address";
                font-size: 11.5px;
                font-weight: 700;
                letter-spacing: 0.2px;
            }

        /* no "Set as default" on the default card: a quiet note instead, Edit stays */
        .managereceipentarea_3.addrBook .TscAdj.addr-grid > table > tbody > tr.addr-default tr.boxline:not(.blueheading) a[id$="lnkMakeDefault"] {
            display: none !important;
        }

        .managereceipentarea_3.addrBook .TscAdj.addr-grid > table > tbody > tr.addr-default tr.boxline > td:nth-child(4) {
            align-self: center;
            font-size: 12px;
            line-height: 16px;
            color: #5b6b7a;
        }

            .managereceipentarea_3.addrBook .TscAdj.addr-grid > table > tbody > tr.addr-default tr.boxline > td:nth-child(4)::before {
                content: "Used for your deliveries";
            }

@media screen and (max-width: 767px) {
    .managereceipentarea_3.addrBook .TscAdj.addr-grid {
        overflow: visible;
    }

        .managereceipentarea_3.addrBook .TscAdj.addr-grid > table > tbody {
            grid-template-columns: minmax(0, 1fr);
            gap: 12px;
        }
}

/* ============================================================================
   Address add/edit form (my-account-recipient-address-addedit.aspx).
   Scoped to .customerregformarea6 inside .receipentarea.
   ============================================================================ */

.receipentarea .customerregformarea6 {
    width: 100%;
    max-width: 720px;
    margin: 10px auto 20px;
    background: #ffffff;
    border: 1px solid #e8ecf1;
    border-radius: 14px;
    padding: 28px 32px;
    box-sizing: border-box;
    box-shadow: 0 2px 12px rgba(16, 42, 67, 0.07);
}

    .receipentarea .customerregformarea6 fieldset {
        margin-bottom: 12px;
    }

        /* labels: navy, aligned to the input's vertical center */
        .receipentarea .customerregformarea6 fieldset label {
            font-size: 13px;
            font-weight: 600;
            color: #1a2b49;
            line-height: 38px;
            padding: 0;
        }

        /* text inputs: modern boxes with teal focus ring (kill the legacy inset shadows) */
        .receipentarea .customerregformarea6 fieldset input[type="text"],
        .receipentarea .customerregformarea6 fieldset input[type="password"] {
            width: 65%;
            height: 38px;
            border: 1px solid #cfd8e3;
            border-radius: 8px;
            padding: 8px 12px;
            font-size: 13.5px;
            color: #333f4d;
            background: #ffffff;
            box-shadow: none !important;
            -webkit-box-shadow: none !important;
            box-sizing: border-box;
            outline: none;
            transition: border-color 0.15s ease, box-shadow 0.15s ease;
        }

        .receipentarea .customerregformarea6 fieldset select {
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            width: 65%;
            height: 38px;
            border: 1px solid #cfd8e3;
            border-radius: 8px;
            padding: 8px 36px 8px 12px;
            font-size: 13.5px;
            color: #333f4d;
            background: #ffffff url(../images/drop-arrow.png) no-repeat right 12px center;
            box-shadow: none !important;
            -webkit-box-shadow: none !important;
            box-sizing: border-box;
            cursor: pointer;
            outline: none;
            transition: border-color 0.15s ease, box-shadow 0.15s ease;
        }

            .receipentarea .customerregformarea6 fieldset input[type="text"]:hover,
            .receipentarea .customerregformarea6 fieldset select:hover {
                border-color: #9fb4cb;
            }

            .receipentarea .customerregformarea6 fieldset input[type="text"]:focus,
            .receipentarea .customerregformarea6 fieldset select:focus {
                border-color: #008186;
                box-shadow: 0 0 0 2px rgba(0, 129, 134, 0.12) !important;
            }

        .receipentarea .customerregformarea6 fieldset input[type="checkbox"] {
            width: 17px;
            height: 17px;
            accent-color: #277487;
            cursor: pointer;
            margin-top: 11px;
        }

        /* validators */
        .receipentarea .customerregformarea6 span.wrong {
            font-size: 12px;
        }

.receipentarea .savebtnarea5 {
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid #eef1f4;
}

.receipentarea .bluebutton {
    display: inline-block;
    background: linear-gradient(135deg, #3b6bb4, #4d84d7) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 9px 26px !important;
    font-size: 12.5px !important;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none !important;
    box-shadow: 0 3px 8px rgba(59, 107, 180, 0.30);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
    margin-right: 8px;
}

    .receipentarea .bluebutton:hover {
        transform: translateY(-1px);
        box-shadow: 0 5px 12px rgba(59, 107, 180, 0.42);
        color: #ffffff !important;
    }

    /* the secondary action reads as a quiet outline button */
    .receipentarea a[id$="lnkReturn"] {
        background: #ffffff !important;
        color: #3b6bb4 !important;
        border: 1px solid #b9cbe6 !important;
        box-shadow: none;
    }

        .receipentarea a[id$="lnkReturn"]:hover {
            background: #f0f6fa !important;
            box-shadow: none;
        }

/* mobile: labels stack above full-width inputs */
@media screen and (max-width: 640px) {
    .receipentarea .customerregformarea6 {
        padding: 18px 16px;
    }

        .receipentarea .customerregformarea6 fieldset label {
            width: 100%;
            line-height: 22px;
            margin-bottom: 4px;
        }

        .receipentarea .customerregformarea6 fieldset input[type="text"],
        .receipentarea .customerregformarea6 fieldset select {
            width: 100%;
        }
}

/* ============================================================================
   Address form — Option D: teal header band + grouped sections, labels above
   fields, two-column grid. Overrides the earlier side-label block.
   ============================================================================ */

.receipentarea .customerregformarea6 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 18px;
    padding: 0 28px 26px;
    overflow: hidden;
}

    /* card header band (edge-to-edge via negative margins against the card padding) */
    .receipentarea .customerregformarea6 .frm-head {
        grid-column: 1 / -1;
        background: linear-gradient(135deg, #277487, #3a93a8);
        color: #ffffff;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.6px;
        text-transform: uppercase;
        padding: 14px 28px;
        margin: 0 -28px 14px;
    }

    /* group labels */
    .receipentarea .customerregformarea6 .frm-sec {
        grid-column: 1 / -1;
        font-size: 11.5px;
        font-weight: 700;
        color: #277487;
        text-transform: uppercase;
        letter-spacing: 0.6px;
        border-bottom: 1px solid #eef2f5;
        padding: 12px 0 6px;
        margin-bottom: 8px;
    }

    .receipentarea .customerregformarea6 fieldset {
        float: none;
        width: auto;
        margin: 0 0 10px;
        position: relative;
    }

        /* street address spans both columns */
        .receipentarea .customerregformarea6 fieldset:nth-of-type(3) {
            grid-column: 1 / -1;
        }

    .receipentarea .customerregformarea6 .savebtnarea5 {
        grid-column: 1 / -1;
    }

    /* labels above their fields */
    .receipentarea .customerregformarea6 fieldset label {
        float: none;
        display: block;
        width: 100%;
        font-size: 13px;
        font-weight: 600;
        color: #1a2b49;
        line-height: 18px;
        margin-bottom: 5px;
        position: static;
    }

    /* full-width controls; neutralize the fallback textbox's inline margin-top */
    .receipentarea .customerregformarea6 fieldset input[type="text"],
    .receipentarea .customerregformarea6 fieldset select {
        width: 100%;
        margin-top: 0 !important;
    }

    /* Make Default: label and checkbox inline */
    .receipentarea .customerregformarea6 fieldset:has(input[type="checkbox"]) label {
        display: inline-block;
        width: auto;
        margin: 0 10px 0 0;
        vertical-align: middle;
    }

    .receipentarea .customerregformarea6 fieldset input[type="checkbox"] {
        margin-top: 0;
        vertical-align: middle;
    }

/* mobile: single column */
@media screen and (max-width: 640px) {
    .receipentarea .customerregformarea6 {
        grid-template-columns: 1fr;
        padding: 0 16px 20px;
    }

        .receipentarea .customerregformarea6 .frm-head {
            padding: 12px 16px;
            margin: 0 -16px 12px;
        }

        /* keep Save / Return side by side, sharing the row */
        .receipentarea .customerregformarea6 .savebtnarea5 {
            display: flex;
            gap: 10px;
        }

            .receipentarea .customerregformarea6 .savebtnarea5 .bluebutton {
                flex: 1 1 0;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                text-align: center;
                margin-right: 0;
                padding: 9px 6px !important;
                box-sizing: border-box;
                font-size: 11px !important;
                letter-spacing: 0.3px;
                white-space: nowrap;
            }
}

/* ============================================================================
   Address form - Option A (2026-11-21), recipient add/edit page only (.addr-a).
   Desktop: two panels in one wide card - "Recipient and contact" on the left,
   "Address" on the right, then a footer row with Make default + the buttons.
   Grid columns: 1-2 left panel, 3 = 1px divider (the card's ::before), 4-5 right.
   Fieldset order in the markup (nth-of-type): 1 first name, 2 last name,
   3 street, 4 company (hidden), 5 country, 6 state, 7 city, 8 zip, 9 phone,
   10 e-mail, 11 make default (add only). Layout only - no field is moved.
   ============================================================================ */

.receipentarea:has(.addr-a) {
    padding-top: 6px;
}

.receipentarea .customerregformarea6.addr-a {
    max-width: none;
    margin: 0 0 20px;
}

    /* the old "Contact" heading is merged into "Recipient and contact" */
    .receipentarea .customerregformarea6.addr-a .frm-sec-contact {
        display: none;
    }

    /* tablet / phone: one flow, recipient + contact first, then the address */
    .receipentarea .customerregformarea6.addr-a .frm-sec-who,
    .receipentarea .customerregformarea6.addr-a fieldset:nth-of-type(1),
    .receipentarea .customerregformarea6.addr-a fieldset:nth-of-type(2) { order: 1; }
    .receipentarea .customerregformarea6.addr-a fieldset:nth-of-type(9),
    .receipentarea .customerregformarea6.addr-a fieldset:nth-of-type(10) { order: 2; }
    .receipentarea .customerregformarea6.addr-a .frm-sec-addr,
    .receipentarea .customerregformarea6.addr-a fieldset:nth-of-type(3),
    .receipentarea .customerregformarea6.addr-a fieldset:nth-of-type(5),
    .receipentarea .customerregformarea6.addr-a fieldset:nth-of-type(6),
    .receipentarea .customerregformarea6.addr-a fieldset:nth-of-type(7),
    .receipentarea .customerregformarea6.addr-a fieldset:nth-of-type(8) { order: 3; }
    .receipentarea .customerregformarea6.addr-a fieldset:nth-of-type(11) { order: 4; }
    .receipentarea .customerregformarea6.addr-a .savebtnarea5 { order: 5; }

    /* footer: Return (outline) then Save (primary) on the right */
    .receipentarea .customerregformarea6.addr-a .savebtnarea5 {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
        float: none;
        width: auto;
        margin-left: 0;
        margin-right: 0;
    }

        .receipentarea .customerregformarea6.addr-a .savebtnarea5 .bluebutton {
            margin-right: 0;
        }

        .receipentarea .customerregformarea6.addr-a .savebtnarea5 a[id$="lnkReturn"] { order: 1; }
        .receipentarea .customerregformarea6.addr-a .savebtnarea5 a[id$="lnkSubmit"] { order: 2; }

@media screen and (min-width: 1100px) {
    .receipentarea .customerregformarea6.addr-a {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 1px minmax(0, 1.25fr) minmax(0, 1.25fr);
        align-items: start;
    }

        .receipentarea .customerregformarea6.addr-a::before {
            content: "";
            grid-column: 3;
            grid-row: 2 / 6;
            align-self: stretch;
            margin: 6px 0 10px;
            background: #eef2f5;
        }

        .receipentarea .customerregformarea6.addr-a .frm-head { grid-row: 1; }
        .receipentarea .customerregformarea6.addr-a .frm-sec-who { grid-column: 1 / 3; grid-row: 2; }
        .receipentarea .customerregformarea6.addr-a .frm-sec-addr { grid-column: 4 / 6; grid-row: 2; }

        /* left panel */
        .receipentarea .customerregformarea6.addr-a fieldset:nth-of-type(1) { grid-column: 1; grid-row: 3; }
        .receipentarea .customerregformarea6.addr-a fieldset:nth-of-type(2) { grid-column: 2; grid-row: 3; }
        .receipentarea .customerregformarea6.addr-a fieldset:nth-of-type(9) { grid-column: 1 / 3; grid-row: 4; }
        .receipentarea .customerregformarea6.addr-a fieldset:nth-of-type(10) { grid-column: 1 / 3; grid-row: 5; }

        /* right panel */
        .receipentarea .customerregformarea6.addr-a fieldset:nth-of-type(3) { grid-column: 4 / 6; grid-row: 3; }
        .receipentarea .customerregformarea6.addr-a fieldset:nth-of-type(5) { grid-column: 4; grid-row: 4; }
        .receipentarea .customerregformarea6.addr-a fieldset:nth-of-type(6) { grid-column: 5; grid-row: 4; }
        .receipentarea .customerregformarea6.addr-a fieldset:nth-of-type(7) { grid-column: 4; grid-row: 5; }
        .receipentarea .customerregformarea6.addr-a fieldset:nth-of-type(8) { grid-column: 5; grid-row: 5; }

        /* footer row: Make default on the left, buttons on the right, one divider line */
        .receipentarea .customerregformarea6.addr-a .savebtnarea5 { grid-column: 1 / -1; grid-row: 6; }

        .receipentarea .customerregformarea6.addr-a fieldset:nth-of-type(11) {
            grid-column: 1 / 4;
            grid-row: 6;
            align-self: stretch;
            z-index: 1;
            display: flex;
            align-items: center;
            margin: 0;
            padding-top: 22px; /* = footer margin-top 8 + padding-top 14, so it centres on the buttons */
            box-sizing: border-box;
        }

            .receipentarea .customerregformarea6.addr-a fieldset:nth-of-type(11) label {
                line-height: 20px;
                margin-bottom: 0;
            }
}

/* ============================================================================
   Wishlist page (secure/shop-wishlist.aspx + shop-friend-wishlist.aspx).
   Scoped to .receipentaddressarea / .Wishlistarea, which only exist on these
   two pages. Same fonts; buttons keep their blue (#3b6bb4) / red (#ec331c).
   ============================================================================ */

/* page heading gets the section accent bar (wishlist pages only, via :has) */
.myaccountcontarea_3:has(.receipentaddressarea) h2.youraccount {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 16px;
}

    .myaccountcontarea_3:has(.receipentaddressarea) h2.youraccount::after {
        content: "";
        position: absolute;
        left: 2px;
        bottom: 0;
        width: 56px;
        height: 4px;
        border-radius: 4px;
        background: #008186;
    }

/* top toolbar rows read as one light panel */
.receipentaddressarea > p,
.receipentaddressarea p[id$="pDel"],
.receipentaddressarea p[id$="divMyWish"] {
    background: #f7f9fb;
    border: 1px solid #e8ecf1;
    border-radius: 10px;
    padding: 12px 16px !important;
    margin-bottom: 12px !important;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    line-height: normal !important;
}

    /* the friend-code input */
    .receipentaddressarea p input[type="text"] {
        height: 38px;
        min-width: 240px;
        padding: 0 12px;
        margin-bottom: 0 !important;
        border: 1px solid #cdd7e1;
        border-radius: 8px;
        background: #ffffff;
        font-size: 13px;
        color: #1a2b49;
        box-sizing: border-box;
        outline: none;
        transition: border-color 0.15s ease, box-shadow 0.15s ease;
    }

        .receipentaddressarea p input[type="text"]:focus {
            border-color: #277487;
            box-shadow: 0 0 0 3px rgba(39, 116, 135, 0.12);
        }

    .receipentaddressarea p input[type="checkbox"] {
        width: 16px;
        height: 16px;
        accent-color: #277487;
        cursor: pointer;
    }

    /* toolbar buttons: same blue, modern pill.
       Legacy .bluebutton fixes height/line-height at 30px — reset both, or the
       pill balloons to ~50px with the text sitting off-center. */
    .receipentaddressarea p .bluebutton,
    .receipentaddressarea p span .bluebutton {
        display: inline-block;
        background: linear-gradient(135deg, #3b6bb4, #4d84d7) !important;
        color: #ffffff !important;
        border: none !important;
        border-radius: 8px !important;
        height: auto !important;
        line-height: 16px !important;
        padding: 10px 20px !important;
        margin: 0 !important;
        font-size: 12px !important;
        font-weight: 600;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        text-decoration: none !important;
        box-shadow: 0 3px 8px rgba(59, 107, 180, 0.30);
        transition: transform 0.15s ease, box-shadow 0.15s ease;
        cursor: pointer;
        box-sizing: border-box;
        white-space: nowrap;
    }

        .receipentaddressarea p .bluebutton:hover,
        .receipentaddressarea p span .bluebutton:hover {
            transform: translateY(-1px);
            box-shadow: 0 5px 12px rgba(59, 107, 180, 0.42);
            color: #ffffff !important;
        }

/* product cards on a responsive grid (replaces the legacy float layout) */
.Wishlistarea ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    padding: 4px 2px 10px !important;
    margin: 0 !important;
    list-style: none;
}

    .Wishlistarea ul li {
        float: none !important;
        width: auto !important;
        margin: 0 !important;
        display: flex;
    }

.Wishlistarea .Wishbox {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 0;
    padding: 18px 16px 16px;
    margin-top: 0;
    float: none;
    background: #ffffff;
    border: 1px solid #e8ecf1;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(26, 43, 73, 0.06);
    box-sizing: border-box;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

    .Wishlistarea .Wishbox:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(26, 43, 73, 0.12);
    }

    /* image area: consistent height, image contained */
    .Wishlistarea .Wishbox > a {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 150px;
        margin-bottom: 12px;
    }

        .Wishlistarea .Wishbox > a img {
            max-width: 100%;
            max-height: 100%;
            width: auto;
            height: auto;
            object-fit: contain;
        }

    .Wishlistarea .Wishbox h2 {
        font-size: 12.5px;
        line-height: 18px;
        color: #1a2b49;
        padding-top: 0;
        margin-bottom: 4px;
    }

        .Wishlistarea .Wishbox h2 a {
            color: #3b6bb4;
        }

            .Wishlistarea .Wishbox h2 a:hover {
                color: #1a2b49;
                text-decoration: none;
            }

/* button row pinned to the card bottom */
.Wishlistarea .wishbtnarea {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #eef1f4;
    float: none;
}

    .Wishlistarea .wishbtnarea .top {
        float: none;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

        .Wishlistarea .wishbtnarea .top .radionbtnarea {
            float: none;
            margin-right: auto;
            display: flex;
            align-items: center;
        }

    .Wishlistarea .wishbtnarea input[type="checkbox"] {
        width: 16px;
        height: 16px;
        margin: 0;
        accent-color: #277487;
        cursor: pointer;
    }

    /* same red / blue, modern pill shape (legacy fixes line-height/padding) */
    .Wishlistarea .sRedbutton,
    .Wishlistarea .sBluebutton {
        margin-left: 0;
        height: auto !important;
        line-height: 14px !important;
        padding: 8px 13px !important;
        border-radius: 8px;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.4px;
        text-decoration: none;
        box-sizing: border-box;
        vertical-align: middle;
        white-space: nowrap;
    }

    .Wishlistarea .sRedbutton {
        background: linear-gradient(135deg, #d92c16, #ec331c);
        box-shadow: 0 3px 8px rgba(236, 51, 28, 0.28);
    }

    .Wishlistarea .sBluebutton {
        background: linear-gradient(135deg, #3b6bb4, #4d84d7);
        box-shadow: 0 3px 8px rgba(59, 107, 180, 0.30);
    }

        .Wishlistarea .sRedbutton:hover,
        .Wishlistarea .sBluebutton:hover {
            transform: translateY(-1px);
            color: #FFF;
        }

@media screen and (max-width: 640px) {
    .Wishlistarea ul {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }

    .receipentaddressarea p input[type="text"] {
        min-width: 0;
        flex: 1 1 160px;
    }

    /* toolbar: checkbox | Delete | Share on one row, the two buttons equal width */
    .receipentaddressarea p[id$="pDel"] {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr);
        align-items: center;
        gap: 10px;
    }

        .receipentaddressarea p[id$="pDel"] > span {
            min-width: 0;
        }

            .receipentaddressarea p[id$="pDel"] > span .bluebutton {
                display: block;
                width: auto;
                min-width: 0 !important;
                box-sizing: border-box;
                margin: 0 !important;
                padding: 10px 4px !important;
                text-align: center;
                font-size: 10.5px !important;
                line-height: 14px !important;
                letter-spacing: 0 !important;
                white-space: nowrap;
                overflow: hidden;
            }

    /* cards are ~150px wide here: the select checkbox sits in the card's top-left
       corner and Delete / Buy Now stack at full width, so they line up exactly */
    .Wishlistarea .Wishbox {
        position: relative;
        padding: 12px 12px 12px;
    }

        .Wishlistarea .wishbtnarea .top {
            flex-wrap: wrap;
            gap: 8px;
        }

            .Wishlistarea .wishbtnarea .top .radionbtnarea {
                position: absolute;
                top: 10px;
                left: 10px;
                margin: 0;
                padding: 3px;
                border-radius: 6px;
                background: rgba(255, 255, 255, .9);
                z-index: 2;
            }

                .Wishlistarea .wishbtnarea .top .radionbtnarea input[type="checkbox"] {
                    width: 18px;
                    height: 18px;
                }

        .Wishlistarea .wishbtnarea .sRedbutton,
        .Wishlistarea .wishbtnarea .sBluebutton {
            flex: 1 1 100%;
            width: 100%;
            text-align: center;
            padding: 9px 6px !important;
        }
}

/* card: white, rounded, soft shadow (replaces the Caribbean-Sea photo bg) */
.myAccPopUp {
    background: #ffffff !important;
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

/* header: teal gradient band, edge to edge (replaces the brush PNG) */
.myAccPopHeader {
    display: block;
    width: auto;
    float: none;
    margin: -5px -25px 16px;   /* cancels the card's 5px/25px padding */
    padding: 14px 20px;
    background: linear-gradient(135deg, #277487, #3a93a8);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-align: center;
}

/* the inner form panel had a translucent white wash over the photo */
.myAccDetailFormLft {
    background: transparent;
    padding-top: 0;
}

/* inputs: white wells, slate text, teal focus (were solid #bcd5ef blue) */
.myAccDetailFormLft .input-group input,
.myAccDetailFormLft .input-group input.inputText {
    background: #f7fafc;
    border: 1px solid #cdd7e1 !important;
    border-radius: 6px;
    color: #1a2b49;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

    .myAccDetailFormLft .input-group input.inputText:focus {
        background: #ffffff;
        border-color: #277487 !important;
        box-shadow: 0 0 0 3px rgba(39, 116, 135, 0.12);
        outline: none;
    }

/* floating labels: muted slate at rest, teal once floated */
.myAccDetailFormLft .input-group .floating-label {
    color: #62778c;
    font-size: 12px;
}

.myAccDetailFormLft .input-group input:focus ~ .floating-label,
.myAccDetailFormLft .input-group input:not(:focus):valid ~ .floating-label {
    color: #277487;
    font-weight: 600;
}

/* country select: same white treatment, keeps the arrow */
.myAccDetailFormLft .input-group select {
    background: #f7fafc url(../images/drop-arrow.png) no-repeat 98% center;
    border: 1px solid #cdd7e1 !important;
    border-radius: 6px;
    color: #1a2b49;
    padding-left: 9px;
}

    .myAccDetailFormLft .input-group select:focus {
        border-color: #277487 !important;
        box-shadow: 0 0 0 3px rgba(39, 116, 135, 0.12);
        outline: none;
    }

/* SMS Alert / Change Password rows: solid hairline instead of dashed teal */
.PartBoxCheck {
    font-size: 13px;
    font-weight: 600;
    color: #1a2b49;
    border-bottom: 1px solid #e8ecf1;
    padding-bottom: 6px;
}

/* custom checkbox: teal when checked */
.checkmarkCOL {
    background-color: #ffffff;
    border: 1px solid #b8c6d4;
    border-radius: 3px;
}

.PartBoxCheck:hover input ~ .checkmarkCOL {
    background-color: #eef6f7;
}

.PartBoxCheck input:checked ~ .checkmarkCOL {
    background-color: #277487;
    border: 1px solid #277487;
}

/* Save keeps blue, Close keeps orange — image backgrounds become gradients */
.saveButtbox,
.closeButtbox {
    background-image: none;
    height: 38px;
    border: none !important;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.saveButtbox {
    background: linear-gradient(135deg, #3b6bb4, #4d84d7);
    box-shadow: 0 3px 8px rgba(59, 107, 180, 0.30);
}

.closeButtbox {
    background: linear-gradient(135deg, #e8760a, #f9a825);
    box-shadow: 0 3px 8px rgba(232, 118, 10, 0.28);
}

    .saveButtbox:hover,
    .closeButtbox:hover {
        transform: translateY(-1px);
    }

/* validation text stays red; just clear the old teal-on-photo tint */
.myAccDetailFormLft .secPart span.wrong,
.myAccDetailFormLft .secPart span.wrong > span {
    color: #e02b20;
}

/* small screens: the card padding drops to 5px, keep the band flush */
@media screen and (max-width: 500px) {
    .myAccPopHeader {
        margin: -5px -5px 12px;
    }
}

/* ============================================================================
   Review & Rating page (secure/shop-reviewrating.aspx).
   Table scoped to this page's div[id$="divReviewrating"]; the modal to
   div[id$="prodDetailsmodal"] — .ProdDtlsModalarea itself is shared with the
   product-page modals, so nothing global is touched.
   ============================================================================ */

/* page heading accent bar (this page only, via :has) */
.myaccountcontarea_3:has(div[id$="divReviewrating"]) h2.youraccount {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 16px;
}

    .myaccountcontarea_3:has(div[id$="divReviewrating"]) h2.youraccount::after {
        content: "";
        position: absolute;
        left: 2px;
        bottom: 0;
        width: 56px;
        height: 4px;
        border-radius: 4px;
        background: #008186;
    }

/* Option C — card list. The GridView's table/rows are re-flowed with CSS
   grid: each data row becomes a card laid out as
        [image] [product name ............] [rating]
        [image] [order no] [status badge]   [rating]
   Header and footer rows are hidden (the code-behind doesn't use them). */
div[id$="divReviewrating"] table {
    display: block;
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: transparent;
    border: none;
}

    div[id$="divReviewrating"] table > tbody {
        display: block;
    }

    /* header + footer rows carry no .carddetailtablerow cells → hide */
    div[id$="divReviewrating"] table tr:not(:has(> td.carddetailtablerow)) {
        display: none;
    }

    /* each data row → a card */
    div[id$="divReviewrating"] table tr:has(> td.carddetailtablerow) {
        display: grid;
        grid-template-columns: auto auto 1fr auto;
        grid-template-areas:
            "img name name rating"
            "img ono  status rating";
        column-gap: 14px;
        row-gap: 4px;
        align-items: center;
        background: #ffffff;
        border: 1px solid #e8ecf1;
        border-radius: 12px;
        padding: 12px 16px;
        margin-bottom: 10px;
        box-shadow: 0 2px 8px rgba(26, 43, 73, 0.05);
        transition: box-shadow 0.15s ease, transform 0.15s ease;
    }

        div[id$="divReviewrating"] table tr:has(> td.carddetailtablerow):hover {
            box-shadow: 0 8px 20px rgba(26, 43, 73, 0.12);
            transform: translateY(-2px);
        }

/* cells: strip table styling, then place each one in the grid */
div[id$="divReviewrating"] .carddetailtablerow {
    display: block;
    padding: 0 !important;
    width: auto !important;
    font-size: 13.5px;
    color: #33455c;
    text-align: left !important;
}

    /* 1: order no */
    div[id$="divReviewrating"] .carddetailtablerow:nth-child(1) {
        grid-area: ono;
        font-size: 12px;
        color: #62778c;
        font-weight: 600;
        white-space: nowrap;
    }

        div[id$="divReviewrating"] .carddetailtablerow:nth-child(1)::before {
            content: "Order ";
            font-weight: 400;
        }

    /* 2: image */
    div[id$="divReviewrating"] .carddetailtablerow:nth-child(2) {
        grid-area: img;
    }

        div[id$="divReviewrating"] .carddetailtablerow:nth-child(2) img {
            width: 56px;
            height: 56px;
            max-width: none !important;
            object-fit: contain;
            border: 1px solid #e8ecf1 !important;
            border-radius: 8px;
            background: #f7fafc;
            padding: 3px;
            box-sizing: border-box;
            display: block;
        }

    /* 3: product name */
    div[id$="divReviewrating"] .carddetailtablerow:nth-child(3) {
        grid-area: name;
        font-size: 14px;
        font-weight: 600;
        color: #1a2b49;
    }

        div[id$="divReviewrating"] .carddetailtablerow:nth-child(3) a {
            color: #1a2b49;
            text-decoration: none;
        }

            div[id$="divReviewrating"] .carddetailtablerow:nth-child(3) a:hover {
                color: #3b6bb4;
            }

    /* 4: status → pill badge (colored by the decorator script, green default) */
    div[id$="divReviewrating"] .carddetailtablerow:nth-child(4) {
        grid-area: status;
        justify-self: start;
        font-size: 10.5px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.4px;
        padding: 3px 10px !important;
        border-radius: 20px;
        background: #e6f4ea;
        color: #1e7b3a;
        white-space: nowrap;
    }

        div[id$="divReviewrating"] .carddetailtablerow:nth-child(4).ppo-proc { background: #e8f1fb; color: #2b5fa8; }
        div[id$="divReviewrating"] .carddetailtablerow:nth-child(4).ppo-part { background: #fff4e0; color: #b25e00; }
        div[id$="divReviewrating"] .carddetailtablerow:nth-child(4).ppo-canc { background: #fdeaea; color: #b42318; }
        div[id$="divReviewrating"] .carddetailtablerow:nth-child(4).ppo-other { background: #eef1f5; color: #4a5a6e; }

    /* 5: rating + button, right-aligned */
    div[id$="divReviewrating"] .carddetailtablerow:nth-child(5) {
        grid-area: rating;
        text-align: right !important;
        white-space: nowrap;
    }

        div[id$="divReviewrating"] .carddetailtablerow:nth-child(5)::before {
            content: "Your rating";
            display: block;
            font-size: 10.5px;
            color: #62778c;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 3px;
        }

        div[id$="divReviewrating"] .carddetailtablerow:nth-child(5) img {
            vertical-align: middle;
        }

        div[id$="divReviewrating"] .carddetailtablerow:nth-child(5) .bluebutton {
            display: block;
            margin-left: auto !important;
            margin-top: 8px !important;
        }

        /* Edit Review reads as the secondary action */
        div[id$="divReviewrating"] .carddetailtablerow:nth-child(5) a[id$="lnkEditReviewrating"] {
            background: #ffffff !important;
            color: #3b6bb4 !important;
            border: 1px solid #b9cbe6 !important;
            box-shadow: none;
        }

/* phones: style.css fixes .accor_scroll at 580px on small screens (for the old
   table), which pushed the cards off the right edge - the cards must fit the column */
@media screen and (max-width: 767px) {
    .myaccountcontarea_3:has(div[id$="divReviewrating"]) .accor_scroll,
    .myaccountcontarea_3:has(div[id$="divReviewrating"]) .accordion {
        width: 100% !important;
        min-width: 0 !important;
    }

    .myaccountcontarea_3:has(div[id$="divReviewrating"]) div[style*="overflow-x"] {
        overflow-x: hidden !important;
    }

    div[id$="divReviewrating"] table {
        min-width: 0 !important;
    }
}

@media screen and (max-width: 640px) {
    div[id$="divReviewrating"] table tr:has(> td.carddetailtablerow) {
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-areas:
            "img name"
            "img ono"
            "img status"
            "rating rating";
        padding: 12px;
    }

    div[id$="divReviewrating"] .carddetailtablerow:nth-child(3) {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    /* rating block: "Your rating" label on its own line, then stars left and the button right */
    div[id$="divReviewrating"] .carddetailtablerow:nth-child(5) {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px 10px;
        text-align: left !important;
        white-space: normal;
        border-top: 1px solid #eef1f4;
        padding-top: 10px !important;
        margin-top: 6px;
    }

        div[id$="divReviewrating"] .carddetailtablerow:nth-child(5)::before {
            flex: 1 1 100%;
            margin-bottom: 0;
        }

        div[id$="divReviewrating"] .carddetailtablerow:nth-child(5) img {
            margin: 0 1px;
        }

        /* the stars come as <div class="starOuter"><div class="starinner"> (block,
           full width by legacy CSS) - make them a compact inline item so the
           button can share the line */
        div[id$="divReviewrating"] .carddetailtablerow:nth-child(5) .starOuter,
        div[id$="divReviewrating"] .carddetailtablerow:nth-child(5) .starinner {
            float: none !important;
            width: auto !important;
            min-width: 0 !important;
            margin: 0 !important;
            padding: 0 !important;
            display: flex;
            align-items: center;
            flex: none;
        }

            div[id$="divReviewrating"] .carddetailtablerow:nth-child(5) .starinner .StarCss {
                float: none !important;
                width: 18px;
                height: 18px;
                margin: 0 1px;
                background-size: 18px 18px;
            }

        /* both buttons the same size, pinned to the right of the stars line */
        div[id$="divReviewrating"] .carddetailtablerow:nth-child(5) .bluebutton {
            display: inline-block;
            flex: none;
            box-sizing: border-box;
            width: 150px !important;
            min-width: 0 !important;
            height: 35px !important;
            line-height: 15px !important;
            margin: 0 0 0 auto !important;
            padding: 9px 8px !important;
            text-align: center;
        }
}

@media screen and (max-width: 359px) {
    div[id$="divReviewrating"] .carddetailtablerow:nth-child(5) .bluebutton {
        width: 134px !important;
        font-size: 10.5px !important;
    }
}

/* action buttons: same blue, modern pill (legacy fixes 30px height/line-height) */
div[id$="divReviewrating"] .bluebutton {
    display: inline-block;
    background: linear-gradient(135deg, #3b6bb4, #4d84d7) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    height: auto !important;
    line-height: 15px !important;
    padding: 9px 14px !important;
    margin: 6px 0 0 !important;
    font-size: 11.5px !important;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 3px 8px rgba(59, 107, 180, 0.30);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
    box-sizing: border-box;
}

    div[id$="divReviewrating"] .bluebutton:hover {
        transform: translateY(-1px);
        color: #ffffff !important;
    }

/* ---------------- Review & Rating modal ---------------- */

div[id$="prodDetailsmodal"] .ProdDtlsModalarea {
    background: #f7f9fb;
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    padding: 0;
    overflow: hidden;
}

div[id$="prodDetailsmodal"] .MTotScrollarea {
    background: #f7f9fb;
    max-height: 72vh;   /* legacy caps this at 450px, forcing needless scrolling */
}

/* header: teal gradient band replaces the brush PNG */
div[id$="prodDetailsmodal"] .ProdDtlsModalHeader {
    float: none;
    width: 100%;
    box-sizing: border-box;
    background: linear-gradient(135deg, #277487, #3a93a8);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    line-height: normal;
    padding: 14px 52px 14px 20px;   /* right side clears the close chip */
    border-radius: 0;
}

/* close: white circular chip pinned in the band (cross image is dark) */
div[id$="prodDetailsmodal"] .cButtProdRight {
    position: absolute;
    top: 9px;
    right: 12px;
    float: none;
    width: 30px;
    height: 30px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    z-index: 5;
    line-height: 30px;
}

    /* the cross PNG doesn't render reliably inside the chip — draw it in CSS */
    div[id$="prodDetailsmodal"] .cButtProdRight a {
        display: block;
        position: relative;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        transition: background 0.15s ease;
    }

        div[id$="prodDetailsmodal"] .cButtProdRight a:hover {
            background: #f0f6fa;
            opacity: 1;
        }

        div[id$="prodDetailsmodal"] .cButtProdRight a img {
            display: none;
        }

        div[id$="prodDetailsmodal"] .cButtProdRight a::before,
        div[id$="prodDetailsmodal"] .cButtProdRight a::after {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            width: 14px;
            height: 2px;
            background: #277487;
            border-radius: 2px;
            transform: translate(-50%, -50%) rotate(45deg);
        }

        div[id$="prodDetailsmodal"] .cButtProdRight a::after {
            transform: translate(-50%, -50%) rotate(-45deg);
        }

div[id$="prodDetailsmodal"] .ProdDtlsMiddleContArea {
    box-sizing: border-box;
    padding: 14px 16px 16px;
    counter-reset: revsec;
}

/* each section is its own white card */
div[id$="prodDetailsmodal"] .revCard {
    background: #ffffff;
    border: 1px solid #e8ecf1;
    border-radius: 12px;
    padding: 10px 14px 12px;
    margin-bottom: 10px;
    overflow: hidden;   /* contains the floated legacy rows */
}

/* product card: image beside name + seller */
div[id$="prodDetailsmodal"] .revProdCard {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
    align-items: center;
}

    div[id$="prodDetailsmodal"] .revProdCard > div:first-child {
        grid-row: 1 / 3;
    }

div[id$="prodDetailsmodal"] span[id$="lblProdImage"] img {
    max-height: 64px;
    max-width: 64px;
    border: 1px solid #e8ecf1;
    border-radius: 10px;
    padding: 4px;
    background: #f7fafc;
    margin-top: 0;
    display: block;
}

div[id$="prodDetailsmodal"] .RevproductName {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #1a2b49;
    line-height: 20px;
    padding: 0;
}

div[id$="prodDetailsmodal"] .RevstoreName {
    font-size: 12.5px;
    padding: 2px 0 0;
    align-self: start;
}

    div[id$="prodDetailsmodal"] .RevstoreName span {
        font-size: 13.5px;
        font-weight: 600;
        color: #1a2b49;
    }

/* card titles: "01 · Give your ratings" (number via CSS counter) */
div[id$="prodDetailsmodal"] .RevHead {
    background: transparent;
    width: 100%;
    box-sizing: border-box;
    font-size: 12.5px;
    font-weight: 700;
    color: #1a2b49;
    text-transform: none;
    letter-spacing: 0;
    border-bottom: none;
    padding: 0 0 6px;
}

    div[id$="prodDetailsmodal"] .RevHead::before {
        counter-increment: revsec;
        content: counter(revsec, decimal-leading-zero) " · ";
        color: #277487;
    }

/* rating / upload rows: label left, stars (or picker) right */
div[id$="prodDetailsmodal"] .RevpRating {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    padding: 7px 0;
    border-bottom: 1px solid #f0f3f6;
    width: 100%;
    box-sizing: border-box;
}

    div[id$="prodDetailsmodal"] .revCard .RevpRating:last-child {
        border-bottom: none;
        padding-bottom: 2px;
    }

    /* the rating rows hold their label/stars inside an UpdatePanel div —
       that inner div is the real row, so it gets the flex layout */
    div[id$="prodDetailsmodal"] .RevpRating > div[id*="UpdatePanelRating"] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    div[id$="prodDetailsmodal"] .RevpRating .left {
        color: #1a2b49;
        font-weight: 600;
        line-height: 20px;
        width: auto;
        float: none;
    }

    div[id$="prodDetailsmodal"] .RevpRating .right {
        float: none;
    }

    /* star rows sit in soft rounded chips (not the upload pickers) */
    div[id$="prodDetailsmodal"] .RevpRating .ratingtext:has(input[type="image"]) {
        display: inline-flex;
        align-items: center;
        gap: 2px;
        background: #f0f6fa;
        border: 1px solid #dce9f0;
        border-radius: 20px;
        padding: 4px 10px;
        line-height: 1;
    }

    div[id$="prodDetailsmodal"] .RevpRating .ratingtext input[type="image"] {
        width: 16px;
        height: 16px;
        margin: 0;
        padding: 0;
        display: block;
    }

    /* compact rating rows */
    div[id$="prodDetailsmodal"] .RevpRating:has(input[type="image"]) {
        padding: 5px 0;
        font-size: 13px;
    }

        div[id$="prodDetailsmodal"] .RevpRating:has(input[type="image"]) .left {
            line-height: 18px;
        }

    /* upload rows become a single row of compact tiles: thumb above picker */
    div[id$="prodDetailsmodal"] .revCard .RevpRating:has(input[type="file"]) {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        width: auto;
        border-bottom: none;
        padding: 6px 14px 4px 0;
        vertical-align: top;
    }

    div[id$="prodDetailsmodal"] .RevpRating .left img {
        width: 64px !important;
        height: 64px !important;
        border: 1px solid #e8ecf1;
        border-radius: 8px;
        background: #f7fafc;
        object-fit: cover;
        display: block;
    }

    div[id$="prodDetailsmodal"] .RevpRating input[type="file"] {
        font-size: 11px;
        color: #33455c;
        width: 152px;
        margin-top: 6px;
    }

/* review textarea */
div[id$="prodDetailsmodal"] .RevReviewText {
    padding: 4px 0 0;
}

    div[id$="prodDetailsmodal"] .RevReviewText textarea {
        width: 100%;
        box-sizing: border-box;
        height: 96px;      /* rows="10" renders far too tall for the card */
        min-height: 96px;
        border: 1px solid #cdd7e1;
        border-radius: 8px;
        padding: 10px 12px;
        font-size: 13.5px;
        font-family: inherit;
        color: #1a2b49;
        resize: vertical;
        outline: none;
        transition: border-color 0.15s ease, box-shadow 0.15s ease;
    }

        div[id$="prodDetailsmodal"] .RevReviewText textarea:focus {
            border-color: #277487;
            box-shadow: 0 0 0 3px rgba(39, 116, 135, 0.12);
        }

/* Save button (legacy forces 25px padding / 5px line-height) */
div[id$="prodDetailsmodal"] .RevReview .bluebutton {
    display: block;
    width: auto !important;
    min-width: 240px;
    height: auto !important;
    margin: 8px auto 6px !important;
    padding: 12px 26px !important;
    line-height: 16px !important;
    background: linear-gradient(135deg, #3b6bb4, #4d84d7) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 3px 8px rgba(59, 107, 180, 0.30);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
    box-sizing: border-box;
}

    div[id$="prodDetailsmodal"] .RevReview .bluebutton:hover {
        transform: translateY(-1px);
    }

div[id$="prodDetailsmodal"] .ProdDtlsModalarea {
    display: flex;
    flex-direction: column;
    float: none;
    width: min(880px, 94vw) !important;
    left: 50% !important;
    top: 5vh !important;
    margin: 0 !important;
    transform: translateX(-50%);
    max-height: 90vh;
    box-sizing: border-box;
}

    div[id$="prodDetailsmodal"] .ProdDtlsModalHeader {
        flex: none;
    }

div[id$="prodDetailsmodal"] .MTotScrollarea {
    float: none;
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Save bar pinned to the bottom of the scrolling body */
div[id$="prodDetailsmodal"] .RevReview {
    position: sticky;
    bottom: 0;
    z-index: 3;
    margin: 4px -16px -16px;
    padding: 10px 16px 12px;
    background: #f7f9fb;
    border-top: 1px solid #e3e9ef;
    box-shadow: 0 -6px 14px rgba(16, 42, 67, 0.06);
}

    div[id$="prodDetailsmodal"] .RevReview .bluebutton {
        margin: 0 auto !important;
    }

/* upload tiles: wrap as a row of tiles, the picker under each thumbnail */
div[id$="prodDetailsmodal"] .revCard:has(input[type="file"]) {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 0;
}

    div[id$="prodDetailsmodal"] .revCard:has(input[type="file"]) .RevHead {
        flex: 1 1 100%;
    }

    div[id$="prodDetailsmodal"] .revCard .RevpRating:has(input[type="file"]) .left {
        width: auto;
        margin-bottom: 0;
    }

    /* a chosen picture fills its thumbnail (set by the preview script) */
    div[id$="prodDetailsmodal"] .RevpRating .left img.has-preview {
        border-color: #277487;
        box-shadow: 0 0 0 2px rgba(39, 116, 135, 0.15);
    }

/* tablets */
@media screen and (max-width: 991px) {
    div[id$="prodDetailsmodal"] .ProdDtlsModalarea {
        width: 94vw !important;
        top: 4vh !important;
        max-height: 92vh;
    }
}

/* phones */
@media screen and (max-width: 640px) {
    div[id$="prodDetailsmodal"] .ProdDtlsModalarea {
        width: 96vw !important;
        top: 2vh !important;
        max-height: 96vh;
        border-radius: 12px;
    }

    div[id$="prodDetailsmodal"] .ProdDtlsModalHeader {
        font-size: 14px;
        padding: 12px 48px 12px 14px;
    }

    div[id$="prodDetailsmodal"] .ProdDtlsMiddleContArea {
        padding: 10px 10px 12px;
    }

    div[id$="prodDetailsmodal"] .revCard {
        padding: 10px 12px;
    }

    /* rating rows keep label and stars on one line */
    div[id$="prodDetailsmodal"] .RevpRating:has(input[type="image"]) .left {
        width: auto;
        margin-bottom: 0;
        font-size: 12.5px;
    }

    /* upload tiles: two per row */
    div[id$="prodDetailsmodal"] .revCard .RevpRating:has(input[type="file"]) {
        width: 50%;
        padding: 6px 6px 4px 0;
        box-sizing: border-box;
    }

    div[id$="prodDetailsmodal"] .RevpRating input[type="file"] {
        width: 100%;
        max-width: 152px;
    }

    div[id$="prodDetailsmodal"] .RevReview {
        margin: 4px -10px -12px;
        padding: 10px 10px 12px;
    }

        div[id$="prodDetailsmodal"] .RevReview .bluebutton {
            width: 100% !important;
            min-width: 0;
        }
}

/* ---- 2026-11-21 Review & Rating - Option B: product card grid -----------------------
   div[id$="divReviewrating"].rev-grid (class added in the markup). Overrides the card-list
   layout above: the GridView body becomes a grid of product cards
        [ big image          ]
        [ product name       ]
        [ order no | status  ]
        [ rating  ★★★★★      ]
        [ button (full width)]
   Same cells, same buttons and popup - layout only. Order images are 400x400. */
div[id$="divReviewrating"].rev-grid table > tbody {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 16px;
}

div[id$="divReviewrating"].rev-grid table tr:has(> td.carddetailtablerow) {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto 1fr;
    grid-template-areas:
        "img img"
        "name name"
        "ono status"
        "rating rating";
    column-gap: 8px;
    row-gap: 8px;
    align-items: center;
    margin: 0;
    padding: 12px 12px 14px;
    border-radius: 14px;
}

    /* image */
    div[id$="divReviewrating"].rev-grid .carddetailtablerow:nth-child(2) a {
        display: block;
    }

    div[id$="divReviewrating"].rev-grid .carddetailtablerow:nth-child(2) img {
        width: 100%;
        height: 170px;
        padding: 0;
        border: 0 !important;
        border-radius: 10px;
        background: none;
        object-fit: contain;
        transition: transform 0.2s ease;
    }

    div[id$="divReviewrating"].rev-grid table tr:has(> td.carddetailtablerow):hover .carddetailtablerow:nth-child(2) img {
        transform: scale(1.03);
    }

    /* name: two lines max, first letter capital (the code-behind lower-cases names) */
    div[id$="divReviewrating"].rev-grid .carddetailtablerow:nth-child(3) {
        align-self: start;
        min-height: 40px;
        margin-top: 4px;
        font-size: 14.5px;
        line-height: 20px;
    }

        div[id$="divReviewrating"].rev-grid .carddetailtablerow:nth-child(3) a {
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
            overflow-wrap: anywhere;
            font-size: 14.5px !important;
        }

            div[id$="divReviewrating"].rev-grid .carddetailtablerow:nth-child(3) a::first-letter {
                text-transform: uppercase;
            }

    div[id$="divReviewrating"].rev-grid .carddetailtablerow:nth-child(1) {
        min-width: 0;
        font-size: 11.5px;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    div[id$="divReviewrating"].rev-grid .carddetailtablerow:nth-child(4) {
        justify-self: end;
        padding: 2px 8px !important;
        font-size: 9.5px;
    }

    /* rating block pinned to the bottom so buttons line up across a row */
    div[id$="divReviewrating"].rev-grid .carddetailtablerow:nth-child(5) {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        align-self: end;
        gap: 8px;
        margin-top: 2px;
        padding-top: 10px !important;
        border-top: 1px solid #eef1f4;
        text-align: left !important;
        white-space: normal;
    }

        div[id$="divReviewrating"].rev-grid .carddetailtablerow:nth-child(5)::before {
            flex: 1 1 auto;
            margin: 0;
        }

        div[id$="divReviewrating"].rev-grid .carddetailtablerow:nth-child(5) .starOuter,
        div[id$="divReviewrating"].rev-grid .carddetailtablerow:nth-child(5) .starinner {
            display: flex;
            align-items: center;
            flex: none;
            float: none !important;
            width: auto !important;
            min-width: 0 !important;
            margin: 0 !important;
            padding: 0 !important;
        }

            div[id$="divReviewrating"].rev-grid .carddetailtablerow:nth-child(5) .starinner .StarCss {
                float: none !important;
                width: 18px;
                height: 18px;
                margin: 0 1px;
                background-size: 18px 18px;
            }

        div[id$="divReviewrating"].rev-grid .carddetailtablerow:nth-child(5) .bluebutton {
            display: flex !important;
            align-items: center;
            justify-content: center;
            flex: 1 1 100%;
            box-sizing: border-box;
            width: 100% !important;
            min-width: 0 !important;
            height: 38px !important;
            margin: 0 !important;
            padding: 0 10px !important;
            text-align: center;
        }

/* phone: two cards per row, smaller image, stars centred without the label */
@media screen and (max-width: 560px) {
    div[id$="divReviewrating"].rev-grid table > tbody {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    div[id$="divReviewrating"].rev-grid table tr:has(> td.carddetailtablerow) {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto auto auto 1fr;
        grid-template-areas:
            "img"
            "name"
            "ono"
            "status"
            "rating";
        row-gap: 6px;
        padding: 8px 8px 10px;
        border-radius: 12px;
    }

        div[id$="divReviewrating"].rev-grid .carddetailtablerow:nth-child(2) img {
            height: 120px;
            padding: 0;
        }

        div[id$="divReviewrating"].rev-grid .carddetailtablerow:nth-child(3),
        div[id$="divReviewrating"].rev-grid .carddetailtablerow:nth-child(3) a {
            min-height: 36px;
            font-size: 13px !important;
            line-height: 18px;
        }

        div[id$="divReviewrating"].rev-grid .carddetailtablerow:nth-child(4) {
            justify-self: start;
        }

        div[id$="divReviewrating"].rev-grid .carddetailtablerow:nth-child(5) {
            justify-content: center;
        }

            div[id$="divReviewrating"].rev-grid .carddetailtablerow:nth-child(5)::before {
                display: none;
            }

            div[id$="divReviewrating"].rev-grid .carddetailtablerow:nth-child(5) .bluebutton {
                width: 100% !important;
                height: 34px !important;
                padding: 0 4px !important;
                font-size: 10.5px !important;
                letter-spacing: 0.2px;
            }
}

/* =============================================================================
   Wishlist page: the "Share Wishlist" button is disabled while the list is
   empty, and the share modal (ModalPopupAddtocart, css-main/css-popup.css +
   css-shop/modal.css) is centred over a dimmed page with tidy rows. Same blue
   (#3b6bb4) and greys as the rest of the account pages.
   ============================================================================= */
.receipentaddressarea a.bluebutton.aspNetDisabled {
    opacity: .45;
    cursor: not-allowed;
    pointer-events: none;
}

.ModalPopupAddtocart.modalWishListWrapper {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    margin: auto !important;
    width: min(640px, 94vw) !important;
    height: fit-content;
    max-height: 92vh;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: #fff;
    /* the spread shadow dims the whole page behind the modal */
    box-shadow: 0 0 0 100vmax rgba(16, 42, 67, .5), 0 20px 50px rgba(0, 0, 0, .25) !important;
    font-family: inherit !important;
    font-size: 13px;
    color: #292929;
    text-align: left;
}

    .modalWishListWrapper .wishRcpListSec {
        width: auto;
        padding: 0 22px 20px;
    }

    /* title bar */
    .modalWishListWrapper .wishLstTop {
        position: relative;
        float: none;                /* style.css floats it, which squeezed the rows beside it */
        width: auto;
        box-sizing: border-box;
        min-height: 48px;
        border-bottom: 0;
        margin: 0 -22px 16px;
        padding: 14px 56px 14px 22px;
        border-radius: 12px 12px 0 0;
        background: #3b6bb4;
        color: #fff;
        font-size: 15px;
        line-height: 20px;
        font-weight: 600;
    }

        .modalWishListWrapper .wishLstTop::before {
            content: "Share your wishlist";
        }

        .modalWishListWrapper .wishLstTop .closeBoxBlue {
            position: absolute;
            top: 50%;
            right: 14px;
            box-sizing: border-box;
            width: 28px;
            height: 28px;
            margin: -14px 0 0;
            padding: 0;                 /* modal.css: 5px 2px 0, which pushed the X off-centre */
            float: none;
            border-radius: 50%;
            background: rgba(255, 255, 255, .18);
            text-align: center;
            line-height: 28px;
        }

            .modalWishListWrapper .wishLstTop .closeBoxBlue:hover {
                background: rgba(255, 255, 255, .32);
            }

            .modalWishListWrapper .wishLstTop .closeBoxBlue a {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 28px;
                height: 28px;
                margin: 0;
                padding: 0;
            }

            .modalWishListWrapper .wishLstTop .closeBoxBlue img {
                display: block;
                width: 12px;
                height: 12px;
                max-width: none;            /* modal.css: max-width 70% */
                margin: 0;
            }

    /* code / name rows */
    .modalWishListWrapper .wishLstBoxCode {
        display: flex;
        align-items: center;
        gap: 12px;
        width: auto;
        padding: 5px 0;
        float: none;
    }

        .modalWishListWrapper .wishLstBoxCode .leftColEx {
            flex: 0 0 150px;
            width: auto;
            float: none;
            font-weight: 600;
            font-size: 13px;
            color: #292929;
        }

        .modalWishListWrapper .wishLstBoxCode .RightColEx {
            flex: 1 1 auto;
            width: auto;
            float: none;
            font-size: 14px;
        }

            .modalWishListWrapper .wishLstBoxCode .RightColEx span {
                display: inline-block;
                padding: 4px 12px;
                border-radius: 6px;
                background: #eef3fa;
                color: #3b6bb4;
                font-size: 15px;
                letter-spacing: 1px;
            }

    .modalWishListWrapper input[type="text"],
    .modalWishListWrapper textarea {
        box-sizing: border-box;
        width: 100% !important;
        height: 36px;
        margin: 0 !important;
        padding: 0 10px;
        border: 1px solid #c9d2dc;
        border-radius: 6px;
        background: #fff;
        font: inherit;
        font-size: 13px;
        color: #292929;
    }

        .modalWishListWrapper input[type="text"]:focus,
        .modalWishListWrapper textarea:focus {
            border-color: #3b6bb4;
            outline: none;
            box-shadow: 0 0 0 3px rgba(59, 107, 180, .15);
        }

    /* recipients table */
    .modalWishListWrapper .GiftcardList {
        width: 100%;
        margin: 10px 0 6px;
        border-spacing: 0;
        border: 1px solid #e3e9ef;
        border-radius: 8px;
        overflow: hidden;
    }

        .modalWishListWrapper .GiftcardList tr td {
            padding: 6px 8px;
            vertical-align: top;
        }

        .modalWishListWrapper .GiftcardList tr:first-child td,
        .modalWishListWrapper .GiftcardList .WishListtableheading {
            padding: 9px 8px;
            background: #f3f6fa;
            color: #292929;
            font-size: 12px;
            font-weight: 600;
            text-align: left;
        }

        .modalWishListWrapper .GiftcardList input[type="text"] {
            height: 34px;
        }

        .modalWishListWrapper .GiftcardList span[id*="RegEx"] {
            display: block;
            padding-top: 3px;
            font-size: 11px;
        }

    /* buttons */
    .modalWishListWrapper .wishLstButtBox {
        display: flex;
        justify-content: flex-end;
        width: auto;
        padding: 6px 0;
        float: none;
    }

        .modalWishListWrapper .wishLstButtBox .RightCol {
            float: none;
            width: auto;
            min-height: 0;
            padding: 0;
            border-left: 0;             /* style.css draws a divider line here */
        }

    .modalWishListWrapper .Abutton {
        display: inline-block;
        height: 38px;
        padding: 0 20px;
        border: 1px solid #3b6bb4;
        border-radius: 6px;
        background: #3b6bb4;
        color: #fff;
        font-family: inherit;
        font-size: 13px;
        font-weight: 600;
        line-height: 36px;
        text-transform: none;
        cursor: pointer;
    }

        .modalWishListWrapper .Abutton:hover {
            background: #2f5a9b;
        }

        .modalWishListWrapper input[id$="btnAddMore"].Abutton {
            background: #fff;
            color: #3b6bb4;
        }

            .modalWishListWrapper input[id$="btnAddMore"].Abutton:hover {
                background: #eef3fa;
            }

    .modalWishListWrapper .wListPerMsg {
        width: auto;
        padding: 6px 0 0;
        float: none;
        text-align: left;
        font-weight: 600;
        font-size: 13px;
        color: #292929;
    }

        .modalWishListWrapper .wListPerMsg textarea {
            height: 84px !important;
            padding: 8px 10px;
            resize: vertical;
            font-weight: normal;
        }

@media screen and (max-width: 600px) {
    .ModalPopupAddtocart.modalWishListWrapper {
        width: 94vw !important;
        max-height: 94vh;
    }

        .modalWishListWrapper .wishRcpListSec {
            padding: 0 14px 14px;
        }

        .modalWishListWrapper .wishLstTop {
            margin: 0 -14px 12px;
            padding: 12px 52px 12px 14px;
        }

        .modalWishListWrapper .wishLstBoxCode {
            flex-wrap: wrap;
            gap: 4px 12px;
        }

            .modalWishListWrapper .wishLstBoxCode .leftColEx {
                flex: 1 1 100%;
            }

        /* recipients: one block per person, each field labelled */
        .modalWishListWrapper .GiftcardList,
        .modalWishListWrapper .GiftcardList tbody {
            display: block;
        }

            .modalWishListWrapper .GiftcardList tr {
                display: block;
                padding: 8px 10px 10px;
                border-bottom: 1px solid #e3e9ef;
            }

                .modalWishListWrapper .GiftcardList tr:first-child {
                    display: none;
                }

                .modalWishListWrapper .GiftcardList tr:last-child {
                    border-bottom: 0;
                }

            .modalWishListWrapper .GiftcardList tr td {
                display: block;
                width: auto !important;     /* the table's column widths otherwise cap each field */
                padding: 3px 0 5px;
            }

                .modalWishListWrapper .GiftcardList tr td::before {
                    display: block;
                    padding-bottom: 3px;
                    font-size: 11px;
                    font-weight: 600;
                    color: #6b7a8c;
                    text-transform: uppercase;
                    letter-spacing: .3px;
                }

                .modalWishListWrapper .GiftcardList tr td:nth-child(1)::before { content: "Email"; }
                .modalWishListWrapper .GiftcardList tr td:nth-child(2)::before { content: "Mobile number"; }
                .modalWishListWrapper .GiftcardList tr td:nth-child(3)::before { content: "Name (optional)"; }

        .modalWishListWrapper .wishLstButtBox:last-child .Abutton {
            width: 100%;
        }
}

/* ============================================================================
   Order History as cards (my-account-order-history.aspx, 2026-11-18).
   Scoped to .orderhistorysection.oh-cards. One .oh-card per order:
   grey summary strip (date / total / ship to / paid with / order no) + body with
   status badge, 4-step mini timeline and the action button.
   ============================================================================ */

/* status tabs (built by script from the Filter by dropdown) */
.orderhistorysection .oh-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
}

    .orderhistorysection .oh-tabs .oh-tab {
        display: inline-block;
        padding: 6px 14px;
        border: 1px solid #d8e2f0;
        border-radius: 999px;
        background: #ffffff;
        color: #33455c;
        font-size: 13px;
        font-weight: 600;
        line-height: 18px;
        text-decoration: none !important;
        white-space: nowrap;
        transition: background 0.13s ease, color 0.13s ease, border-color 0.13s ease;
    }

        .orderhistorysection .oh-tabs .oh-tab:hover {
            border-color: #008186;
            color: #008186;
        }

        .orderhistorysection .oh-tabs .oh-tab.oh-tab-on {
            background: #008186;
            border-color: #008186;
            color: #ffffff;
        }

/* once the tabs exist the dropdown is redundant */
.orderhistorysection.oh-has-tabs .filterby {
    display: none;
}

.orderhistorysection.oh-cards .oh-list {
    clear: both;
    width: 100%;
    box-sizing: border-box;
}

.orderhistorysection.oh-cards .oh-card {
    background: #ffffff;
    border: 1px solid #b7babd;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 0 14px;
    box-shadow: 0 2px 10px rgba(16, 42, 67, 0.06);
}

/* summary strip */
.orderhistorysection.oh-cards .oh-head {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
    padding: 12px 18px;
    background: #f5f8fb;
    border-bottom: 1px solid #e8ecf1;
}

    .orderhistorysection.oh-cards .oh-h {
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-width: 0;
    }

    .orderhistorysection.oh-cards .oh-h-ship {
        flex: 1 1 220px;
        max-width: 420px;
    }

    .orderhistorysection.oh-cards .oh-h-no {
        margin-left: auto;
        text-align: right;
    }

    .orderhistorysection.oh-cards .oh-k {
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        color: #6b7a8c;
        line-height: 16px;
    }

    .orderhistorysection.oh-cards .oh-v {
        font-size: 13.5px;
        color: #1a2b49;
        line-height: 20px;
    }

    .orderhistorysection.oh-cards .oh-link {
        color: #3b6bb4;
        font-weight: 600;
        text-decoration: none !important;
    }

        .orderhistorysection.oh-cards .oh-link:hover {
            color: #008186;
        }

    .orderhistorysection.oh-cards .oh-address {
        white-space: normal;
        word-break: break-word;
    }

    /* Billing Details holds one <span> per payment: one per line */
    .orderhistorysection.oh-cards .oh-billing span {
        display: block;
    }

    /* the order total keeps the site's currency markup, pulled onto one line */
    .orderhistorysection.oh-cards .oh-total .prodOrgPrice-wcart,
    .orderhistorysection.oh-cards .oh-total .cartPrice,
    .orderhistorysection.oh-cards .oh-total .CartImg,
    .orderhistorysection.oh-cards .oh-total .cartContainSpl {
        display: inline-block;
        float: none;
        vertical-align: middle;
        font-weight: 700;
        color: #1a2b49;
    }

/* body */
.orderhistorysection.oh-cards .oh-body {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 14px 18px;
}

    .orderhistorysection.oh-cards .oh-main {
        flex: 1 1 auto;
        min-width: 0;
    }

    .orderhistorysection.oh-cards .oh-statusline {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px 12px;
    }

    .orderhistorysection.oh-cards .oh-shipopt {
        font-size: 13px;
        color: #6b7a8c;
    }

    .orderhistorysection.oh-cards .oh-actions {
        flex: 0 0 auto;
    }

    .orderhistorysection.oh-cards .oh-btn {
        display: inline-block;
        padding: 8px 18px;
        border-radius: 8px;
        border: 1px solid #d8e2f0;
        background: #ffffff;
        color: #33455c;
        font-size: 12.5px;
        font-weight: 600;
        letter-spacing: 0.4px;
        text-transform: uppercase;
        text-decoration: none !important;
        white-space: nowrap;
        transition: transform 0.15s ease, box-shadow 0.15s ease;
    }

    .orderhistorysection.oh-cards .oh-btn-p {
        background: linear-gradient(135deg, #3b6bb4, #4d84d7);
        border-color: transparent;
        color: #ffffff;
        box-shadow: 0 3px 8px rgba(59, 107, 180, 0.30);
    }

        .orderhistorysection.oh-cards .oh-btn-p:hover {
            transform: translateY(-1px);
            box-shadow: 0 5px 12px rgba(59, 107, 180, 0.42);
            color: #ffffff;
        }

/* mini timeline */
.orderhistorysection.oh-cards .oh-steps {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 10px;
    font-size: 12px;
    color: #8b97a6;
}

    .orderhistorysection.oh-cards .oh-step {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        white-space: nowrap;
    }

        .orderhistorysection.oh-cards .oh-step i {
            display: inline-block;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            border: 2px solid #c9d3df;
            background: #ffffff;
            box-sizing: border-box;
        }

    .orderhistorysection.oh-cards .oh-step-done { color: #1e7d3f; }
        .orderhistorysection.oh-cards .oh-step-done i { border-color: #1e7d3f; background: #1e7d3f; }
    .orderhistorysection.oh-cards .oh-step-now { color: #3b6bb4; font-weight: 700; }
        .orderhistorysection.oh-cards .oh-step-now i { border-color: #3b6bb4; background: #ffffff; }
    .orderhistorysection.oh-cards .oh-step-part { color: #27508e; font-weight: 700; }
        .orderhistorysection.oh-cards .oh-step-part i { border-color: #27508e; background: linear-gradient(90deg, #27508e 50%, #ffffff 50%); }

    .orderhistorysection.oh-cards .oh-step-line {
        flex: 0 0 22px;
        height: 2px;
        background: #dbe3ec;
        margin: 0 2px;
    }

    .orderhistorysection.oh-cards .oh-step-line-done {
        background: #1e7d3f;
    }

/* phones: strip items stack, button goes full width under the status */
@media screen and (max-width: 767px) {
    .orderhistorysection.oh-cards .oh-head {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px 14px;
        padding: 12px 14px;
    }

    .orderhistorysection.oh-cards .oh-h-ship {
        grid-column: 1 / -1;
        max-width: none;
    }

    .orderhistorysection.oh-cards .oh-h-no {
        margin-left: 0;
        text-align: left;
    }

    .orderhistorysection.oh-cards .oh-body {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 14px;
    }

    .orderhistorysection.oh-cards .oh-btn {
        display: block;
        text-align: center;
    }
}

/* order items inside the card (phase B) */
.orderhistorysection.oh-cards .oh-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
}

    .orderhistorysection.oh-cards .oh-item {
        display: flex;
        align-items: center;
        gap: 12px;
        text-decoration: none !important;
        color: #1a2b49;
        min-width: 0;
    }

    .orderhistorysection.oh-cards .oh-item-img {
        flex: 0 0 56px;
        width: 56px;
        height: 56px;
        object-fit: cover;
        border-radius: 8px;
    }

    .orderhistorysection.oh-cards .oh-item-txt {
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-width: 0;
    }

    .orderhistorysection.oh-cards .oh-item-name {
        font-size: 13.5px;
        font-weight: 600;
        color: #3b6bb4;
        line-height: 18px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .orderhistorysection.oh-cards .oh-item:hover .oh-item-name {
        color: #008186;
    }

    .orderhistorysection.oh-cards .oh-item-meta {
        font-size: 12px;
        color: #6b7a8c;
        line-height: 16px;
    }

    .orderhistorysection.oh-cards .oh-more {
        font-size: 12px;
        color: #6b7a8c;
        padding-left: 68px;
    }

/* two buttons stacked in the action column */
.orderhistorysection.oh-cards .oh-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-self: flex-start;
    min-width: 170px;
}

    .orderhistorysection.oh-cards .oh-actions .oh-btn {
        text-align: center;
    }

@media screen and (max-width: 767px) {
    .orderhistorysection.oh-cards .oh-actions {
        min-width: 0;
        align-self: stretch;
    }

    .orderhistorysection.oh-cards .oh-more {
        padding-left: 0;
    }
}

/* order cards: package sections (2026-11-18) */
.orderhistorysection.oh-cards .oh-h-no .oh-statusline {
    justify-content: flex-end;
    gap: 6px 10px;
}

.orderhistorysection.oh-cards .oh-pkgcount {
    font-size: 12.5px;
    color: #3b6bb4;
    font-weight: 600;
}

.orderhistorysection.oh-cards .oh-pkg {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 14px 18px;
    border-top: 1px solid #eef2f5;
}

    .orderhistorysection.oh-cards .oh-head + .oh-pkg {
        border-top: none;
    }

    .orderhistorysection.oh-cards .oh-pkg-main {
        flex: 1 1 auto;
        min-width: 0;
    }

    .orderhistorysection.oh-cards .oh-pkg-title {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px 10px;
    }

    .orderhistorysection.oh-cards .oh-pkg-no {
        font-size: 14px;
        font-weight: 700;
        color: #1a2b49;
    }

    .orderhistorysection.oh-cards .oh-pkg-store {
        font-size: 13px;
        color: #6b7a8c;
    }

    .orderhistorysection.oh-cards .oh-pkg-sub {
        font-size: 12.5px;
        color: #6b7a8c;
        margin-top: 4px;
        line-height: 18px;
    }

        .orderhistorysection.oh-cards .oh-pkg-sub:empty {
            display: none;
        }

    .orderhistorysection.oh-cards .oh-pkg .oh-steps {
        margin-top: 8px;
    }

        .orderhistorysection.oh-cards .oh-pkg .oh-steps:empty {
            display: none;
        }

    .orderhistorysection.oh-cards .oh-pkg .oh-items {
        margin-top: 12px;
    }

    .orderhistorysection.oh-cards .oh-item-note.oh-note-bad {
        color: #a32d2d;
    }

    .orderhistorysection.oh-cards .oh-item-note.oh-note-mute {
        color: #6b7a8c;
    }

    .orderhistorysection.oh-cards .oh-btn-muted {
        color: #8b97a6;
        border-color: #e3e7ec;
        background: #fafbfc;
        cursor: default;
    }

/* footer: order-level actions */
.orderhistorysection.oh-cards .oh-foot {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 18px;
    background: #fafbfc;
    border-top: 1px solid #eef2f5;
}

@media screen and (max-width: 767px) {
    .orderhistorysection.oh-cards .oh-h-no .oh-statusline {
        justify-content: flex-start;
    }

    .orderhistorysection.oh-cards .oh-pkg {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 14px;
    }

    .orderhistorysection.oh-cards .oh-foot {
        flex-direction: column;
        padding: 12px 14px;
    }

        .orderhistorysection.oh-cards .oh-foot .oh-btn {
            display: block;
            text-align: center;
        }
}

/* order number as a navy badge in the card header (2026-11-18) */
.orderhistorysection.oh-cards .oh-orderno {
    display: inline-block;
    align-self: flex-end;
    background: #1a2b49;
    color: #ffffff;
    border-radius: 999px;
    padding: 4px 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 18px;
    white-space: nowrap;
}

    .orderhistorysection.oh-cards .oh-orderno small {
        font-size: 11px;
        font-weight: 400;
        letter-spacing: 0.6px;
        text-transform: uppercase;
        opacity: 0.75;
        margin-right: 6px;
    }

.orderhistorysection.oh-cards .oh-h-no {
    gap: 6px;
}

@media screen and (max-width: 767px) {
    .orderhistorysection.oh-cards .oh-orderno {
        align-self: flex-start;
    }

    .orderhistorysection.oh-cards .oh-h-no {
        grid-column: 1 / -1;
    }

    .orderhistorysection.oh-cards .oh-h-no .oh-statusline {
        flex-wrap: wrap;
    }
}

/* order history cards: same buttons as the order details page (2026-11-19) -
   teal outline + teal text at rest, light teal fill on hover */
.orderhistorysection.oh-cards .oh-btn,
.orderhistorysection.oh-cards .oh-btn-p {
    background: #ffffff !important;
    background-image: none !important;
    border: 1px solid #008186 !important;
    color: #008186 !important;
    box-shadow: none !important;
    transform: none !important;
    transition: background 0.13s ease, color 0.13s ease;
}

    .orderhistorysection.oh-cards .oh-btn:hover,
    .orderhistorysection.oh-cards .oh-btn-p:hover {
        background: #e6f4f4 !important;
        border-color: #008186 !important;
        color: #006d71 !important;
        transform: none !important;
        box-shadow: none !important;
    }

/* order history toolbar (2026-11-19): search on the left, "N orders placed in [range]" and status on the right */
.orderhistorysection.oh-cards .oh-toolbar {
    clear: both;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    margin: 0 0 16px;
}

.orderhistorysection.oh-cards .oh-search {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 360px;
    max-width: 520px;
}

.orderhistorysection.oh-cards .oh-search-box {
    position: relative;
    flex: 1 1 auto;
    display: flex;
}

.orderhistorysection.oh-cards .oh-search-ic {
    position: absolute;
    left: 12px;
    top: 50%;
    margin-top: -8px;
    color: #1a2b49;
    pointer-events: none;
}

.orderhistorysection.oh-cards input.oh-search-input {
    width: 100% !important;
    height: 38px !important;
    margin: 0 !important;
    padding: 0 12px 0 36px !important;
    border: 1px solid #9aa7b4 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    font-size: 13.5px !important;
    color: #1a2b49 !important;
    box-sizing: border-box;
    box-shadow: none !important;
    outline: none;
}

    .orderhistorysection.oh-cards input.oh-search-input:focus {
        border-color: #008186 !important;
        box-shadow: 0 0 0 2px rgba(0, 129, 134, 0.15) !important;
    }

.orderhistorysection.oh-cards input.oh-search-btn {
    height: 38px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    border: 1px solid #008186 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    background-image: none !important;
    color: #008186 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: none !important;
    width: auto !important;
    float: none !important;
}

    .orderhistorysection.oh-cards input.oh-search-btn:hover { background: #e6f4f4 !important; color: #006d71 !important; }

.orderhistorysection.oh-cards .oh-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
}

.orderhistorysection.oh-cards .oh-count { font-size: 13.5px; color: #33455c; white-space: nowrap; }
    .orderhistorysection.oh-cards .oh-count b { color: #1a2b49; }

.orderhistorysection.oh-cards select.oh-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 36px !important;
    min-width: 150px;
    margin: 0 !important;
    padding: 0 32px 0 12px !important;
    border: 1px solid #9aa7b4 !important;
    border-radius: 8px !important;
    background: #ffffff url(../images/drop-arrow.png) no-repeat right 10px center !important;
    font-size: 13px !important;
    color: #1a2b49 !important;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(16, 42, 67, 0.08);
    outline: none;
}

    .orderhistorysection.oh-cards select.oh-select:focus { border-color: #008186 !important; }

@media screen and (max-width: 767px) {
    .orderhistorysection.oh-cards .oh-search { flex-basis: 100%; max-width: none; }
    .orderhistorysection.oh-cards .oh-filters { width: 100%; }
    .orderhistorysection.oh-cards select.oh-select { flex: 1 1 140px; min-width: 0; }
}

/* clear (x) inside the search box, shown while a search is active */
.orderhistorysection.oh-cards input.oh-search-input.oh-search-on { padding-right: 38px !important; border-color: #008186 !important; }

.orderhistorysection.oh-cards a.oh-search-clear {
    position: absolute;
    right: 8px;
    top: 50%;
    margin-top: -12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef2f5;
    color: #33455c !important;
    font-size: 18px;
    line-height: 1;
    text-decoration: none !important;
}

    .orderhistorysection.oh-cards a.oh-search-clear:hover { background: #e6f4f4; color: #008186 !important; }

/* phones: a bigger tap target for the clear (x) */
@media screen and (max-width: 767px) {
    .orderhistorysection.oh-cards input.oh-search-input.oh-search-on { padding-right: 46px !important; }
    .orderhistorysection.oh-cards a.oh-search-clear { right: 6px; width: 32px; height: 32px; margin-top: -16px; font-size: 20px; }
}

@media screen and (max-width: 1024px) {
    .orderhistorysection.oh-cards a.oh-lnk-track,
    .orderhistorysection.oh-cards a.oh-lnk-review,
    .orderhistorysection.oh-cards .oh-foot a.oh-lnk-invoice,
    .orderhistorysection.oh-cards .oh-foot a.oh-lnk-details {
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
        gap: 6px;
        min-width: 0;
        padding: 6px 0;
        border-color: transparent !important;
        background: transparent !important;
        color: #008186 !important;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0;
        text-transform: none;
        text-align: left;
    }

        .orderhistorysection.oh-cards a.oh-lnk-track:hover,
        .orderhistorysection.oh-cards a.oh-lnk-review:hover,
        .orderhistorysection.oh-cards .oh-foot a.oh-lnk-invoice:hover,
        .orderhistorysection.oh-cards .oh-foot a.oh-lnk-details:hover {
            background: transparent !important;
            border-color: transparent !important;
            color: #006d71 !important;
            text-decoration: underline !important;
        }

        .orderhistorysection.oh-cards a.oh-lnk-track::before,
        .orderhistorysection.oh-cards a.oh-lnk-review::before,
        .orderhistorysection.oh-cards .oh-foot a.oh-lnk-invoice::before {
            content: "";
            flex: 0 0 15px;
            width: 15px;
            height: 15px;
            background-repeat: no-repeat;
            background-position: center;
            background-size: 15px 15px;
        }

        .orderhistorysection.oh-cards a.oh-lnk-track::before {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23008186' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E");
        }

        .orderhistorysection.oh-cards a.oh-lnk-review::before {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23008186' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 17.75l-6.17 3.24 1.18-6.87-5-4.86 6.9-1 3.09-6.26 3.09 6.26 6.9 1-5 4.86 1.18 6.87z'/%3E%3C/svg%3E");
        }

        .orderhistorysection.oh-cards .oh-foot a.oh-lnk-invoice::before {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23008186' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2'/%3E%3Cpath d='M7 11l5 5l5-5'/%3E%3Cpath d='M12 4v12'/%3E%3C/svg%3E");
        }

        .orderhistorysection.oh-cards .oh-foot a.oh-lnk-details::after {
            content: "\203A";
            font-size: 18px;
            line-height: 1;
            margin-top: -2px;
        }

    /* "Not shipped yet": plain grey text in the same place */
    .orderhistorysection.oh-cards .oh-pkg .oh-actions .oh-btn-muted {
        padding: 6px 0;
        border-color: transparent !important;
        background: transparent !important;
        color: #8b97a6 !important;
        font-size: 13px;
        letter-spacing: 0;
        text-transform: none;
        text-align: left;
    }

    /* package links: a small column on the right (desktop / tablet), one row on phones */
    .orderhistorysection.oh-cards .oh-pkg .oh-actions {
        align-items: flex-start;
        gap: 2px;
        min-width: 140px;
    }

    .orderhistorysection.oh-cards .oh-foot {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 18px;
    }

        .orderhistorysection.oh-cards .oh-foot a.oh-lnk-details { margin-left: auto; }
}

@media screen and (max-width: 767px) {
    .orderhistorysection.oh-cards .oh-pkg .oh-actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 4px 22px;
        min-width: 0;
    }

        .orderhistorysection.oh-cards .oh-pkg .oh-actions > * { flex: 0 0 auto; }

    .orderhistorysection.oh-cards .oh-foot { flex-direction: row; padding: 10px 14px; }
        .orderhistorysection.oh-cards .oh-foot .oh-btn.oh-lnk-invoice,
        .orderhistorysection.oh-cards .oh-foot .oh-btn.oh-lnk-details { display: inline-flex; }
}

/* desktop and laptop (2026-11-19): the outlined buttons as before, with a small icon */
@media screen and (min-width: 1025px) {
    .orderhistorysection.oh-cards a.oh-lnk-track,
    .orderhistorysection.oh-cards a.oh-lnk-review,
    .orderhistorysection.oh-cards .oh-foot a.oh-lnk-invoice,
    .orderhistorysection.oh-cards .oh-foot a.oh-lnk-details {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
    }

        .orderhistorysection.oh-cards a.oh-lnk-track::before,
        .orderhistorysection.oh-cards a.oh-lnk-review::before,
        .orderhistorysection.oh-cards .oh-foot a.oh-lnk-invoice::before,
        .orderhistorysection.oh-cards .oh-foot a.oh-lnk-details::before {
            content: "";
            flex: 0 0 15px;
            width: 15px;
            height: 15px;
            background-repeat: no-repeat;
            background-position: center;
            background-size: 15px 15px;
        }

        .orderhistorysection.oh-cards a.oh-lnk-track::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23008186' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
        .orderhistorysection.oh-cards a.oh-lnk-review::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23008186' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 17.75l-6.17 3.24 1.18-6.87-5-4.86 6.9-1 3.09-6.26 3.09 6.26 6.9 1-5 4.86 1.18 6.87z'/%3E%3C/svg%3E"); }
        .orderhistorysection.oh-cards .oh-foot a.oh-lnk-invoice::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23008186' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2'/%3E%3Cpath d='M7 11l5 5l5-5'/%3E%3Cpath d='M12 4v12'/%3E%3C/svg%3E"); }
        .orderhistorysection.oh-cards .oh-foot a.oh-lnk-details::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23008186' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3v4a1 1 0 0 0 1 1h4'/%3E%3Cpath d='M17 21H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7l5 5v11a2 2 0 0 1-2 2z'/%3E%3Cpath d='M9 13h6'/%3E%3Cpath d='M9 17h6'/%3E%3C/svg%3E"); }
}

/* phones and tablets (2026-11-19): no tracking line in the package cards (it is on the tracking page) */
@media screen and (max-width: 1024px) {
    .orderhistorysection.oh-cards .oh-pkg .oh-steps { display: none !important; }
}

div[id$="prodDetailsmodal"] .ProdDtlsModalarea,
div[id$="prodDetailsmodal"] .MTotScrollarea {
    background: #ffffff;
}

div[id$="prodDetailsmodal"] .ProdDtlsMiddleContArea {
    padding: 16px 20px 0;
}

/* sections: no boxes, one thin divider between them */
div[id$="prodDetailsmodal"] .revCard {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0 0 16px;
    margin: 0 0 16px;
    border-bottom: 1px solid #eef1f5;
    overflow: visible;
}

    div[id$="prodDetailsmodal"] .revCard.revPhotoCard {
        border-bottom: none;
        margin-bottom: 6px;
    }

div[id$="prodDetailsmodal"] .RevHead {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #6b7a8c;
    padding: 0 0 10px;
}

    div[id$="prodDetailsmodal"] .RevHead::before {
        content: none;
    }

    div[id$="prodDetailsmodal"] .RevHead .revHeadNote {
        text-transform: none;
        letter-spacing: 0;
        font-weight: 400;
    }

div[id$="prodDetailsmodal"] .RevstoreName {
    color: #6b7a8c;
}

/* rating tiles */
div[id$="prodDetailsmodal"] .revRateCard {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

    div[id$="prodDetailsmodal"] .revRateCard .RevHead {
        grid-column: 1 / -1;
        padding-bottom: 0;
    }

div[id$="prodDetailsmodal"] .RevpRating.revTile {
    float: none;
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
    padding: 10px 12px !important;
    border: 1px solid #e3e8ee !important;
    border-radius: 10px;
    background: #ffffff;
    box-sizing: border-box;
    transition: border-color 0.15s ease, background 0.15s ease;
}

    div[id$="prodDetailsmodal"] .RevpRating.revTile > div[id*="UpdatePanelRating"] {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    div[id$="prodDetailsmodal"] .RevpRating.revTile .left {
        width: auto;
        float: none;
        font-size: 12.5px;
        font-weight: 600;
        color: #6b7a8c;
        line-height: 16px;
    }

    div[id$="prodDetailsmodal"] .RevpRating.revTile .ratingtext:has(input[type="image"]) {
        background: none;
        border: none;
        padding: 0;
        gap: 3px;
    }

    div[id$="prodDetailsmodal"] .RevpRating.revTile .ratingtext input[type="image"] {
        width: 19px;
        height: 19px;
    }

    div[id$="prodDetailsmodal"] .RevpRating.revTile .right {
        margin: 0 !important;
        padding: 0;
        max-width: 100%;
    }

    div[id$="prodDetailsmodal"] .revTile .revWord {
        font-size: 12px;
        font-weight: 600;
        line-height: 16px;
        min-height: 16px;
        color: #8b97a6;
    }

    div[id$="prodDetailsmodal"] .RevpRating.revTile.is-rated {
        border-color: #277487 !important;
        background: #f3f9fa;
    }

        div[id$="prodDetailsmodal"] .revTile.is-rated .revWord {
            color: #277487;
        }

div[id$="prodDetailsmodal"].rev-noword .revTile .revWord {
    display: none;
}

/* review box + count */
div[id$="prodDetailsmodal"] .RevReviewText {
    position: relative;
    padding: 0;
}

    div[id$="prodDetailsmodal"] .RevReviewText textarea {
        display: block;
        height: 110px;
        min-height: 110px;
        margin: 0;
    }

        div[id$="prodDetailsmodal"] .RevReviewText textarea::placeholder {
            color: #9aa7b4;
        }

    div[id$="prodDetailsmodal"] .RevReviewText .revCount {
        display: block;
        margin-top: 6px;
        text-align: right;
        font-size: 11.5px;
        line-height: 14px;
        color: #9aa7b4;
    }

/* photo tiles: dashed square with "+", the chosen / saved picture fills it.
   The real file picker covers the tile (transparent), so a tap opens it. */
div[id$="prodDetailsmodal"] .revCard.revPhotoCard:has(input[type="file"]) {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

    div[id$="prodDetailsmodal"] .revPhotoCard .RevHead {
        flex: 1 1 100%;
        padding-bottom: 0;
    }

    div[id$="prodDetailsmodal"] .revCard.revPhotoCard .RevpRating:has(input[type="file"]) {
        position: relative;
        display: block;
        float: none;
        width: 76px;
        height: 76px;
        padding: 0 !important;
        margin: 0;
        border: 1.5px dashed #b8c4d0 !important;
        border-radius: 10px;
        background: #fafbfc;
        box-sizing: border-box;
        overflow: hidden;
        cursor: pointer;
    }

        div[id$="prodDetailsmodal"] .revCard.revPhotoCard .RevpRating:has(input[type="file"]):hover {
            border-color: #277487 !important;
            background: #f3f9fa;
        }

        div[id$="prodDetailsmodal"] .revPhotoCard .RevpRating .left {
            position: absolute;
            inset: 0;
            width: auto;
            margin: 0;
        }

            div[id$="prodDetailsmodal"] .revPhotoCard .RevpRating .left img {
                width: 100% !important;
                height: 100% !important;
                border: none;
                border-radius: 0;
                padding: 0;
                object-fit: cover;
                background: transparent;
            }

            div[id$="prodDetailsmodal"] .revPhotoCard .RevpRating .left img:not([src]),
            div[id$="prodDetailsmodal"] .revPhotoCard .RevpRating .left img[src=""],
            div[id$="prodDetailsmodal"] .revPhotoCard .RevpRating .left img[src*="noimage" i],
            div[id$="prodDetailsmodal"] .revPhotoCard .RevpRating .left img.rev-img-missing {
                visibility: hidden;
            }

        div[id$="prodDetailsmodal"] .revPhotoCard .RevpRating .right,
        div[id$="prodDetailsmodal"] .revPhotoCard .RevpRating .ratingtext {
            position: absolute;
            inset: 0;
            margin: 0;
        }

        div[id$="prodDetailsmodal"] .revPhotoCard .RevpRating input[type="file"] {
            position: absolute;
            inset: 0;
            width: 100% !important;
            max-width: none !important;
            height: 100%;
            margin: 0;
            opacity: 0;
            cursor: pointer;
            z-index: 2;
        }

        /* "+" while the tile is empty */
        /* (an empty slot can also carry the site's images/noimage.jpg placeholder) */
        div[id$="prodDetailsmodal"] .revPhotoCard .RevpRating:has(.left img:not([src]))::after,
        div[id$="prodDetailsmodal"] .revPhotoCard .RevpRating:has(.left img[src=""])::after,
        div[id$="prodDetailsmodal"] .revPhotoCard .RevpRating:has(.left img[src*="noimage" i])::after,
        div[id$="prodDetailsmodal"] .revPhotoCard .RevpRating:has(.left img.rev-img-missing)::after {
            content: "+";
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            font-weight: 300;
            color: #8b97a6;
            pointer-events: none;
        }

        /* a picture is there: solid teal frame */
        div[id$="prodDetailsmodal"] .revCard.revPhotoCard .RevpRating:has(.left img[src]:not([src=""]):not([src*="noimage" i]):not(.rev-img-missing)) {
            border-style: solid !important;
            border-color: #277487 !important;
        }

/* bottom bar: Cancel + Submit review on the right */
div[id$="prodDetailsmodal"] .RevReview {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin: 0 -20px;
    padding: 12px 20px;
    background: #ffffff;
}

    div[id$="prodDetailsmodal"] .RevReview .bluebutton,
    div[id$="prodDetailsmodal"] .RevReview .revCancelBtn {
        min-width: 130px;
        margin: 0 !important;
        padding: 10px 20px !important;
        border-radius: 8px !important;
        font-family: inherit;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0.4px;
        line-height: 16px !important;
        text-transform: uppercase;
        cursor: pointer;
        box-shadow: none;
        transform: none;
    }

    div[id$="prodDetailsmodal"] .RevReview .bluebutton {
        background: #008186 !important;
        border: 1px solid #008186 !important;
        color: #ffffff !important;
        box-shadow: none !important;
    }

        div[id$="prodDetailsmodal"] .RevReview .bluebutton:hover {
            background: #006d71 !important;
            border-color: #006d71 !important;
            transform: none;
        }

    div[id$="prodDetailsmodal"] .RevReview .revCancelBtn {
        background: #ffffff;
        border: 1px solid #008186;
        color: #008186;
    }

        div[id$="prodDetailsmodal"] .RevReview .revCancelBtn:hover {
            background: #e6f4f4;
        }

/* 2026-11-20: prodDtlsModal.css adds padding: 10px !important (<= 480px) and max-width: 85% / 95%
   !important (<= 768px / 1024px) to every .ProdDtlsModalarea. On the review modal that inset the teal
   header and pushed the round close button out of its corner, so both are undone here. */
div[id$="prodDetailsmodal"] .ProdDtlsModalarea {
    padding: 0 !important;
    max-width: none !important;
}

/* tablets and phones: tiles 2 x 2 */
@media screen and (max-width: 767px) {
    div[id$="prodDetailsmodal"] .revRateCard {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    div[id$="prodDetailsmodal"] .RevpRating.revTile .ratingtext input[type="image"] {
        width: 17px;
        height: 17px;
    }
}

@media screen and (max-width: 640px) {
    div[id$="prodDetailsmodal"] .ProdDtlsMiddleContArea {
        padding: 14px 14px 0;
    }

    div[id$="prodDetailsmodal"] .revCard.revPhotoCard .RevpRating:has(input[type="file"]) {
        width: 64px;
        height: 64px;
    }

    div[id$="prodDetailsmodal"] .RevReview {
        margin: 0 -14px;
        padding: 10px 14px 12px;
    }

        div[id$="prodDetailsmodal"] .RevReview .bluebutton,
        div[id$="prodDetailsmodal"] .RevReview .revCancelBtn {
            flex: 1 1 0;
            width: auto !important;
            min-width: 0;
        }
}

.oh-rev-wrap {
    position: fixed;
    inset: 0;
    z-index: 100060;
    background: transparent;
}

    .oh-rev-wrap .oh-rev-frame {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
        background: transparent;
        visibility: hidden;
    }

    .oh-rev-wrap.is-ready .oh-rev-frame {
        visibility: visible;
    }

    .oh-rev-wrap.is-ready .oh-rev-loader {
        display: none !important;
    }

html.oh-rev-open, html.oh-rev-open body {
    overflow: hidden;
}

.productlistnext-prevarea .page .pg-gap {
    display: none;
}

@media screen and (max-width: 767px) {
    .productlistnext-prevarea .page {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 6px;
    }

        .productlistnext-prevarea .page a,
        .productlistnext-prevarea .page span {
            margin: 0;
            min-width: 34px;
            height: 34px;
            line-height: 32px;
        }

        .productlistnext-prevarea .page .pg-far,
        .productlistnext-prevarea .page .pg-dots {
            display: none !important;
        }

        .productlistnext-prevarea .page .pg-gap {
            display: inline-block;
            min-width: 14px;
            color: #8b97a6;
            font-style: normal;
            font-size: 14px;
            text-align: center;
        }
}
