/* =========================================================
   RICH HOME — CATEGORY PAGE
   CLEAN FINAL
   Desktop + Tablet + Mobile
   ========================================================= */

.rh-category-page {
    --rh-burgundy: #74163d;
    --rh-burgundy-dark: #5c1030;
    --rh-burgundy-soft: rgba(116, 22, 61, 0.07);

    --rh-text: #252525;
    --rh-muted: #6f6f6f;
    --rh-border: #e9e4e6;
    --rh-soft: #ffffff;
    --rh-white: #ffffff;

    width: 100%;

    color: var(--rh-text);
    background: #fff;
}


/* =========================================================
   CATEGORY PAGE — PURE WHITE BACKGROUND
   Keeps buttons, badges and accents burgundy; only page surfaces are white.
   ========================================================= */

.rh-category-page,
.rh-category-hero,
.rh-category-subcategories,
.rh-category-products,
.rh-category-main,
.rh-category-sidebar,
.rh-category-bottom-content {
    background: #ffffff !important;
}

.rh-category-bottom-content__inner {
    background: #ffffff !important;
}


/* =========================================================
   HERO
   Small — products should appear quickly
   ========================================================= */

.rh-category-hero {
    padding: 24px 0 14px;

    background: #fff;

    text-align: center;
}

.rh-category-hero__inner {
    width: 100%;
    max-width: 950px;

    margin: 0 auto;
}

.rh-category-hero__eyebrow {
    display: inline-block;

    margin-bottom: 5px;

    color: var(--rh-burgundy);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3px;
}

.rh-category-hero__title {
    margin: 0;

    color: var(--rh-text);

    font-size: 38px;
    font-weight: 800;
    line-height: 1.25;
}

.rh-category-hero__line {
    display: block;

    width: 44px;
    height: 2px;

    margin: 10px auto 0;

    background: var(--rh-burgundy);

    border-radius: 30px;
}


/* =========================================================
   SUBCATEGORIES
   ========================================================= */

.rh-category-subcategories {
    padding: 6px 0 17px;
}

.rh-category-subcategories__track {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;

    gap: 9px;
}

.rh-category-subcategories__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 39px;

    padding: 7px 17px;

    color: var(--rh-text);
    background: #fff;

    border: 1px solid var(--rh-border);
    border-radius: 50px;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    transition:
        color .2s ease,
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.rh-category-subcategories__item:hover {
    color: #fff;

    background: var(--rh-burgundy);
    border-color: var(--rh-burgundy);

    transform: translateY(-1px);
}


/* =========================================================
   PRODUCTS AREA
   ========================================================= */

.rh-category-products {
    padding: 5px 0 55px;
}


/*
   DOM:
   main
   aside

   We let document direction place the sidebar:
   AR → sidebar on physical left
   EN → sidebar on physical right
*/

.rh-category-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        270px;

    gap: 24px;

    align-items: start;
}


/* Keep content direction correct */

.rh-category-main,
.rh-category-sidebar {
    min-width: 0;
}


/* =========================================================
   TOOLBAR
   ========================================================= */

.rh-category-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;

    min-height: 52px;

    margin-bottom: 15px;
}

.rh-category-toolbar__count {
    flex: 0 0 auto;

    margin: 0;

    color: var(--rh-muted);

    font-size: 13px;
    white-space: nowrap;
}

.rh-category-toolbar__controls {
    display: flex;
    align-items: center;

    min-width: 0;
}

.rh-category-toolbar .rh-listing-controls {
    margin: 0;
}


/* =========================================================
   PRODUCT GRID
   ========================================================= */

.rh-category-product-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;

    width: 100%;

    align-items: stretch;
}


/* =========================================================
   PRODUCT CARD
   ========================================================= */

.rh-category-page .rh-product-card {
    position: relative;

    display: flex;
    flex-direction: column;

    width: 100%;
    height: 100%;

    overflow: hidden;

    background: #fff;

    border: 1px solid rgba(116, 22, 61, 0.16);
    border-radius: 18px;

    box-shadow:
        0 4px 12px rgba(116, 22, 61, 0.04),
        0 15px 32px rgba(116, 22, 61, 0.08);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.rh-category-page .rh-product-card:hover {
    transform: translateY(-4px);

    border-color: rgba(116, 22, 61, 0.30);

    box-shadow:
        0 7px 18px rgba(116, 22, 61, 0.06),
        0 20px 42px rgba(116, 22, 61, 0.12);
}


/* =========================================================
   PRODUCT IMAGE
   ========================================================= */

.rh-category-page .rh-product-card__image {
    position: relative;

    width: 100%;

    aspect-ratio: 4 / 3;

    overflow: hidden;

    background: #fff;
}

.rh-category-page .rh-product-card__image > a {
    display: block;

    width: 100%;
    height: 100%;
}

.rh-category-page .rh-product-card__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform .35s ease;
}

.rh-category-page
.rh-product-card:hover
.rh-product-card__image img {
    transform: scale(1.02);
}


/* =========================================================
   BADGES
   ========================================================= */

.rh-category-page .rh-product-labels {
    position: absolute;

    z-index: 3;

    top: 10px;
    inset-inline-end: 10px;

    display: flex;
    flex-wrap: wrap;

    gap: 5px;
}

.rh-category-page .rh-product-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 27px;

    padding: 4px 10px;

    color: #fff;
    background: var(--rh-burgundy);

    border-radius: 8px;

    font-size: 11px;
    font-weight: 700;
}


/* =========================================================
   PRODUCT CAPTION
   ========================================================= */

.rh-category-page .rh-product-card__caption {
    display: flex;
    flex: 1;
    flex-direction: column;

    padding: 14px 13px 13px;

    text-align: center;
}


/* Name */

.rh-category-page .rh-product-card__name {
    display: -webkit-box;

    min-height: 45px;

    margin-bottom: 4px;

    overflow: hidden;

    color: var(--rh-text);

    font-size: 16px;
    font-weight: 800;
    line-height: 1.4;

    text-decoration: none;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    transition: color .2s ease;
}

.rh-category-page .rh-product-card__name:hover {
    color: var(--rh-burgundy);
}


/* Description hidden only from listing card */

.rh-category-page .rh-product-card__description {
    display: none !important;
}


/* =========================================================
   PRICE
   One visible price
   ========================================================= */

.rh-category-page .rh-price {
    display: flex;
    align-items: baseline;
    justify-content: center;

    gap: 4px;

    min-height: 30px;

    margin: 2px 0 11px;
}

.rh-category-page .rh-price__current {
    color: var(--rh-burgundy);

    font-size: 19px;
    font-weight: 800;
    line-height: 1.2;
}

.rh-category-page .rh-price__from {
    color: var(--rh-muted);

    font-size: 11px;
    font-weight: 600;
}

.rh-category-page .rh-price__old,
.rh-category-page .rh-price__tax {
    display: none !important;
}


/* =========================================================
   CARD ACTIONS
   ========================================================= */

.rh-category-page .rh-product-card__actions {
    display: flex;
    align-items: stretch;

    gap: 7px;

    width: 100%;

    margin-top: auto;
}

.rh-category-page .rh-product-card__form {
    display: flex;
    flex: 1;

    align-items: stretch;

    gap: 7px;

    min-width: 0;
}


/* =========================================================
   QUANTITY
   ========================================================= */

.rh-category-page .rh-stepper {
    display: flex;

    flex: 0 0 58px;

    min-width: 58px;
    height: 41px;

    overflow: hidden;

    background: #fff;

    border: 1px solid #ded9db;
    border-radius: 9px;
}

.rh-category-page .rh-stepper__input {
    width: 35px;

    padding: 0;

    color: var(--rh-text);
    background: transparent;

    border: 0;
    outline: 0;

    text-align: center;

    font-size: 12px;

    appearance: textfield;
}

.rh-category-page
.rh-stepper__input::-webkit-inner-spin-button,
.rh-category-page
.rh-stepper__input::-webkit-outer-spin-button {
    appearance: none;
    margin: 0;
}

.rh-category-page .rh-stepper__buttons {
    display: flex;
    flex: 1;
    flex-direction: column;

    border-inline-start: 1px solid #eee8eb;
}

.rh-category-page .rh-stepper__button {
    display: flex;
    flex: 1;

    align-items: center;
    justify-content: center;

    padding: 0;

    color: #707070;
    background: #fff;

    border: 0;

    cursor: pointer;
}

.rh-category-page
.rh-stepper__button
+ .rh-stepper__button {
    border-top: 1px solid #eee8eb;
}


/* =========================================================
   ADD TO CART
   ========================================================= */

.rh-category-page .rh-product-card__cart {
    display: inline-flex;
    flex: 1;

    align-items: center;
    justify-content: center;

    gap: 7px;

    min-width: 0;
    min-height: 41px;

    padding: 8px 10px;

    color: #fff;
    background: var(--rh-burgundy);

    border: 1px solid var(--rh-burgundy);
    border-radius: 9px;

    font-size: 12px;
    font-weight: 800;

    cursor: pointer;

    transition:
        background .2s ease,
        border-color .2s ease;
}

.rh-category-page .rh-product-card__cart:hover {
    background: var(--rh-burgundy-dark);
    border-color: var(--rh-burgundy-dark);
}


/* =========================================================
   WISHLIST
   ========================================================= */

.rh-category-page .rh-product-card__wishlist {
    display: inline-flex;

    flex: 0 0 41px;

    align-items: center;
    justify-content: center;

    width: 41px;
    height: 41px;

    padding: 0;

    color: var(--rh-burgundy);
    background: #fff;

    border: 1px solid #ded9db;
    border-radius: 9px;

    cursor: pointer;

    transition:
        color .2s ease,
        background .2s ease,
        border-color .2s ease;
}

.rh-category-page
.rh-product-card__wishlist:hover,

.rh-category-page
.rh-product-card__wishlist[aria-pressed="true"] {
    color: #fff;

    background: var(--rh-burgundy);
    border-color: var(--rh-burgundy);
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.rh-category-sidebar {
    display: flex;
    flex-direction: column;

    gap: 16px;
}

.rh-category-sidebar__block {
    width: 100%;

    overflow: hidden;

    background: #fff;

    border: 1px solid var(--rh-border);
    border-radius: 17px;

    box-shadow:
        0 4px 14px rgba(40, 20, 29, 0.025),
        0 12px 30px rgba(40, 20, 29, 0.035);
}


/* Don't double-border internal components */

.rh-category-sidebar .rh-category-menu,
.rh-category-sidebar .rh-filter {
    border: 0;
    box-shadow: none;
}


/* =========================================================
   PAGINATION
   ========================================================= */

.rh-category-pagination {
    margin-top: 34px;
}


/* =========================================================
   BOTTOM CATEGORY CONTENT / SEO CONTENT
   ========================================================= */

.rh-category-bottom-content {
    padding: 10px 0 65px;
}

.rh-category-bottom-content__inner {
    width: 100%;
    max-width: 1050px;

    margin: 0 auto;
    padding: 32px 36px;

    overflow: hidden;

    background: var(--rh-soft);

    border: 1px solid rgba(116, 22, 61, 0.08);
    border-radius: 18px;
}


/* =========================================================
   BOTTOM DESCRIPTION
   Fix legacy inline HTML too
   ========================================================= */

.rh-category-bottom-content__description {
    width: 100% !important;
    max-width: 100% !important;

    overflow: hidden;

    color: #4d4d4d;

    font-size: 14px;
    line-height: 1.95;

    text-align: start;
}


/*
   Legacy description may contain:
   widths, floats, tables, divs etc.
*/

.rh-category-bottom-content__description > * {
    max-width: 100% !important;
}

.rh-category-bottom-content__description div,
.rh-category-bottom-content__description section,
.rh-category-bottom-content__description article {
    max-width: 100% !important;

    float: none !important;
}

.rh-category-bottom-content__description p {
    max-width: 100% !important;

    margin: 0 0 12px;

    line-height: 1.95;
}

.rh-category-bottom-content__description p:last-child {
    margin-bottom: 0;
}

.rh-category-bottom-content__description h1,
.rh-category-bottom-content__description h2,
.rh-category-bottom-content__description h3,
.rh-category-bottom-content__description h4 {
    max-width: 100% !important;

    margin: 25px 0 12px;

    color: var(--rh-text);

    font-weight: 800;
    line-height: 1.5;
}

.rh-category-bottom-content__description h2 {
    font-size: 21px;
}

.rh-category-bottom-content__description h3 {
    font-size: 18px;
}


/* Lists */

.rh-category-bottom-content__description ul,
.rh-category-bottom-content__description ol {
    max-width: 100% !important;

    margin: 15px 0;

    padding-inline-start: 22px;
}

.rh-category-bottom-content__description li {
    margin-bottom: 7px;
}


/* =========================================================
   LEGACY IMAGES INSIDE DESCRIPTION
   Fix giant image problem
   ========================================================= */

.rh-category-bottom-content__description img {
    display: block !important;

    width: auto !important;
    max-width: min(100%, 760px) !important;

    height: auto !important;
    max-height: 430px;

    margin: 24px auto !important;

    object-fit: contain;

    border-radius: 15px;
}


/* Video / iframe */

.rh-category-bottom-content__description iframe,
.rh-category-bottom-content__description video {
    display: block;

    width: min(100%, 760px) !important;
    max-width: 100% !important;

    margin: 24px auto;

    border-radius: 15px;
}


/* Tables */

.rh-category-bottom-content__description table {
    width: 100% !important;
    max-width: 100% !important;

    margin: 20px 0;

    table-layout: auto;

    border-collapse: collapse;
}

.rh-category-bottom-content__description td,
.rh-category-bottom-content__description th {
    padding: 9px;

    vertical-align: top;
}


/* =========================================================
   IMPORTANT:
   SVGs inside database content must never become giant
   ========================================================= */

.rh-category-bottom-content__description svg {
    max-width: 100%;

    height: auto;
}


/* =========================================================
   BOTTOM FEATURES
   ========================================================= */

.rh-category-bottom-content__features {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    margin-top: 28px;
    padding-top: 24px;

    border-top: 1px solid #e4dde0;
}

.rh-category-bottom-content__feature {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 45px;

    color: var(--rh-text);

    font-size: 13px;
    font-weight: 700;
}

.rh-category-bottom-content__feature
+ .rh-category-bottom-content__feature {
    border-inline-start: 1px solid #e3dce0;
}


/* FIX GIANT SVG */

.rh-category-bottom-content__icon {
    display: inline-flex !important;

    flex: 0 0 28px !important;

    align-items: center;
    justify-content: center;

    width: 28px !important;
    height: 28px !important;

    min-width: 28px !important;
    max-width: 28px !important;

    min-height: 28px !important;
    max-height: 28px !important;

    overflow: hidden;

    color: var(--rh-burgundy);
}

.rh-category-bottom-content__icon svg {
    display: block !important;

    width: 28px !important;
    height: 28px !important;

    min-width: 28px !important;
    max-width: 28px !important;

    min-height: 28px !important;
    max-height: 28px !important;

    fill: none !important;
    stroke: currentColor !important;

    overflow: hidden;
}


/* =========================================================
   ERROR
   ========================================================= */

.rh-category-page .rh-product-card__error {
    width: 100%;

    margin: 6px 0 0;

    font-size: 11px;
}


/* =========================================================
   TABLET / SMALL LAPTOP
   ========================================================= */

@media (max-width: 1180px) {

    .rh-category-layout {
        grid-template-columns:
            minmax(0, 1fr)
            240px;

        gap: 18px;
    }


    .rh-category-product-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 17px;
    }


    .rh-category-page .rh-product-card__name {
        font-size: 15px;
    }


    .rh-category-page .rh-price__current {
        font-size: 18px;
    }

}


/* =========================================================
   TABLET
   Products first
   Filters afterwards
   ========================================================= */

@media (max-width: 980px) {

    .rh-category-layout {
        display: flex;
        flex-direction: column;

        gap: 24px;
    }


    /* PRODUCTS FIRST */

    .rh-category-main {
        order: 1;

        width: 100%;
    }


    /* FILTERS AFTER */

    .rh-category-sidebar {
        order: 2;

        width: 100%;
    }


    .rh-category-product-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 18px;
    }


    .rh-category-sidebar {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 14px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    /* -----------------------------------------
       HERO
    ----------------------------------------- */

    .rh-category-hero {
        padding: 16px 0 10px;
    }

    .rh-category-hero__eyebrow {
        margin-bottom: 4px;

        font-size: 8px;
        letter-spacing: 2.5px;
    }

    .rh-category-hero__title {
        font-size: 27px;
    }

    .rh-category-hero__line {
        width: 36px;

        margin-top: 7px;
    }


    /* -----------------------------------------
       SUBCATEGORIES — horizontal scroll
    ----------------------------------------- */

    .rh-category-subcategories {
        padding: 5px 0 12px;
    }

    .rh-category-subcategories__track {
        flex-wrap: nowrap;

        justify-content: flex-start;

        overflow-x: auto;

        padding-bottom: 3px;

        scrollbar-width: none;
        overscroll-behavior-inline: contain;
    }

    .rh-category-subcategories__track::-webkit-scrollbar {
        display: none;
    }

    .rh-category-subcategories__item {
        flex: 0 0 auto;

        min-height: 35px;

        padding: 6px 13px;

        font-size: 11px;
    }


    /* -----------------------------------------
       PRODUCTS
    ----------------------------------------- */

    .rh-category-products {
        padding: 4px 0 38px;
    }

    .rh-category-layout {
        gap: 26px;
    }


    /* Products first */

    .rh-category-main {
        order: 1;
    }


    /* Filters after ALL products */

    .rh-category-sidebar {
        order: 2;

        display: flex;
        flex-direction: column;

        gap: 12px;
    }


    /* -----------------------------------------
       TOOLBAR
    ----------------------------------------- */

    .rh-category-toolbar {
        flex-direction: column;
        align-items: stretch;

        min-height: 0;

        gap: 8px;

        margin-bottom: 11px;
    }

    .rh-category-toolbar__count {
        font-size: 11px;
    }

    .rh-category-toolbar__controls {
        width: 100%;
    }


    /* -----------------------------------------
       PRODUCT GRID
       One card each row
    ----------------------------------------- */

   .rh-category-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

    /* -----------------------------------------
       PRODUCT CARD
    ----------------------------------------- */

    .rh-category-page .rh-product-card {
        border-radius: 16px;

        box-shadow:
            0 4px 12px rgba(116, 22, 61, 0.045),
            0 13px 28px rgba(116, 22, 61, 0.085);
    }

    .rh-category-page .rh-product-card:hover {
        transform: none;
    }


    /* Large image */

    .rh-category-page .rh-product-card__image {
        aspect-ratio: 1 / .84;
    }

    .rh-category-page .rh-product-card__image img {
        object-fit: cover;
    }


    /* Badge */

    .rh-category-page .rh-product-labels {
        top: 8px;
        inset-inline-end: 8px;
    }

    .rh-category-page .rh-product-label {
        min-height: 25px;

        padding: 3px 8px;

        font-size: 10px;
    }


    /* Caption */

    .rh-category-page .rh-product-card__caption {
        padding: 12px 11px 11px;
    }

    .rh-category-page .rh-product-card__name {
        min-height: 0;

        margin-bottom: 3px;

        font-size: 15px;
    }


    /* Price */

    .rh-category-page .rh-price {
        min-height: 27px;

        margin-bottom: 9px;
    }

    .rh-category-page .rh-price__current {
        font-size: 18px;
    }


    /* Actions */

    .rh-category-page .rh-product-card__actions,
    .rh-category-page .rh-product-card__form {
        gap: 6px;
    }

    .rh-category-page .rh-stepper {
        flex-basis: 55px;

        min-width: 55px;
        height: 40px;
    }

    .rh-category-page .rh-product-card__cart {
        min-height: 40px;

        padding-inline: 8px;

        font-size: 11.5px;
    }

    .rh-category-page .rh-product-card__wishlist {
        flex-basis: 40px;

        width: 40px;
        height: 40px;
    }


    /* -----------------------------------------
       FILTER CARDS
    ----------------------------------------- */

    .rh-category-sidebar__block {
        border-radius: 15px;

        box-shadow:
            0 4px 15px rgba(116, 22, 61, 0.045);
    }


    /* -----------------------------------------
       BOTTOM SEO CONTENT
    ----------------------------------------- */

    .rh-category-bottom-content {
        padding: 5px 0 45px;
    }

    .rh-category-bottom-content__inner {
        padding: 22px 18px;

        border-radius: 15px;
    }

    .rh-category-bottom-content__description {
        font-size: 13px;
        line-height: 1.85;
    }

    .rh-category-bottom-content__description p {
        line-height: 1.85;
    }

    .rh-category-bottom-content__description h2 {
        font-size: 18px;
    }

    .rh-category-bottom-content__description h3 {
        font-size: 16px;
    }


    /* Images from legacy content */

    .rh-category-bottom-content__description img {
        max-width: 100% !important;
        max-height: 300px;

        margin: 18px auto !important;

        border-radius: 12px;
    }


    /* Bottom benefits */

    .rh-category-bottom-content__features {
        grid-template-columns: 1fr;

        margin-top: 22px;
        padding-top: 10px;
    }

    .rh-category-bottom-content__feature {
        justify-content: flex-start;

        min-height: 48px;

        font-size: 12.5px;
    }

    .rh-category-bottom-content__feature
    + .rh-category-bottom-content__feature {
        border-inline-start: 0;
        border-top: 1px solid #e3dce0;
    }

    .rh-category-bottom-content__icon,
    .rh-category-bottom-content__icon svg {
        width: 25px !important;
        height: 25px !important;

        min-width: 25px !important;
        max-width: 25px !important;

        min-height: 25px !important;
        max-height: 25px !important;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 390px) {

    .rh-category-hero__title {
        font-size: 25px;
    }

    .rh-category-page .rh-product-card__name {
        font-size: 14px;
    }

    .rh-category-page .rh-price__current {
        font-size: 17px;
    }

    .rh-category-page .rh-product-card__cart {
        font-size: 11px;
    }

}










/* =========================================================
   PRODUCT CARD — PURE WHITE
========================================================= */

.rh-category-page .rh-product-card {
    background: #ffffff !important;
    border-color: #eeeeee !important;
    box-shadow: none !important;
}

.rh-category-page .rh-product-card__caption {
    background: #ffffff !important;
}

.rh-category-page .rh-product-card__image {
    background: #ffffff !important;
}

.rh-category-page .rh-product-card:hover {
    border-color: #e5e5e5 !important;
    box-shadow: none !important;
}








/* =========================================================
   WISHLIST — SLIDE FROM LEFT ON IMAGE HOVER
========================================================= */

.rh-category-page .rh-product-card__wishlist {
    position: absolute !important;
    z-index: 10;

    top: 14px;
    left: 12px;

    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;

    flex: none !important;

    padding: 0 !important;

    color: var(--rh-burgundy);
    background: #ffffff;

    border: 0 !important;
    border-radius: 50% !important;

    box-shadow: 0 4px 14px rgba(0, 0, 0, .12);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateX(-55px);

    transition:
        transform .35s ease,
        opacity .25s ease,
        visibility .25s ease,
        background .2s ease,
        color .2s ease;
}


/* يظهر فقط لما الماوس يكون فوق الصورة */
.rh-category-page
.rh-product-card:has(.rh-product-card__image:hover)
.rh-product-card__wishlist {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateX(0);
}


/* لو الماوس انتقل من الصورة للقلب يفضل ظاهر */
.rh-category-page
.rh-product-card:has(.rh-product-card__wishlist:hover)
.rh-product-card__wishlist {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateX(0);
}


/* حالة القلب */
.rh-category-page .rh-product-card__wishlist:hover,
.rh-category-page .rh-product-card__wishlist[aria-pressed="true"] {
    color: #ffffff !important;
    background: var(--rh-burgundy) !important;
}



@media (max-width: 700px) {

    .rh-category-page .rh-product-card__wishlist {
        top: 8px !important;
        left: 8px !important;

        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;

        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;

        transform: translateX(0) !important;
    }

}




/* Hide "New" badge without removing its Blade code */
.rh-category-page .rh-product-label--hide-new {
    display: none !important;
}







/* =========================================================
   PRODUCT CARD — BORDERLESS
========================================================= */

.rh-category-page .rh-product-card {
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.rh-category-page .rh-product-card:hover {
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}




/* PRICE — ONE LINE */
.rh-category-page .rh-product-card .rh-price {
    display: flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    justify-content: center !important;
    gap: 6px !important;

    width: 100% !important;
    white-space: nowrap !important;
}

.rh-category-page .rh-product-card .rh-price__from,
.rh-category-page .rh-product-card .rh-price__current {
    display: inline !important;
    width: auto !important;
    margin: 0 !important;
}



/* PRODUCT IMAGES — CLEAN WHITE SEPARATION */
.rh-category-page .rh-product-card__image {
    background: #ffffff !important;
}

.rh-category-product-grid {
    column-gap: 26px !important;
    row-gap: 30px !important;
}






.rh-category-page .rh-product-card__image,
.rh-category-page .rh-product-card__image img {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    background: #ffffff !important;
}









/* =========================================================
   CATEGORY / PRODUCT AREA — PURE WHITE
========================================================= */

.rh-category-page,
.rh-category-products,
.rh-category-main,
.rh-category-product-grid,
.rh-category-page .rh-product-card,
.rh-category-page .rh-product-card__caption,
.rh-category-page .rh-product-card__image {
    background: #ffffff !important;
}








/* =========================================================
   PRODUCT IMAGE — UNIFIED SIZE
========================================================= */

.rh-category-page .rh-product-card__image {
    position: relative;

    width: 100% !important;
    height: 300px !important;

    overflow: hidden !important;

    background: #ffffff !important;

    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.rh-category-page .rh-product-card__image > a {
    display: block !important;

    width: 100% !important;
    height: 100% !important;
}

.rh-category-page .rh-product-card__image img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;
    object-position: center !important;

    background: #ffffff !important;

    border: 0 !important;
    border-radius: 0 !important;
}


/* Mobile */
@media (max-width: 700px) {

    .rh-category-page .rh-product-card__image {
        height: 180px !important;
    }

}


















/* =========================================================
   PRODUCT CARD - IMAGE + SHOP BUTTON
========================================================= */

/* نفس الـ radius للصورة والزرار */
.rh-category-page {
    --rh-card-radius: 18px;
}


/* =========================
   PRODUCT IMAGE
========================= */

.rh-category-page .rh-product-card__image {
    border-radius: var(--rh-card-radius) !important;
    overflow: hidden !important;
}

.rh-category-page .rh-product-card__image > a {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit !important;
    overflow: hidden !important;
}

.rh-category-page .rh-product-card__image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: inherit !important;
}


/* =========================
   SHOP BUTTON
========================= */

.rh-category-page .rh-product-card__cart {
    border-radius: var(--rh-card-radius) !important;
}