/* ==========================================================================
   The course card, dressed (the owner's word, 29 November 2026: beside the
   pages drawn around it the card read as an older design; approved the same
   day on the home of one account and asked for on every page that prints the
   card, public and signed in, on every platform).

   One card, two vocabularies. A single course platform prints it as
   .productSection > .productWrapper (its landings, its course pages, the
   home of its account); a catalogue platform prints the same card on a
   course page as .cwCardsRow > .cwCardWrapper. Every rule names both, so the
   card is one design wherever it stands. Its scope is the class cd-cards on
   the grid that holds the cards: without it a page is exactly what it was.

   What the dress does, and nothing else:
   - one type system, through tokens: Plus Jakarta Sans for the name of the
     course, the prices and what is pressed, Inter for what is read; nothing
     read under 14px, nothing pressed under 44px;
   - the price is a sale and reads as one (a price in ink on a quiet plate
     read as an ordinary price and was refused): the price a course costs in
     red, large; the price it replaces before it, struck by a red stroke drawn
     across it; the drawing of the price at the head of the row; the promise
     beside the two prices, never in a box of its own and never in capitals;
   - the facts as a list read across: the drawing, the label, the value on
     the right edge, so the values of a card stand in one column;
   - the value band from edge to edge of the card, in the tone of its course
     (emerald, violet for the theory course): a strip that says something,
     never a shape that could be taken for something to press;
   - the button that buys over View Course, each the width of the card, the
     one that is pressed first standing first (side by side was refused): the
     blue of every primary of the account with its cart, then the pale blue
     of the platform with its arrow, the second button of the catalogue card
     (a white ghost stood here and was refused on 30 November 2026: white on
     the white of the card, it was a button nobody saw);
   - the mark of the accreditations is the shield of the catalogue card, in
     the blue of the platform: the green seal of its own sheet was a second
     green tick right under the tick of the band (refused the same day);
   - the three promises under a hairline, all three at every width;
   - two cards a row where two of 360px stand side by side, a card left alone
     on the last row in the middle, every row of a card on the line of the
     same row of the card beside it (a subgrid of the grid of the cards);
   - its own night: the card of an account says data-dm-skip, so the pass of
     the dark dashboard leaves it alone, and its dark tokens close this sheet.

   What it never touches: a word of the card, the national edge on its top,
   the badge on its picture, the chips of the accreditations, the language
   button (each has its own sheet), the form that adds a course to the cart.

   How it wins: the card is written by older sheets and by the style blocks of
   its pages, nearly every declaration of theirs pinned with an important
   flag. The dress lives in a cascade layer, and an important declaration of
   a layer comes before every important declaration outside one, whatever the
   selector. So every declaration below is important, on purpose, and no
   selector is made longer to win. A browser that knows no layers leaves the
   whole block out and shows the card as it was, whole and working.
   ========================================================================== */

@layer course-card-dress {

    /* ---- the grid of the cards, and the tokens of the dress ---- */
    .cd-cards {
        --cd-font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
        --cd-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        --cd-ink: #0b1220;
        --cd-ink-2: #253247;
        --cd-ink-3: #3f4d66;
        --cd-line: rgba(30, 58, 138, 0.1);
        --cd-line-strong: #cbd6e8;
        --cd-blue: #2563eb;
        --cd-blue-deep: #1d4ed8;
        --cd-green: #059669;
        --cd-green-deep: #047857;
        /* the sale: the red of the price, the stroke across the price it replaces, the grey of that price */
        --cd-sale: #dc2626;
        --cd-stroke: #ef4444;
        --cd-stroke-glow: rgba(239, 68, 68, 0.25);
        --cd-was: #64748b;
        --cd-dot: #94a3b8;
        --cd-card: rgba(255, 255, 255, 0.78);
        --cd-body: #ffffff;
        /* View Course, the second button of the card: the pale blue of the platform under the button that buys */
        --cd-soft: linear-gradient(180deg, #f7faff 0%, #ecf2ff 100%);
        --cd-soft-over: linear-gradient(180deg, #eef4ff 0%, #dde8ff 100%);
        --cd-soft-line: #c6d5f5;
        --cd-soft-ink: #1e3a8a;
        /* the mark of the accreditations: a shield of that blue, its tick white */
        --cd-seal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='3 1.6 18 20.8'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%233b82f6'/%3E%3Cstop offset='1' stop-color='%231d4ed8'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23g)' d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='m8.5 12 2.5 2.5 4.6-5'/%3E%3C/svg%3E");
        /* the primary of the account, as every primary of its home is painted */
        --cd-buy: linear-gradient(135deg, #1e3a5f 0%, #2563eb 55%, #1d4ed8 100%);
        --cd-buy-over: linear-gradient(135deg, #1e40af 0%, #3b82f6 55%, #2563eb 100%);
        --cd-buy-shadow: 0 12px 24px -14px rgba(37, 99, 235, 0.8);
        --cd-buy-shadow-over: 0 20px 36px -16px rgba(37, 99, 235, 0.95);
        --cd-val: #059669;
        --cd-val-ink: #065f46;
        --cd-val-wash: linear-gradient(180deg, #f1fbf6 0%, #e5f7ee 100%);
        --cd-val-line: rgba(5, 150, 105, 0.2);
        --cd-val-tag: #ffffff;
        --cd-radius: 26px;
        --cd-radius-md: 14px;
        --cd-pad: 26px;
        --cd-gap: 28px;
        --cd-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 28px 60px -34px rgba(30, 58, 138, 0.45);
        --cd-shadow-over: 0 1px 2px rgba(15, 23, 42, 0.05), 0 34px 64px -30px rgba(30, 58, 138, 0.55);
        --cd-ring: 0 0 0 2px var(--cd-body), 0 0 0 4px var(--cd-blue), 0 0 0 8px rgba(37, 99, 235, 0.16);
        --cd-ease: cubic-bezier(0.22, 1, 0.36, 1);
        /* the two glyphs of what is pressed: a cart, an arrow (drawn once, painted in the colour of their words) */
        --cd-glyph-cart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 3.5h2.2l2.3 11.1a1.6 1.6 0 0 0 1.6 1.3h8.6a1.6 1.6 0 0 0 1.6-1.2l1.6-7.2H6'/%3E%3Ccircle cx='9.6' cy='19.8' r='1.4'/%3E%3Ccircle cx='17' cy='19.8' r='1.4'/%3E%3C/svg%3E");
        --cd-glyph-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");

        /* the room the grid keeps on each side of its cards */
        --cd-gutter: 14px;

        /* two cards a row where two of 360px stand side by side, one card in the middle where they do not
           (the columns are counted by their least width, so their greatest is a share and never a length);
           the room between two rows is the foot of a card, because the cards are subgrids of this grid.
           A card always fills its place in the grid, and it is the grid that is never wider than its cards:
           two columns of 512px at the most, and, where its page gives it less than two columns of 360px, one
           column of 512px in the middle of the page. A card narrower than its place is measured by Firefox at
           the width of the place, and the row of its photograph then stands taller than the photograph.
           776px is two columns of 360px, the room between them and the room on each side: a browser lays no
           width between 775.99px and 776px, so the grid is one column under that width and two from it */
        display: grid !important;
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)) !important;
        justify-content: center !important;
        justify-items: center !important;
        align-items: stretch !important;
        gap: 0 var(--cd-gap) !important;
        box-sizing: border-box !important;
        /* the home of an account lays its sections in a grid of one column: a grid of columns that are never
           dropped would ask that column for the width of its columns on a phone, so it asks it for nothing */
        min-width: 0 !important;
        max-width: 1080px !important;
        max-width: clamp(calc(512px + 2 * var(--cd-gutter)), calc((100% - 775.99px) * 1000000), 1080px) !important;
        margin-inline: auto !important;
        padding: 0 var(--cd-gutter) !important;
        width: 100% !important;
        /* the grid measures itself (cd-row) and asks its page for no width of its own */
        container: cd-row / inline-size !important;
    }

    /* ---- the card ---- */
    .cd-cards :is(.productWrapper, .cwCardWrapper) {
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        box-sizing: border-box !important;
        justify-self: center !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 512px !important;
        margin: 0 0 var(--cd-gap) !important;
        padding: 0 !important;
        gap: 0 !important;
        overflow: hidden !important;
        /* a card that is a container cannot be a subgrid: what answers a width here answers it by itself */
        container-type: normal !important;
        background: var(--cd-card) !important;
        border: 1px solid var(--cd-line) !important;
        border-radius: var(--cd-radius) !important;
        box-shadow: var(--cd-shadow) !important;
        /* the picture and the body are opaque: a blur behind them paints nothing and costs a layer each */
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
        transform: none !important;
        transition: transform 0.28s var(--cd-ease), box-shadow 0.28s var(--cd-ease) !important;
    }

    /* a page with one card: its grid is one column of 512px in the middle of the page at every width, so the
       card is as wide as it always was and fills its place */
    .cd-cards:not(:has(> :is(.productWrapper, .cwCardWrapper) ~ :is(.productWrapper, .cwCardWrapper))) {
        max-width: calc(512px + 2 * var(--cd-gutter)) !important;
    }

    /* a card left alone on a row of two columns (the last of an odd number) keeps its column and stands half a
       column in, in the middle of the grid: it is moved, never laid across the two columns (748px is two
       columns of 360px and the room between them) */
    @container cd-row (min-width: 748px) {
        .cd-cards > :is(.productWrapper, .cwCardWrapper):last-of-type:nth-of-type(odd) {
            translate: calc(50% + var(--cd-gap) / 2) 0 !important;
        }
    }

    /* the national edge keeps its place on the top of the card, in the flow of the card on every page (a
       catalogue page laid it over the photograph) */
    .cd-cards :is(.productWrapper, .cwCardWrapper) > :is(.ie-card-top, .uk-card-top) {
        position: relative !important;
    }

    /* a card rises under a pointer; a finger that tapped it leaves no hover behind */
    @media (hover: hover) {
        .cd-cards :is(.productWrapper, .cwCardWrapper):hover {
            transform: translateY(-3px) !important;
            box-shadow: var(--cd-shadow-over) !important;
        }

        .cd-cards :is(.productWrapper, .cwCardWrapper):hover :is(.product-img, .cwCardImg) img {
            transform: scale(1.035) !important;
        }
    }

    /* ---- the picture: one frame, the photograph filling it ---- */
    .cd-cards :is(.product-img, .cwCardImg) {
        position: relative !important;
        flex: 0 0 auto !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 15 / 7 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        background: #e8eef9 !important;
    }

    .cd-cards :is(.product-img, .cwCardImg) img {
        position: absolute !important;
        inset: 0 !important;
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        border-radius: 0 !important;
        object-fit: cover !important;
        object-position: center !important;
        transform: none !important;
        transition: transform 0.7s var(--cd-ease) !important;
    }

    /* the shade at the foot of the photograph, as the card always had it */
    .cd-cards :is(.product-img, .cwCardImg)::after {
        content: '' !important;
        position: absolute !important;
        inset: auto 0 0 0 !important;
        height: 42% !important;
        background: linear-gradient(to top, rgba(8, 15, 30, 0.3), rgba(8, 15, 30, 0)) !important;
        pointer-events: none !important;
    }

    /* ---- the body ---- */
    .cd-cards :is(.product-info, .cwCardInfo) {
        display: flex !important;
        flex: 1 1 auto !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        box-sizing: border-box !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 22px var(--cd-pad) 18px !important;
        gap: 0 !important;
        border-top: 1px solid var(--cd-line) !important;
        border-radius: 0 !important;
        background: var(--cd-body) !important;
    }

    .cd-cards :is(.product-text, .cwCardText) {
        display: flex !important;
        flex: 1 1 auto !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 0 !important;
        row-gap: 0 !important;
    }

    /* the name of the course */
    .cd-cards :is(.product-text, .cwCardText) :is(h1, h2),
    .cd-cards :is(.product-text, .cwCardText) :is(h1, h2) :is(.title-full, .title-mobile, .cwTitleFull, .cwTitleMobile) {
        margin: 0 !important;
        padding: 0 !important;
        font-family: var(--cd-font-display) !important;
        font-size: 25px !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;
        letter-spacing: -0.02em !important;
        text-align: left !important;
        text-transform: none !important;
        text-wrap: balance !important;
        color: var(--cd-ink) !important;
    }

    /* ---- the value band: from edge to edge of the card, in the tone of its course. It says what the course
       holds; it is a strip and never a rounded plate, which beside the language button would read as a second
       thing to press ---- */
    .cd-cards :is(.product-text, .cwCardText) :is(.mh-combo-badge, .cwComboBadge) {
        display: flex !important;
        align-items: center !important;
        align-self: stretch !important;
        gap: 11px !important;
        box-sizing: border-box !important;
        width: auto !important;
        min-height: 48px !important;
        margin: 15px calc(-1 * var(--cd-pad)) 0 !important;
        padding: 10px var(--cd-pad) !important;
        border: 0 !important;
        border-top: 1px solid var(--cd-val-line) !important;
        border-bottom: 1px solid var(--cd-val-line) !important;
        border-radius: 0 !important;
        background: var(--cd-val-wash) !important;
        /* the band measures itself: where its long words would take two lines it says its short ones */
        container: cd-band / inline-size !important;
    }

    .cd-cards :is(.product-text, .cwCardText) :is(.mh-combo-badge--theory, .cwComboBadge--blue) {
        --cd-val: #7c3aed;
        --cd-val-ink: #5b21b6;
        --cd-val-wash: linear-gradient(180deg, #f8f6ff 0%, #efeafd 100%);
        --cd-val-line: rgba(109, 40, 217, 0.2);
    }

    .cd-cards :is(.product-text, .cwCardText) :is(.mh-combo-badge__tag, .cwComboBadge__tag) {
        flex: 0 0 auto !important;
        padding: 6px 9px !important;
        border-radius: 8px !important;
        background: var(--cd-val-tag) !important;
        box-shadow: 0 1px 2px rgba(11, 31, 58, 0.1) !important;
        font-family: var(--cd-font-display) !important;
        font-size: 12.5px !important;
        font-weight: 800 !important;
        line-height: 1.1 !important;
        letter-spacing: 0.07em !important;
        text-transform: uppercase !important;
        white-space: nowrap !important;
        color: var(--cd-val-ink) !important;
    }

    .cd-cards :is(.product-text, .cwCardText) :is(.mh-combo-badge__txt, .cwComboBadge__txt) {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        overflow: visible !important;
        font-family: var(--cd-font-body) !important;
        font-size: 14.5px !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
        letter-spacing: 0 !important;
        white-space: normal !important;
        text-wrap: balance !important;
        color: var(--cd-val-ink) !important;
    }

    .cd-cards :is(.product-text, .cwCardText) :is(.mh-combo-badge__full, .cwComboBadge__full) {
        display: inline !important;
    }

    .cd-cards :is(.product-text, .cwCardText) :is(.mh-combo-badge__short, .cwComboBadge__short) {
        display: none !important;
    }

    .cd-cards :is(.product-text, .cwCardText) :is(.mh-combo-badge__check, .cwComboBadge__check) {
        display: inline-flex !important;
        flex: 0 0 22px !important;
        align-items: center !important;
        justify-content: center !important;
        width: 22px !important;
        height: 22px !important;
        border-radius: 50% !important;
        background: var(--cd-val) !important;
        color: #ffffff !important;
    }

    .cd-cards :is(.product-text, .cwCardText) :is(.mh-combo-badge__check, .cwComboBadge__check) svg {
        width: 13px !important;
        height: 13px !important;
    }

    @container cd-band (max-width: 335px) {
        .cd-cards :is(.product-text, .cwCardText) :is(.mh-combo-badge__full, .cwComboBadge__full) {
            display: none !important;
        }

        .cd-cards :is(.product-text, .cwCardText) :is(.mh-combo-badge__short, .cwComboBadge__short) {
            display: inline !important;
        }
    }

    /* a band too narrow even for its short words beside its tick lets the tick go */
    @container cd-band (max-width: 255px) {
        .cd-cards :is(.product-text, .cwCardText) :is(.mh-combo-badge__check, .cwComboBadge__check) {
            display: none !important;
        }
    }

    /* ---- what the course is recognised by, and the languages it is studied in: their own sheets draw
       them, the dress only gives them their place ---- */
    .cd-cards :is(.product-text, .cwCardText) .isa-accrow {
        align-self: flex-start !important;
        margin: 16px 0 0 !important;
    }

    /* the mark of the accreditations. Its own sheet draws a green seal with a tick, which right under the green
       tick of the band is a second green tick: here it is the shield of the catalogue card, in the blue of the
       platform (--cd-seal). It is as tall as the chips it stands before and as wide as a shield of that height
       is, so it starts on the edge every row of the card starts on */
    .cd-cards .isa-accrow__seal {
        display: block !important;
        flex: 0 0 19px !important;
        width: 19px !important;
        height: 22px !important;
        margin: 0 !important;
        background: var(--cd-seal) center / contain no-repeat !important;
        filter: drop-shadow(0 1px 1.5px rgba(29, 78, 216, 0.26)) !important;
    }

    .cd-cards .isa-accrow__seal > * {
        display: none !important;
    }

    .cd-cards :is(.product-text, .cwCardText) .course-langs {
        align-self: stretch !important;
        margin: 13px 0 0 !important;
    }

    .cd-cards :is(.product-text, .cwCardText) :is(.mh-card-divider, .cwCardDivider) {
        align-self: stretch !important;
        width: 100% !important;
        height: 0 !important;
        margin: 18px 0 0 !important;
        border: 0 !important;
        border-top: 1px solid var(--cd-line) !important;
        opacity: 1 !important;
    }

    /* ---- the facts and the price: one list, every row its drawing and then its words ---- */
    .cd-cards :is(.product-info-icons, .cwCardFacts) {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        margin: auto 0 0 !important;
        padding: 0 !important;
        gap: 0 !important;
    }

    .cd-cards :is(.product-icons, .cwCardFact) {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        min-height: 40px !important;
        margin: 10px 0 0 !important;
        padding: 0 !important;
    }

    .cd-cards :is(.product-icons, .cwCardFact):first-child {
        margin-top: 16px !important;
    }

    .cd-cards :is(.product-icon-art, .cwCardFactIcon) {
        display: block !important;
        flex: 0 0 40px !important;
        width: 40px !important;
        height: 40px !important;
    }

    .cd-cards :is(.product-icon-art, .cwCardFactIcon) .spot {
        --spot-size: 40px !important;
    }

    /* a fact: the label takes the room that is left and folds inside it, the value keeps the right edge. A
       longer label (another language, a narrow phone) takes two lines and its value still stands where the
       others do */
    .cd-cards :is(.product-icon-content, .cwCardFactBody) {
        display: flex !important;
        flex: 1 1 auto !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        min-width: 0 !important;
        gap: 14px !important;
        letter-spacing: 0 !important;
        line-height: 1.35 !important;
    }

    .cd-cards :is(.product-icon-content .label, .cwFactLabel) {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        overflow-wrap: anywhere !important;
        font-family: var(--cd-font-body) !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        line-height: 1.35 !important;
        letter-spacing: 0 !important;
        text-transform: none !important;
        color: var(--cd-ink-2) !important;
    }

    /* the label and its value stand at the two ends of a line: the colon between them says nothing more */
    .cd-cards :is(.product-icon-content .label, .cwFactLabel)::after {
        content: none !important;
    }

    .cd-cards :is(.product-icon-content .value, .cwFactValue) {
        flex: 0 0 auto !important;
        max-width: 60% !important;
        overflow-wrap: anywhere !important;
        font-family: var(--cd-font-display) !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        line-height: 1.35 !important;
        letter-spacing: -0.005em !important;
        text-align: right !important;
        color: var(--cd-ink) !important;
    }

    /* ---- the price: a sale, read as one. The price a course costs in red and large; before it the price it
       replaces, struck by a stroke drawn across it; beside them the promise, two quiet lines. No box stands
       around it: what makes it the strongest row of the card is its size and its red ---- */
    .cd-cards :is(.product-icons--price, .cwCardFact--price) {
        display: flex !important;
        align-items: center !important;
        box-sizing: border-box !important;
        gap: 12px !important;
        min-height: 48px !important;
        margin: 14px 0 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: none !important;
        box-shadow: none !important;
        /* the row measures itself: where the promise has no room beside the prices it goes under them */
        container: cd-price / inline-size !important;
    }

    .cd-cards :is(.product-icons--price, .cwCardFact--price) :is(.product-icon-content, .cwCardFactBody) {
        display: flex !important;
        flex: 1 1 auto !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: baseline !important;
        justify-content: flex-start !important;
        min-width: 0 !important;
        gap: 2px 11px !important;
        width: auto !important;
    }

    /* the price a course cost before: grey, and struck by one red stroke from its foot to its head */
    .cd-cards :is(.product-icons--price, .cwCardFact--price) :is(.before-price1, .cwPriceWas) {
        position: relative !important;
        display: inline-block !important;
        flex: 0 0 auto !important;
        order: 0 !important;
        margin: 0 !important;
        font-family: var(--cd-font-display) !important;
        font-size: 26px !important;
        font-weight: 700 !important;
        font-variant-numeric: tabular-nums !important;
        line-height: 1 !important;
        letter-spacing: -0.01em !important;
        text-decoration: none !important;
        color: var(--cd-was) !important;
    }

    .cd-cards :is(.product-icons--price, .cwCardFact--price) :is(.before-price1, .cwPriceWas)::before {
        content: '' !important;
        position: absolute !important;
        top: 50% !important;
        right: -10% !important;
        left: -10% !important;
        display: block !important;
        width: auto !important;
        height: 3px !important;
        border-radius: 2px !important;
        background: var(--cd-stroke) !important;
        box-shadow: 0 0 3px var(--cd-stroke-glow) !important;
        transform: translateY(-50%) rotate(-11deg) !important;
        pointer-events: none !important;
    }

    .cd-cards :is(.product-icons--price, .cwCardFact--price) :is(.before-price1, .cwPriceWas)::after,
    .cd-cards :is(.product-icons--price, .cwCardFact--price) :is(.after-price1, .cwPriceNow)::before,
    .cd-cards :is(.product-icons--price, .cwCardFact--price) :is(.after-price1, .cwPriceNow)::after {
        content: none !important;
    }

    /* the price a course costs today */
    .cd-cards :is(.product-icons--price, .cwCardFact--price) :is(.after-price1, .cwPriceNow) {
        display: inline-block !important;
        flex: 0 0 auto !important;
        order: 0 !important;
        margin: 0 !important;
        font-family: var(--cd-font-display) !important;
        font-size: 41px !important;
        font-weight: 800 !important;
        font-variant-numeric: tabular-nums !important;
        line-height: 1.05 !important;
        letter-spacing: -0.03em !important;
        color: var(--cd-sale) !important;
    }

    /* the promise: beside the two prices, in the middle of their height */
    .cd-cards :is(.product-icons--price, .cwCardFact--price) :is(.price-incl, .cwPriceIncl) {
        display: inline-flex !important;
        flex: 0 1 auto !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        align-self: center !important;
        justify-content: center !important;
        order: 0 !important;
        gap: 2px !important;
        min-width: 0 !important;
        margin: 0 0 0 3px !important;
        line-height: 1.2 !important;
        text-align: left !important;
    }

    /* both halves of the promise at every width: an older rule let the first go on the narrowest card */
    .cd-cards :is(.product-icons--price, .cwCardFact--price) :is(.price-incl__a, .cwPriceIncl__a) {
        display: inline !important;
        font-family: var(--cd-font-body) !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        line-height: 1.2 !important;
        letter-spacing: 0.01em !important;
        text-transform: none !important;
        white-space: nowrap !important;
        color: var(--cd-ink-3) !important;
    }

    .cd-cards :is(.product-icons--price, .cwCardFact--price) :is(.price-incl__b, .cwPriceIncl__b) {
        display: inline !important;
        font-family: var(--cd-font-body) !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;
        letter-spacing: 0.01em !important;
        text-transform: none !important;
        white-space: nowrap !important;
        color: var(--cd-green-deep) !important;
    }

    .cd-cards :is(.product-icons--price, .cwCardFact--price) :is(.price-incl__a, .cwPriceIncl__a)::before,
    .cd-cards :is(.product-icons--price, .cwCardFact--price) :is(.price-incl__a, .cwPriceIncl__a)::after,
    .cd-cards :is(.product-icons--price, .cwCardFact--price) :is(.price-incl__b, .cwPriceIncl__b)::before,
    .cd-cards :is(.product-icons--price, .cwCardFact--price) :is(.price-incl__b, .cwPriceIncl__b)::after {
        content: none !important;
    }

    /* a row with no room for the promise beside the prices: the drawing keeps the line of the prices and the
       promise goes under them as one line, its two halves parted by a dot. The dot is drawn before the second
       half, in the room between the two, and the promise cuts what leaves it on its left: where the second half
       starts a line of its own (a longer language, a longer promise) the dot goes with it, and never hangs at
       the end of the line above */
    @container cd-price (max-width: 352px) {
        .cd-cards :is(.product-icons--price, .cwCardFact--price) :is(.product-icon-content, .cwCardFactBody) {
            gap: 5px 11px !important;
        }

        .cd-cards :is(.product-icons--price, .cwCardFact--price) :is(.price-incl, .cwPriceIncl) {
            flex: 1 1 100% !important;
            flex-direction: row !important;
            flex-wrap: wrap !important;
            align-items: baseline !important;
            align-self: auto !important;
            justify-content: flex-start !important;
            gap: 0 18.82px !important;
            margin: 0 !important;
            overflow: hidden !important;
        }

        .cd-cards :is(.product-icons--price, .cwCardFact--price) :is(.price-incl__a, .cwPriceIncl__a),
        .cd-cards :is(.product-icons--price, .cwCardFact--price) :is(.price-incl__b, .cwPriceIncl__b) {
            white-space: normal !important;
        }

        .cd-cards :is(.product-icons--price, .cwCardFact--price) :is(.price-incl__b, .cwPriceIncl__b) {
            position: relative !important;
        }

        .cd-cards :is(.product-icons--price, .cwCardFact--price) :is(.price-incl__b, .cwPriceIncl__b)::before {
            content: '\00b7' !important;
            position: absolute !important;
            top: 0 !important;
            left: -11.82px !important;
            font-weight: 700 !important;
            color: var(--cd-dot) !important;
        }
    }

    /* the narrowest row: two halves that no longer share a line stand one under the other, a pixel apart, and
       the dot goes with the second (the promise cuts it on its left). Nothing forces them apart: a promise of
       two short halves keeps its one line here too */
    @container cd-price (max-width: 262px) {
        .cd-cards :is(.product-icons--price, .cwCardFact--price) :is(.price-incl, .cwPriceIncl) {
            gap: 1px 18.82px !important;
        }
    }

    /* ---- what is pressed: the button that buys, then View Course, each the width of the card ---- */
    .cd-cards :is(.product-price-btn, .cwCardBtns) {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        box-sizing: border-box !important;
        width: 100% !important;
        height: auto !important;
        margin: 18px 0 0 !important;
        padding: 0 !important;
        gap: 10px !important;
    }

    .cd-cards :is(.product-price-btn, .cwCardBtns) > form {
        display: flex !important;
        flex: 0 0 auto !important;
        order: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .cd-cards :is(.product-price-btn, .cwCardBtns) > a {
        display: flex !important;
        flex: 0 0 auto !important;
        order: 2 !important;
        box-sizing: border-box !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        border-radius: var(--cd-radius-md) !important;
        text-decoration: none !important;
    }

    .cd-cards :is(.product-price-btn, .cwCardBtns) :is(.sale-button, .cwBtnBuy),
    .cd-cards :is(.product-price-btn, .cwCardBtns) :is(.buttonInfo, .cwBtnInfo) {
        position: relative !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        /* the words of a button keep one line in English; a longer language on a narrow phone takes two,
           and the button grows with them instead of cutting them */
        padding: 8px 18px !important;
        border-radius: var(--cd-radius-md) !important;
        font-family: var(--cd-font-display) !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        letter-spacing: 0.01em !important;
        text-align: center !important;
        text-decoration: none !important;
        text-transform: none !important;
        text-shadow: none !important;
        text-wrap: balance !important;
        white-space: normal !important;
        cursor: pointer !important;
        outline: 0 !important;
        transform: none !important;
        filter: none !important;
        -webkit-tap-highlight-color: transparent !important;
        transition:
            transform 0.25s var(--cd-ease),
            box-shadow 0.25s var(--cd-ease),
            background-color 0.25s var(--cd-ease),
            border-color 0.25s var(--cd-ease),
            color 0.25s var(--cd-ease),
            filter 0.25s var(--cd-ease) !important;
        animation: none !important;
    }

    /* the button that buys: the blue of every primary of the account, its cart before its words */
    .cd-cards :is(.product-price-btn, .cwCardBtns) :is(.sale-button, .cwBtnBuy) {
        gap: 10px !important;
        min-height: 54px !important;
        overflow: hidden !important;
        border: 0 !important;
        background: var(--cd-buy) !important;
        box-shadow: var(--cd-buy-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
        font-size: 16.5px !important;
        color: #ffffff !important;
    }

    .cd-cards :is(.product-price-btn, .cwCardBtns) :is(.sale-button, .cwBtnBuy)::after {
        content: '' !important;
        position: static !important;
        display: block !important;
        flex: 0 0 auto !important;
        order: -1 !important;
        width: 20px !important;
        height: 20px !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: currentColor !important;
        -webkit-mask: var(--cd-glyph-cart) center / contain no-repeat !important;
        mask: var(--cd-glyph-cart) center / contain no-repeat !important;
        opacity: 1 !important;
        transform: none !important;
        transition: transform 0.25s var(--cd-ease) !important;
    }

    /* a light that crosses the button once when the pointer comes over it, and never on its way out */
    .cd-cards :is(.product-price-btn, .cwCardBtns) :is(.sale-button, .cwBtnBuy)::before {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        bottom: 0 !important;
        left: -45% !important;
        display: block !important;
        width: 38% !important;
        height: auto !important;
        background: linear-gradient(105deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.26) 50%, rgba(255, 255, 255, 0) 100%) !important;
        opacity: 1 !important;
        transform: skewX(-18deg) translateX(0) !important;
        transition: none !important;
        animation: none !important;
        pointer-events: none !important;
        z-index: auto !important;
        border-radius: 0 !important;
        mix-blend-mode: normal !important;
    }

    @media (hover: hover) {
        .cd-cards :is(.product-price-btn, .cwCardBtns) :is(.sale-button, .cwBtnBuy):hover {
            background: var(--cd-buy-over) !important;
            box-shadow: var(--cd-buy-shadow-over), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
            transform: translateY(-2px) !important;
        }

        .cd-cards :is(.product-price-btn, .cwCardBtns) :is(.sale-button, .cwBtnBuy):hover::before {
            transform: skewX(-18deg) translateX(480%) !important;
            transition: transform 0.75s var(--cd-ease) !important;
        }

        .cd-cards :is(.product-price-btn, .cwCardBtns) :is(.sale-button, .cwBtnBuy):hover::after {
            transform: translateX(-1px) rotate(-6deg) !important;
        }
    }

    .cd-cards :is(.product-price-btn, .cwCardBtns) :is(.sale-button, .cwBtnBuy):active {
        transform: translateY(0) scale(0.985) !important;
        filter: brightness(0.96) !important;
    }

    .cd-cards :is(.product-price-btn, .cwCardBtns) :is(.sale-button, .cwBtnBuy):focus-visible {
        box-shadow: var(--cd-ring), var(--cd-buy-shadow) !important;
    }

    /* while the tick of a course that went into the cart plays, the words and the cart step aside for it:
       the tick stands alone in the middle of the button, never on top of letters */
    .cd-cards :is(.product-price-btn, .cwCardBtns) :is(.sale-button, .cwBtnBuy):has(.btnCartCheck.playing) {
        color: transparent !important;
    }

    /* View Course: the second button, in the pale blue of the platform under the button that buys, an arrow
       after its words. It belongs to the button over it and never asks to be pressed before it; it is never a
       white box, which on the white of the card is a button nobody sees */
    .cd-cards :is(.product-price-btn, .cwCardBtns) :is(.buttonInfo, .cwBtnInfo) {
        gap: 8px !important;
        min-height: 48px !important;
        border: 1.5px solid var(--cd-soft-line) !important;
        background: var(--cd-soft) !important;
        box-shadow: 0 1px 2px rgba(30, 58, 138, 0.06) !important;
        font-size: 15.5px !important;
        color: var(--cd-soft-ink) !important;
        overflow: visible !important;
        isolation: auto !important;
    }

    .cd-cards :is(.product-price-btn, .cwCardBtns) :is(.buttonInfo, .cwBtnInfo)::after {
        content: '' !important;
        position: static !important;
        display: block !important;
        flex: 0 0 auto !important;
        width: 17px !important;
        height: 17px !important;
        margin: 0 !important;
        border: 0 !important;
        background: currentColor !important;
        -webkit-mask: var(--cd-glyph-arrow) center / contain no-repeat !important;
        mask: var(--cd-glyph-arrow) center / contain no-repeat !important;
        opacity: 0.85 !important;
        transform: none !important;
        transition: transform 0.25s var(--cd-ease), opacity 0.25s var(--cd-ease) !important;
    }

    .cd-cards :is(.product-price-btn, .cwCardBtns) :is(.buttonInfo, .cwBtnInfo)::before {
        content: none !important;
    }

    @media (hover: hover) {
        .cd-cards :is(.product-price-btn, .cwCardBtns) :is(.buttonInfo, .cwBtnInfo):hover,
        .cd-cards :is(.product-price-btn, .cwCardBtns) > a:hover > :is(.buttonInfo, .cwBtnInfo) {
            border-color: var(--cd-blue) !important;
            background: var(--cd-soft-over) !important;
            box-shadow: 0 10px 20px -14px rgba(37, 99, 235, 0.5) !important;
            color: var(--cd-blue-deep) !important;
            transform: translateY(-1px) !important;
        }

        .cd-cards :is(.product-price-btn, .cwCardBtns) :is(.buttonInfo, .cwBtnInfo):hover::after,
        .cd-cards :is(.product-price-btn, .cwCardBtns) > a:hover > :is(.buttonInfo, .cwBtnInfo)::after {
            opacity: 1 !important;
            transform: translateX(4px) !important;
        }
    }

    .cd-cards :is(.product-price-btn, .cwCardBtns) :is(.buttonInfo, .cwBtnInfo):active {
        transform: translateY(0) scale(0.99) !important;
    }

    .cd-cards :is(.product-price-btn, .cwCardBtns) :is(.buttonInfo, .cwBtnInfo):focus-visible,
    .cd-cards :is(.product-price-btn, .cwCardBtns) > a:focus-visible > :is(.buttonInfo, .cwBtnInfo) {
        border-color: var(--cd-blue) !important;
        box-shadow: var(--cd-ring) !important;
    }

    /* ---- the three promises ---- */
    .cd-cards :is(.mhc-trust, .cwCardTrust) {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        width: 100% !important;
        margin: 16px 0 0 !important;
        padding: 14px 0 0 !important;
        gap: 6px 18px !important;
        border-top: 1px solid var(--cd-line) !important;
        font-family: var(--cd-font-body) !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        line-height: 1.3 !important;
        letter-spacing: 0 !important;
        text-align: center !important;
        white-space: normal !important;
        color: var(--cd-ink-3) !important;
    }

    .cd-cards :is(.mhc-trust, .cwCardTrust) span {
        display: inline-flex !important;
        flex: 0 0 auto !important;
        align-items: center !important;
        gap: 8px !important;
        white-space: nowrap !important;
    }

    /* the tick of a promise: two strokes, in the emerald of the dress */
    .cd-cards :is(.mhc-trust, .cwCardTrust) span::before {
        content: '' !important;
        display: block !important;
        flex: 0 0 auto !important;
        box-sizing: border-box !important;
        width: 6px !important;
        height: 11px !important;
        margin: -3px 2px 0 !important;
        border: solid var(--cd-green) !important;
        border-width: 0 2px 2px 0 !important;
        border-radius: 1px !important;
        background: none !important;
        -webkit-mask: none !important;
        mask: none !important;
        transform: rotate(45deg) !important;
    }

    .cd-cards :is(.mhc-trust, .cwCardTrust) span::after {
        content: none !important;
    }

    /* ---- a language written from right to left (Arabic, Urdu, Pashto). Its page keeps its layout and so does
       the card: the texts that open with a number or close with a mark take the direction of their own script,
       so "45 minutes" is read in its order. In every other language this changes nothing ---- */
    .cd-cards :is(.product-icon-content .value, .cwFactValue, .price-incl__a, .cwPriceIncl__a, .price-incl__b, .cwPriceIncl__b, .mh-combo-badge__full, .mh-combo-badge__short, .cwComboBadge__full, .cwComboBadge__short, .mhc-trust span, .cwCardTrust span) {
        unicode-bidi: plaintext !important;
    }

    /* ---- every row of a card on the line of the same row of the card beside it ---- */
    @supports (grid-template-rows: subgrid) {
        .cd-cards :is(.productWrapper, .cwCardWrapper) {
            display: grid !important;
            grid-template-columns: minmax(0, 1fr) !important;
            grid-template-rows: subgrid !important;
            grid-row: span 12 !important;
            row-gap: 0 !important;
            align-content: start !important;
        }

        .cd-cards :is(.productWrapper, .cwCardWrapper) > .ie-card-top,
        .cd-cards :is(.productWrapper, .cwCardWrapper) > .uk-card-top {
            grid-row: 1 !important;
        }

        .cd-cards :is(.product-img, .cwCardImg) {
            grid-row: 2 !important;
        }

        .cd-cards :is(.product-info, .cwCardInfo) {
            display: grid !important;
            grid-template-columns: minmax(0, 1fr) !important;
            grid-template-rows: subgrid !important;
            grid-row: 3 / span 10 !important;
            row-gap: 0 !important;
        }

        .cd-cards :is(.product-text, .cwCardText) {
            display: grid !important;
            grid-template-columns: minmax(0, 1fr) !important;
            grid-template-rows: subgrid !important;
            grid-row: 1 / span 8 !important;
            row-gap: 0 !important;
        }

        .cd-cards :is(.product-text, .cwCardText) > :is(h1, h2) {
            grid-row: 1 !important;
        }

        .cd-cards :is(.product-text, .cwCardText) > :is(.mh-combo-badge, .cwComboBadge) {
            grid-row: 2 !important;
        }

        .cd-cards :is(.product-text, .cwCardText) > .isa-accrow {
            grid-row: 3 !important;
            justify-self: start !important;
        }

        .cd-cards :is(.product-text, .cwCardText) > .course-langs {
            grid-row: 4 !important;
        }

        .cd-cards :is(.product-text, .cwCardText) > :is(.mh-card-divider, .cwCardDivider) {
            grid-row: 5 !important;
        }

        .cd-cards :is(.product-text, .cwCardText) > :is(.product-info-icons, .cwCardFacts) {
            display: grid !important;
            grid-template-columns: minmax(0, 1fr) !important;
            grid-template-rows: subgrid !important;
            grid-row: 6 / span 3 !important;
            margin: 0 !important;
            row-gap: 0 !important;
        }

        .cd-cards :is(.product-info, .cwCardInfo) > :is(.product-price-btn, .cwCardBtns) {
            grid-row: 9 !important;
        }

        .cd-cards :is(.product-info, .cwCardInfo) > :is(.mhc-trust, .cwCardTrust) {
            grid-row: 10 !important;
            align-self: start !important;
        }
    }

    /* ---- a phone ---- */
    @media (max-width: 640px) {
        .cd-cards {
            --cd-radius: 22px;
            --cd-pad: 20px;
            --cd-gap: 20px;
            --cd-gutter: 0px;
        }

        .cd-cards :is(.product-img, .cwCardImg) {
            aspect-ratio: 16 / 9 !important;
        }

        .cd-cards :is(.product-info, .cwCardInfo) {
            padding: 20px var(--cd-pad) 16px !important;
        }

        .cd-cards :is(.product-text, .cwCardText) :is(h1, h2),
        .cd-cards :is(.product-text, .cwCardText) :is(h1, h2) :is(.title-full, .title-mobile, .cwTitleFull, .cwTitleMobile) {
            font-size: 22px !important;
        }

        .cd-cards :is(.product-icons--price, .cwCardFact--price) :is(.before-price1, .cwPriceWas) {
            font-size: 24px !important;
        }

        .cd-cards :is(.product-icons--price, .cwCardFact--price) :is(.after-price1, .cwPriceNow) {
            font-size: 38px !important;
        }

        /* a public page gives the cards no gutter of its own on a phone (an account does): the card keeps
           the gutter of the page it stands on */
        .lp .productSection.cd-cards {
            --cd-gutter: var(--lp-pad-x, 18px);
        }
    }

    /* the narrowest phones: a little more room for the words */
    @media (max-width: 350px) {
        .cd-cards {
            --cd-pad: 18px;
        }
    }

    /* ---- the night of the account ---- */
    html.dark .cd-cards {
        --cd-ink: #f1f5fb;
        --cd-ink-2: #dbe4f3;
        --cd-ink-3: #a9b6cc;
        --cd-line: rgba(255, 255, 255, 0.09);
        --cd-line-strong: rgba(255, 255, 255, 0.2);
        --cd-blue: #60a5fa;
        --cd-blue-deep: #bfdbfe;
        --cd-green: #34d399;
        --cd-green-deep: #6ee7b7;
        --cd-sale: #f87171;
        --cd-stroke: #f87171;
        --cd-stroke-glow: rgba(248, 113, 113, 0.3);
        --cd-was: #94a3b8;
        --cd-dot: #64748b;
        --cd-card: #111a2e;
        --cd-body: #111a2e;
        --cd-soft: rgba(96, 165, 250, 0.1);
        --cd-soft-over: rgba(96, 165, 250, 0.2);
        --cd-soft-line: rgba(96, 165, 250, 0.36);
        --cd-soft-ink: #dbeafe;
        --cd-seal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='3 1.6 18 20.8'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%2360a5fa'/%3E%3Cstop offset='1' stop-color='%232563eb'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23g)' d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='m8.5 12 2.5 2.5 4.6-5'/%3E%3C/svg%3E");
        --cd-buy-shadow: 0 12px 24px -14px rgba(0, 0, 0, 0.9);
        --cd-buy-shadow-over: 0 20px 36px -16px rgba(37, 99, 235, 0.7);
        --cd-val: #10b981;
        --cd-val-ink: #a7f3d0;
        --cd-val-wash: linear-gradient(180deg, rgba(52, 211, 153, 0.15) 0%, rgba(52, 211, 153, 0.09) 100%);
        --cd-val-line: rgba(52, 211, 153, 0.26);
        --cd-val-tag: rgba(255, 255, 255, 0.1);
        --cd-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 28px 60px -34px rgba(0, 0, 0, 0.8);
        --cd-shadow-over: 0 1px 2px rgba(0, 0, 0, 0.35), 0 34px 64px -30px rgba(0, 0, 0, 0.9);
        --cd-ring: 0 0 0 2px var(--cd-body), 0 0 0 4px var(--cd-blue), 0 0 0 8px rgba(96, 165, 250, 0.2);
    }

    html.dark .cd-cards :is(.product-text, .cwCardText) :is(.mh-combo-badge--theory, .cwComboBadge--blue) {
        --cd-val: #8b5cf6;
        --cd-val-ink: #ddd6fe;
        --cd-val-wash: linear-gradient(180deg, rgba(167, 139, 250, 0.17) 0%, rgba(167, 139, 250, 0.1) 100%);
        --cd-val-line: rgba(167, 139, 250, 0.3);
    }

    html.dark .cd-cards :is(.product-img, .cwCardImg) {
        background: #16223a !important;
    }

    html.dark .cd-cards :is(.product-text, .cwCardText) :is(.mh-combo-badge__tag, .cwComboBadge__tag) {
        box-shadow: none !important;
    }

    /* the chips of the accreditations are drawn light by their own sheet, and no pass repaints them here */
    html.dark .cd-cards .isa-accrow__code {
        border-color: rgba(255, 255, 255, 0.16) !important;
        background: rgba(255, 255, 255, 0.06) !important;
        box-shadow: none !important;
        color: #e6ecf7 !important;
    }

    html.dark .cd-cards :is(.product-price-btn, .cwCardBtns) :is(.buttonInfo, .cwBtnInfo) {
        box-shadow: none !important;
    }

    html.dark .cd-cards .isa-accrow__seal {
        filter: none !important;
    }

    /* ---- a reader who asked for no motion ---- */
    @media (prefers-reduced-motion: reduce) {
        .cd-cards :is(.productWrapper, .cwCardWrapper),
        .cd-cards :is(.product-img, .cwCardImg) img,
        .cd-cards :is(.product-price-btn, .cwCardBtns) :is(.sale-button, .cwBtnBuy),
        .cd-cards :is(.product-price-btn, .cwCardBtns) :is(.sale-button, .cwBtnBuy)::before,
        .cd-cards :is(.product-price-btn, .cwCardBtns) :is(.sale-button, .cwBtnBuy)::after,
        .cd-cards :is(.product-price-btn, .cwCardBtns) :is(.buttonInfo, .cwBtnInfo),
        .cd-cards :is(.product-price-btn, .cwCardBtns) :is(.buttonInfo, .cwBtnInfo)::after {
            transition: none !important;
        }

        .cd-cards :is(.productWrapper, .cwCardWrapper):hover,
        .cd-cards :is(.productWrapper, .cwCardWrapper):hover :is(.product-img, .cwCardImg) img,
        .cd-cards :is(.product-price-btn, .cwCardBtns) :is(.sale-button, .cwBtnBuy):hover,
        .cd-cards :is(.product-price-btn, .cwCardBtns) :is(.sale-button, .cwBtnBuy):hover::after,
        .cd-cards :is(.product-price-btn, .cwCardBtns) :is(.sale-button, .cwBtnBuy):active,
        .cd-cards :is(.product-price-btn, .cwCardBtns) :is(.buttonInfo, .cwBtnInfo):hover,
        .cd-cards :is(.product-price-btn, .cwCardBtns) :is(.buttonInfo, .cwBtnInfo):hover::after,
        .cd-cards :is(.product-price-btn, .cwCardBtns) :is(.buttonInfo, .cwBtnInfo):active,
        .cd-cards :is(.product-price-btn, .cwCardBtns) > a:hover > :is(.buttonInfo, .cwBtnInfo) {
            transform: none !important;
        }

        .cd-cards :is(.product-price-btn, .cwCardBtns) :is(.sale-button, .cwBtnBuy)::before {
            display: none !important;
        }
    }
}
/* A browser that knows no cascade layers shows the card as it was. The card prints the button that buys
   before View Course, and the older sheets lay that row from its last child up: these two lines, outside the
   layer, keep the button that buys on top for that browser. Where layers are known the dress above decides. */
.productSection.cd-cards .product-price-btn {
    flex-direction: column !important;
}

.cwCardsRow.cd-cards .cwCardBtns {
    flex-direction: column !important;
}
