/* ================================
   Stone PLP Page
================================ */

.vdb-rc-stone-plp {
    background-color: var(--color-white);
    padding-top: 48px;
    padding-bottom: 48px;
}


/* ================================
   Stepper Section
================================ */

.vdb-rc-ring-builder-stepper {
    margin-bottom: var(--space-4xl);
}

/* Fixed slide width */
.vdb-rc-stone-plp__shape-filter .slide-wrapper {
    margin: 0 5.8px;
    /* 12px gap (6px on each side) */
}

.vdb-rc-stone-plp__shape-filter .slick-slider {
    margin: 0 6px;
}

/* Remove extra margin from track edges */
.vdb-rc-stone-plp__shape-filter .slick-list {
    margin: 0 24px;
}

/* Center the slider */
.vdb-rc-stone-plp__shape-filter .slick-track {
    display: flex;
    align-items: flex-start;
}

@media screen and (min-width: 1024px) {
    .vdb-rc-stone-plp__shape-filter .vdb-rc-center-slider .slick-track {
        transform: none !important;
        justify-content: center;
        width: 100% !important;
    }
}

@media screen and (max-width: 991px) {
    .vdb-rc-stone-plp__shape-filter .vdbrb_ring_type_static-slider-mobile .slick-track {
        transform: none !important;
        justify-content: center;
        width: 100% !important;
    }
}

.vdb-rc-stone-plp__shape-filter li,
.vdb-rc-stone-plp__shape-filter .vdb-slider__item {
    list-style: none;
}

.vdb-rc-stone-plp__shape-filter li a,
.vdb-rc-stone-plp__shape-filter .vdb-slider__item button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    flex-shrink: 0;
    width: 72px;
    cursor: pointer;
    transition: border-color var(--transition-default), background-color var(--transition-default);
}

.vdb-rc-stone-plp__shape-filter li a:hover .vdb-rb-list-item,
.vdb-rc-stone-plp__shape-filter .vdb-slider__item button:hover .vdb-rb-list-item,
.vdb-rc-stone-plp__shape-filter li a .vdb-rb-list-item.vdb-rb-list-item-active,
.vdb-rc-stone-plp__shape-filter .vdb-slider__item button .vdb-rb-list-item.vdb-rb-list-item-active {
    background-color: transparent;
}

.vdb-rc-stone-plp__shape-filter li a .vdb-rb-list-item,
.vdb-rc-stone-plp__shape-filter .vdb-slider__item button .vdb-rb-list-item {
    width: 100%;
    border-radius: var(--radius-sm);
    aspect-ratio: 1;
    border: 1px solid var(--color-border-light);
    background-color: var(--color-border-light);
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vdb-rc-stone-plp__shape-filter li a .vdb-rb-list-item img,
.vdb-rc-stone-plp__shape-filter .vdb-slider__item button .vdb-rb-list-item img {
    object-fit: contain;
    aspect-ratio: 1;
}

.vdb-rc-filter-drawer__stone-type-options {
    flex-direction: row;
    flex-wrap: wrap;
}

#vdbrb_type_filter_slider_gemstone_drawer {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.vdb-rc-stone-plp__desktop-filter ul,
.vdb-rc-stone-plp__desktop-filter .vdb-slider {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.filter-color .vdb-rc-filter-option-grid ul,
.filter-color .vdb-rc-filter-option-grid .vdb-slider {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-lg);
}

.vdbrb_list_item_a_color_gemstone .vdb-rb-list-item {
    box-sizing: border-box;
    width: 64px;
    height: 64px;
    background: var(--color-surface-muted);
    border: 1px solid var(--color-border-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vdbrb_list_item_a_color_gemstone .vdb-rb-list-item.vdb-rb-list-item-active {
    background-color: var(--color-white);
    border-color: var(--color-primary);
}

.filter-color .vdb-rc-filter-option-grid ul a,
.filter-color .vdb-rc-filter-option-grid .vdb-slider button {
    width: 64px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-color .vdb-rc-filter-option-grid ul a .vdv-rb-item-title,
.filter-color .vdb-rc-filter-option-grid .vdb-slider button .vdv-rb-item-title {
    font-weight: 400;
    font-size: 13px;
    line-height: 18px;
    text-align: center;
    color: var(--color-text-secondary);
}

.filter-color .vdb-rc-filter-option-grid ul a:has(.vdb-rb-list-item-active) .vdv-rb-item-title,
.filter-color .vdb-rc-filter-option-grid .vdb-slider button:has(.vdb-rb-list-item-active) .vdv-rb-item-title {
    color: var(--color-primary-dark);
    font-weight: var(--font-weight-medium);
}

.filter-color .vdb-rc-filter-option-grid ul a:hover .vdb-rb-list-item,
.filter-color .vdb-rc-filter-option-grid .vdb-slider button:hover .vdb-rb-list-item {
    background-color: transparent;
}

.vdb-rb-measurement-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.vdb-rb-measurement-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.vdb-rb-measurement-item input {
    flex: 1;
    min-width: 0;
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-white);
    font-family: var(--font-body);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-body);
    color: var(--color-black);
}

.vdb-rb-measurement-item input::placeholder {
    color: var(--color-text-secondary);
}

.vdb-rb-measurement-item input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.vdb-rb-measurement-item input::-webkit-outer-spin-button,
.vdb-rb-measurement-item input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.vdb-rb-measurement-item input[type="number"] {
    -moz-appearance: textfield;
}

.vdbrb_to_label {
    flex-shrink: 0;
    width: 34px;
    text-align: center;
    font-size: var(--font-size-caption);
    line-height: 1.2;
    color: var(--color-text-secondary);
}

.vdbrb_to_label label,
.vdbrb_to_label .vdb-rc-spec-label {
    display: block;
    margin-bottom: 2px;
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-medium);
    color: var(--color-black);
}

@media (max-width: 767px) {
    .vdb-rb-measurement-item {
        gap: var(--space-xs);
    }

    .vdbrb_to_label {
        width: 28px;
    }
}

.vdb-rc-stone-plp__desktop-filter li,
.vdb-rc-stone-plp__desktop-filter .vdb-slider__item,
.vdb-rb-side-stone-item {
    list-style: none;
    width: calc(33.33% - calc(var(--space-md) * 2/3));
}

/* .vdb-rc-stone-plp__desktop-filter li a, */
.vdb-rb-side-stone-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 5px;
    padding: 10px;
    background-color: var(--color-surface-muted);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-sm);
    height: 100%;
    overflow: hidden;
}

.vdb-rc-stone-plp__desktop-filter li a img,
.vdb-rc-stone-plp__desktop-filter .vdb-slider__item button img {
    max-width: 40px;
}

.vdb-rc-stone-plp__desktop-filter li a:has(.vdb-rb-list-item-active),
.vdb-rc-stone-plp__desktop-filter .vdb-slider__item button:has(.vdb-rb-list-item-active) {
    background-color: transparent;
    border-color: var(--color-primary);
}

.vdb-rc-stone-plp__desktop-filter .vdb-rc-filter-dropdown__panel.filter-type li a,
.vdb-rc-stone-plp__desktop-filter .vdb-rc-filter-dropdown__panel.filter-type .vdb-slider__item button,
.vdbrc_gemstone_filter_section .vdb-rc-stone-plp__desktop-filter .vdb-rc-filter-dropdown__panel.filter-shape li a,
.vdbrc_gemstone_filter_section .vdb-rc-stone-plp__desktop-filter .vdb-rc-filter-dropdown__panel.filter-shape .vdb-slider__item button {
    background-color: transparent;
    border-color: transparent;
    padding: 0;
    height: auto;
    overflow: visible;
    max-width: 64px;
    display: inline-block;
    text-align: center;
}

.vdb-rc-filter-dropdown__panel.filter-type ul,
.vdb-rc-filter-dropdown__panel.filter-type .vdb-slider,
.vdbrc_gemstone_filter_section .vdb-rc-filter-dropdown__panel.filter-shape ul,
.vdbrc_gemstone_filter_section .vdb-rc-filter-dropdown__panel.filter-shape .vdb-slider {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.vdb-rc-filter-dropdown__panel.filter-type li a:hover .vdbrb_list_item_a_type_gemstone,
.vdb-rc-filter-dropdown__panel.filter-type .vdb-slider__item button:hover .vdbrb_list_item_a_type_gemstone,
.vdbrc_gemstone_filter_section .vdb-rc-filter-dropdown__panel.filter-shape li a:hover .vdbrb_list_item_a_shape_gemstone,
.vdbrc_gemstone_filter_section .vdb-rc-filter-dropdown__panel.filter-shape .vdb-slider__item button:hover .vdbrb_list_item_a_shape_gemstone {
    background-color: transparent;
}

.vdb-rc-filter-dropdown__panel.filter-type li,
.vdb-rc-filter-dropdown__panel.filter-type .vdb-slider__item,
.vdbrc_gemstone_filter_section .vdb-rc-filter-dropdown__panel.filter-shape li,
.vdbrc_gemstone_filter_section .vdb-rc-filter-dropdown__panel.filter-shape .vdb-slider__item {
    width: 100%;
}

.vdb-rc-filter-dropdown__panel.filter-type .vdb-rb-list-item,
.vdbrc_gemstone_filter_section .vdb-rc-filter-dropdown__panel.filter-shape .vdb-rb-list-item {
    background-color: var(--color-surface-muted);
    border: 1px solid var(--color-border-light);
    padding: 10px;
    border-radius: var(--radius-sm);
    max-width: 64px;
}

.vdb-rc-filter-dropdown__panel.filter-type .vdb-rb-list-item.vdb-rb-list-item-active,
.vdbrc_gemstone_filter_section .vdb-rc-filter-dropdown__panel.filter-shape .vdb-rb-list-item.vdb-rb-list-item-active {
    border-color: var(--color-primary);
}

.vdb-rc-filter-dropdown__panel.filter-type .vdb-rb-list-item.vdb-rb-list-item-active~.vdv-rb-item-title,
.vdbrc_gemstone_filter_section .vdb-rc-filter-dropdown__panel.filter-shape .vdb-rb-list-item.vdb-rb-list-item-active~.vdv-rb-item-title {
    font-weight: var(--font-weight-medium);
    color: var(--color-primary-dark);
}

.vdb-rc-filter-dropdown__panel.filter-type ul li a:hover .vdb-rb-list-item,
.vdb-rc-filter-dropdown__panel.filter-type .vdb-slider .vdb-slider__item button:hover .vdb-rb-list-item,
.vdbrc_gemstone_filter_section .vdb-rc-filter-dropdown__panel.filter-shape ul li a:hover .vdb-rb-list-item,
.vdbrc_gemstone_filter_section .vdb-rc-filter-dropdown__panel.filter-shape .vdb-slider .vdb-slider__item button:hover .vdb-rb-list-item {
    background-color: transparent;
}

.vdb-rc-filter-dropdown__panel.filter-type .vdb-rb-list-item~.vdv-rb-item-title,
.vdbrc_gemstone_filter_section .vdb-rc-filter-dropdown__panel.filter-shape .vdb-rb-list-item~.vdv-rb-item-title {
    font-size: var(--font-size-caption);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-body);
    color: var(--color-text-secondary);
}

.vdb-rc-filter-dropdown__panel.filter-type .vdb-rb-list-item.vdb-rb-list-item-active~.vdv-rb-item-title,
.vdbrc_gemstone_filter_section .vdb-rc-filter-dropdown__panel.filter-shape .vdb-rb-list-item.vdb-rb-list-item-active~.vdv-rb-item-title {
    color: var(--color-primary-dark);
    font-weight: var(--font-weight-medium);
}

.vdb-rc-filter-dropdown__panel.filter-type .vdb-rb-list-item img,
.vdbrc_gemstone_filter_section .vdb-rc-filter-dropdown__panel.filter-shape .vdb-rb-list-item img {
    width: 53px;
}

.vdb-rc-stone-plp__shape-filter li a .vdb-rb-list-item.vdb-rb-list-item-active,
.vdb-rc-stone-plp__shape-filter .vdb-slider__item button .vdb-rb-list-item.vdb-rb-list-item-active {
    background-color: var(--color-white);
    border: 1.4px solid var(--color-primary);
}

.vdb-rc-stone-plp__shape-filter li a p,
.vdb-rc-stone-plp__shape-filter .vdb-slider__item button p {
    font-size: 12px;
    line-height: 18px;
    color: var(--color-text-secondary);
    text-align: center;
}

.vdb-rc-stone-plp__shape-filter li a .vdb-rb-list-item.vdb-rb-list-item-active+p,
.vdb-rc-stone-plp__shape-filter .vdb-slider__item button .vdb-rb-list-item.vdb-rb-list-item-active+p {
    color: var(--color-primary-dark);
    font-weight: var(--font-weight-medium);
}


/* ================================
   Stone Type Tabs
================================ */

.vdb-rc-stone-plp__stone-type {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    overflow-x: auto;
}

.vdb-rc-stone-plp__stone-type.allow-one-stone-type {
    display: none;
}

.vdb-rc-stone-plp__stone-type-group {
    display: flex;
    align-items: center;
    max-width: 100%;
    border-radius: var(--radius-sm);
    background-color: var(--color-surface-muted);
    padding: 4px;
    gap: 4px;
}

.vdb-rc-stone-plp__stone-type-group .vdb-rb-tabbing {
    min-width: 120px;
    text-align: center;
}

.vdb-rc-stone-plp__stone-type-btn {
    width: 100%;
    padding: var(--space-xs) var(--space-sm);
    border: none;
    border-radius: 6px;
    background: transparent;
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-body);
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: background-color var(--transition-default), color var(--transition-default);
}

.vdb-rc-stone-plp__stone-type-btn:hover {
    background-color: var(--color-white);
}

.vdb-rc-stone-plp__stone-type-btn--selected {
    background-color: var(--color-primary);
    color: var(--color-white);
    font-weight: var(--font-weight-medium);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.vdb-rb-tabbing.vdb-rb-active-tab button {
    background-color: var(--color-primary);
    color: var(--color-white);
    font-weight: var(--font-weight-medium);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}


/* ================================
   Shape Filter
================================ */

.vdb-rc-stone-plp__shape-filter {
    position: relative;
    margin-bottom: var(--space-2xl);
}

.vdb-rc-stone-plp__shape-scroll-wrap {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.vdb-rc-stone-plp__shape-scroll-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    padding: 0;
    border-radius: 50%;
    background-color: var(--color-border-light);
    cursor: pointer;
}

.vdb-rc-stone-plp__shape-scroll-btn img {
    width: 10px;
    height: 6px;
}

.vdb-rc-stone-plp__shape-scroll-btn[data-shape-scroll-next] img {
    transform: rotate(-90deg);
}

.vdb-rc-stone-plp__shape-scroll-btn[data-shape-scroll-prev] img {
    transform: rotate(90deg);
}

@media (max-width: 767px) {
    .vdb-rc-stone-plp__shape-filter .vdb-rc-stone-plp__shape-scroll-wrap {
        flex: 1;
        min-width: 0;
    }

    .vdb-rc-stone-plp__shape-filter .vdb-rc-stone-plp__shape-list {
        display: flex;
        align-items: flex-start;
        gap: var(--space-md);
        flex: 1;
        min-width: 0;
        margin: 0;
        padding: 0;
        list-style: none;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        scrollbar-width: none;
        touch-action: pan-x;
    }

    .vdb-rc-stone-plp__shape-filter .vdb-rc-stone-plp__shape-list.is-dragging {
        scroll-behavior: auto;
        user-select: none;
    }

    .vdb-rc-stone-plp__shape-filter .vdb-rc-stone-plp__shape-list::-webkit-scrollbar {
        display: none;
    }

    .vdb-rc-stone-plp__shape-filter .vdb-rc-stone-plp__shape-list>li,
    .vdb-rc-stone-plp__shape-filter .vdb-rc-stone-plp__shape-list>.vdb-slider__item {
        list-style: none;
        flex-shrink: 0;
        margin: 0;
    }

    .vdb-rc-stone-plp__shape-filter .vdb-rc-stone-plp__shape-list>li a,
    .vdb-rc-stone-plp__shape-filter .vdb-rc-stone-plp__shape-list>.vdb-slider__item button {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--space-xs);
        flex-shrink: 0;
        width: 72px;
        cursor: pointer;
        transition: border-color var(--transition-default), background-color var(--transition-default);
    }

    .vdb-rc-stone-plp__shape-filter .vdb-rc-stone-plp__shape-list>li a:hover .vdb-rb-list-item,
    .vdb-rc-stone-plp__shape-filter .vdb-rc-stone-plp__shape-list>.vdb-slider__item button:hover .vdb-rb-list-item,
    .vdb-rc-stone-plp__shape-filter .vdb-rc-stone-plp__shape-list>li a .vdb-rb-list-item.vdb-rb-list-item-active,
    .vdb-rc-stone-plp__shape-filter .vdb-rc-stone-plp__shape-list>.vdb-slider__item button .vdb-rb-list-item.vdb-rb-list-item-active {
        background-color: transparent;
    }

    .vdb-rc-stone-plp__shape-filter .vdb-rc-stone-plp__shape-list>li a .vdb-rb-list-item,
    .vdb-rc-stone-plp__shape-filter .vdb-rc-stone-plp__shape-list>.vdb-slider__item button .vdb-rb-list-item {
        width: 100%;
        border-radius: var(--radius-sm);
        aspect-ratio: 1;
        border: 1px solid var(--color-border-light);
        background-color: var(--color-border-light);
        padding: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .vdb-rc-stone-plp__shape-filter .vdb-rc-stone-plp__shape-list>li a .vdb-rb-list-item img,
    .vdb-rc-stone-plp__shape-filter .vdb-rc-stone-plp__shape-list>.vdb-slider__item button .vdb-rb-list-item img {
        object-fit: contain;
        aspect-ratio: 1;
    }

    .vdb-rc-stone-plp__shape-filter .vdb-rc-stone-plp__shape-list>li a .vdb-rb-list-item.vdb-rb-list-item-active,
    .vdb-rc-stone-plp__shape-filter .vdb-rc-stone-plp__shape-list>.vdb-slider__item button .vdb-rb-list-item.vdb-rb-list-item-active {
        background-color: var(--color-white);
        border: 1.4px solid var(--color-primary);
    }

    .vdb-rc-stone-plp__shape-filter .vdb-rc-stone-plp__shape-list>li a p,
    .vdb-rc-stone-plp__shape-filter .vdb-rc-stone-plp__shape-list>.vdb-slider__item button p {
        font-size: 12px;
        line-height: 18px;
        color: var(--color-text-secondary);
        text-align: center;
    }

    .vdb-rc-stone-plp__shape-filter .vdb-rc-stone-plp__shape-list>li a .vdb-rb-list-item.vdb-rb-list-item-active+p,
    .vdb-rc-stone-plp__shape-filter .vdb-rc-stone-plp__shape-list>.vdb-slider__item button .vdb-rb-list-item.vdb-rb-list-item-active+p {
        color: var(--color-primary-dark);
        font-weight: var(--font-weight-medium);
    }

    .vdb-rc-stone-plp__shape-filter .vdb-rc-stone-plp__shape-list.vdbrb_ring_type_static-slider-mobile {
        justify-content: center;
        overflow-x: hidden;
    }

    .vdb-rc-stone-plp__shape-filter .slide-wrapper {
        margin: 0;
    }
}

.vdb-rc-stone-plp__shape-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    flex-shrink: 0;
    width: 72px;
    cursor: pointer;
    transition: border-color var(--transition-default), background-color var(--transition-default);
}

.vdb-rc-stone-plp__shape-btn--selected {
    background: transparent;
}

.vdb-rc-stone-plp__shape-btn img {
    object-fit: contain;
    border-radius: var(--radius-sm);
    aspect-ratio: 1;
    background-color: var(--color-border-light);
    padding: 10px;
}

.vdb-rc-stone-plp__shape-btn--selected img {
    background-color: var(--color-white);
    border: 1.4px solid var(--color-primary);
}

.vdb-rc-stone-plp__shape-btn span {
    font-size: 12px;
    line-height: 18px;
    color: var(--color-text-secondary);
    text-align: center;
}

.vdb-rc-stone-plp__shape-btn--selected span {
    color: var(--color-primary-dark);
    font-weight: var(--font-weight-medium);
}

.vdb-rc-stone-plp__table .vdb-rc-stone-plp__stone-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vdb-rc-stone-plp__table .vdb-rc-product-card__image_list_view {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
}

.vdb-rc-stone-plp__table .vdb-rc-fav-heart {
    position: unset;
    display: none;
}


/* ================================
   Filter Sticky Wrapper
================================ */

.vdb-rc-stone-plp__divider {
    border: none;
    height: 1px;
    background-color: var(--color-border);
    margin: 0 0 var(--space-2xl);
}

/* ================================
   Stone Grid
================================ */

.vdb-rb-product-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-sm) var(--space-md);
    color: var(--color-black);
    flex: 1;
}

.vdb-rb-product-name {
    margin: 0;
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-body-tight);
    flex: 1;
    color: var(--color-black);
    /* min-height: var(--space-4xl); */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.vdb-rb-price-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    flex: 1;
}

.vdb-rb-price-block h3 {
    margin: 0;
    font-family: var(--font-title);
    font-size: var(--font-size-price);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-price);
    color: var(--color-black);
}

.vdb-rb-price-block del {
    margin: 0;
    font-size: var(--font-size-caption);
    color: var(--color-text-secondary);
}

.vdb-rb-product-details .vdb-rb-price {
    align-items: flex-end;
    gap: var(--space-sm);
}

/* ==========================================
   Specs
========================================== */

.vdb-rc-product-card__specs {
    display: grid;
    align-items: center;
    justify-content: space-between;
    grid-template-columns: 0.6fr 1fr 1.1fr;
    gap: var(--space-sm);
    margin: var(--space-sm) calc(var(--space-md) * -1) 0;
    padding-inline: var(--space-md);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--color-border);
}

.vdb-rc-product-card__specs.vdb-rc-two-column {
    grid-template-columns: repeat(2, 1fr);
}

.vdb-rc-product-card__spec {
    flex: 1;
    min-width: 0;
    display: flex;
    gap: 6px;
    font-weight: var(--font-weight-regular);
}

.vdb-rc-product-card__spec-label {
    font-size: var(--font-size-caption);
    line-height: var(--line-height-body);
    color: var(--color-text-secondary);
}

@media screen and (max-width: 767px) {
    .vdb-rc-product-card__spec-label {
        min-width: 50px;
        text-align: left;
    }
}

.vdb-rc-product-card__spec-value {
    font-size: var(--font-size-caption);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-body);
    color: var(--color-primary-dark);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Empty values still reserve height so all cards align */

.vdb-rc-product-card__spec-value:empty::before {
    content: "\00a0";
}

/* ==========================================
   Mobile
========================================== */

@media (max-width: 767px) {

    .vdb-rb-product-details {
        flex: 1;
        justify-content: space-between;
        padding: var(--space-md);
        min-width: 0;
        min-height: auto;
    }

    .vdb-rb-product-name {
        flex: initial;
    }

    .vdb-rc-product-card__specs {
        margin: 0;
        border-top: 0;
        grid-template-columns: 1fr;
        align-items: flex-start;
        gap: var(--space-xs);
        padding: 0;
    }

    .vdb-rc-product-card__specs.vdb-rc-two-column {
        grid-template-columns: 1fr;
    }
}

.vdb-rc-filter-drawer__section-title {
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-body);
    color: var(--color-black);
    display: flex;
    align-items: center;
    white-space: nowrap;
    gap: var(--space-sm);
}

.vdb-rc-filter-drawer__section-info-wrap {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    cursor: help;
    outline: none;
    max-width: 1rem;
    margin-left: var(--space-sm);
}

.vdb-rc-filter-drawer__section-info {
    width: 1rem;
    height: 1rem;
    display: block;
}

/* ================================
   Filter Bar
================================ */

.vdb-rc-stone-plp__filter-bar {
    width: 100%;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: space-between;
    padding-bottom: var(--space-2xl);
}

.vdb-rc-stone-plp__filter-bar .vdb-rc-filter-bar__controls {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: var(--space-lg);
}

.vdbrc_natural_filter_section {
    width: 100%;
}

.vdb-rc-stone-plp__filter-bar .vdb-rc-filter-bar__controls .vdbrc_gemstone_filter_section,
.vdb-rc-stone-plp__filter-bar .vdb-rc-filter-bar__controls .vdbrc_labgrown_filter_section,
.vdb-rc-stone-plp__filter-bar .vdb-rc-filter-bar__controls .vdbrc_natural_filter_section,
.vdb-rc-stone-plp__filter-bar .vdb-rc-filter-bar__controls .vdbrc_radiance_filter_section {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: var(--space-lg);
}

.vdb-rc-filter-bar-wrapper {
    display: flex;
    gap: var(--space-lg);
    max-width: calc(100% - 140px);
    flex-wrap: wrap;
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .vdb-rc-filter-bar-wrapper {
        max-width: calc(100% - 160px);
    }

    .vdb-rc-filter-dropdown__panel {
        min-width: 295px;
    }

    .vdb-rc-filter-dropdown__panel.filter-clarity .vdb-rc-filter-option-btn,
    .vdb-rc-filter-dropdown__panel.filter-fancy_color .vdb-rc-filter-option-btn,
    .vdb-rc-filter-dropdown__panel .vdb-rc-filter-option-btn {
        min-width: 80px;
        padding: var(--space-xs) var(--space-md);
    }
}

.vdb-rc-stone-plp__filter-bar-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: var(--space-lg);
    min-width: fit-content;
}

.vdb-rc-stone-plp__view-toggle-group {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.vdb-rc-stone-plp__view-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: var(--radius-sm);
    background-color: var(--color-border-light);
    cursor: pointer;
}

.vdb-rc-stone-plp__view-toggle-group label[for="desktop-view-toggle"] {
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    color: #585858;
}

.vdb-rc-stone-plp__view-toggle label {
    vertical-align: super;
}

.vdb-rc-stone-plp__view-toggle img {
    width: 20px;
    height: 20px;
    opacity: 0.5;
}

.vdb-rc-stone-plp__view-toggle--active img {
    opacity: 1;
}

.vdb-rc-stone-plp__desktop-filter {
    position: relative;
}

.vdb-rc-stone-plp__mobile-filter-chip {
    display: none;
}

.vdb-rc-stone-plp__filter-bar .vdb-rc-filter-bar__sort-icon {
    display: none;
}

.vdb-rc-stone-plp__filter-bar .vdb-rc-filter-bar__all-filters {
    display: inline-flex;
    order: 1;
    margin-left: auto;
}

.vdb-rc-stone-plp__filter-bar .vdb-rc-filter-bar__all-filters svg {
    max-width: fit-content;
}

.vdb-rc-stone-plp__sort-dropdown--desktop {
    position: relative;
}

.vdb-rc-stone-plp__sort-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0 var(--space-xs);
    border-radius: var(--radius-sm);
    background: transparent;
    cursor: pointer;
}

.vdb-rc-stone-plp__sort-btn__icon-wrap {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    padding: 4px;
    width: 32px;
    height: 32px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.04)), #FFFFFF;
    border-radius: 8px;
    gap: 0;
    justify-content: center;
}

.vdb-rc-stone-plp__sort-btn__icon {
    width: 20px;
    height: 20px;
}

.vdb-rc-sort-btn__selected-wrap,
.vdb-rc-stone-plp__sort-btn__label {
    font-family: var(--font-body);
    font-weight: var(--font-weight-regular);
    font-size: var(--font-size-body);
    line-height: var(--line-height-body);
    color: var(--color-text-secondary);
}

.vdb-rc-stone-plp__sort-chevron {
    transition: transform var(--transition-default);
}

.vdb-rc-stone-plp__sort-trigger--open .vdb-rc-stone-plp__sort-chevron {
    transform: rotate(180deg);
}

.vdb-rc-stone-plp__sort-panel {
    right: 0;
    left: auto;
    min-width: 152px;
    padding: var(--space-lg);
    border: 0;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

.vdb-rc-stone-plp__sort-option {
    display: block;
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    border: none;
    background: none;
    font-size: var(--font-size-body);
    line-height: var(--line-height-body);
    color: var(--color-text-secondary);
    text-align: left;
    cursor: pointer;
}

.vdb-rc-stone-plp__sort-option:hover {
    background-color: var(--color-surface-muted);
}

.vdb-rc-stone-plp__sort-option--selected {
    color: var(--color-primary-dark);
    font-weight: var(--font-weight-medium);
}


/* ================================
   Results
================================ */

.vdb-rc-stone-plp__results {
    margin-bottom: var(--space-2xl);
}

.vdb-rc-stone-plp__product-grid {
    margin-top: var(--space-2xl);
}


/* ================================
   List Table
================================ */

.vdb-rc-stone-plp__table-wrap {
    margin-top: var(--space-lg);
    overflow-x: auto;
}

.vdb-rc-stone-plp__table {
    width: max-content;
    table-layout: auto;
    min-width: 100%;
    border-collapse: collapse;
}

.vdb-rc-stone-plp__table th,
.vdb-rc-stone-plp__table td {
    padding: var(--space-sm) var(--space-lg);
    border: 0;
    border-bottom: 1px solid var(--color-border);
    font-size: var(--font-size-body);
    line-height: var(--line-height-body);
    text-align: left;
    white-space: nowrap;
}

.vdb-rc-stone-plp__table th:first-child,
.vdb-rc-stone-plp__table td:first-child {
    padding-left: var(--space-sm);
}

.vdb-rc-stone-plp__table th:last-child,
.vdb-rc-stone-plp__table td:last-child {
    padding-right: var(--space-sm);
}

.vdb-rc-stone-plp__table th {
    position: relative;
    font-weight: var(--font-weight-medium);
    color: var(--color-black);
    background-color: var(--color-surface-muted);
    padding-right: 30px;
}

.vdb-rc-stone-plp__table td {
    color: var(--color-text-secondary);
}

.vdb-rc-stone-plp__table td:last-child {
    font-weight: var(--font-weight-medium);
    color: var(--color-black);
}


/* ================================
   Hidden Templates
================================ */

.vdb-rc-stone-plp__templates {
    display: none;
}

.vdb-rc-product-grid .vdb-rb-col-md-3.vdb-rb-col-sm-6 {
    max-width: 272px;
    width: 100%;
}

@media (max-width: 1199px) {
    .vdb-rc-product-grid .vdb-rb-col-md-3.vdb-rb-col-sm-6 {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 767px) {

    .vdb-rc-stone-plp__shape-scroll-btn {
        display: none;
    }

    .vdb-rc-stone-plp {
        padding-top: var(--space-2xl);
        padding-bottom: var(--space-4xl);
    }

    .vdb-rc-ring-builder-stepper {
        margin-bottom: var(--space-2xl);
    }

    .vdb-rc-stone-plp__filter-bar {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-md);
    }

    .vdb-rc-stone-plp__stone-type-group .vdb-rb-tabbing {
        min-width: 80px;
    }

    .vdb-rc-stone-plp__filter-bar .vdb-rc-filter-bar__controls {
        order: 1;
        gap: var(--space-sm);
        flex-wrap: nowrap;
        overflow-x: hidden;
        /* -webkit-overflow-scrolling: touch;
        scrollbar-width: none; */
        align-items: flex-start;
    }

    .vdb-rc-stone-plp__filter-bar .vdb-rc-filter-bar__controls .vdbrc_gemstone_filter_section,
    .vdb-rc-stone-plp__filter-bar .vdb-rc-filter-bar__controls .vdbrc_labgrown_filter_section,
    .vdb-rc-stone-plp__filter-bar .vdb-rc-filter-bar__controls .vdbrc_natural_filter_section,
    .vdb-rc-stone-plp__filter-bar .vdb-rc-filter-bar__controls .vdbrc_radiance_filter_section {
        flex-wrap: nowrap;
        gap: var(--space-sm);
    }

    .vdb-rc-stone-plp__filter-bar .vdb-rc-filter-bar__controls {
        column-gap: var(--space-sm);
    }

    .vdb-rc-stone-plp__filter-bar-right {
        display: none;
    }

    .vdb-rc-stone-plp__view-toggle-group {
        order: -3;
    }

    .vdb-rc-stone-plp__filter-bar .vdb-rc-filter-bar__sort-icon {
        display: inline-flex;
        order: -2;
        min-width: 32px;
    }

    .vdb-rc-stone-plp__filter-bar .vdb-rc-filter-bar__all-filters {
        order: -1;
    }

    .vdb-rc-stone-plp__desktop-filter {
        display: none;
    }

    .vdb-rc-stone-plp__mobile-filter-chip {
        display: inline-flex;
    }

    .vdb-rc-stone-plp__sort-dropdown--desktop {
        display: none;
    }

    .vdb-rc-stone-plp__table-wrap {
        margin-left: calc(var(--container-padding-mobile) * -1);
        margin-right: calc(var(--container-padding-mobile) * -1);
    }

    .vdb-rc-product-grid .vdb-rb-col-md-3.vdb-rb-col-sm-6 {
        max-width: 100%;
        width: 100%;
    }

    .vdb-rc-stone-plp__sort-dropdown {
        order: -1;
    }

    .vdb-rc-stone-plp__sort-panel {
        right: auto;
        top: 70%;
    }

    .vdb-rb-product-details .vdb-rb-price {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 0px;
        margin-top: 4px;
    }

}

@media (min-width: 768px) {

    .vdb-rc-stone-plp__table td,
    .vdb-rc-stone-plp__table th {
        border: 0;
    }

    .vdb-rc-stone-plp__table {
        border-collapse: separate;
        border-spacing: 0 var(--radius-sm);
    }

    .vdb-rc-stone-plp__table tr {
        cursor: pointer;
    }

    .vdb-rc-stone-plp__table tr td:first-child,
    .vdb-rc-stone-plp__table tr th:first-child {
        border-top-left-radius: var(--radius-sm);
        border-bottom-left-radius: var(--radius-sm);
        border-left: 1px solid var(--color-border);
    }

    /* Round the right corners of the last cell in the row */
    .vdb-rc-stone-plp__table tr td:last-child,
    .vdb-rc-stone-plp__table tr th:last-child {
        border-top-right-radius: var(--radius-sm);
        border-bottom-right-radius: var(--radius-sm);
        border-right: 1px solid var(--color-border);
    }

    .vdb-rc-stone-plp__table tr th:last-child,
    .vdb-rc-stone-plp__table tr th:first-child,
    .vdb-rc-stone-plp__table tr th:last-child {
        border-width: 0;
    }

    .vdb-rc-stone-plp__table tr td,
    .vdb-rc-stone-plp__table tr th {
        border-top: 1px solid var(--color-border);
        border-bottom: 1px solid var(--color-border);
    }

    .vdb-rc-stone-plp__table tr th {
        --space-sm: 10px;
        border: 0;
        padding-block: var(--space-sm);
        padding-right: 30px;
    }
}

th.vdb-sorting_th.vdb-sorting_asc:before,
th.vdb-sorting_th.vdb-sorting_desc:before {
    font-size: 10px;
    position: absolute;
    top: auto;
    right: 4px;
}

th.vdb-sorting_th.vdb-sorting_both:before,
th.vdb-sorting_th.vdb-sorting_both::after {
    position: absolute;
    top: auto;
    right: 4px;
    font-size: 10px;
    opacity: 0.5;
}

th.vdb-sorting_th.vdb-sorting_both:before {
    content: "\25B2";
    top: 6px;
}

th.vdb-sorting_th.vdb-sorting_both::after {
    content: "\25BC";
    top: 15px;
}

th.vdb-sorting_th.vdb-sorting_asc:before {
    content: "\25B2";
}

th.vdb-sorting_th.vdb-sorting_desc:before {
    content: "\25BC";
}

.vdbrb_main_advance_filter_web_natural,
.vdbrb_main_advance_filter_web_labgrown {
    display: none;
}

.vdb-rb-info-btn {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: var(--color-primary);
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-size: 14px;
    font-weight: normal;
    color: var(--color-white);
    margin-right: 8px;
    cursor: pointer;
    background: #d6d6d6;
}

/* Show overlay */
.vdb-rb-modal-overlay.vdb-rb-modal-filters-info.active {
    opacity: 1;
    visibility: visible;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.vdb-rb-modal-overlay.vdb-rb-modal-filters-info.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.vdb-rb-modal-filters-info .vdb-modal-image {
    aspect-ratio: 16 / 9;
    margin-top: 24px;
}

/* ================================
     Modal Container
  ================================ */
.vdb-rb-modal-filters-info .vdb-rb-modal-content {
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    animation: vdb-rb-slideUp 0.35s ease;
    position: relative;
    margin: auto;
    z-index: 1;
}

/* ================================
     Modal Header
  ================================ */
.vdb-rb-modal-filters-info .vdb-rb-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}

.vdb-rb-modal-filters-info .vdb-rb-modal-header h4 {
    font-size: 20px;
    line-height: 24px;
    font-weight: normal;
    color: #000000;
    margin: 0;
}

.vdb-rb-modal-filters-info .vdb-rb-close-find-stone-modal {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #666;
    padding: 0;
    transition: color 0.2s ease;
}

.vdb-rb-modal-filters-info .vdb-rb-close-find-stone-modal:hover {
    color: #000;
}

/* ================================
     Modal Body
  ================================ */
.vdb-rb-modal-filters-info .vdb-rb-modal-body {
    padding: 24px;
}

.vdb-rb-modal-filters-info .vdb-modal-image img {
    width: auto;
    border-radius: 8px;
    height: 100%;
    max-height: 100%;
    object-fit: fill;
    margin: auto;
}

.vdb-rb-modal-filters-info .vdb-modal-image video {
    width: 100%;
    height: 332px;
    max-height: 100%;
    border-radius: 8px;
    object-fit: contain;
}

.vdb-rb-modal-filters-info .vdb-modal-content h5 {
    font-size: 14px;
    font-weight: normal;
    color: #000000;
    margin-top: 0;
    margin-bottom: 8px;
}

.vdb-rb-modal-filters-info .vdb-modal-content p {
    font-size: 13px;
    line-height: 16px;
    color: #000000;
    margin: 0;
}

/* ================================
     Animations
  ================================ */
@keyframes vdb-rb-fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes vdb-rb-slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ================================
     Responsive
  ================================ */
@media (max-width: 767px) {
    .vdb-rc-filter-bar-wrapper {
        max-width: 100%;
        gap: var(--space-sm);
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
}

@media (max-width: 576px) {
    .vdb-rb-modal-filters-info .vdb-rb-modal-content {
        width: 88%;
        max-height: 85vh;
    }

    .vdb-rb-modal-filters-info .vdb-rb-modal-header h4 {
        font-size: 16px;
    }

    .vdb-rb-modal-filters-info .vdb-modal-content p {
        font-size: 13px;
    }

    .vdb-rb-modal-filters-info .vdb-rb-modal-body {
        padding: 16px;
    }

    .vdb-rb-modal-filters-info .vdb-modal-image {
        margin-bottom: 16px;
    }
}

/* ================================
   Pagination summary (Figma: 328 results · Page 1 of 28)
================================ */

.vdb-rc-stone-plp .vdb-rb-product-pagination {
    justify-content: center;
}

.vdb-rc-stone-plp .vdb-rb-pagination-results {
    width: 100%;
    font-weight: var(--font-weight-regular);
}

.vdb-rc-stone-plp .vdb-rb-pagination-results .vdb-rc-pagination-results__results-label {
    text-transform: lowercase;
    font-weight: inherit;
    color: inherit;
}

.vdb-rc-stone-plp .vdb-rb-pagination-results .vdb-rc-pagination-results__page-label,
.vdb-rc-stone-plp .vdb-rb-pagination-results .vdb-rc-pagination-results__of-label {
    font-weight: inherit;
    color: inherit;
}

/* ================================
   Quiz Modal
================================ */

.vdb-rb-quize-block {
    width: 100%;
    height: 110px;
    background: linear-gradient(270.61deg, #FDFDFD 0.93%, #F6F6F6 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 2rem;
}

.vdb-rb-quize-block .vdb-rb-content {
    cursor: pointer;
    display: flex;
    gap: 1rem;
}

.vdb-rb-quize-block .vdb-rb-content svg {
    margin-top: 0.4rem;
}

.vdb-rb-quize-block .vdb-rb-content svg path {
    fill: var(--color-primary);
}

.vdb-rb-quize-block .vdb-rb-content h3 {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 24px;
    line-height: 36px;
    text-align: center;
    color: var(--color-primary);
    margin-bottom: 2px;
}

.vdb-rb-quize-block .vdb-rb-content p {
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    text-align: center;
    color: #585858;
}

.vdb-rb-modal-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: opacity 0.6s cubic-bezier(0.55, 0, 0.1, 1), visibility 0.6s cubic-bezier(0.55, 0, 0.1, 1);
    z-index: 9999;
    overflow-y: auto;
}

.vdb-rb-modal-overlay.vdb-rb-open-modal {
    opacity: 1;
    visibility: visible;
    /*max-height: calc(100vh - 80px);*/
    max-height: 100vh;
}


/* ================================
   Modal
================================ */
.vdb-rb-find-stone-modal {
    display: none;
    border-radius: 1rem;
    position: relative;
    margin: 0 auto;
    background-color: #fff;
    width: calc(700px - 48px);
    max-width: 560px;
    min-height: 383px;
    max-height: 475px;
    padding: 48px 24px 40px 24px;
    opacity: 0;
    overflow-y: auto;
    visibility: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: all 0.6s cubic-bezier(0.55, 0, 0.1, 1);
}

.vdb-rb-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    cursor: pointer;
}

.vdb-rb-back-button {
    position: absolute;
    top: 24px;
    left: 24px;
    cursor: pointer;
}

.vdb-rb-find-stone-modal .vdb-rb-close-find-stone-modal {
    position: absolute;
    cursor: pointer;
    top: 1rem;
    right: 1rem;
    opacity: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.vdb-rb-modal-content a:active,
.vdb-rb-modal-content a:focus-visible {
    outline: 0;
}

.vdb-rb-find-stone-modal .vdb-rb-modal-content {
    opacity: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: opacity 0.6s cubic-bezier(0.55, 0, 0.1, 1);
    transition-delay: 0.3s;
}

.vdb-rb-find-stone-modal.vdb-rb-open-modal {
    visibility: visible;
    opacity: 1;
    display: block;
}

@media screen and (min-width: 768px) {
    .vdb-rb-find-stone-modal.vdb-rb-find-best-diamonds-modal {
        max-width: 944px;
        width: 100%;
        min-height: 452px;
        /* height: 690px; */
        max-height: 690px;
    }
}

.vdb-rb-find-stone-modal.vdb-rb-open-modal .vdb-rb-modal-content {
    opacity: 1;
    padding: 1rem 0 0 0;
    height: 100%;
    overflow-y: auto;
    text-align: center;
}

.vdb-rb-find-stone-modal.vdb-rb-find-best-diamonds-modal .vdb-rb-modal-content {
    display: flex;
    flex-direction: column;
}

.vdb-rb-find-stone-modal.vdb-rb-open-modal .vdb-rb-modal-content h3 {
    margin: auto;
}

#vdb_rb_quiz_shape_modal .vdb-rb-modal-content h3 {
    margin-bottom: 1.5rem;
}

.vdb-rb-find-stone-modal.vdb-rb-open-modal .vdb-rb-close-find-stone-modal {
    opacity: 1;
}

/* Quiz modal progress stepper */
.vdb-rb-quiz-stepper {
    width: 100%;
    max-width: 338px;
    margin: 8px auto 32px;
    padding: 0;
}

.vdb-rb-quiz-stepper__list {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    list-style: none;
    margin: 0;
    padding: 0;
}

.vdb-rb-quiz-stepper__item {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

li.vdb-rb-quiz-stepper__item.vdb-rb-quiz-stepper__item--inactive .vdb-rb-quiz-stepper__icon path {
    fill: rgba(0, 0, 0, 0.16);
}

.vdb-rb-quiz-stepper__dot {
    position: relative;
    z-index: 1;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.vdb-rb-quiz-stepper__icon {
    display: block;
    width: 24px;
    height: 24px;
}

.vdb-rb-quiz-stepper__icon path {
    fill: var(--color-primary);
}

.vdb-rb-quiz-stepper__label {
    margin-top: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
    color: #9B9B9B;
}

.vdb-rb-quiz-stepper__item--active .vdb-rb-quiz-stepper__label {
    color: var(--color-primary-dark);
}

.vdb-rb-quiz-stepper__item--completed .vdb-rb-quiz-stepper__label {
    color: #585858;
}

.vdb-rb-quiz-stepper__line {
    position: absolute;
    top: 11px;
    left: calc(50% + 14px);
    width: calc(100% - 28px);
    height: 0;
    border-top: 1.5px dashed #D6D6D6;
    z-index: 0;
    pointer-events: none;
}

.vdb-rb-quiz-stepper__line--completed {
    border-top-color: var(--color-primary-dark);
}

.vdb-rb-modal-header .vdb-rb-modal-title {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vdb-rb-modal-header .vdb-rb-modal-title span {
    font-size: 24px;
}

.vdb-rb-modal-header .vdb-rb-modal-title p {
    font-family: var(--font-serif);
    align-items: center;
    font-style: normal;
    font-weight: 500;
    font-size: 21px;
    line-height: 32px;
    text-align: center;
    color: #585858;
}

.vdb-rb-modal-content h3 {
    color: #292735;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 18px;
}

/**
  * Mobile styling
  */

.vdb-rb-prefer-budget-wrapper,
.vdb-rb-prefer-shape-wrapper {
    max-width: 100%;
}

.vdb-rb-modal-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.vdb-rb-modal-content ul li {
    display: inline-block;
}

.vdb-rb-prefer-shape-wrapper ul {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.vdb-rb-prefer-shape-wrapper ul li {
    text-align: center;
}

.vdb-rb-prefer-shape-wrapper ul li .vdv-rb-item-title {
    font-size: 12px;
    margin: 5px 0 0;
}

.vdb-rb-prefer-shape-wrapper ul li a {
    color: #000;
}

.vdb-rb-prefer-shape-wrapper ul li a .vdb-rb-list-item {
    max-width: fit-content;
    box-sizing: border-box;
    min-width: 64px;
    width: 64px;
    height: 64px;
    background: #F7F7F7;
    border-radius: 8px;
    padding: 10px;
    border: 1px solid;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.vdb-rb-prefer-shape-wrapper ul li a:hover .vdb-rb-list-item {
    background: transparent;
}

.vdb-rb-prefer-shape-wrapper ul li a .vdb-rb-list-item {
    max-width: fit-content;
    box-sizing: border-box;
    min-width: 64px;
    width: 64px;
    height: 64px;
    background: #F7F7F7;
    border-radius: 8px;
    padding: 10px;
    border: 1px solid;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.vdb-rb-prefer-shape-wrapper ul li a .vdb-rb-list-item.vdb-rb-list-item-active {
    border-color: var(--color-primary);
    background: transparent;
}

.vdb-rb-prefer-shape-wrapper .vdb-rb-list-item .vdb-rb-icon {
    font-size: 40px;
}

.vdb-rb-title-with-back-button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.vdb-rb-title-with-back-button .vdb-rb-back-button {
    margin: 0;
    font-weight: var(--font-weight-medium);
    color: var(--color-primary);
}

.vdb-rb-title-with-back-button .vdb-rb-back-button>.vdb-rb-icon {
    font-size: 12px;
}

.vdb-rb-title-with-back-button h3 {
    margin-bottom: 0;
}

.vdb-rb-find-best-diamonds-modal .vdb-rb-title-with-back-button {
    justify-content: space-between;
    font-weight: bold;
    justify-content: center;
    background-color: #fff;
    padding-top: 8px;
    margin-top: auto;
    margin-bottom: 0;
}

.vdb-rb-find-best-diamonds-modal .vdb-rb-title-with-back-button a {
    color: var(--color-text-primary);
    font-weight: var(--font-weight-regular);
    font-size: var(--font-size-body);
    line-height: var(--line-height-body);
    display: flex;
    align-items: center;
}

.vdb-rb-find-best-diamonds-modal .vdb-rb-title-with-back-button a:last-child {
    border-left: 1px solid var(--color-primary);
    padding-left: 1rem;
    margin-left: 1rem;
}

.vdb-rb-find-best-diamonds-modal .vdb-rb-title-with-back-button .vdb-rb-back-button {
    font-weight: var(--font-weight-medium);
}

.vdb-rb-matters-block ul li a,
.vdb-rb-prefer-budget-wrapper ul li a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4px 8px;
    gap: 10px;
    background: #F0F0F0;
    border-radius: 8px;
    font-weight: var(--font-weight-regular);
    font-size: var(--font-size-body);
    line-height: var(--line-height-body);
    text-align: right;
    color: var(--color-text-primary);
    border: 1px solid transparent;
}

.vdb-rb-matters-block ul li.vdb-rb-list-item-active a,
.vdb-rb-prefer-budget-wrapper ul li.vdb-rb-list-item-active a {
    border-color: var(--color-primary);
}

.vdb-rb-matters-block ul li.vdb-rb-list-item-active a,
.vdb-rb-prefer-budget-wrapper ul li.vdb-rb-list-item-active a {
    border-color: var(--color-primary);
}

.vdb-rb-stones {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.vdb-rb-stones a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    height: 80px;
    width: 164px;
    border-radius: 4px;
    background-color: #E8F1F7;
    color: var(--color-primary);
    margin-right: 8px;
    border: 2px solid transparent;
}

.vdb-rb-stones .vdb_rb_quiz_stone {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4px 8px;
    gap: 10px;
    background: #F0F0F0;
    border-radius: 8px;
    border: 1px solid transparent;
    height: auto;
    width: max-content;
    cursor: pointer;
}

.vdb-rb-stones .vdb_rb_quiz_stone p {
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    text-align: right;
    color: #292735;
}

.vdb-rb-stones a.vdb-rb-list-item-active {
    border-color: var(--color-primary);
}

.vdb-rb-stones a.vdb-rb-list-item-active p {
    color: var(--color-primary);
}

.vdb-rb-stones .vdb-rb-icon {
    min-height: 32px;
    font-size: 32px;
    margin-bottom: 8px;
}

.vdb-rb-stones .vdb-rb-icon.vdb-rb-icon-LAB-Icon {
    font-size: 24px;
}

.vdb-rb-stones a p {
    font-size: 14px;
    letter-spacing: -0.47px;
    line-height: 14px;
    text-align: center;
    margin: 0;
}

.vdb-rb-matters-block {
    max-width: 100%;
}

.vdb-rb-best-diamond-list-loading svg {
    fill: var(--color-primary);
}

.vdb-rb-modal-content .vdb-rb-best-diamond-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    flex-wrap: wrap;
    gap: 1rem;
    min-height: 340px;
}

.vdb-rb-modal-content .vdb-rb-best-diamond-list .vdb-rb-no-results {
    grid-column: span 3;
}

.vdb-rb-list-product-item-block {
    width: 100%;
    height: max-content;
    max-height: 100%;
}

.vdb-rb-list-product-item-block .vdb-rb-list-product-item {
    width: 100%;
}

.vdb-rb-best-diamond-list .vdb-rb-list-product-item .vdb-rb-product-img-wrapper {
    width: 100%;
    height: 272px;
    overflow: hidden;
}

.vdb-rb-best-diamond-list .vdb-rb-list-product-item .vdb-rb-product-img-wrapper img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
}

.vdb-rb-best-diamond-list .vdb-rb-list-product-item .vdb-rb-product-details .vdb-rb-product-name {
    text-align: left;
    font-size: 15px;
    line-height: 20px;
    color: var(--color-text-primary);
}

.vdb-rb-best-diamond-list .vdb-rb-list-product-item .vdb-rb-product-details .vdb-rb-price-block h3 {
    font-size: 18px;
    line-height: 28px;
    color: var(--color-text-primary);
}

.vdb-rb-selected-diamond-button-wrapper {
    margin-top: 1rem;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.vdb-rb-selected-diamond-button-wrapper .vdb-rb-primary-btn {
    padding: 4px 16px;
    background: var(--color-primary);
    border-radius: 8px;
    font-weight: var(--font-weight-regular);
    font-size: var(--font-size-body);
    line-height: var(--line-height-body);
    color: var(--color-white);
}

.vdb-rb-selected-diamond-button-wrapper .vdbrb-add-to-cart-btn {
    font-weight: var(--font-weight-regular);
    font-size: var(--font-size-body);
    line-height: var(--line-height-body);
    color: var(--color-primary);
    text-align: center;
}

.vdb-rb-list-product-item>a {
    height: auto;
}

.vdb-rb-list-product-item .vdb-modal-btn {
    height: 32px;
    width: 100%;
    font-size: 14px;
    letter-spacing: 0;
    line-height: 22px;
    border-radius: 4px;
    margin: 0 0 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all ease-in-out 0.3s;
}

.vdb-rb-list-product-item .vdb-rb-primary-btn {
    color: #FFFFFF;
    background-color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.vdb-rb-list-product-item .vdb-rb-primary-btn-outline {
    color: var(--color-primary);
    background-color: transparent;
    border: 1px solid var(--color-primary);
}

.vdb-rb-no-results {
    min-height: 210px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* slider arrows */
.vdb-rc-stone-plp__shape-filter .slick-arrow {
    top: 38px;
    padding: 7px 9px;
    width: 24px;
    height: 24px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.04)), #FFFFFF;
    border-radius: 100px
}

.vdb-rc-stone-plp__shape-filter .slick-arrow:hover {
    background-color: transparent;
}

.vdb-rc-stone-plp__shape-filter .slick-arrow.slick-prev {
    left: -8px;
}

.vdb-rc-stone-plp__shape-filter .slick-arrow:before {
    content: none;
    font-size: 0;
}

.vdb-rc-stone-plp__shape-filter .slick-arrow.slick-next {
    transform: rotate(180deg);
    top: 26px;
    right: -8px;
}

body.vdb-rb-overflow-hidden {
    overflow: hidden;
}

@media screen and (max-width: 767px) {
    .vdb-rb-find-stone-modal {
        display: none;
        width: calc(100% - 30px);
        max-width: 100%;
        height: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 99;
        padding: 2rem 1rem;
    }

    .vdb-rb-modal-overlay.vdb-rb-open-modal {
        max-height: calc(100vh - 0px);
    }

    .vdb-rb-prefer-budget-wrapper,
    .vdb-rb-prefer-shape-wrapper {
        max-width: 100%;
    }

    .vdb-rb-quize-block {
        width: 100%;
        height: auto;
        padding: 1rem 0;
    }

    .vdb-rb-quize-block .vdb-rb-content {
        text-align: center;
        align-items: center;
        width: 100%;
        justify-content: center;
    }

    .vdb-rb-quize-block .vdb-rb-content h3 {
        font-size: 20px;
        line-height: 28px;
    }

    .vdb-rb-quize-block .vdb-rb-content p {
        font-size: 14px;
        margin-top: 5px;
    }

    .vdb-rb-prefer-shape-wrapper ul {
        margin: 0;
    }

    .vdb-rb-prefer-shape-wrapper ul li {
        flex: 0 0 calc(25% - 20px);
        /* SHOP-2823 */
        max-width: calc(25% - 20px);
    }

    .vdb-rb-modal-header .vdb-rb-modal-title p {
        font-size: 16px;
    }

    .vdb-rb-modal-header .vdb-rb-modal-title span {
        font-size: 14px;
        line-height: 1.3;
        width: 18px;
        height: 18px;
    }

    .vdb-rb-find-stone-modal .vdb-rb-close-find-stone-modal {
        top: 1rem;
        /* SHOP-2823 */
        right: 1rem;
    }

    .vdb-rb-tab-wrap .vdb-rb-tabbing {
        min-width: 31.5%;
    }

    .vdb-rb-stones a:last-child {
        margin-right: 0;
    }

    .vdb-rb-stones {
        justify-content: space-between;
        /* SHOP-2823 */
    }

    .vdb-rb-stones .vdb-rb-icon {
        font-size: 22px;
    }

    .vdb-rb-stones .vdb-rb-icon.vdb-rb-icon-LAB-Icon {
        font-size: 18px;
    }

    .vdb-rb-best-diamond-list {
        flex-wrap: wrap;
        overflow: auto;
        max-height: 320px;
        min-height: 320px;
    }

    .vdb-rb-list-product-item .vdb-modal-btn,
    .vdb-rb-best-diamond-list .vdb-rb-list-product-item .vdb-rb-product-img-wrapper {
        width: 100%;
    }

    .vdb-rb-best-diamond-list .vdb-rb-list-product-item .vdb-rb-product-details .vdb-rb-product-name {
        min-height: auto;
    }

    .vdb-rb-stones a.vdb_rb_quiz_stone {
        max-width: 100%;
        margin: 0 10px 12px;
        width: calc(100% - 10px);
    }

    .vdb-rb-modal-content ul li {
        width: 100%;
    }

    .vdb-rc-stone-plp__shape-filter .slide-wrapper {
        min-width: 72px;
    }

    .vdb-rc-product-card__spec-label,
    .vdb-rc-product-card__spec-value {
        font-size: var(--font-size-caption);
        line-height: 18px;
    }

    .vdb-rc-filter-bar-wrapper {
        max-width: 100%;
        gap: var(--space-sm);
    }

    .vdb-rc-stone-plp__filter-bar .vdb-rc-filter-bar-wrapper {
        max-width: calc(100% - 210px);
    }

    .vdb-rc-stone-plp__filter-bar .vdbrc_radiance_filter_section .vdb-rc-filter-bar-wrapper {
        max-width: calc(100% - 27px);
    }

    .vdb-rb-modal-filters-info .vdb-rb-modal-header {
        padding: 8px 16px;
    }

    .vdb-rc-stone-plp__shape-filter .slick-list {
        margin: 0 auto;
        max-width: 100%;
    }

    .vdb-rc-stone-plp__shape-filter .slick-slider {
        margin: 0;
    }

    .vdb-rc-stone-plp__shape-filter .slick-arrow.slick-prev {
        left: -28px;
    }

    .vdb-rc-stone-plp__shape-filter .slick-arrow.slick-next {
        right: -28px;
    }

    th.vdb-sorting_th.vdb-sorting_asc:before,
    th.vdb-sorting_th.vdb-sorting_desc:before,
    th.vdb-sorting_th.vdb-sorting_both:before,
    th.vdb-sorting_th.vdb-sorting_both::after {
        right: 10px;
    }

    .vdb-rb-modal-content .vdb-rb-best-diamond-list {
        grid-template-columns: repeat(1, 1fr);
        max-height: fit-content;
        gap: 0;
    }

    .vdb-rb-best-diamond-list .vdb-rb-list-product-item .vdb-rb-product-img-wrapper {
        height: auto;
    }

    .vdb-rb-find-stone-modal.vdb-rb-open-modal {
        max-height: calc(100vh - 14rem);
    }

    .vdb-rb-back-button,
    .vdb-rb-modal-close {
        top: 12px;
        right: 14px;
    }

}

/* SHOP-2823 */
@media screen and (max-width: 599px) {
    .vdb-rb-find-best-diamonds-modal .vdb-rb-title-with-back-button {
        left: 12px;
        right: 12px;
        bottom: 2px;
        /* SHOP-2823 */
    }
}

@media screen and (max-width: 425px) {

    .vdb-rc-stone-plp__shape-filter li a,
    .vdb-rc-stone-plp__shape-filter .vdb-slider__item button {
        width: 70px;
    }

    .vdb-rc-stone-plp__shape-filter .slide-wrapper {
        min-width: 70px;
    }
}

@media screen and (max-width: 399px) {

    .vdb-rc-stone-plp__shape-filter .slide-wrapper,
    .vdb-rc-stone-plp__shape-filter li a,
    .vdb-rc-stone-plp__shape-filter .vdb-slider__item button {
        width: 68px;
        min-width: 68px;
    }
}

@media screen and (max-width: 375px) {
    .vdb-rb-tab-wrap .vdb-rb-tabbing {
        min-width: 30%;
    }

    .vdb-rb-title-with-back-button .vdb-rb-back-button {
        margin-right: 12px;
    }

    .vdb-rb-stones a {
        max-width: 153px;
    }

    .vdb-rb-stones a.vdb_rb_quiz_stone {
        margin: 0 0px 12px;
    }

    .vdb-rc-stone-plp__shape-filter li a,
    .vdb-rc-stone-plp__shape-filter .vdb-slider__item button {
        width: 65px;
    }

    .vdb-rc-stone-plp__shape-filter .slide-wrapper {
        min-width: 64px;
        width: 64px;
    }
}


@media screen and (max-width: 360px) {
    .vdb-rb-tab-wrap .vdb-rb-tabbing {
        min-width: 31.2%;
    }

    .vdb-rb-prefer-shape-wrapper ul li {
        flex: 0 0 calc(33.3333% - 20px);
        /* SHOP-2823 */
        max-width: calc(33.3333% - 20px);
    }

    .vdb-rb-stones a {
        max-width: 146px;
    }
}