main .courses .tw-card,
main .communities .tw-card {
width: 280px;
}

.tw-my-8{
margin-top: 0px;
}

.tw-pt-5{
padding-top: 0px;
}

.tw-my-5{
margin-top: 4px;
margin-bottom: 12px;
text-decoration: underline;
}

/* Space between blocks */
.lesson-content div.tw-mt-8 {
margin-top: 0px;
}

/* Space under lesson title */
.lesson-content h1,
.community h1 {
margin: 24px 0;
}

/* cards size in members area */
.courses .tw-card, .communities .tw-card {
width: 250px;
}

.button:nth-child(2),
[type="button"]:nth-child(2),
[type="reset"]:nth-child(2),
[type="submit"]:nth-child(2) {
  background-color: transparent !important;
}
/* img inside cards size in members area */
.tw-card figure img {
height: auto;
}

.community .tw-text-base a {
    text-decoration: underline;
}

button .announcement-bar__button hidden-phone .search-bar__submit {
background-color: #f48300;
}

.search-bar__submit, .announcement-bar__button, .button--primary {
        background: var(--header-accent-color);
}

html, :host, :root {
    font-family: var(--text-font-family);
    line-height: 1.87;
    color: var(--text-color);
}

p {
    margin-block-end: 14px;
}

main .tw-card-body .bss-b2b-collection-compare-price-vat {
    display: none !important;
}
.tw-text-base a {
    text-decoration: underline;
}
.tw-text-base a:link { color: #0000EE;}
.tw-text-base a:visited { color: #551A8B; }
.tw-text-base a:link:active, .tw-text-base:visited:active { color: #FF0000; }

.Products .sold-out {
font-size: 0;
}
.Products .sold-out:before {
content: "אזל המלאי";
font-size: 15px;
}
:has(.lesson-content) #trusted-logins-react{display:block;}

.HTML:has(.shopify-buy-frame) {
    display: none;
}
:has(.mobile-app-header) .HTML:has(.shopify-buy-frame) {
    display: block;
}

.lesson-content {
    display: flex;
    flex-direction: column;
}
.lesson-content h1 {
    margin-top: -20px;
}
.lesson-content .Products {
    order: 10;
}
.lesson-content #comments {
    order: 20;
}

.courses:has(.enrolled[data-id="251b60ac-e493-47d2-8442-d29dc9db2f79"]) .not-enrolled[data-id="8859778d-b489-4d34-860f-5f719a8ebbea"] {
   display: none;
}

main .Products {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}
main .Products > div .tw-w-60 {
    width: auto;
    height: 100%;
}
main .Products > div .tw-w-60.tw-skeleton {
    width: auto;
    height: 320px;
}
main .Products > div .tw-w-60 p {
    flex-grow: 1;
    display: flex;
    align-items: end;
}

main .Products .tw-card-title {
    font-size: 15px;
    font-weight: bold;
}

@media screen and (max-width:800px) {
    main .Products {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    main .Products > div .tw-w-60 {
        width: auto;
    }
}

@media screen and (max-width:1000px) and (orientation:landscape) {
    main .Products {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    main .Products > div .tw-w-60 {
        width: auto;
    }
}
.button:nth-child(2),
[type="button"]:nth-child(2),
[type="reset"]:nth-child(2),
[type="submit"]:nth-child(2) {
  background-color: var(--primary-button-background) !important;
}

:has(.enrolled[data-id="251b60ac-e493-47d2-8442-d29dc9db2f79"]) .not-enrolled[href*="/products/lishi-course-online"] {
   display: none;
}