/* Shop archive — isolated, mobile-first learning library. Shared shell is intentionally untouched. */
.br-shop,
.br-shop * {
    box-sizing: border-box;
}

.br-shop {
    --shop-free: #137f70;
    --shop-free-soft: #e9f7f3;
    --shop-paid: #b57818;
    --shop-paid-soft: #fff7e7;
    --shop-heading: var(--br-shell-ink, #0f172a);
    --shop-copy: var(--br-shell-ink-soft, #334155);
    --shop-muted: var(--br-shell-muted, #64748b);
    --shop-border: var(--br-shell-border, #e2e8f0);
    --shop-card: var(--br-shell-card, #fff);
    direction: rtl;
    overflow: hidden;
    background:
        linear-gradient(180deg, #f8fbfb 0, #f3f8f9 460px, #fff 980px);
    color: var(--shop-heading);
    font-family: "Yekan Bakh", "IRANSansX", Tahoma, sans-serif;
    padding: 0 0 5rem;
}

.br-shop a {
    text-decoration: none;
}

.br-shop button,
.br-shop input,
.br-shop select {
    font: inherit;
}

.br-shop__container {
    width: min(100% - 2rem, 1280px);
    margin-inline: auto;
}

.br-shop-breadcrumb {
    display: flex;
    align-items: center;
    gap: .45rem;
    min-height: 44px;
    color: var(--shop-muted);
    font-size: .72rem;
}

.br-shop-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: var(--shop-muted);
    transition: color .2s ease;
}

.br-shop-breadcrumb a:hover {
    color: var(--br-primary-700, #0a4d56);
}

.br-shop-breadcrumb span {
    color: var(--br-primary-700, #0a4d56);
    font-weight: 800;
}

.br-shop-hero {
    position: relative;
    display: grid;
    gap: 1.1rem;
    overflow: hidden;
    border: 1px solid #0b5963;
    border-radius: 1.5rem;
    background:
        radial-gradient(circle at 12% 15%, rgba(232, 181, 96, .18), transparent 34%),
        linear-gradient(145deg, #083e47 0%, #062e33 58%, #031f24 100%);
    color: #fff;
    padding: 1.25rem;
    box-shadow: 0 18px 45px rgba(6, 46, 51, .15);
}

.br-shop-hero::after {
    content: "";
    position: absolute;
    inset: auto -55px -90px auto;
    width: 210px;
    height: 210px;
    border: 34px solid rgba(95, 168, 176, .1);
    border-radius: 50%;
    pointer-events: none;
}

.br-shop-hero__content,
.br-shop-hero__choices,
.br-shop-brand-mark {
    position: relative;
    z-index: 1;
}

.br-shop-brand-mark {
    position: absolute;
    z-index: 0;
    top: 1rem;
    bottom: auto;
    right: 1rem;
    left: auto;
    display: block;
    width: 8rem;
    aspect-ratio: 381 / 296;
    background: var(--br-accent-400, #e8b560);
    opacity: .13;
    -webkit-mask: url("../home-redesign/barayand/brand/arrow-mark.png") center / contain no-repeat;
    mask: url("../home-redesign/barayand/brand/arrow-mark.png") center / contain no-repeat;
    pointer-events: none;
}

.br-shop-countdown {
    position: relative;
    display: grid;
    gap: 1.35rem;
    overflow: hidden;
    margin-top: 1rem;
    border: 1px solid #175761;
    border-radius: 1.5rem;
    background:
        radial-gradient(circle at 12% 115%, rgba(232, 181, 96, .18), transparent 38%),
        linear-gradient(135deg, #073942 0%, #052a31 56%, #031f24 100%);
    color: #fff;
    padding: 1.35rem;
    box-shadow: 0 18px 42px rgba(6, 46, 51, .13);
}

.br-shop-countdown::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--br-accent-400, #e8b560), transparent);
}

.br-shop-countdown::after {
    content: "";
    position: absolute;
    top: -5.5rem;
    left: -4rem;
    width: 13rem;
    height: 13rem;
    border: 2.3rem solid rgba(95, 168, 176, .08);
    border-radius: 50%;
    pointer-events: none;
}

.br-shop-countdown__copy,
.br-shop-countdown__timer {
    position: relative;
    z-index: 1;
}

.br-shop-countdown__date {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    border: 1px solid #246671;
    border-radius: 999px;
    background: #0a4d56;
    color: var(--br-accent-200, #f6e1b7);
    font-size: .7rem;
    font-style: normal;
    font-weight: 900;
    padding: .48rem .75rem;
}

.br-shop-countdown h2 {
    margin: .8rem 0 0;
    color: #fff;
    font-family: "Peyda", "Yekan Bakh", Tahoma, sans-serif;
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1.45;
}

.br-shop-countdown__copy > p {
    max-width: 620px;
    margin: .45rem 0 0;
    color: #c7dee1;
    font-size: .75rem;
    line-height: 1.95;
}

.br-shop-countdown__status {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: .8rem;
    color: #a7ced3;
    font-size: .67rem;
    font-weight: 800;
}

.br-shop-countdown__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .7rem 1rem;
    margin-top: .9rem;
}

.br-shop-countdown__actions .br-shop-countdown__status {
    margin-top: 0;
}

.br-shop-countdown__cta {
    min-height: 44px;
    padding: .65rem 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    border: 1px solid #e7ff91;
    border-radius: .85rem;
    color: #24123b !important;
    background: #d9ff57;
    box-shadow: 0 10px 24px rgba(14, 7, 34, .24);
    font-family: "Yekan Bakh", "IRANSansX", Tahoma, sans-serif;
    font-size: .72rem;
    font-weight: 900;
    line-height: 1;
    text-decoration: none !important;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.br-shop-countdown__cta:hover {
    color: #24123b !important;
    background: #e7ff91;
    box-shadow: 0 13px 30px rgba(14, 7, 34, .32);
    transform: translateY(-1px);
}

.br-shop-countdown__cta:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.br-shop-countdown__status i {
    width: .48rem;
    height: .48rem;
    border-radius: 50%;
    background: var(--br-accent-400, #e8b560);
    box-shadow: 0 0 0 0 rgba(232, 181, 96, .42);
    animation: br-shop-countdown-pulse 1.8s ease-out infinite;
}

.br-shop-countdown__timer {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .45rem;
    direction: ltr;
}

.br-shop-countdown__timer > div {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 82px;
    align-content: center;
    justify-items: center;
    overflow: hidden;
    border: 1px solid #1f5d66;
    border-radius: 1rem;
    background: #0a424b;
    box-shadow: inset 0 1px rgba(255, 255, 255, .04), 0 8px 20px rgba(0, 0, 0, .12);
}

.br-shop-countdown__timer > div::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 2px;
    background: var(--br-primary-300, #a7ced3);
    opacity: .5;
}

.br-shop-countdown__timer > div.is-seconds {
    border-color: #866828;
    background: #3a341f;
}

.br-shop-countdown__timer > div.is-seconds::before {
    background: var(--br-accent-400, #e8b560);
    opacity: 1;
}

.br-shop-countdown__timer strong {
    color: #fff;
    font-family: "IRANSansX", "Yekan Bakh", Tahoma, sans-serif;
    font-size: 1.65rem;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.br-shop-countdown__timer span {
    margin-top: .42rem;
    color: #a7ced3;
    font-size: .61rem;
    font-weight: 800;
}

.br-shop-countdown__timer .is-seconds span {
    color: var(--br-accent-200, #f6e1b7);
}

.br-shop-countdown.is-complete .br-shop-countdown__status {
    color: var(--br-accent-200, #f6e1b7);
}

@keyframes br-shop-countdown-pulse {
    70% { box-shadow: 0 0 0 7px rgba(232, 181, 96, 0); }
    100% { box-shadow: 0 0 0 0 rgba(232, 181, 96, 0); }
}

@media (max-width: 600px) {
    .br-shop-countdown__actions {
        display: grid;
        gap: .75rem;
    }

    .br-shop-countdown__status {
        justify-content: center;
    }

    .br-shop-countdown__cta {
        width: 100%;
        min-height: 48px;
        font-size: .78rem;
    }
}

.br-shop-eyebrow,
.br-shop-section-label {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--br-accent-400, #e8b560);
    font-size: .72rem;
    font-weight: 800;
}

.br-shop-eyebrow {
    border-radius: 999px;
    background: #0b4a54;
    padding: .45rem .75rem;
}

.br-shop-hero h1,
.br-shop-catalog__header h2,
.br-shop-card h3,
.br-shop-benefits h2,
.br-shop-newsletter h2,
.br-shop-empty h2 {
    font-family: "Peyda", "Yekan Bakh", Tahoma, sans-serif;
}

.br-shop-hero h1 {
    max-width: 660px;
    margin: .8rem 0 0;
    color: #fff;
    font-size: clamp(1.85rem, 8vw, 2.45rem);
    font-weight: 900;
    line-height: 1.28;
    letter-spacing: -.035em;
}

.br-shop-hero h1 > span {
    color: var(--br-accent-300, #f1cb88);
}

.br-shop-hero__content > p {
    max-width: 670px;
    margin: .55rem 0 0;
    color: #c7dee1;
    font-size: .82rem;
    line-height: 1.95;
}

.br-shop-search {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    width: 100%;
    min-height: 50px;
    margin-top: 1rem;
    overflow: hidden;
    border: 1px solid #dce9ea;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .14);
}

.br-shop-search__icon {
    display: grid;
    place-items: center;
    color: var(--br-primary-600, #136b76);
}

.br-shop-search input {
    min-width: 0;
    height: 48px;
    border: 0 !important;
    outline: 0;
    background: transparent;
    color: #0f172a;
    font-size: .76rem;
    box-shadow: none !important;
}

.br-shop-search input::placeholder {
    color: #7a8a99;
}

.br-shop-search button {
    align-self: stretch;
    margin: 4px;
    border: 0;
    border-radius: .75rem;
    background: var(--br-primary-700, #0a4d56);
    color: #fff;
    cursor: pointer;
    font-size: .72rem;
    font-weight: 900;
    padding: 0 .9rem;
    transition: background .2s ease, transform .2s ease;
}

.br-shop-search button:hover {
    background: var(--br-primary-800, #08404a);
}

.br-shop-hero__choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .6rem;
}

.br-shop-access-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 82px;
    border: 1px solid transparent;
    border-radius: 1rem;
    padding: .7rem .4rem;
    text-align: center;
    transition: transform .2s ease, border-color .2s ease;
}

.br-shop-access-card:hover {
    transform: translateY(-2px);
}

.br-shop-access-card--free {
    border-color: #3d9188;
    background: #e9f7f3;
    color: #095f55;
}

.br-shop-access-card--paid {
    border-color: #d8ae61;
    background: #fff6df;
    color: #85550d;
}

.br-shop-access-card__icon {
    display: grid;
    place-items: center;
    margin-bottom: .3rem;
}

.br-shop-access-card strong {
    display: block;
    overflow: hidden;
    font-size: .73rem;
    font-weight: 900;
    line-height: 1.5;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.br-shop-access-card small,
.br-shop-access-card__arrow {
    display: none;
}

.br-shop-catalog {
    position: relative;
    padding-top: 2.5rem;
    transition: opacity .18s ease;
}

.br-shop-catalog.is-loading {
    opacity: .52;
    cursor: progress;
    pointer-events: none;
}

.br-shop-catalog.is-loading::after {
    content: "";
    position: absolute;
    z-index: 8;
    top: 52%;
    left: 50%;
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
    border: 3px solid rgba(10, 77, 86, .18);
    border-top-color: var(--br-primary-700, #0a4d56);
    border-radius: 50%;
    animation: br-shop-filter-spin .65s linear infinite;
}

@keyframes br-shop-filter-spin {
    to {
        transform: rotate(360deg);
    }
}

.br-shop-catalog__header {
    display: grid;
    gap: .4rem;
}

.br-shop-section-label {
    color: var(--br-primary-600, #136b76);
}

.br-shop-section-label::before {
    content: "";
    width: 22px;
    height: 3px;
    border-radius: 999px;
    background: var(--br-accent-500, #d49b3a);
}

.br-shop-catalog__header h2 {
    margin: .25rem 0 0;
    color: var(--shop-heading);
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1.4;
}

.br-shop-catalog__header p {
    margin: 0;
    color: var(--shop-muted);
    font-size: .76rem;
    line-height: 1.8;
}

.br-shop-controls {
    display: grid;
    gap: .75rem;
    margin: 1.25rem 0 1rem;
}

.br-shop-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .35rem;
    border: 1px solid var(--shop-border);
    border-radius: 1rem;
    background: #fff;
    padding: .3rem;
    box-shadow: 0 8px 25px rgba(6, 46, 51, .05);
}

.br-shop-tabs a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    min-height: 42px;
    border: 1px solid transparent;
    border-radius: .75rem;
    color: var(--shop-muted);
    font-size: .74rem;
    font-weight: 800;
    transition: .2s ease;
}

.br-shop-tabs a span {
    display: grid;
    min-width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 999px;
    background: #eef3f4;
    color: #536370;
    font-size: .65rem;
}

.br-shop-tabs a.is-active {
    border-color: var(--br-primary-700, #0a4d56);
    background: var(--br-primary-700, #0a4d56);
    color: #fff;
}

.br-shop-tabs__free.is-active {
    border-color: var(--shop-free) !important;
    background: var(--shop-free) !important;
}

.br-shop-tabs__paid.is-active {
    border-color: var(--shop-paid) !important;
    background: var(--shop-paid) !important;
}

.br-shop-tabs a.is-active span {
    background: #fff;
    color: inherit;
}

.br-shop-results {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.br-shop-results > span {
    color: var(--shop-copy);
    font-size: .74rem;
    font-weight: 800;
    white-space: nowrap;
}

.br-shop-sort-wrap {
    display: flex;
    align-items: center;
    gap: .35rem;
    height: 42px;
    border: 1px solid var(--shop-border);
    border-radius: .8rem;
    background: #fff;
    color: var(--br-primary-700, #0a4d56);
    padding: 0 .65rem;
}

.br-shop-sort-wrap select {
    max-width: 145px;
    height: 40px;
    border: 0 !important;
    outline: 0;
    background: transparent;
    color: var(--shop-copy);
    font-size: .7rem;
    font-weight: 700;
    box-shadow: none !important;
    cursor: pointer;
}

.br-shop-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: .75rem;
}

.br-shop-card {
    overflow: hidden;
    border: 1px solid var(--shop-border);
    border-radius: 1.15rem;
    background: var(--shop-card);
    box-shadow: 0 10px 28px rgba(6, 46, 51, .07);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.br-shop-card__link {
    display: grid;
    grid-template-columns: 126px minmax(0, 1fr);
    min-width: 0;
    height: 100%;
    color: inherit;
    cursor: pointer;
}

.br-shop-card__link:focus-visible {
    outline: 3px solid var(--br-accent-500, #d49b3a);
    outline-offset: -3px;
}

.br-shop-card:hover {
    transform: translateY(-3px);
    border-color: var(--br-primary-300, #a7ced3);
    box-shadow: 0 18px 38px rgba(6, 46, 51, .12);
}

.br-shop-card__media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    align-self: start;
    overflow: hidden;
    background: var(--br-primary-100, #e6f1f2);
}

.br-shop-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
    transition: transform .42s ease;
}

.br-shop-card:hover .br-shop-card__media img,
.br-shop-card:focus-within .br-shop-card__media img {
    transform: scale(1.035);
}

.br-shop-card__media::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(0deg, rgba(3, 25, 29, .72) 0%, rgba(3, 25, 29, .3) 24%, rgba(3, 25, 29, .06) 48%, transparent 70%);
    pointer-events: none;
}

.br-shop-card__brand-mark,
.br-shop-card__media-copy {
    display: none;
}

.br-shop-card__access,
.br-shop-card__popular,
.br-shop-card__type {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    border-radius: 999px;
    font-size: .61rem;
    font-weight: 900;
    line-height: 1;
}

.br-shop-card__access {
    top: .55rem;
    right: .5rem;
    background: #fff;
    color: var(--shop-free);
    padding: .42rem .55rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .16);
}

.br-shop-card--paid .br-shop-card__access {
    color: var(--shop-paid);
}

.br-shop-card__popular {
    position: absolute;
    z-index: 2;
    top: 3.05rem;
    right: .5rem;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .42rem .58rem;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    background: #c2410c;
    box-shadow: 0 7px 20px rgba(67, 20, 7, .26);
    font-size: .61rem;
    font-weight: 900;
    line-height: 1;
}

html.dark .br-shop-card__popular {
    color: #2a0b02;
    border-color: rgba(255, 255, 255, .18);
    background: #fb923c;
}

.br-shop-card__type {
    right: .5rem;
    bottom: .5rem;
    max-width: calc(100% - 1rem);
    overflow: hidden;
    background: #062e33;
    color: #fff;
    padding: .42rem .55rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.br-shop-card__body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: .7rem .7rem .65rem;
}

.br-shop-card__instructor {
    display: flex;
    align-items: center;
    gap: .38rem;
    min-width: 0;
    color: var(--shop-muted);
}

.br-shop-card__instructor > span {
    display: grid;
    width: 23px;
    height: 23px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid var(--br-primary-200, #c7dee1);
    border-radius: 50%;
    background: var(--br-primary-100, #e6f1f2);
    color: var(--br-primary-700, #0a4d56);
    font-size: .66rem;
    font-weight: 900;
}

.br-shop-card__instructor small {
    overflow: hidden;
    font-size: .66rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.br-shop-card h3 {
    display: -webkit-box;
    min-height: 2.75em;
    margin: .45rem 0 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: var(--shop-heading);
    font-size: .88rem;
    font-family: "Peyda", "Yekan Bakh", Tahoma, sans-serif;
    font-weight: 900;
    line-height: 1.52;
}

.br-shop-card h3 a {
    color: inherit;
}

.br-shop-card__excerpt {
    display: none;
    font-family: "Yekan Bakh", Tahoma, sans-serif;
}

.br-shop-card__instructor,
.br-shop-card__instructor small {
    font-family: "Yekan Bakh", Tahoma, sans-serif;
}

.br-shop-card__meta {
    display: flex;
    align-items: center;
    gap: .55rem;
    min-height: 24px;
    margin-top: .35rem;
    overflow: hidden;
    color: var(--shop-muted);
}

.br-shop-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    min-width: 0;
    font-size: .62rem;
    font-weight: 700;
    white-space: nowrap;
}

.br-shop-card__meta svg {
    flex: 0 0 auto;
    color: var(--br-primary-600, #136b76);
}

.br-shop-card__mobile-badges {
    display: none;
}

.br-shop-card__footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: .4rem;
    margin-top: auto;
    padding-top: .45rem;
}

.br-shop-card__footer--free {
    justify-content: flex-end;
}

.br-shop-card__price {
    display: flex;
    min-width: 0;
    flex-direction: column;
    color: var(--shop-paid);
    font-size: .74rem;
    font-weight: 900;
    line-height: 1.45;
}

.br-shop-card__price strong {
    color: var(--shop-free);
    font-size: .78rem;
    font-weight: 900;
}

.br-shop-card__price small {
    display: none;
}

.br-shop-card__price .woocommerce-Price-amount {
    white-space: nowrap;
}

.br-shop-card__cta {
    display: inline-flex;
    min-height: 35px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: .3rem;
    border-radius: .65rem;
    background: var(--br-primary-700, #0a4d56);
    color: #fff;
    font-size: .63rem;
    font-weight: 900;
    padding: .5rem .58rem;
    transition: background .2s ease;
}

.br-shop-card__cta-label--desktop {
    display: none;
}

.br-shop-card__cta:hover {
    background: var(--br-primary-800, #08404a);
    color: #fff;
}

.br-shop-card--paid .br-shop-card__cta {
    background: var(--shop-paid);
}

.br-shop-pagination {
    margin-top: 2rem;
}

.br-shop-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.br-shop-pagination a,
.br-shop-pagination span {
    display: grid;
    min-width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--shop-border);
    border-radius: .7rem;
    background: #fff;
    color: var(--shop-copy);
    font-size: .72rem;
    font-weight: 800;
}

.br-shop-pagination span.current {
    border-color: var(--br-primary-700, #0a4d56);
    background: var(--br-primary-700, #0a4d56);
    color: #fff;
}

.br-shop-empty {
    border: 1px dashed var(--br-primary-300, #a7ced3);
    border-radius: 1.4rem;
    background: #fff;
    padding: 2.5rem 1.25rem;
    text-align: center;
}

.br-shop-empty > span {
    display: grid;
    width: 62px;
    height: 62px;
    margin: 0 auto;
    place-items: center;
    border-radius: 1.1rem;
    background: var(--br-primary-100, #e6f1f2);
    color: var(--br-primary-700, #0a4d56);
}

.br-shop-empty h2 {
    margin: 1rem 0 0;
    color: var(--shop-heading);
    font-size: 1.2rem;
    font-weight: 900;
}

.br-shop-empty p {
    margin: .5rem auto 0;
    color: var(--shop-muted);
    font-size: .78rem;
    line-height: 1.8;
}

.br-shop-empty a {
    display: inline-flex;
    min-height: 42px;
    margin-top: 1.1rem;
    align-items: center;
    border-radius: .75rem;
    background: var(--br-primary-700, #0a4d56);
    color: #fff;
    font-size: .76rem;
    font-weight: 900;
    padding: .65rem 1rem;
}

.br-shop-benefits {
    display: grid;
    gap: .7rem;
    margin-top: 2.5rem;
    border: 1px solid var(--shop-border);
    border-radius: 1.35rem;
    background: #fff;
    padding: .75rem;
    box-shadow: 0 12px 34px rgba(6, 46, 51, .06);
}

.br-shop-benefits article {
    display: flex;
    align-items: center;
    gap: .75rem;
    border-radius: 1rem;
    background: #f7fafb;
    padding: .85rem;
}

.br-shop-benefits article > span {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: .85rem;
    background: var(--br-primary-100, #e6f1f2);
    color: var(--br-primary-700, #0a4d56);
}

.br-shop-benefits h2 {
    margin: 0;
    color: var(--shop-heading);
    font-size: .82rem;
    font-weight: 900;
}

.br-shop-benefits p {
    margin: .2rem 0 0;
    color: var(--shop-muted);
    font-size: .68rem;
    line-height: 1.7;
}

.br-shop-newsletter {
    display: grid;
    gap: 1.25rem;
    margin-top: 1rem;
    overflow: hidden;
    border-radius: 1.5rem;
    background: #062e33;
    color: #fff;
    padding: 1.45rem;
}

.br-shop-newsletter > div > span {
    color: var(--br-accent-400, #e8b560);
    font-size: .7rem;
    font-weight: 800;
}

.br-shop-newsletter h2 {
    margin: .35rem 0 0;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 900;
    line-height: 1.45;
}

.br-shop-newsletter > div > p {
    margin: .35rem 0 0;
    color: #c7dee1;
    font-size: .74rem;
    line-height: 1.8;
}

.br-shop-newsletter__form,
.br-shop-newsletter__form .bf-fields {
    width: 100%;
}

.br-shop-newsletter__form .bf-label {
    color: #fff;
}

.br-shop-newsletter__form .bf-fields {
    display: grid;
    gap: .55rem;
}

.br-shop-newsletter__form .bf-field--email,
.br-shop-newsletter__form .bf-control {
    width: 100%;
}

.br-shop-newsletter__form .bf-control {
    min-height: 48px;
    border: 1px solid #c7dee1 !important;
    border-radius: .85rem !important;
    background: #fff !important;
    color: #0f172a !important;
    box-shadow: none !important;
}

.br-shop-newsletter__form .bf-form__actions {
    display: flex;
    justify-content: center;
}

.br-shop-newsletter__form .bf-submit {
    width: auto !important;
    min-height: 46px;
    border: 0 !important;
    border-radius: .8rem !important;
    background: var(--br-accent-500, #d49b3a) !important;
    color: #1e293b !important;
    font-weight: 900 !important;
    padding-inline: 1.2rem !important;
}

.br-shop-newsletter__form .bf-error,
.br-shop-newsletter__form .bf-form__status {
    color: #fff;
}

html.dark .br-shop {
    --shop-heading: #f8fafc;
    --shop-copy: #d7e2e5;
    --shop-muted: #a7bac0;
    --shop-border: #174d55;
    --shop-card: #082f36;
    background: linear-gradient(180deg, #03191d 0, #04252b 520px, #03191d 100%);
}

html.dark .br-shop-breadcrumb span,
html.dark .br-shop-breadcrumb a:hover {
    color: var(--br-primary-200, #c7dee1);
}

html.dark .br-shop-catalog__header,
html.dark .br-shop-section-label {
    color: var(--br-primary-200, #c7dee1);
}

html.dark .br-shop-tabs,
html.dark .br-shop-sort-wrap,
html.dark .br-shop-empty,
html.dark .br-shop-benefits {
    background: #082f36;
}

html.dark .br-shop-tabs a span {
    background: #15444b;
    color: #c7dee1;
}

html.dark .br-shop-tabs a.is-active span {
    background: #fff;
    color: var(--br-primary-800, #08404a);
}

html.dark .br-shop-sort-wrap select {
    color: #e2eef0;
}

html.dark .br-shop-card__instructor > span,
html.dark .br-shop-card__media,
html.dark .br-shop-empty > span,
html.dark .br-shop-benefits article > span {
    border-color: #1d5962;
    background: #12434a;
    color: #c7dee1;
}

html.dark .br-shop-benefits article {
    background: #0b3740;
}

html.dark .br-shop-pagination a,
html.dark .br-shop-pagination span {
    border-color: #174d55;
    background: #082f36;
    color: #d7e2e5;
}

@media (max-width: 359px) {
    .br-shop__container {
        width: min(100% - 1.25rem, 1280px);
    }

    .br-shop-card__link {
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .br-shop-card__body {
        padding-inline: .55rem;
    }

    .br-shop-card__meta span {
        font-size: .57rem;
    }

    .br-shop-card__cta {
        padding-inline: .45rem;
    }
}

@media (max-width: 639px) {
    .br-shop-card__media > .br-shop-card__access,
    .br-shop-card__media > .br-shop-card__popular {
        display: none;
    }

    /* Keep the complete 3:4 course artwork visible on compact horizontal
       cards. The former bottom shade/type pill covered part of the poster and
       made the artwork look cropped even though the source image was intact. */
    .br-shop-card__media {
        height: auto;
        min-height: 0;
        align-self: start;
        display: grid;
        place-items: center;
        aspect-ratio: 3 / 4;
        background: #03191d;
    }

    .br-shop-card__media img,
    .br-shop-card:hover .br-shop-card__media img,
    .br-shop-card:focus-within .br-shop-card__media img {
        width: 98%;
        height: 98%;
        max-height: none;
        aspect-ratio: auto;
        object-fit: contain;
        object-position: center;
        transform: scale(1.02);
        transform-origin: center;
    }

    .br-shop-card__media::after,
    .br-shop-card__type {
        content: none;
        display: none;
    }

    .br-shop-card__body {
        position: relative;
        isolation: isolate;
        overflow: hidden;
    }

    .br-shop-card__body::after {
        content: "";
        position: absolute;
        z-index: 0;
        top: -.8rem;
        right: auto;
        bottom: auto;
        left: -.35rem;
        width: 6.8rem;
        aspect-ratio: 381 / 296;
        background: var(--br-primary-700, #0a4d56);
        opacity: .085;
        -webkit-mask: url("../home-redesign/barayand/brand/arrow-mark.png") center / contain no-repeat;
        mask: url("../home-redesign/barayand/brand/arrow-mark.png") center / contain no-repeat;
        pointer-events: none;
    }

    .br-shop-card__body > * {
        position: relative;
        z-index: 1;
    }

    .br-shop-card__body > h3 {
        order: 1;
        min-height: 0;
        margin: 0;
        font-size: .92rem;
        line-height: 1.55;
    }

    .br-shop-card__body > .br-shop-card__instructor {
        order: 2;
        margin-top: .22rem;
    }

    .br-shop-card__instructor > span {
        display: none;
    }

    .br-shop-card__instructor small {
        font-size: .67rem;
        font-weight: 750;
    }

    .br-shop-card__excerpt {
        order: 3;
        display: -webkit-box;
        min-height: 3.5em;
        margin: .38rem 0 0;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        color: var(--shop-muted);
        font-size: .68rem;
        line-height: 1.75;
    }

    .br-shop-card__meta {
        order: 4;
        min-height: 20px;
        margin-top: auto;
        padding-top: .38rem;
    }

    .br-shop-card__mobile-badges {
        display: flex;
        align-items: center;
        flex: 1 1 auto;
        flex-wrap: nowrap;
        gap: .3rem;
        margin: 0;
    }

    .br-shop-card__mobile-badges > span {
        min-height: 25px;
        padding: .32rem .48rem;
        display: inline-flex;
        align-items: center;
        gap: .25rem;
        border: 1px solid var(--shop-border);
        border-radius: 999px;
        font-family: "Yekan Bakh", Tahoma, sans-serif;
        font-size: .58rem;
        font-weight: 850;
        line-height: 1;
    }

    .br-shop-card__mobile-access {
        color: var(--shop-free);
        background: var(--br-primary-100, #e6f1f2);
    }

    .br-shop-card__mobile-popular {
        color: #fff;
        border-color: rgba(194, 65, 12, .24) !important;
        background: #c2410c;
    }

    html.dark .br-shop-card__mobile-popular {
        color: #2a0b02;
        border-color: rgba(255, 255, 255, .16) !important;
        background: #fb923c;
    }

    .br-shop-card__footer {
        order: 5;
        align-items: center;
        justify-content: space-between;
        gap: .45rem;
        margin-top: .18rem;
        padding-top: .28rem;
    }

    .br-shop-card__footer--free {
        justify-content: space-between;
    }

    .br-shop-card:nth-child(odd) .br-shop-card__body {
        background: #fffdf8;
    }

    .br-shop-card:nth-child(even) {
        border-color: #c9e2dc;
    }

    .br-shop-card:nth-child(even) .br-shop-card__body {
        background: #eaf6f2;
    }

    html.dark .br-shop-card:nth-child(odd) .br-shop-card__body {
        background: #082f36;
    }

    html.dark .br-shop-card:nth-child(even) {
        border-color: #276069;
    }

    html.dark .br-shop-card:nth-child(even) .br-shop-card__body {
        background: #103b40;
    }

    html.dark .br-shop-card__body::after {
        background: var(--br-accent-400, #e8b560);
        opacity: .11;
    }
}

@media (min-width: 640px) {
    .br-shop__container {
        width: min(100% - 2.5rem, 1280px);
    }

    .br-shop-hero {
        padding: 1.75rem;
    }

    .br-shop-search {
        max-width: 610px;
    }

    .br-shop-access-card {
        min-height: 96px;
    }

    .br-shop-access-card small {
        display: block;
        margin-top: .15rem;
        font-size: .62rem;
        line-height: 1.5;
    }

    .br-shop-catalog__header {
        grid-template-columns: 1fr auto;
        align-items: end;
    }

    .br-shop-controls {
        grid-template-columns: minmax(360px, .8fr) 1fr;
        align-items: center;
    }

    .br-shop-results {
        justify-content: flex-end;
    }

    .br-shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .br-shop-card__link {
        display: flex;
        flex-direction: column;
    }

    .br-shop-card__media {
        aspect-ratio: 3 / 4;
    }

    .br-shop-card__media::after {
        background: linear-gradient(180deg, rgba(3, 25, 29, .03) 20%, rgba(3, 25, 29, .26) 48%, rgba(3, 25, 29, .98) 100%);
    }

    .br-shop-card__type {
        top: .65rem;
        right: auto;
        bottom: auto;
        left: .65rem;
        max-width: calc(100% - 5.5rem);
        background: rgba(3, 25, 29, .9);
    }

    .br-shop-card__brand-mark {
        position: absolute;
        z-index: 2;
        top: 3.45rem;
        left: .75rem;
        display: block;
        width: 3.6rem;
        aspect-ratio: 381 / 296;
        background: var(--br-accent-300, #f1cb88);
        opacity: .92;
        filter: drop-shadow(0 7px 12px rgba(0, 0, 0, .3));
        -webkit-mask: url("../home-redesign/barayand/brand/arrow-mark.png") center / contain no-repeat;
        mask: url("../home-redesign/barayand/brand/arrow-mark.png") center / contain no-repeat;
        pointer-events: none;
    }

    .br-shop-card__media-copy {
        position: absolute;
        z-index: 2;
        inset: auto 0 0;
        display: flex;
        min-height: 34%;
        flex-direction: column;
        justify-content: flex-end;
        padding: 1rem;
        color: #fff;
        text-align: right;
        pointer-events: none;
    }

    .br-shop-card__media-copy strong {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        font-family: "Peyda", "Yekan Bakh", Tahoma, sans-serif;
        font-size: 1.05rem;
        font-weight: 900;
        line-height: 1.55;
        text-shadow: 0 2px 14px rgba(0, 0, 0, .8);
    }

    .br-shop-card__media-copy small {
        margin-top: .3rem;
        color: rgba(255, 255, 255, .82);
        font-family: "Yekan Bakh", Tahoma, sans-serif;
        font-size: .68rem;
        font-weight: 700;
        text-shadow: 0 2px 12px rgba(0, 0, 0, .78);
    }

    .br-shop-card__body {
        flex: 1 1 auto;
        padding: .85rem 1rem 1rem;
    }

    .br-shop-card__body > .br-shop-card__instructor,
    .br-shop-card__body > h3 {
        display: none;
    }

    .br-shop-card__excerpt {
        display: -webkit-box;
        min-height: 3.6em;
        margin: 0;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        color: var(--shop-muted);
        font-size: .7rem;
        line-height: 1.8;
    }

    .br-shop-card__meta {
        margin-top: .55rem;
    }

    .br-shop-card__footer {
        margin-top: .65rem;
        border-top: 1px solid var(--shop-border);
        padding-top: .7rem;
    }

    .br-shop-card__price small {
        display: block;
        color: var(--shop-muted);
        font-size: .56rem;
        font-weight: 700;
    }

    .br-shop-card__cta {
        min-height: 38px;
        font-size: .68rem;
        padding-inline: .75rem;
    }

    .br-shop-card__footer--free .br-shop-card__cta {
        width: 100%;
    }

    .br-shop-card__cta-label--mobile {
        display: none;
    }

    .br-shop-card__cta-label--desktop {
        display: inline;
    }

    .br-shop-benefits {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .br-shop-newsletter {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        padding: 2rem;
    }
}

@media (min-width: 960px) {
    .br-shop {
        padding-bottom: 2.5rem;
    }

    .br-shop-breadcrumb {
        min-height: 54px;
        font-size: .76rem;
    }

    .br-shop-hero {
        grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr);
        align-items: center;
        gap: 2.5rem;
        min-height: 390px;
        border-radius: 2rem;
        padding: 2.7rem 3rem;
    }

    .br-shop-hero h1 {
        margin-top: 1rem;
        font-size: clamp(2.6rem, 4.2vw, 4rem);
        line-height: 1.18;
    }

    .br-shop-hero__content > p {
        max-width: 650px;
        margin-top: 1rem;
        font-size: .94rem;
        line-height: 2;
    }

    .br-shop-search {
        margin-top: 1.5rem;
    }

    .br-shop-hero__choices {
        grid-template-columns: 1fr;
        gap: .8rem;
    }

    .br-shop-access-card {
        min-height: 100px;
        flex-direction: row;
        justify-content: flex-start;
        gap: .85rem;
        padding: 1rem;
        text-align: right;
    }

    .br-shop-access-card__icon {
        width: 50px;
        height: 50px;
        flex: 0 0 auto;
        margin: 0;
        border-radius: 1rem;
        background: #fff;
    }

    .br-shop-access-card strong {
        font-size: .88rem;
    }

    .br-shop-access-card small {
        font-size: .68rem;
    }

    .br-shop-access-card__arrow {
        display: block;
        margin-right: auto;
    }

    .br-shop-brand-mark {
        top: 2.2rem;
        bottom: auto;
        right: 2.6rem;
        left: auto;
        width: 13rem;
        opacity: .12;
    }

    .br-shop-countdown {
        grid-template-columns: minmax(0, 1fr) minmax(430px, .9fr);
        align-items: center;
        gap: 2.5rem;
        margin-top: 1.25rem;
        padding: 2rem 2.25rem;
    }

    .br-shop-countdown h2 {
        font-size: 1.85rem;
    }

    .br-shop-countdown__copy > p {
        font-size: .8rem;
    }

    .br-shop-countdown__timer > div {
        min-height: 104px;
    }

    .br-shop-countdown__timer strong {
        font-size: 2.15rem;
    }

    .br-shop-catalog {
        padding-top: 4rem;
    }

    .br-shop-catalog__header h2 {
        font-size: 2rem;
    }

    .br-shop-catalog__header p {
        font-size: .82rem;
    }

    .br-shop-controls {
        margin-block: 1.6rem;
    }

    .br-shop-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem;
    }

    .br-shop-benefits {
        margin-top: 4rem;
        padding: 1rem;
    }

    .br-shop-newsletter {
        margin-top: 1.25rem;
        padding: 2.5rem 3rem;
    }

    .br-shop-newsletter h2 {
        font-size: 1.75rem;
    }
}

@media (min-width: 1200px) {
    .br-shop-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .br-shop-card__body {
        padding: 1.05rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .br-shop *,
    .br-shop *::before,
    .br-shop *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
