.woocommerce.csh-shop-catalog ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 28px;
    margin: 0;
    padding: 0;
}
.csh-shop-catalog ul.products::before,
.csh-shop-catalog ul.products::after {
    display: none;
}
.woocommerce.csh-shop-catalog ul.products li.product {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    position: relative;
    min-width: 0;
    max-width: none !important;
}
.woocommerce.csh-shop-catalog ul.products li.product a img {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
}
.csh-shop-catalog .button,
.woocommerce .button.alt {
    background: #065f46;
    color: #fff;
    border-radius: 7px;
}
.woocommerce button:disabled {
    cursor: not-allowed;
}
.woocommerce ul.products li.product,
.woocommerce-product-gallery,
.tutor-course-thumbnail,
.csh-course-card-media,
.tutor-course-details-page main.tutor-col-xl-8 {
    position: relative;
}
.csh-course-card-media {
    margin-bottom: 18px;
}
.csh-course-card-media > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
}
.csh-access-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 4;
    display: inline-block;
    padding: 6px 11px;
    border-radius: 6px;
    font: 700 12px/1.3 Inter, sans-serif;
    letter-spacing: .04em;
    pointer-events: none;
}
.csh-access-free {
    background: #065f46;
    color: #fff;
}
.csh-access-paid,
.csh-access-mixed {
    background: #eac45e;
    color: #173b2e;
}
.csh-access-pending {
    background: #e6e9e3;
    color: #35483e;
}
.woocommerce ul.products li.product .onsale,
.woocommerce ul.products li.product .ast-onsale-card,
.woocommerce div.product > .onsale {
    left: auto !important;
    right: 12px !important;
    top: 12px !important;
}
.woocommerce .woocommerce-error,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info {
    border-radius: 8px;
}
.woocommerce-checkout #payment {
    background: #f0f3ea;
    border-radius: 10px;
}
.woocommerce-checkout #place_order,
.woocommerce-checkout #payment .place-order > button {
    max-width: 100%;
}
.woocommerce-checkout #payment button[disabled] {
    background: #7c968b !important;
    color: #fff !important;
}
@media (max-width: 1000px) {
    .woocommerce.csh-shop-catalog ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 600px) {
    .woocommerce.csh-shop-catalog ul.products {
        grid-template-columns: 1fr !important;
    }
    .woocommerce form.checkout .form-row {
        float: none;
        width: 100%;
    }
}
