/* Taxuto SaaS storefront styling. Scoped to the website shop only. */
#products_grid {
    --tx-shop-primary: #754866;
    --tx-shop-ink: #211b22;
    --tx-shop-muted: #756d77;
    --tx-shop-line: #ebe6ec;
    --tx-shop-soft: #faf8fb;
}

#o_wsale_container {
    background: linear-gradient(180deg, #fff 0%, #fbf9fc 100%);
}

.tx-saas-shop-page #products_grid_before,
body:has(#products_grid) #products_grid_before {
    display: none !important;
}

#products_grid_before {
    display: none !important;
}

.tx-saas-shop-page .o_wsale_products_main_row {
    display: block;
}

.tx-saas-shop-page #products_grid {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px 70px;
}

.tx-saas-shop-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 42px 24px 30px;
    border-radius: 0 0 24px 24px;
    background: radial-gradient(circle at 86% 20%, rgba(15, 159, 161, .14), transparent 27%),
                radial-gradient(circle at 12% 0%, rgba(117, 72, 102, .13), transparent 30%),
                #f8f5fa;
}

.tx-saas-shop-hero__content {
    max-width: 640px;
}

.tx-saas-shop-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #754866;
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.tx-saas-shop-hero__eyebrow span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0f9fa1;
    box-shadow: 0 0 0 5px rgba(15, 159, 161, .13);
}

.tx-saas-shop-hero h1 {
    margin: 13px 0 10px;
    color: #211b22;
    font-size: clamp(2.1rem, 4vw, 3.45rem);
    line-height: 1.02;
    letter-spacing: -.06em;
    font-weight: 900;
}

.tx-saas-shop-hero h1 em {
    color: #754866;
    font-style: normal;
}

.tx-saas-shop-hero p {
    max-width: 500px;
    margin: 0;
    color: #756d77;
    font-size: 1rem;
    line-height: 1.5;
}

.tx-saas-shop-hero__trust {
    display: flex;
    gap: 26px;
    padding: 15px 18px;
    border: 1px solid rgba(117, 72, 102, .13);
    border-radius: 15px;
    background: rgba(255, 255, 255, .75);
}

.tx-saas-shop-hero__trust div {
    display: grid;
    gap: 3px;
    min-width: 82px;
}

.tx-saas-shop-hero__trust strong {
    color: #754866;
    font-size: 1rem;
    font-weight: 850;
}

.tx-saas-shop-hero__trust span {
    color: #756d77;
    font-size: .68rem;
    line-height: 1.2;
}

#o_wsale_products_header {
    padding-top: 26px !important;
    padding-bottom: 22px !important;
}

#o_wsale_products_header .o_wsale_shop_title {
    color: var(--tx-shop-ink);
    font-size: 2.15rem;
    font-weight: 850;
    letter-spacing: -.045em;
}

#o_wsale_products_header .products_header {
    padding: 10px 14px;
    border: 1px solid var(--tx-shop-line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .8);
}

#products_grid .o_wsale_products_grid_table_wrapper {
    padding-top: 12px;
}

#products_grid .oe_product {
    position: relative;
    border: 1px solid var(--tx-shop-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(40, 24, 38, .06);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

#products_grid #o_wsale_products_grid {
    gap: 22px !important;
}

#products_grid .oe_product:hover {
    border-color: rgba(117, 72, 102, .35);
    box-shadow: 0 16px 34px rgba(40, 24, 38, .12);
    transform: translateY(-4px);
}

#products_grid .oe_product_image {
    min-height: 0;
    height: 220px;
    padding: 20px;
    background: linear-gradient(145deg, #fbf9fc, #f3f0f5);
}

#products_grid .oe_product_image img {
    transition: transform .25s ease;
}

#products_grid .oe_product:hover .oe_product_image img {
    transform: scale(1.04);
}

#products_grid .o_wsale_product_information {
    padding: 18px 20px 20px;
    background: #fff;
}

#products_grid .o_wsale_product_information_text {
    min-height: 62px;
}

#products_grid .o_wsale_products_item_title a,
#products_grid .o_wsale_product_title a,
#products_grid .oe_product_name a {
    color: var(--tx-shop-ink);
    font-size: 1.05rem;
    font-weight: 750;
    text-decoration: none;
}

#products_grid .product_price,
#products_grid .oe_price {
    color: var(--tx-shop-primary);
    font-size: 1.05rem;
    font-weight: 800;
}

#products_grid .o_wsale_product_sub {
    display: grid;
    gap: 15px;
}

#products_grid .o_wsale_product_btn,
#products_grid .o_wsale_product_action_row {
    width: auto;
}

.tx-saas-shop-page #o_wsale_products_grid .oe_product:first-child {
    border-color: rgba(117, 72, 102, .48);
    box-shadow: 0 18px 38px rgba(117, 72, 102, .15);
}

.tx-saas-shop-page #o_wsale_products_grid .oe_product:first-child::before {
    content: 'POPULAR PLAN';
    position: absolute;
    z-index: 3;
    top: 14px;
    left: 14px;
    padding: 6px 9px;
    border-radius: 999px;
    color: #fff;
    background: #754866;
    font-size: .62rem;
    font-weight: 850;
    letter-spacing: .08em;
}

.tx-saas-shop-page #o_wsale_products_grid .oe_product:first-child .o_wsale_product_information::after {
    content: 'Hosted Odoo  •  Secure setup  •  Workspace ready after payment';
    display: block;
    margin-top: 14px;
    color: #756d77;
    font-size: .72rem;
    line-height: 1.45;
}

#products_grid .o_wsale_product_btn_primary,
#products_grid .oe_product_cart .btn-primary {
    width: auto;
    min-width: 180px;
    border: 0;
    border-radius: 10px;
    background: var(--tx-shop-primary);
    box-shadow: none;
    font-weight: 750;
    transition: background .2s ease, transform .2s ease;
}

#products_grid .o_wsale_product_btn_primary:hover,
#products_grid .oe_product_cart .btn-primary:hover {
    background: #5e374f;
    transform: translateY(-1px);
}

#products_grid .o_wsale_product_btn_primary .fa-globe {
    margin-right: 6px;
}

#products_grid .o_wsale_product_btn_primary .o_label {
    font-size: .86rem;
}

#products_grid .o_wsale_product_btn_primary:has(.fa-globe) {
    width: auto;
    min-width: 180px;
    padding: 10px 16px;
    font-size: .86rem;
    aspect-ratio: auto !important;
    height: auto !important;
    --o-wsale-card-btn-submit-display: flex;
    --o-wsale-card-btn-submit-flex-grow: 0;
    --o-wsale-card-btn-submit-aspect-ratio: auto;
    --o-wsale-card-btn-submit-min-height: 44px;
}

#products_grid .o_wsale_product_btn_primary:has(.fa-globe)::after {
    content: none;
}

#products_grid .o_wsale_product_btn_primary:has(.fa-globe) .o_label {
    display: inline !important;
    font-size: .86rem !important;
}

#products_grid .o_wsale_product_btn_primary:has(.fa-globe) {
    font-size: .86rem;
}

#products_grid .o_wsale_product_btn_primary:has(.fa-globe) .fa-globe {
    font-size: .9rem;
}

#products_grid .o_wsale_products_grid_table_wrapper + * {
    color: var(--tx-shop-muted);
}

@media (max-width: 767px) {
    .tx-saas-shop-hero {
        display: block;
        padding: 30px 18px 24px;
    }

    .tx-saas-shop-hero__trust {
        gap: 14px;
        margin-top: 22px;
    }

    .tx-saas-shop-page #products_grid {
        padding-right: 14px;
        padding-left: 14px;
    }

    #products_grid .oe_product_image {
        height: 180px;
    }

    #products_grid .o_wsale_product_information {
        padding: 14px 16px 16px;
    }
}

/* -------------------------------------------------------------------------
   SaaS plan cards
   Odoo's default shop puts product actions over the image on hover. SaaS
   plans need a clearer, always-visible purchase path instead.
   ------------------------------------------------------------------------- */
.tx-saas-shop-page #products_grid_before,
.tx-saas-shop-page aside#products_grid_before {
    display: none !important;
}

.tx-saas-shop-page .o_wsale_products_main_row {
    display: block !important;
}

.tx-saas-shop-page #o_wsale_products_grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px !important;
}

.tx-saas-shop-page #o_wsale_products_grid .oe_product:has(.tx-saas-plan-cta) {
    display: flex !important;
    min-width: 0;
    flex-direction: column;
    border: 1px solid rgba(117, 72, 102, .16);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(43, 28, 42, .08);
    overflow: hidden;
    transform: none;
}

.tx-saas-shop-page #o_wsale_products_grid .oe_product:has(.tx-saas-plan-cta):hover {
    border-color: rgba(15, 159, 161, .42);
    box-shadow: 0 22px 48px rgba(43, 28, 42, .14);
    transform: translateY(-6px);
}

/* A purposeful SaaS visual replaces the empty stock image placeholder. */
.tx-saas-shop-page #o_wsale_products_grid .oe_product:has(.tx-saas-plan-cta) .oe_product_image {
    position: relative !important;
    height: 214px !important;
    min-height: 214px !important;
    padding: 0 !important;
    background:
        radial-gradient(circle at 82% 18%, rgba(15, 159, 161, .34), transparent 28%),
        linear-gradient(135deg, #34253d 0%, #754866 58%, #c18b9e 100%);
    overflow: hidden;
}

.tx-saas-shop-page #o_wsale_products_grid .oe_product:has(.tx-saas-plan-cta) .oe_product_image::before {
    content: 'SAAS  /  ODOO 19';
    position: absolute;
    z-index: 2;
    top: 22px;
    left: 24px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, .13);
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .13em;
}

.tx-saas-shop-page #o_wsale_products_grid .oe_product:has(.tx-saas-plan-cta) .oe_product_image::after {
    content: 'Your workspace\A ready when you are';
    position: absolute;
    z-index: 2;
    left: 24px;
    bottom: 23px;
    color: #fff;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.08;
    white-space: pre;
    letter-spacing: -.04em;
}

.tx-saas-shop-page #o_wsale_products_grid .oe_product:has(.tx-saas-plan-cta) .oe_product_image img {
    opacity: 0 !important;
}

.tx-saas-shop-page #o_wsale_products_grid .oe_product:has(.tx-saas-plan-cta) .o_wsale_product_information {
    display: flex !important;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 22px 22px 20px !important;
}

.tx-saas-shop-page #o_wsale_products_grid .oe_product:has(.tx-saas-plan-cta) .o_wsale_product_information_text {
    min-height: 0;
}

.tx-saas-shop-page #o_wsale_products_grid .oe_product:has(.tx-saas-plan-cta) .o_wsale_products_item_title a {
    display: block;
    color: #211b22;
    font-size: 1.18rem;
    font-weight: 850;
    letter-spacing: -.035em;
}

.tx-saas-shop-page #o_wsale_products_grid .oe_product:has(.tx-saas-plan-cta) .o_wsale_product_sub {
    display: flex !important;
    flex-direction: column;
    align-items: stretch !important;
    gap: 16px !important;
    margin-top: 22px;
}

.tx-saas-shop-page #o_wsale_products_grid .oe_product:has(.tx-saas-plan-cta) .product_price {
    color: #754866;
    font-size: 1.3rem;
    font-weight: 850;
}

/* Undo the core hover/action positioning for this CTA only. */
.tx-saas-shop-page #o_wsale_products_grid .oe_product:has(.tx-saas-plan-cta) .o_wsale_product_btn,
.tx-saas-shop-page #o_wsale_products_grid .oe_product:has(.tx-saas-plan-cta) .o_wsale_product_action_row {
    position: static !important;
    display: flex !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

.tx-saas-shop-page #o_wsale_products_grid .oe_product:has(.tx-saas-plan-cta) .tx-saas-plan-cta {
    display: flex !important;
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 48px !important;
    height: auto !important;
    aspect-ratio: auto !important;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0 !important;
    border-radius: 13px !important;
    color: #fff !important;
    background: linear-gradient(105deg, #754866, #93627f) !important;
    box-shadow: 0 9px 18px rgba(117, 72, 102, .22) !important;
    font-size: .88rem;
    font-weight: 800;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

.tx-saas-shop-page #o_wsale_products_grid .oe_product:has(.tx-saas-plan-cta) .tx-saas-plan-cta:hover {
    color: #fff !important;
    background: linear-gradient(105deg, #0f9fa1, #16898f) !important;
    box-shadow: 0 12px 24px rgba(15, 159, 161, .25) !important;
}

.tx-saas-shop-page #o_wsale_products_grid .oe_product:has(.tx-saas-plan-cta) .tx-saas-plan-cta .o_label {
    display: inline !important;
    font-size: inherit !important;
}

/* Keep non-SaaS demo products from contributing hover clutter to this page. */
.tx-saas-shop-page #o_wsale_products_grid .oe_product:not(:has(.tx-saas-plan-cta)) .o_wsale_product_btn {
    display: none !important;
}

@media (max-width: 991px) {
    .tx-saas-shop-page #o_wsale_products_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .tx-saas-shop-page #o_wsale_products_grid {
        grid-template-columns: 1fr;
    }

    .tx-saas-shop-page #o_wsale_products_grid .oe_product:has(.tx-saas-plan-cta) .oe_product_image {
        height: 190px !important;
        min-height: 190px !important;
    }
}

/* Hide the optional SaaS-plan navigation item before the first paint. */
header li:has(> a[href="/custom/plan"]),
nav li:has(> a[href="/custom/plan"]),
.navbar li:has(> a[href="/custom/plan"]),
header a[href="/custom/plan"],
nav a[href="/custom/plan"],
.navbar a[href="/custom/plan"] {
    display: none !important;
}

/* Reference composition: compact illustrated hero and horizontal catalog cards. */
.tx-saas-shop-page .tx-saas-shop-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr);
    align-items: center;
    padding: 42px 54px;
}

.tx-saas-shop-page .tx-saas-shop-hero__content {
    position: relative;
    z-index: 2;
}

.tx-saas-shop-page .tx-saas-shop-hero__content p {
    max-width: 720px;
    margin-top: 18px;
    color: var(--tx-catalog-muted);
    font-size: 18px;
    line-height: 1.55;
}

.tx-saas-shop-page .tx-saas-shop-hero__art {
    min-height: 158px;
    position: relative;
    display: grid;
    place-items: center;
}

.tx-saas-shop-page .tx-saas-shop-hero__platform {
    width: 260px;
    height: 66px;
    position: absolute;
    bottom: 8px;
    border-radius: 50%;
    background: linear-gradient(180deg, #fff, #e8e9f7);
    box-shadow: 0 18px 36px rgba(63, 50, 78, .13);
}

.tx-saas-shop-page .tx-saas-shop-hero__box {
    width: 120px;
    height: 92px;
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    border-radius: 10px 10px 18px 18px;
    color: #fff;
    background: linear-gradient(145deg, #956486, var(--tx-catalog-plum));
    box-shadow: 0 20px 30px rgba(85, 48, 74, .22);
    transform: translateY(-6px);
}

.tx-saas-shop-page .tx-saas-shop-hero__box::before,
.tx-saas-shop-page .tx-saas-shop-hero__box::after {
    content: '';
    width: 76px;
    height: 54px;
    position: absolute;
    top: -26px;
    background: #ad7e9f;
}

.tx-saas-shop-page .tx-saas-shop-hero__box::before { left: -44px; transform: skewY(-20deg); }
.tx-saas-shop-page .tx-saas-shop-hero__box::after { right: -44px; transform: skewY(20deg); }

.tx-saas-shop-page .tx-saas-shop-hero__box i { font-size: 42px; }

.tx-saas-shop-page .tx-saas-shop-hero__orb {
    position: absolute;
    border-radius: 50%;
    background: rgba(16, 168, 181, .18);
}

.tx-saas-shop-page .tx-saas-shop-hero__orb--a { width: 54px; height: 54px; right: 4%; top: 12%; }
.tx-saas-shop-page .tx-saas-shop-hero__orb--b { width: 22px; height: 22px; left: 7%; bottom: 22%; background: rgba(123, 71, 105, .22); }
.tx-saas-shop-page .tx-saas-shop-hero__orb--c { width: 13px; height: 13px; right: 16%; bottom: 16%; background: var(--tx-catalog-teal); }

.tx-saas-shop-page .tx-saas-shop-catalog-title {
    display: flex;
    align-items: baseline;
    gap: 14px;
}

.tx-saas-shop-page .tx-saas-shop-result-count {
    color: var(--tx-catalog-plum);
    font-size: 13px;
    font-weight: 700;
}

.tx-saas-shop-page #o_wsale_products_grid .oe_product_cart {
    grid-template-columns: 47% 53%;
    grid-template-rows: minmax(250px, 1fr);
    min-height: 250px;
}

.tx-saas-shop-page #o_wsale_products_grid .tx-product-media {
    grid-column: 1;
    grid-row: 1;
    height: 100% !important;
    min-height: 250px !important;
}

.tx-saas-shop-page #o_wsale_products_grid .oe_product_cart .o_wsale_product_information {
    grid-column: 2;
    grid-row: 1;
    min-height: 250px;
    padding: 22px 22px 20px !important;
}

.tx-saas-shop-page #o_wsale_products_grid .oe_product_image::before,
.tx-saas-shop-page #o_wsale_products_grid .oe_product_image::after {
    content: none !important;
}

.tx-saas-shop-page #o_wsale_products_grid .oe_product_cart .o_wsale_product_information_text {
    min-height: 0;
}

@media (max-width: 991px) {
    .tx-saas-shop-page .tx-saas-shop-hero { padding: 38px; grid-template-columns: 1fr 280px; }
}

@media (max-width: 575px) {
    .tx-saas-shop-page .tx-saas-shop-hero {
        display: block;
        min-height: 260px;
        padding: 30px 22px 26px;
    }
    .tx-saas-shop-page .tx-saas-shop-hero__art { display: none; }
    .tx-saas-shop-page #o_wsale_products_grid .oe_product_cart {
        grid-template-columns: 42% 58%;
        grid-template-rows: minmax(220px, 1fr);
        min-height: 220px;
    }
    .tx-saas-shop-page #o_wsale_products_grid .tx-product-media,
    .tx-saas-shop-page #o_wsale_products_grid .oe_product_cart .o_wsale_product_information {
        min-height: 220px !important;
    }
}

/* Approved universal catalog treatment. */
.tx-saas-shop-page {
    --tx-catalog-plum: #7b4769;
    --tx-catalog-plum-dark: #603650;
    --tx-catalog-teal: #10a8b5;
    --tx-catalog-ink: #18141a;
    --tx-catalog-muted: #6e6670;
    --tx-catalog-line: #e8e1e7;
    background: #fbfafb;
}

.tx-saas-shop-page #o_wsale_container {
    background: #fbfafb;
}

.tx-saas-shop-page #products_grid {
    max-width: 1500px;
    padding: 0 32px 72px;
}

.tx-saas-shop-page .tx-saas-shop-hero {
    max-width: 1500px;
    min-height: 216px;
    margin: 18px auto 0;
    padding: 42px 54px;
    border: 1px solid #ebe3ea;
    border-radius: 24px;
    background:
        radial-gradient(circle at 92% 12%, rgba(17,168,181,.16), transparent 28%),
        radial-gradient(circle at 4% 95%, rgba(123,71,105,.10), transparent 31%),
        linear-gradient(110deg, #faf6fa 0%, #f8f8fc 48%, #eefafd 100%);
}

.tx-saas-shop-page #o_wsale_products_header {
    padding: 30px 0 18px !important;
}

.tx-saas-shop-page #o_wsale_products_header .o_wsale_shop_title {
    color: var(--tx-catalog-ink);
    font-size: 2.15rem;
    font-weight: 850;
    letter-spacing: -.05em;
}

.tx-saas-shop-page #o_wsale_products_header .products_header {
    display: flex !important;
    gap: 12px !important;
    align-items: stretch !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.tx-saas-shop-page #o_wsale_products_header .o_wsale_products_header_search_form_container {
    order: 1;
    flex: 1 1 auto;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
}

.tx-saas-shop-page #o_wsale_products_header .o_sortby_dropdown {
    order: 2;
    flex: 0 0 232px;
}

.tx-saas-shop-page #o_wsale_products_header .o_pricelist_dropdown {
    order: 3;
}

.tx-saas-shop-page #o_wsale_products_header .o_searchbar_form {
    display: flex;
    min-height: 52px;
    overflow: hidden;
    border: 1px solid #ddd5dc;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(52,38,49,.03);
}

.tx-saas-shop-page #o_wsale_products_header .o_searchbar_form:focus-within {
    border-color: var(--tx-catalog-teal);
    box-shadow: 0 0 0 3px rgba(16,168,181,.13);
}

.tx-saas-shop-page #o_wsale_products_header .o_searchbar_form .oe_search_box {
    min-height: 52px;
    border: 0 !important;
    background: #fff !important;
    color: var(--tx-catalog-ink) !important;
    box-shadow: none !important;
}

.tx-saas-shop-page #o_wsale_products_header .oe_search_button {
    min-width: 112px;
    border: 0 !important;
    border-radius: 0 !important;
    color: #fff !important;
    background: var(--tx-catalog-plum) !important;
    font-weight: 750;
}

.tx-saas-shop-page #o_wsale_products_header .oe_search_button:hover,
.tx-saas-shop-page #o_wsale_products_header .oe_search_button:focus-visible {
    background: var(--tx-catalog-plum-dark) !important;
}

.tx-saas-shop-page #o_wsale_products_header .oe_search_button .oi-search {
    margin-right: 7px;
}

.tx-saas-shop-page #o_wsale_products_header .oe_search_button::after {
    content: 'Search';
}

.tx-saas-shop-page #o_wsale_products_header .oe_search_button .oi-search,
.tx-saas-shop-page #o_wsale_products_header .oe_search_button .oe_search_found {
    display: none;
}

.tx-saas-shop-page #o_wsale_products_header .o_sortby_dropdown > .dropdown-toggle {
    width: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border: 1px solid #cfc5cc !important;
    border-radius: 13px;
    color: var(--tx-catalog-ink) !important;
    background: #fff !important;
}

.tx-saas-shop-page #o_wsale_products_header .o_sortby_dropdown .dropdown-menu {
    min-width: 232px;
    padding: 6px;
    border: 1px solid #ded6dc;
    border-radius: 12px;
    box-shadow: 0 18px 42px rgba(48,34,45,.16);
}

.tx-saas-shop-page #o_wsale_products_header .o_sortby_dropdown .dropdown-item {
    padding: 10px 12px;
    border-radius: 8px;
}

.tx-saas-shop-page #o_wsale_products_header .o_sortby_dropdown .dropdown-item.active,
.tx-saas-shop-page #o_wsale_products_header .o_sortby_dropdown .dropdown-item:hover {
    color: #fff;
    background: var(--tx-catalog-plum);
}

.tx-saas-shop-page #o_wsale_products_grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px !important;
}

.tx-saas-shop-page #o_wsale_products_grid .oe_product {
    min-width: 0;
    overflow: visible;
}

.tx-saas-shop-page #o_wsale_products_grid .oe_product_cart {
    position: relative;
    display: grid !important;
    grid-template-rows: 248px minmax(220px, 1fr);
    overflow: hidden;
    border: 1px solid var(--tx-catalog-line);
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(53,38,49,.035);
    cursor: pointer;
    outline: none;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.tx-saas-shop-page #o_wsale_products_grid .oe_product_cart:hover,
.tx-saas-shop-page #o_wsale_products_grid .oe_product_cart:focus-visible,
.tx-saas-shop-page #o_wsale_products_grid .oe_product_cart:focus-within {
    z-index: 4;
    border-color: rgba(16,168,181,.75);
    box-shadow: 0 18px 45px rgba(70,48,65,.09);
    transform: translateY(-7px);
}

.tx-saas-shop-page #o_wsale_products_grid .tx-product-media {
    position: relative !important;
    grid-row: 1;
    height: 248px !important;
    min-height: 248px !important;
    background: #f2edf2;
}

.tx-saas-shop-page #o_wsale_products_grid .tx-product-media .oe_product_image_link {
    position: relative;
    z-index: 1;
}

.tx-saas-shop-page #o_wsale_products_grid .tx-product-media .oe_product_image_img_wrapper_primary img,
.tx-saas-shop-page #o_wsale_products_grid .tx-product-media .oe_product_image_img_wrapper_primary .img {
    transition: transform .4s ease, opacity .2s ease;
}

.tx-saas-shop-page #o_wsale_products_grid .oe_product_cart:hover .tx-product-media img,
.tx-saas-shop-page #o_wsale_products_grid .oe_product_cart:focus-within .tx-product-media img {
    transform: scale(1.035);
}

.tx-saas-shop-page #o_wsale_products_grid .tx-product-fallback {
    position: absolute;
    z-index: 0;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #7b4769;
    background:
        radial-gradient(circle at 24% 20%, rgba(255,255,255,.9), transparent 17%),
        radial-gradient(circle at 72% 72%, rgba(255,255,255,.75), transparent 22%),
        linear-gradient(145deg, #f8eff9, #e7f5f7);
}

.tx-saas-shop-page #o_wsale_products_grid .tx-product-fallback::before,
.tx-saas-shop-page #o_wsale_products_grid .tx-product-fallback::after {
    content: '';
    position: absolute;
    width: 105px;
    height: 105px;
    border: 1px solid rgba(123,71,105,.18);
    border-radius: 50%;
}

.tx-saas-shop-page #o_wsale_products_grid .tx-product-fallback::before { left: -34px; bottom: -25px; }
.tx-saas-shop-page #o_wsale_products_grid .tx-product-fallback::after { right: -28px; top: -34px; }

.tx-saas-shop-page #o_wsale_products_grid .tx-product-fallback span {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    color: #7b4769;
    background: rgba(255,255,255,.74);
    box-shadow: 0 15px 30px rgba(85,61,80,.11);
    font-size: 2rem;
    font-weight: 850;
}

.tx-saas-shop-page #o_wsale_products_grid .tx-product-media:has(.tx-product-fallback) .oe_product_image_link img {
    opacity: 0 !important;
}

.tx-saas-shop-page #o_wsale_products_grid .oe_product_cart .o_wsale_product_information {
    position: relative;
    z-index: 2;
    grid-row: 2;
    min-width: 0;
    min-height: 220px;
    padding: 22px 22px 26px !important;
    background: #fff;
}

/* Higher-specificity reset for the earlier SaaS-only card rules. */
.tx-saas-shop-page #o_wsale_products_grid .oe_product:has(.tx-saas-plan-cta) .oe_product_image::before,
.tx-saas-shop-page #o_wsale_products_grid .oe_product:has(.tx-saas-plan-cta) .oe_product_image::after {
    content: none !important;
}

.tx-saas-shop-page #o_wsale_products_grid .oe_product:has(.tx-saas-plan-cta) .oe_product_image img {
    opacity: 1 !important;
}

.tx-saas-shop-page #o_wsale_products_grid .oe_product:has(.tx-saas-plan-cta) .o_wsale_product_btn {
    position: absolute !important;
    top: 188px !important;
    right: 14px !important;
    bottom: auto !important;
    left: 14px !important;
    display: flex !important;
    width: auto !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(12px) !important;
    visibility: visible !important;
}

.tx-saas-shop-page #o_wsale_products_grid .oe_product:has(.tx-saas-plan-cta):hover .o_wsale_product_btn,
.tx-saas-shop-page #o_wsale_products_grid .oe_product:has(.tx-saas-plan-cta):focus-within .o_wsale_product_btn {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

@media (hover: none) {
    .tx-saas-shop-page #o_wsale_products_grid .oe_product:has(.tx-saas-plan-cta) .o_wsale_product_btn {
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: none !important;
    }
}

.tx-saas-shop-page #o_wsale_products_grid .o_wsale_product_information_text {
    min-height: 120px;
}

.tx-saas-shop-page #o_wsale_products_grid .o_wsale_products_item_title {
    min-height: 52px;
    margin: 0;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.22;
}

.tx-saas-shop-page #o_wsale_products_grid .o_wsale_products_item_title > a:first-child {
    color: var(--tx-catalog-ink);
    font-size: 1.3rem;
    font-weight: 850;
    letter-spacing: -.04em;
}

.tx-saas-shop-page #o_wsale_products_grid .oe_subdescription_wrapper {
    min-height: 44px;
    margin-top: 9px;
}

.tx-saas-shop-page #o_wsale_products_grid .oe_subdescription {
    display: -webkit-box;
    overflow: hidden;
    color: var(--tx-catalog-muted) !important;
    font-size: .82rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.tx-saas-shop-page #o_wsale_products_grid .o_wsale_product_sub {
    min-height: 34px;
    margin-top: 15px;
}

.tx-saas-shop-page #o_wsale_products_grid .product_price {
    color: var(--tx-catalog-plum);
    font-size: 1.3rem;
    font-weight: 850;
}

/* Existing wishlist/extra actions stay available but never affect card size. */
.tx-saas-shop-page #o_wsale_products_grid .o_wsale_product_btn {
    position: absolute !important;
    z-index: 6;
    top: 188px;
    right: 14px;
    left: 14px;
    display: flex !important;
    width: auto !important;
    min-height: 0 !important;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity .22s ease, transform .22s ease;
}

.tx-saas-shop-page #o_wsale_products_grid .oe_product_cart:hover .o_wsale_product_btn,
.tx-saas-shop-page #o_wsale_products_grid .oe_product_cart:focus-within .o_wsale_product_btn {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.tx-saas-shop-page #o_wsale_products_grid .o_wsale_product_action_row {
    display: flex !important;
    width: 100%;
}

.tx-saas-shop-page #o_wsale_products_grid .o_wsale_product_btn_primary {
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 46px !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0 !important;
    border-radius: 12px !important;
    color: #fff !important;
    background: var(--tx-catalog-plum) !important;
    box-shadow: 0 13px 25px rgba(83,47,73,.28) !important;
    font-size: .86rem;
    font-weight: 800;
    opacity: 1 !important;
    transform: none !important;
}

.tx-saas-shop-page #o_wsale_products_grid .o_wsale_product_btn_primary:hover {
    background: var(--tx-catalog-teal) !important;
}

.tx-saas-shop-page #o_wsale_products_grid .tx-saas-plan-cta {
    background: linear-gradient(105deg, #7b4769, #956381) !important;
}

.tx-saas-shop-page #o_wsale_products_grid .o_wsale_product_btn_primary .o_label {
    display: inline !important;
}

@media (hover: none) {
    .tx-saas-shop-page #o_wsale_products_grid .o_wsale_product_btn {
        top: 188px;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }
}

@media (max-width: 991px) {
    .tx-saas-shop-page #o_wsale_products_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .tx-saas-shop-page #o_wsale_products_header .products_header {
        flex-wrap: wrap;
    }
    .tx-saas-shop-page #o_wsale_products_header .o_wsale_products_header_search_form_container {
        flex-basis: 100%;
    }
    .tx-saas-shop-page #o_wsale_products_header .o_sortby_dropdown {
        flex-basis: 232px;
    }
}

@media (max-width: 575px) {
    .tx-saas-shop-page #products_grid {
        padding-right: 16px;
        padding-left: 16px;
    }
    .tx-saas-shop-page .tx-saas-shop-hero {
        margin-top: 0;
        padding: 30px 22px 26px;
        border-radius: 0 0 20px 20px;
    }
    .tx-saas-shop-page #o_wsale_products_grid {
        grid-template-columns: 1fr;
    }
    .tx-saas-shop-page #o_wsale_products_header .o_sortby_dropdown {
        flex: 1 1 100%;
    }
}
.tx-trial-confirmation {
    width: min(1180px, calc(100% - 32px));
    margin: 18px auto 0;
    padding: 13px 18px;
    border: 1px solid #bfe8d8;
    border-radius: 10px;
    color: #146b54;
    background: #eaf9f3;
    font-weight: 700;
    animation: tx-trial-confirmation-hide 7s ease forwards;
}

.tx-trial-confirmation span {
    display: inline-grid;
    width: 22px;
    height: 22px;
    margin-right: 7px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #3cb58b;
}

@keyframes tx-trial-confirmation-hide {
    0%, 78% { opacity: 1; }
    100% { opacity: 0; }
}
