:root {
    --riode-text: #222;
    --riode-muted: #777;
    --riode-border: #e1e1e1;
    --riode-bg: #f7f7f7;
    --riode-accent: #26c;
    --riode-accent-dark: #174ea6;
    --riode-success: #2f8f46;
    --riode-danger: #c0392b;
    --riode-radius: 4px;
}

.riode-container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.riode-shop-page,
.riode-single-product-page {
    color: var(--riode-text);
    padding-bottom: 70px;
}

.riode-page-header {
    margin-bottom: 44px;
    padding: 42px 0;
    background: var(--riode-bg);
    text-align: center;
}

.riode-page-header h1 {
    margin: 8px 0 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.15;
}

.woocommerce-breadcrumb {
    margin: 24px 0;
    color: var(--riode-muted);
    font-size: 14px;
}

.riode-shop-layout {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 36px;
}

.riode-shop-sidebar {
    position: relative;
}

.riode-filter-close,
.riode-filter-toggle {
    display: none;
}

.riode-filter-widget {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--riode-border);
}

.riode-filter-widget h3,
.riode-filter-widget .widget-title {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 700;
}

.riode-filter-widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.riode-filter-widget li {
    margin: 8px 0;
}

.riode-filter-widget li ul {
    margin-left: 16px;
}

.riode-filter-widget a {
    color: var(--riode-text);
    text-decoration: none;
}

.riode-filter-widget a:hover,
.riode-filter-widget .chosen a {
    color: var(--riode-accent);
}

.riode-product-search {
    display: flex;
}

.riode-product-search input {
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 0 12px;
    border: 1px solid var(--riode-border);
    border-right: 0;
}

.riode-product-search button,
.riode-shop-page button,
.riode-shop-page .button,
.riode-single-product-page button,
.riode-single-product-page .button,
.riode-cart-page button,
.riode-cart-page .button,
.riode-checkout-page button,
.riode-checkout-page .button {
    border: 1px solid var(--riode-text);
    border-radius: var(--riode-radius);
    background: var(--riode-text);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: .2s ease;
}

.riode-product-search button {
    padding: 0 15px;
    border-radius: 0 var(--riode-radius) var(--riode-radius) 0;
}

.riode-shop-page button:hover,
.riode-shop-page .button:hover,
.riode-single-product-page button:hover,
.riode-single-product-page .button:hover,
.riode-cart-page button:hover,
.riode-cart-page .button:hover,
.riode-checkout-page button:hover,
.riode-checkout-page .button:hover {
    border-color: var(--riode-accent);
    background: var(--riode-accent);
    color: #fff;
}

.riode-shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 25px;
    padding: 14px 0;
    border-top: 1px solid var(--riode-border);
    border-bottom: 1px solid var(--riode-border);
}

.riode-result-count .woocommerce-result-count,
.riode-ordering .woocommerce-ordering {
    float: none;
    margin: 0;
}

.riode-ordering select {
    min-width: 220px;
    height: 42px;
    padding: 0 36px 0 12px;
    border: 1px solid var(--riode-border);
    background: #fff;
}

.riode-shop-content ul.products,
.riode-related-products ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 20px;
    margin: 0 !important;
    padding: 0;
}

.riode-related-products ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.riode-product-card {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

.riode-product-media {
    position: relative;
    overflow: hidden;
    background: var(--riode-bg);
}

.riode-product-image-link {
    display: block;
    aspect-ratio: 1 / 1.12;
}

.riode-product-image-link img {
    width: 100%;
    height: 100%;
    margin: 0 !important;
    object-fit: cover;
    transition: transform .35s ease;
}

.riode-product-card:hover .riode-product-image-link img {
    transform: scale(1.035);
}

.riode-product-media .onsale,
.riode-product-gallery-wrap .onsale {
    position: absolute;
    z-index: 3;
    top: 14px;
    left: 14px;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 6px 10px;
    border-radius: 2px;
    background: var(--riode-accent);
    color: #fff;
    font-size: 12px;
    line-height: 1;
}

.riode-card-action {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: .2s ease;
}

.riode-product-card:hover .riode-card-action {
    opacity: 1;
    transform: translateY(0);
}

.riode-card-action .button,
.riode-card-action .added_to_cart {
    display: block;
    width: 100%;
    padding: 12px 14px;
    text-align: center;
    text-decoration: none;
}

.riode-product-details {
    padding: 15px 2px 0;
}

.riode-product-category,
.riode-product-category a {
    color: var(--riode-muted);
    font-size: 12px;
    text-decoration: none;
    text-transform: uppercase;
}

.riode-product-details h2 {
    margin: 6px 0 8px !important;
    padding: 0 !important;
    font-size: 16px !important;
    line-height: 1.4;
}

.riode-product-details h2 a {
    color: var(--riode-text);
    text-decoration: none;
}

.riode-product-price,
.riode-product-price .price,
.riode-single-price,
.riode-single-price .price {
    color: var(--riode-text) !important;
    font-weight: 700;
}

.riode-product-price del,
.riode-single-price del {
    margin-right: 6px;
    color: var(--riode-muted);
    font-weight: 400;
}

.riode-stock {
    margin-top: 7px;
    color: var(--riode-success);
    font-size: 13px;
    font-weight: 600;
}

.riode-stock.out-of-stock {
    color: var(--riode-danger);
}

.riode-stock.available-on-backorder {
    color: #a66a00;
}

.riode-pagination {
    margin-top: 42px;
}

.riode-pagination .page-numbers {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.riode-pagination .page-numbers a,
.riode-pagination .page-numbers span {
    display: grid;
    min-width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid var(--riode-border);
    color: var(--riode-text);
    text-decoration: none;
}

.riode-pagination .page-numbers .current {
    border-color: var(--riode-text);
    background: var(--riode-text);
    color: #fff;
}

.riode-product-single {
    padding-top: 10px;
}

.riode-product-main {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 50px;
    align-items: start;
}

.riode-product-gallery-wrap {
    position: relative;
}

.riode-product-gallery-wrap .woocommerce-product-gallery {
    width: 100% !important;
    margin: 0;
}

.riode-product-gallery-wrap .woocommerce-product-gallery__image {
    overflow: hidden;
    background: var(--riode-bg);
}

.riode-product-gallery-wrap .woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
}

.riode-product-gallery-wrap .flex-control-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 12px !important;
}

.riode-product-gallery-wrap .flex-control-thumbs li {
    width: auto !important;
    margin: 0 !important;
}

.riode-product-gallery-wrap .flex-control-thumbs img {
    border: 1px solid transparent;
}

.riode-product-gallery-wrap .flex-control-thumbs .flex-active {
    border-color: var(--riode-text);
}

.riode-product-summary h1 {
    margin: 0 0 14px;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.15;
}

.riode-product-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-bottom: 18px;
    color: var(--riode-muted);
    font-size: 14px;
}

.riode-product-meta-line .riode-stock {
    margin: 0;
}

.riode-single-price {
    margin: 0 0 20px;
    font-size: 30px;
}

.riode-short-description {
    margin: 20px 0 28px;
    color: var(--riode-muted);
    line-height: 1.75;
}

.riode-add-to-cart form.cart,
.riode-add-to-cart .woocommerce-variation-add-to-cart {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.riode-add-to-cart .single_add_to_cart_button {
    min-height: 48px;
    padding: 0 28px !important;
}

.riode-quantity {
    display: inline-grid !important;
    grid-template-columns: 38px 54px 38px;
    align-items: stretch;
    width: auto !important;
    border: 1px solid var(--riode-border);
    border-radius: var(--riode-radius);
    overflow: hidden;
}

.riode-quantity button {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: var(--riode-text);
    font-size: 20px;
}

.riode-quantity input.qty {
    width: 54px !important;
    height: 46px;
    padding: 0;
    border: 0;
    border-right: 1px solid var(--riode-border);
    border-left: 1px solid var(--riode-border);
    text-align: center;
    appearance: textfield;
}

.riode-quantity input.qty::-webkit-inner-spin-button,
.riode-quantity input.qty::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

.riode-single-meta {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--riode-border);
    color: var(--riode-muted);
}

.riode-product-info-block {
    margin-top: 56px;
    padding-top: 28px;
    border-top: 1px solid var(--riode-border);
}

.riode-product-info-block h2,
.riode-related-products h2 {
    margin: 0 0 24px;
    font-size: 28px;
}

.riode-rich-content {
    line-height: 1.75;
}

.riode-specifications table {
    width: 100%;
    border-collapse: collapse;
}

.riode-specifications th,
.riode-specifications td {
    padding: 12px 15px;
    border: 1px solid var(--riode-border);
    text-align: left;
}

.riode-related-products {
    margin-top: 64px;
}

.riode-cart-page,
.riode-checkout-page {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 50px 0 80px;
    color: var(--riode-text);
}

.riode-checkout-steps {
    display: flex;
    justify-content: center;
    gap: 34px;
    margin-bottom: 48px;
    color: #aaa;
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 700;
}

.riode-checkout-steps .active {
    color: var(--riode-text);
}

.riode-cart-layout,
.riode-checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
    gap: 36px;
    align-items: start;
}

.riode-cart-form table,
.riode-cart-summary table,
.riode-checkout-summary table {
    width: 100%;
    border-collapse: collapse;
}

.riode-cart-form th,
.riode-cart-form td,
.riode-cart-summary th,
.riode-cart-summary td,
.riode-checkout-summary th,
.riode-checkout-summary td {
    padding: 16px 12px;
    border-bottom: 1px solid var(--riode-border);
    text-align: left;
    vertical-align: middle;
}

.riode-cart-form .product-thumbnail img {
    width: 90px;
    height: 90px;
    object-fit: cover;
}

.riode-cart-form .product-name a {
    color: var(--riode-text);
    font-weight: 600;
    text-decoration: none;
}

.riode-cart-form .product-remove .remove {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid var(--riode-border);
    border-radius: 50%;
    color: var(--riode-text) !important;
    text-decoration: none;
}

.riode-cart-form .actions {
    padding-top: 26px;
}

.riode-cart-form .coupon {
    display: flex;
    gap: 10px;
    float: left;
}

.riode-cart-form .coupon input,
.riode-cart-form .actions button {
    min-height: 44px;
    padding: 0 16px;
}

.riode-update-cart {
    float: right;
}

.riode-cart-summary,
.riode-checkout-summary {
    position: sticky;
    top: 24px;
    padding: 28px;
    border: 1px solid var(--riode-border);
    background: #fff;
}

.riode-cart-summary h2,
.riode-checkout-summary h3,
.riode-checkout-customer h3 {
    margin: 0 0 22px;
    font-size: 24px;
}

.riode-cart-summary .order-total,
.riode-checkout-summary .order-total {
    font-size: 20px;
}

.riode-cart-summary .checkout-button,
.riode-checkout-summary #place_order {
    display: block;
    width: 100%;
    margin-top: 24px;
    padding: 14px 18px;
    text-align: center;
    text-decoration: none;
}

.riode-checkout-customer {
    padding-right: 20px;
}

.riode-checkout-page .form-row {
    margin: 0 0 18px;
}

.riode-checkout-page .form-row-first,
.riode-checkout-page .form-row-last {
    width: calc(50% - 8px);
}

.riode-checkout-page .form-row-first {
    float: left;
}

.riode-checkout-page .form-row-last {
    float: right;
}

.riode-checkout-page label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
}

.riode-checkout-page input.input-text,
.riode-checkout-page textarea,
.riode-checkout-page select,
.riode-cart-page input.input-text {
    width: 100%;
    min-height: 48px;
    padding: 10px 13px;
    border: 1px solid var(--riode-border);
    border-radius: var(--riode-radius);
    background: #fff;
}

.riode-checkout-page textarea {
    min-height: 130px;
    resize: vertical;
}

.riode-checkout-summary .woocommerce-checkout-payment {
    margin-top: 24px;
}

.riode-checkout-summary .wc_payment_methods {
    margin: 0;
    padding: 0;
    list-style: none;
}

.riode-checkout-summary .wc_payment_method {
    padding: 14px 0;
    border-top: 1px solid var(--riode-border);
}

.riode-checkout-summary .payment_box {
    margin-top: 10px;
    color: var(--riode-muted);
    font-size: 14px;
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
    margin: 0 0 24px;
    padding: 14px 18px;
    border: 1px solid var(--riode-border);
    background: var(--riode-bg);
    list-style: none;
}

.riode-shop-home {
    padding-bottom: 70px;
}

.riode-home-hero {
    position: relative;
    display: flex;
    min-height: 540px;
    align-items: center;
    background-position: center;
    background-size: cover;
}

.riode-home-hero::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .64), rgba(0, 0, 0, .08));
    content: '';
}

.riode-home-hero-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
    color: #fff;
}

.riode-home-hero h1,
.riode-home-hero h2 {
    margin: 0 0 18px;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.08;
}

.riode-home-hero p {
    margin-bottom: 26px;
    font-size: 18px;
    line-height: 1.65;
}

.riode-home-hero .button {
    display: inline-block;
    padding: 14px 24px;
    border-radius: var(--riode-radius);
    background: #fff;
    color: var(--riode-text);
    font-weight: 700;
    text-decoration: none;
}

.riode-home-categories {
    padding-top: 58px;
}

.riode-home-categories h2 {
    margin: 0 0 28px;
    font-size: 32px;
    text-align: center;
}

.riode-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.riode-category-card {
    position: relative;
    overflow: hidden;
    min-height: 280px;
    background: var(--riode-bg);
    color: #fff;
    text-decoration: none;
}

.riode-category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.riode-category-card::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, .65), transparent 60%);
    content: '';
}

.riode-category-card span {
    position: absolute;
    z-index: 2;
    right: 20px;
    bottom: 18px;
    left: 20px;
    font-size: 22px;
    font-weight: 700;
}

.riode-category-card:hover img {
    transform: scale(1.05);
}

@media (max-width: 991px) {
    .riode-shop-layout {
        grid-template-columns: 1fr;
    }

    .riode-filter-toggle {
        display: inline-flex;
        padding: 10px 16px;
    }

    .riode-shop-sidebar {
        position: fixed;
        z-index: 10002;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(340px, 88vw);
        padding: 55px 24px 30px;
        overflow-y: auto;
        background: #fff;
        transform: translateX(-105%);
        transition: transform .25s ease;
    }

    .riode-filter-open .riode-shop-sidebar {
        transform: translateX(0);
    }

    .riode-filter-close {
        position: absolute;
        top: 12px;
        right: 14px;
        display: block;
        width: 36px;
        height: 36px;
        border: 0;
        background: transparent;
        color: var(--riode-text);
        font-size: 30px;
    }

    .riode-filter-overlay {
        position: fixed;
        z-index: 10001;
        inset: 0;
        visibility: hidden;
        background: rgba(0, 0, 0, .45);
        opacity: 0;
        transition: .25s ease;
    }

    .riode-filter-open .riode-filter-overlay {
        visibility: visible;
        opacity: 1;
    }

    .riode-shop-content ul.products,
    .riode-related-products ul.products,
    .riode-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .riode-product-main,
    .riode-cart-layout,
    .riode-checkout-layout {
        grid-template-columns: 1fr;
    }

    .riode-cart-summary,
    .riode-checkout-summary {
        position: static;
    }
}

@media (max-width: 640px) {
    .riode-container,
    .riode-cart-page,
    .riode-checkout-page {
        width: min(100% - 22px, 1200px);
    }

    .riode-shop-toolbar {
        flex-wrap: wrap;
    }

    .riode-result-count {
        order: 3;
        width: 100%;
    }

    .riode-ordering,
    .riode-ordering select {
        width: 100%;
    }

    .riode-shop-content ul.products,
    .riode-related-products ul.products,
    .riode-category-grid {
        grid-template-columns: 1fr 1fr;
        gap: 22px 10px;
    }

    .riode-product-details h2 {
        font-size: 14px !important;
    }

    .riode-card-action {
        position: static;
        margin-top: 10px;
        opacity: 1;
        transform: none;
    }

    .riode-product-main {
        gap: 28px;
    }

    .riode-checkout-steps {
        gap: 12px;
        font-size: 15px;
        text-align: center;
    }

    .riode-cart-form table thead {
        display: none;
    }

    .riode-cart-form table,
    .riode-cart-form tbody,
    .riode-cart-form tr,
    .riode-cart-form td {
        display: block;
        width: 100%;
    }

    .riode-cart-form tr.cart_item {
        position: relative;
        margin-bottom: 20px;
        padding: 12px;
        border: 1px solid var(--riode-border);
    }

    .riode-cart-form td {
        padding: 8px 0;
        border: 0;
    }

    .riode-cart-form .product-remove {
        position: absolute;
        top: 10px;
        right: 10px;
        width: auto;
    }

    .riode-cart-form .coupon,
    .riode-update-cart {
        display: flex;
        float: none;
        width: 100%;
        margin-bottom: 10px;
    }

    .riode-cart-form .coupon input {
        min-width: 0;
    }

    .riode-checkout-page .form-row-first,
    .riode-checkout-page .form-row-last {
        float: none;
        width: 100%;
    }

    .riode-home-hero {
        min-height: 440px;
    }
}

/* Builder/theme collision protection for shop routes. */
body.riode-shop-clean .riode-shop-page,
body.riode-shop-clean .riode-single-product-page,
body.riode-shop-clean .riode-cart-page,
body.riode-shop-clean .riode-checkout-page,
body.riode-shop-clean .riode-shop-home,
body.riode-shop-clean .riode-system-page {
    font-size: 16px;
    line-height: 1.5;
}

body.riode-shop-clean .riode-shop-page *,
body.riode-shop-clean .riode-single-product-page *,
body.riode-shop-clean .riode-cart-page *,
body.riode-shop-clean .riode-checkout-page *,
body.riode-shop-clean .riode-shop-home *,
body.riode-shop-clean .riode-system-page * {
    box-sizing: border-box;
}

body.riode-shop-clean .riode-container,
body.riode-shop-clean .riode-cart-page,
body.riode-shop-clean .riode-checkout-page {
    width: calc(100% - 32px) !important;
    max-width: 1200px !important;
}

body.riode-shop-clean .riode-shop-layout {
    display: grid !important;
    grid-template-columns: 270px minmax(0, 1fr) !important;
    width: calc(100% - 32px) !important;
    max-width: 1200px !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

body.riode-shop-clean .riode-shop-content {
    width: 100% !important;
    min-width: 0 !important;
}

body.riode-shop-clean .riode-shop-content ul.products {
    width: 100% !important;
}

body.riode-shop-clean .riode-system-page > .entry-content,
body.riode-shop-clean .riode-system-page > .wp-block-group {
    max-width: none;
}

@media (max-width: 991px) {
    body.riode-shop-clean .riode-shop-layout {
        grid-template-columns: 1fr !important;
    }
}

/* Prevent icon scripts or legacy builder rules from stretching social SVGs. */
.riode-shop-clean .svg-inline--fa,
.riode-shop-clean header svg,
.riode-shop-clean footer svg {
    width: 1em !important;
    height: 1em !important;
    max-width: 1em !important;
    max-height: 1em !important;
}

/* Argu standalone storefront guard */
html body.riode-shop-clean {
    margin: 0;
    padding-top: 0;
    background: #fff;
}

body.riode-shop-clean .sc-custom-header,
body.riode-shop-clean .sc-footer {
    width: 100%;
}

body.riode-shop-clean .riode-system-page {
    min-height: 55vh;
}

body.riode-shop-clean svg {
    max-width: 100%;
}

body.riode-shop-clean .sc-social-icon,
body.riode-shop-clean .sc-footer-social-icon,
body.riode-shop-clean .sc-footer-icon svg {
    width: 1em;
    height: 1em;
}


/* Definitive storefront layout guard: overrides Argu/WooCommerce legacy floats. */
html body .riode-shop-page .riode-container {
    width: calc(100% - 32px) !important;
    max-width: 1200px !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

html body .riode-shop-page .riode-shop-layout {
    display: grid !important;
    grid-template-columns: 270px minmax(0, 1fr) !important;
    gap: 36px !important;
    align-items: start !important;
}

html body .riode-shop-page .riode-shop-sidebar {
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
}

html body .riode-shop-page .riode-shop-content {
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
}

html body .riode-shop-page .riode-shop-content ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 30px 20px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    clear: none !important;
}

html body .riode-shop-page .riode-shop-content ul.products::before,
html body .riode-shop-page .riode-shop-content ul.products::after {
    display: none !important;
    content: none !important;
}

html body .riode-shop-page .riode-shop-content ul.products li.product,
html body .riode-shop-page .riode-shop-content ul.products li.riode-product-card {
    float: none !important;
    clear: none !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body .riode-shop-page .riode-stock {
    display: block !important;
    width: auto !important;
    padding: 0 !important;
    background: transparent !important;
}

@media (max-width: 991px) {
    html body .riode-shop-page .riode-shop-layout {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    html body .riode-shop-page .riode-shop-content ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 560px) {
    html body .riode-shop-page .riode-shop-content ul.products {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

/* 2026-07-30: final isolated catalog layout */
html body.riode-shop-clean .riode-shop-page {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}
html body.riode-shop-clean .riode-shop-page > .riode-shop-layout {
    display: flex !important;
    align-items: flex-start !important;
    width: calc(100% - 32px) !important;
    max-width: 1200px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    gap: 36px !important;
}
html body.riode-shop-clean .riode-shop-page > .riode-shop-layout > .riode-shop-sidebar {
    float: none !important;
    flex: 0 0 270px !important;
    width: 270px !important;
    max-width: 270px !important;
    margin: 0 !important;
}
html body.riode-shop-clean .riode-shop-page > .riode-shop-layout > .riode-shop-content {
    float: none !important;
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
}
html body.riode-shop-clean .riode-shop-content ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    width: 100% !important;
    max-width: none !important;
}
@media (max-width: 991px) {
    html body.riode-shop-clean .riode-shop-page > .riode-shop-layout {
        display: block !important;
    }
    html body.riode-shop-clean .riode-shop-page > .riode-shop-layout > .riode-shop-sidebar {
        width: min(340px, 88vw) !important;
        max-width: none !important;
    }
    html body.riode-shop-clean .riode-shop-content ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 560px) {
    html body.riode-shop-clean .riode-shop-content ul.products {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

/* ============================================================
 * 2026-07-30: footer-custom.php styles for WooCommerce pages.
 * custom.css scopes the original footer rules to
 * body.repair-service-template, while store pages use
 * body.riode-shop-clean. Keep the shop footer in normal flow.
 * ============================================================ */
html body.riode-shop-clean footer.sc-builder-footer,
html body.riode-shop-clean .footer_up_wrap.dark.sc-builder-footer {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: none !important;
    margin: 70px 0 0 !important;
    padding: 0 !important;
    transform: none !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: #050505 !important;
    color: #d2d2d2 !important;
}

html body.riode-shop-clean .sc-builder-footer #up_footerwrap.footerclass {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    min-height: 280px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    background: #050505 !important;
}

html body.riode-shop-clean .sc-builder-footer .sc-footer-container {
    display: block !important;
    width: calc(100% - 32px) !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

html body.riode-shop-clean .sc-builder-footer .sc-footer-grid {
    display: grid !important;
    grid-template-columns: 1.2fr 1.2fr 1fr .9fr !important;
    align-items: flex-start !important;
    gap: 70px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 65px 0 !important;
}

html body.riode-shop-clean .sc-builder-footer .footer-widget,
html body.riode-shop-clean .sc-builder-footer .sc-footer-col {
    display: block !important;
    float: none !important;
    clear: none !important;
    width: auto !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #d2d2d2 !important;
}

html body.riode-shop-clean .sc-builder-footer .sc-footer-logo {
    display: inline-block !important;
    margin: 0 0 26px !important;
    padding: 0 !important;
}

html body.riode-shop-clean .sc-builder-footer .sc-footer-logo img,
html body.riode-shop-clean .sc-builder-footer img._foot_logo {
    display: block !important;
    width: auto !important;
    max-width: 230px !important;
    max-height: 75px !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
    filter: brightness(0) invert(1) !important;
}

html body.riode-shop-clean .sc-builder-footer h3 {
    display: block !important;
    margin: 0 0 22px !important;
    padding: 0 !important;
    border: 0 !important;
    color: #fff !important;
    background: transparent !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

html body.riode-shop-clean .sc-builder-footer ul,
html body.riode-shop-clean .sc-builder-footer .sc-footer-values,
html body.riode-shop-clean .sc-builder-footer .sc-footer-list {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

html body.riode-shop-clean .sc-builder-footer li {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    color: #d2d2d2 !important;
    background: transparent !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 33px !important;
    list-style: none !important;
}

html body.riode-shop-clean .sc-builder-footer a {
    color: #d2d2d2 !important;
    text-decoration: none !important;
    transition: color .2s ease !important;
}

html body.riode-shop-clean .sc-builder-footer a:hover {
    color: #86c72b !important;
}

html body.riode-shop-clean .sc-builder-footer .sc-footer-values li {
    position: relative !important;
    padding-left: 17px !important;
}

html body.riode-shop-clean .sc-builder-footer .sc-footer-values li::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 14px !important;
    width: 5px !important;
    height: 5px !important;
    border-radius: 50% !important;
    background: #86c72b !important;
}

html body.riode-shop-clean .sc-builder-footer .sc-footer-contact-list li {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
}

html body.riode-shop-clean .sc-builder-footer .sc-footer-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 14px !important;
    width: 14px !important;
    height: 14px !important;
    color: #86c72b !important;
    fill: currentColor !important;
}

html body.riode-shop-clean .sc-builder-footer .sc-footer-icon svg {
    display: block !important;
    width: 13px !important;
    height: 13px !important;
    fill: currentColor !important;
}

html body.riode-shop-clean .sc-builder-footer .sc-footer-menu-list > li {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

html body.riode-shop-clean .sc-builder-footer .sc-footer-service-arrow {
    display: inline-block !important;
    flex: 0 0 auto !important;
    color: #86c72b !important;
    font-size: 20px !important;
    line-height: 1 !important;
}

html body.riode-shop-clean .sc-builder-footer .sc-footer-socials {
    display: flex !important;
    align-items: center !important;
    gap: 28px !important;
    padding-top: 5px !important;
}

html body.riode-shop-clean .sc-builder-footer .sc-footer-socials a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    color: #fff !important;
    fill: currentColor !important;
}

html body.riode-shop-clean .sc-builder-footer .sc-footer-social-icon,
html body.riode-shop-clean .sc-builder-footer .sc-footer-socials svg {
    display: block !important;
    width: 23px !important;
    height: 23px !important;
    color: inherit !important;
    fill: currentColor !important;
}

html body.riode-shop-clean .sc-builder-footer .sc-footer-socials a:hover {
    color: #86c72b !important;
}

html body.riode-shop-clean .sc-topcontrol {
    position: fixed !important;
    right: 18px !important;
    bottom: 18px !important;
    z-index: 9998 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    cursor: pointer !important;
    background: #111 !important;
    color: #fff !important;
}

html body.riode-shop-clean .sc-topcontrol .to_the_top > span {
    color: #fff !important;
    font-size: 23px !important;
    line-height: 28px !important;
}

@media (max-width: 991px) {
    html body.riode-shop-clean .sc-builder-footer .sc-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 35px !important;
        padding: 45px 0 !important;
    }
}

@media (max-width: 575px) {
    html body.riode-shop-clean footer.sc-builder-footer,
    html body.riode-shop-clean .footer_up_wrap.dark.sc-builder-footer {
        margin-top: 45px !important;
    }

    html body.riode-shop-clean .sc-builder-footer .sc-footer-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 28px !important;
        padding: 38px 0 !important;
    }

    html body.riode-shop-clean .sc-builder-footer .sc-footer-logo img,
    html body.riode-shop-clean .sc-builder-footer img._foot_logo {
        max-width: 200px !important;
    }
}

/* ==========================================================
 * Catalog layout matched to the supplied Riode Classic Filter
 * template. Site header and footer are intentionally untouched.
 * ========================================================== */
body.riode-shop-clean .riode-template-catalog {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 0 70px;
    color: #222;
    background: #fff;
}

body.riode-shop-clean .riode-template-page-header {
    position: relative;
    display: flex;
    min-height: 238px;
    margin: 0 0 46px;
    padding: 54px 20px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
    background:
        radial-gradient(circle at 67% 110%, rgba(255, 255, 255, .13) 0 20%, transparent 20.5%),
        linear-gradient(105deg, #245bb0 0%, #286bc9 58%, #2157aa 100%);
}

body.riode-shop-clean .riode-template-page-header::after {
    position: absolute;
    right: 7%;
    bottom: -130px;
    width: 420px;
    height: 420px;
    border: 42px solid rgba(255, 255, 255, .045);
    border-radius: 50%;
    content: '';
}

body.riode-shop-clean .riode-template-page-header-inner {
    position: relative;
    z-index: 2;
}

body.riode-shop-clean .riode-template-page-header .page-subtitle {
    margin: 0 0 7px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .02em;
    text-transform: uppercase;
}

body.riode-shop-clean .riode-template-page-header .page-title {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.02em;
    text-transform: uppercase;
}

body.riode-shop-clean .riode-template-breadcrumb,
body.riode-shop-clean .riode-template-breadcrumb a,
body.riode-shop-clean .riode-template-breadcrumb span {
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
    text-decoration: none;
}

body.riode-shop-clean .riode-template-breadcrumb {
    display: flex;
    margin: 0;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

body.riode-shop-clean .riode-template-breadcrumb .delimiter {
    opacity: .65;
}

body.riode-shop-clean .riode-template-page-content {
    padding: 0 0 24px;
}

body.riode-shop-clean .riode-template-page-content > .riode-container {
    width: calc(100% - 32px) !important;
    max-width: 1200px !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

body.riode-shop-clean .riode-template-shop-layout {
    display: grid !important;
    grid-template-columns: 240px minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    gap: 30px !important;
    align-items: start;
}

body.riode-shop-clean .riode-template-sidebar {
    position: relative;
    display: block !important;
    float: none !important;
    width: 240px !important;
    max-width: 240px !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.riode-shop-clean .riode-template-sidebar .sidebar-content,
body.riode-shop-clean .riode-template-sidebar .sticky-sidebar {
    width: 100%;
}

body.riode-shop-clean .riode-template-sidebar .sidebar-toggle,
body.riode-shop-clean .riode-template-sidebar .sidebar-close {
    display: none;
}

body.riode-shop-clean .riode-template-sidebar .riode-filter-widget {
    margin: 0;
    padding: 0 0 24px;
    border: 0;
    border-bottom: 1px solid #e8e8e8;
}

body.riode-shop-clean .riode-template-sidebar .riode-filter-widget + .riode-filter-widget {
    padding-top: 24px;
}

body.riode-shop-clean .riode-template-sidebar .widget-title {
    position: relative;
    margin: 0 0 15px;
    padding: 0 22px 0 0;
    color: #222;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

body.riode-shop-clean .riode-template-sidebar .widget-title::after {
    position: absolute;
    top: 50%;
    right: 2px;
    width: 10px;
    height: 1px;
    background: #777;
    content: '';
}

body.riode-shop-clean .riode-template-search-widget .widget-title::after {
    display: none;
}

body.riode-shop-clean .riode-product-search {
    display: flex;
    width: 100%;
}

body.riode-shop-clean .riode-product-search .form-control {
    min-width: 0;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-right: 0;
    border-radius: 0;
    background: #fff;
    color: #555;
    font-size: 13px;
}

body.riode-shop-clean .riode-product-search .btn-search {
    display: inline-flex;
    width: 48px;
    min-width: 48px;
    height: 42px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid #222;
    border-radius: 0;
    background: #222;
    color: #fff;
}

body.riode-shop-clean .riode-template-sidebar ul,
body.riode-shop-clean .riode-template-sidebar .widget-body {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.riode-shop-clean .riode-template-sidebar .riode-template-category-list > li,
body.riode-shop-clean .riode-template-sidebar .woocommerce-widget-layered-nav-list > li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #efefef;
}

body.riode-shop-clean .riode-template-sidebar .riode-template-category-list > li:last-child,
body.riode-shop-clean .riode-template-sidebar .woocommerce-widget-layered-nav-list > li:last-child {
    border-bottom: 0;
}

body.riode-shop-clean .riode-template-sidebar li a {
    display: block;
    padding: 10px 0;
    color: #555;
    font-size: 13px;
    line-height: 1.35;
    text-decoration: none;
    transition: color .18s ease, padding-left .18s ease;
}

body.riode-shop-clean .riode-template-sidebar li a:hover,
body.riode-shop-clean .riode-template-sidebar li.current-cat > a,
body.riode-shop-clean .riode-template-sidebar li.chosen > a {
    padding-left: 5px;
    color: #26c;
}

body.riode-shop-clean .riode-template-sidebar li ul {
    margin: 0 0 7px 13px;
    padding: 0;
}

body.riode-shop-clean .riode-template-sidebar li ul li a {
    padding-top: 7px;
    padding-bottom: 7px;
    color: #777;
    font-size: 12px;
}

body.riode-shop-clean .riode-template-price-filter .price_slider_wrapper {
    padding-top: 4px;
}

body.riode-shop-clean .riode-template-price-filter .price_slider {
    position: relative;
    height: 4px;
    margin: 8px 6px 22px;
    border-radius: 0;
    background: #ddd;
}

body.riode-shop-clean .riode-template-price-filter .ui-slider-range {
    position: absolute;
    height: 100%;
    background: #555;
}

body.riode-shop-clean .riode-template-price-filter .ui-slider-handle {
    position: absolute;
    top: 50%;
    width: 12px;
    height: 12px;
    margin-top: -6px;
    margin-left: -6px;
    border: 0;
    border-radius: 2px;
    background: #555;
    cursor: ew-resize;
}

body.riode-shop-clean .riode-template-price-filter .price_slider_amount {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

body.riode-shop-clean .riode-template-price-filter .price_label {
    order: -1;
    width: 100%;
    color: #666;
    font-size: 13px;
}

body.riode-shop-clean .riode-template-price-filter .button {
    min-height: 38px;
    padding: 0 20px;
    border-radius: 3px;
    font-size: 12px;
    text-transform: uppercase;
}

body.riode-shop-clean .riode-template-main-content {
    display: block !important;
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.riode-shop-clean .riode-template-toolbar {
    display: flex !important;
    min-height: 56px;
    margin: 0 0 24px;
    padding: 10px 0;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    background: #fff;
}

body.riode-shop-clean .riode-template-toolbar .toolbox-left,
body.riode-shop-clean .riode-template-toolbar .toolbox-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

body.riode-shop-clean .riode-template-toolbar .riode-filter-toggle {
    display: none;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid #222;
    border-radius: 3px;
    background: #fff;
    color: #222;
    font-size: 12px;
    text-transform: uppercase;
}

body.riode-shop-clean .riode-template-toolbar .toolbox-item,
body.riode-shop-clean .riode-template-toolbar form {
    margin: 0;
}

body.riode-shop-clean .riode-template-sort,
body.riode-shop-clean .riode-template-per-page {
    display: flex;
    align-items: center;
    gap: 10px;
}

body.riode-shop-clean .riode-template-sort > label,
body.riode-shop-clean .riode-template-per-page > label {
    margin: 0;
    color: #333;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    text-transform: uppercase;
}

body.riode-shop-clean .riode-template-sort .woocommerce-ordering {
    float: none !important;
    margin: 0 !important;
}

body.riode-shop-clean .riode-template-sort select,
body.riode-shop-clean .riode-template-per-page select {
    height: 38px;
    margin: 0;
    padding: 0 34px 0 12px;
    border: 1px solid #ddd;
    border-radius: 0;
    background-color: #fff;
    color: #555;
    font-size: 12px;
}

body.riode-shop-clean .riode-template-sort select {
    min-width: 180px;
}

body.riode-shop-clean .riode-template-per-page select {
    width: 70px;
}

body.riode-shop-clean .riode-template-layout-switcher {
    display: flex;
    align-items: center;
    gap: 9px;
}

body.riode-shop-clean .riode-template-layout-switcher .btn-layout {
    display: inline-flex;
    width: 25px;
    height: 28px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #aaa;
    font-size: 20px;
    line-height: 1;
}

body.riode-shop-clean .riode-template-layout-switcher .btn-layout:hover,
body.riode-shop-clean .riode-template-layout-switcher .btn-layout.active {
    background: transparent;
    color: #222;
}

body.riode-shop-clean .riode-template-products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 32px 20px !important;
}

body.riode-shop-clean .riode-template-product-wrap {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.riode-shop-clean .riode-template-product {
    display: block;
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.riode-shop-clean .riode-template-product-media {
    position: relative;
    display: block;
    margin: 0;
    overflow: hidden;
    background: #f7f7f7;
}

body.riode-shop-clean .riode-template-product-image {
    display: block;
    aspect-ratio: 280 / 315;
    overflow: hidden;
}

body.riode-shop-clean .riode-template-product-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 18px;
    object-fit: contain;
    object-position: center;
    transition: transform .32s ease;
}

body.riode-shop-clean .riode-template-product:hover .riode-template-product-image img {
    transform: scale(1.035);
}

body.riode-shop-clean .riode-template-product-media .product-label-group {
    position: absolute;
    z-index: 3;
    top: 14px;
    left: 14px;
}

body.riode-shop-clean .riode-template-product-media .product-label {
    display: inline-flex;
    min-height: 24px;
    padding: 4px 10px;
    align-items: center;
    border-radius: 0;
    background: #e8754f;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

body.riode-shop-clean .riode-template-product-media .product-action-vertical {
    position: absolute;
    z-index: 4;
    top: 14px;
    right: 14px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity .2s ease, transform .2s ease;
}

body.riode-shop-clean .riode-template-product:hover .product-action-vertical {
    opacity: 1;
    transform: translateX(0);
}

body.riode-shop-clean .riode-template-product-media .btn-product-icon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    min-height: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: #fff;
    color: #222;
    font-size: 18px;
    text-decoration: none;
    box-shadow: none;
}

body.riode-shop-clean .riode-template-product-media .btn-product-icon:hover {
    border-color: #26c;
    background: #26c;
    color: #fff;
}

body.riode-shop-clean .riode-template-product-media .product-action {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity .2s ease, transform .2s ease;
}

body.riode-shop-clean .riode-template-product:hover .product-action {
    opacity: 1;
    transform: translateY(0);
}

body.riode-shop-clean .riode-template-product-media .riode-template-details-button {
    display: flex;
    min-height: 43px;
    align-items: center;
    justify-content: center;
    background: rgba(34, 34, 34, .92);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
}

body.riode-shop-clean .riode-template-product-details {
    padding: 13px 0 0;
    text-align: left;
}

body.riode-shop-clean .riode-template-product-details .product-cat,
body.riode-shop-clean .riode-template-product-details .product-cat a {
    color: #999;
    font-size: 11px;
    line-height: 1.35;
    text-decoration: none;
    text-transform: uppercase;
}

body.riode-shop-clean .riode-template-product-details .product-name {
    margin: 5px 0 6px;
    padding: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42;
}

body.riode-shop-clean .riode-template-product-details .product-name a {
    color: #333;
    text-decoration: none;
}

body.riode-shop-clean .riode-template-product-details .product-name a:hover {
    color: #26c;
}

body.riode-shop-clean .riode-template-product-details .product-price,
body.riode-shop-clean .riode-template-product-details .price {
    margin: 0;
    color: #222 !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

body.riode-shop-clean .riode-template-product-details .price del {
    margin-left: 6px;
    color: #aaa !important;
    font-size: 13px;
    font-weight: 400;
}

body.riode-shop-clean .riode-template-product-details .price ins {
    color: #222;
    text-decoration: none;
}

body.riode-shop-clean .riode-template-product-details .ratings-container {
    display: flex;
    min-height: 20px;
    margin-top: 5px;
    align-items: center;
    gap: 8px;
}

body.riode-shop-clean .riode-template-product-details .ratings-full {
    position: relative;
    display: inline-block;
    width: 68px;
    height: 13px;
    overflow: hidden;
    font-family: 'Font Awesome 5 Free';
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
    line-height: 13px;
}

body.riode-shop-clean .riode-template-product-details .ratings-full::before,
body.riode-shop-clean .riode-template-product-details .ratings {
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    content: '\f005\f005\f005\f005\f005';
}

body.riode-shop-clean .riode-template-product-details .ratings-full::before {
    color: #ddd;
}

body.riode-shop-clean .riode-template-product-details .ratings {
    height: 13px;
    overflow: hidden;
    color: #e8754f;
}

body.riode-shop-clean .riode-template-product-details .rating-reviews {
    color: #aaa;
    font-size: 11px;
    text-decoration: none;
}

body.riode-shop-clean .riode-template-product-details .riode-stock {
    margin-top: 5px;
    color: #45a34a;
    font-size: 12px;
    font-weight: 600;
}

body.riode-shop-clean .riode-template-product-details .riode-stock.out-of-stock {
    color: #c0392b;
}

body.riode-shop-clean .riode-template-product-details .riode-stock.available-on-backorder {
    color: #b07818;
}

body.riode-shop-clean .riode-template-pagination-wrap {
    display: flex;
    margin-top: 45px;
    padding-top: 19px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid #e5e5e5;
}

body.riode-shop-clean .riode-template-pagination-wrap .show-info {
    margin: 0;
    color: #777;
    font-size: 13px;
}

body.riode-shop-clean .riode-template-pagination-wrap .riode-pagination {
    margin: 0;
}

body.riode-shop-clean .riode-template-pagination-wrap .page-numbers {
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 5px;
    list-style: none;
}

body.riode-shop-clean .riode-template-pagination-wrap .page-numbers li {
    margin: 0;
}

body.riode-shop-clean .riode-template-pagination-wrap .page-numbers a,
body.riode-shop-clean .riode-template-pagination-wrap .page-numbers span {
    display: inline-flex;
    min-width: 34px;
    height: 34px;
    padding: 0 9px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    color: #555;
    font-size: 13px;
    text-decoration: none;
}

body.riode-shop-clean .riode-template-pagination-wrap .page-numbers .current,
body.riode-shop-clean .riode-template-pagination-wrap .page-numbers a:hover {
    border-color: #222;
    color: #222;
    background: #fff;
}

body.riode-shop-clean .riode-template-products.is-list {
    grid-template-columns: 1fr !important;
}

body.riode-shop-clean .riode-template-products.is-list .riode-template-product {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 25px;
    align-items: start;
}

body.riode-shop-clean .riode-template-products.is-list .riode-template-product-image {
    aspect-ratio: 280 / 315;
}

body.riode-shop-clean .riode-template-products.is-list .riode-template-product-details {
    padding-top: 12px;
}

body.riode-shop-clean .riode-template-products.is-list .product-name {
    font-size: 18px;
}

@media (max-width: 991px) {
    body.riode-shop-clean .riode-template-page-header {
        min-height: 205px;
        margin-bottom: 34px;
    }

    body.riode-shop-clean .riode-template-shop-layout {
        display: block !important;
    }

    body.riode-shop-clean .riode-template-sidebar {
        position: fixed !important;
        z-index: 10002;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(340px, 88vw) !important;
        max-width: none !important;
        padding: 55px 24px 30px !important;
        overflow-y: auto;
        background: #fff;
        box-shadow: 10px 0 30px rgba(0, 0, 0, .12);
        transform: translateX(-105%);
        transition: transform .25s ease;
    }

    body.riode-filter-open .riode-template-sidebar {
        transform: translateX(0);
    }

    body.riode-shop-clean .riode-template-sidebar .sidebar-close,
    body.riode-shop-clean .riode-template-sidebar .riode-filter-close {
        position: absolute;
        top: 12px;
        right: 14px;
        display: inline-flex;
        width: 36px;
        height: 36px;
        padding: 0;
        align-items: center;
        justify-content: center;
        border: 0;
        background: transparent;
        color: #222;
        font-size: 24px;
    }

    body.riode-shop-clean > .riode-filter-overlay,
    body.riode-shop-clean .riode-template-catalog > .riode-filter-overlay,
    body.riode-shop-clean .riode-template-page-content > .riode-filter-overlay {
        position: fixed;
        z-index: 10001;
        inset: 0;
        visibility: hidden;
        background: rgba(0, 0, 0, .45);
        opacity: 0;
        transition: opacity .25s ease, visibility .25s ease;
    }

    body.riode-filter-open .riode-filter-overlay {
        visibility: visible;
        opacity: 1;
    }

    body.riode-shop-clean .riode-template-toolbar .riode-filter-toggle {
        display: inline-flex;
    }

    body.riode-shop-clean .riode-template-products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    body.riode-shop-clean .riode-template-page-header {
        min-height: 180px;
        padding: 38px 15px;
    }

    body.riode-shop-clean .riode-template-page-header .page-title {
        font-size: 32px;
    }

    body.riode-shop-clean .riode-template-page-content > .riode-container {
        width: calc(100% - 22px) !important;
    }

    body.riode-shop-clean .riode-template-toolbar {
        flex-wrap: wrap;
        align-items: stretch;
    }

    body.riode-shop-clean .riode-template-toolbar .toolbox-left,
    body.riode-shop-clean .riode-template-toolbar .toolbox-right {
        width: 100%;
        justify-content: space-between;
    }

    body.riode-shop-clean .riode-template-sort {
        flex: 1;
    }

    body.riode-shop-clean .riode-template-sort .woocommerce-ordering,
    body.riode-shop-clean .riode-template-sort select {
        width: 100%;
        min-width: 0;
    }

    body.riode-shop-clean .riode-template-products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 24px 10px !important;
    }

    body.riode-shop-clean .riode-template-product-image img {
        padding: 8px;
    }

    body.riode-shop-clean .riode-template-product-media .product-action-vertical {
        top: 8px;
        right: 8px;
        opacity: 1;
        transform: none;
    }

    body.riode-shop-clean .riode-template-product-media .btn-product-icon {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    body.riode-shop-clean .riode-template-product-media .product-action {
        display: none;
    }

    body.riode-shop-clean .riode-template-product-details .product-name {
        font-size: 13px;
    }

    body.riode-shop-clean .riode-template-product-details .product-price,
    body.riode-shop-clean .riode-template-product-details .price {
        font-size: 14px;
    }

    body.riode-shop-clean .riode-template-product-details .rating-reviews {
        display: none;
    }

    body.riode-shop-clean .riode-template-pagination-wrap {
        align-items: flex-start;
        flex-direction: column;
    }

    body.riode-shop-clean .riode-template-products.is-list .riode-template-product {
        grid-template-columns: 120px minmax(0, 1fr);
        gap: 14px;
    }
}

body.riode-shop-clean .riode-related-products .riode-related-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

@media (max-width: 991px) {
    body.riode-shop-clean .riode-related-products .riode-related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    body.riode-shop-clean .riode-related-products .riode-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}


/* 2026-07-30: filter overlay must not occupy the second desktop grid column. */
body.riode-shop-clean .riode-filter-overlay {
    display: none !important;
}

@media (max-width: 991px) {
    body.riode-shop-clean .riode-filter-overlay {
        display: block !important;
    }
}
