
@media (max-width: 1199px) and (min-width: 992px) {
    .shape-detail img {
        /* margin: 0px auto 10px; */
        padding: 0px 0px;
        width: 70px;
    }

    .cover .child .shape-detail p {

        font-size: 11px;

    }

    .cover .child {
        WIDTH: 80PX;

    }
}

.buttons {
    display: flex;
    flex-direction: row;
    gap: 2px;
    align-items: center;
}

.icon-bg svg {
    transform: scaleX(-1);
}

.status-btn {
    appearance: none;
    border: 1px solid;
    background: #ffffff;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
    font-family: "Montserrat", Arial, sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    line-height: 1;
    cursor: default;
    white-space: nowrap;
}

.buttons svg {
    display: block;
    flex-shrink: 0;
}

/* READY TO SHIP */
.ready-btn {

    font-size: 9px;

    background-color: #FFF;
    border-radius: 100px;
    padding: 0px 6px;
    text-transform: uppercase;
    box-shadow: 0px 0px 12px 3px #eee;
    white-space: nowrap;
    height: 22px;
    line-height: normal;
    display: flex;
    justify-content: center;
    align-items: center;

    font-weight: 700;
    letter-spacing: 1px;
    color: #1f8642;
    border-color: #1f8642;

}

.buttons.r_t_s svg path,
.buttons.r_t_s svg circle {
    color: #1f8642;
    border-color: #1f8642;
    fill: #1f8642 !important;
}

.buttons .icon-bg {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #eef6ee;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.buttons.m_T_o svg path {
    color: #df7027;
    border: 1px solid #df7027;
    fill: #df7027 !important;
}

/* MADE TO ORDER */
.order-btn {

    font-size: 9px;

    background-color: #FFF;
    border-radius: 100px;
    padding: 0px 6px;
    text-transform: uppercase;
    box-shadow: 0px 0px 12px 3px #eee;
    white-space: nowrap;
    height: 22px;
    line-height: normal;
    display: flex;
    justify-content: center;
    align-items: center;

    font-weight: 700;
    letter-spacing: 1px;
    color: #df7027;
    border-color: #df7027;

}

.buttons .icon-border {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    flex-shrink: 0;
    background: #f6862624;
}

.stock_bubble_wrapper {
    position: absolute;
    bottom: 13px;
    left: 5px;
}

#top-filter-jewelry .d-block-active {
    display: none;
}

.three_d_line_iframe {

    width: 100%;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    color: #585858;

}

#top-filter-jewelry .d-none-non-active {
    display: block;
    position: absolute;
    /* background: red; */
    width: 100%;
    top: 0;
    height: 600px;
    z-index: 9;
}

#compare-stock button.wish.btn {
    width: auto !important;
    margin-right: 10px !important;
    border-radius: 4px !important;

}

.scroll-images {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    white-space: nowrap;
}

.scroll-images>* {
    flex: 0 0 auto;
}


.cover button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== JIS Show Bubble ===== */

.stock_bubble_wrapper {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    flex-direction: column;
    align-items: stretch !important;
    gap: 0;
    padding: 0;
}

.stock_bubble_wrapper [id^="stock_bubble_"] {
    align-self: flex-start;
    margin: 0 0 8px 8px;
}

.stock_bubble_wrapper [id^="stock_bubble_"]:empty,
.stock_bubble_wrapper .closeout_row:empty {
    display: none;
}

.stock_bubble_wrapper .closeout_row {
    display: block;
    width: 100%;
}

.stock_bubble_wrapper .closeout_row .jis-strip {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    color: #f37021;
    border: 1.5px solid #f37021;
    border-radius: 0 0 6px 6px;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.4;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
}

/* ===== End JIS Show Bubble ===== */

/* ---------- ITEM# search dropdown (same behaviour as header search) ---------- */
.item-search-wrap {
    position: relative;
    width: 100%;
}

.item-search-wrap .item-search-input {
    width: 100%;
}

.item-sug-box {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1050;
    width: 100%;
    min-width: 320px;
    max-height: 420px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #eadfd5;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    margin-top: 4px;
    text-align: left;
}

.item-sug-box .isg-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #9a8c80;
    margin: 8px 10px 4px;
}

.item-sug-box .isg-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.item-sug-box .isg-item {
    padding: 6px 10px;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.item-sug-box .isg-item i {
    color: #c4b8ad;
    width: 14px;
}

.item-sug-box .isg-item:hover,
.item-sug-box .isg-item.active {
    background: #fff3e8;
}

.item-sug-box mark {
    background: none;
    color: #f68626;
    font-weight: 700;
    padding: 0;
}

.item-sug-box .isg-prod {
    display: flex;
    gap: 10px;
    padding: 6px 10px;
    cursor: pointer;
    border-top: 1px solid #f5efe9;
}

.item-sug-box .isg-prod:hover {
    background: #fff3e8;
}

.item-sug-box .isg-prod img {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.item-sug-box .isg-prod p {
    margin: 0;
    line-height: 1.35;
    font-size: 12px;
}

.item-sug-box .isg-code {
    font-weight: 700;
    color: #333;
}

.item-sug-box .isg-meta {
    color: #888;
}

.item-sug-box .isg-price {
    color: #f68626;
    font-weight: 600;
}

.item-sug-box .isg-badge {
    font-size: 9px;
    font-weight: 700;
    border-radius: 10px;
    padding: 1px 6px;
    margin-left: 4px;
}

.item-sug-box .isg-rts {
    color: #1f8642;
    border: 1px solid #1f8642;
}

.item-sug-box .isg-mto {
    color: #df7027;
    border: 1px solid #df7027;
}

.item-sug-box .isg-empty,
.item-sug-box .isg-loading {
    padding: 10px;
    font-size: 13px;
    color: #888;
    margin: 0;
}

.item-sug-box .isg-all {
    display: block;
    padding: 8px 10px;
    font-size: 12px;
    color: #f68626;
    border-top: 1px solid #f5efe9;
    cursor: pointer;
}

/* ===== Jewelry Diamond Shape (same shapes as diamond page) ===== */
.jewelry-shape-filter .dia-shapes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-start;
    padding: 0;
}

.jewelry-shape-filter .dia-shapes li {
    position: relative;
    cursor: pointer;
    width: 58px;
    text-align: center;
}

.jewelry-shape-filter .dia-shapes li input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
    margin: 0;
}

.jewelry-shape-filter .dia-shapes li img {
    width: 44px;
    height: 44px;
}

.jewelry-shape-filter .dia-shapes li .black-images {
    display: none;
}

.jewelry-shape-filter .dia-shapes li.active-shape .white-images {
    display: none;
}

.jewelry-shape-filter .dia-shapes li.active-shape .black-images {
    display: inline-block;
}

.jewelry-shape-filter .dia-shapes li p {
    font-size: 10px;
    margin: 2px 0 0;
}

/* ===== End Jewelry Diamond Shape ===== */

/* ===== Collapse empty filter columns (fix blank gaps) ===== */
.filter-col-empty {
    display: none !important;
}

/* ===== Diamond Shapes with images (same images as diamond page), name under each shape =====
   Kept right here next to the markup so it travels with this block.
   Sibling selectors only (no :has), and !important so the site's
   .border / .active-filter / .custom_text / image rules can't override it. */
#eng_diamond_shapes_section ul {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    gap: 4px;
    padding: 0 !important;
}

#eng_diamond_shapes_section ul li {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    width: 60px !important;
    min-width: 60px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 2px 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: center !important;
    cursor: pointer;
}

/* checkbox covers the whole tile, so the existing click/change handlers keep working */
#eng_diamond_shapes_section ul li input[type="checkbox"] {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    opacity: 0 !important;
    cursor: pointer;
    z-index: 2 !important;
}

#eng_diamond_shapes_section ul li img {
    position: static !important;
    width: 40px !important;
    height: 40px !important;
    max-width: none !important;
    margin: 0 auto !important;
    object-fit: contain;
}

/* not selected: outline image */
#eng_diamond_shapes_section ul li .white-images {
    display: block !important;
}

#eng_diamond_shapes_section ul li .black-images {
    display: none !important;
}

/* selected: filled image, same as the diamond page */
#eng_diamond_shapes_section ul li input:checked~.white-images {
    display: none !important;
}

#eng_diamond_shapes_section ul li input:checked~.black-images {
    display: block !important;
}

/* shape name below the image: hidden by default (space kept, so nothing jumps),
   shown on hover and while the shape is selected - same as the diamond page */
#eng_diamond_shapes_section ul li label {
    visibility: hidden !important;
    position: static !important;
    display: block !important;
    width: 100% !important;
    margin: 3px 0 0 !important;
    padding: 0 !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    text-align: center !important;
    color: #333 !important;
    background: transparent !important;
    transform: none !important;
}

/* shown on hover */
#eng_diamond_shapes_section ul li:hover label {
    visibility: visible !important;
    opacity: 1 !important;
}

/* shown while selected. Two hooks: the checkbox state, and the .shape-checked class
   set by the small script below (covers the case where the site's filter script
   styles the active label itself, e.g. white text for its orange buttons) */
#eng_diamond_shapes_section ul li input:checked~label,
#eng_diamond_shapes_section ul li.shape-checked label {
    visibility: visible !important;
    opacity: 1 !important;
    color: #333333 !important;
    -webkit-text-fill-color: #333333 !important;
    font-weight: 600 !important;
    font-size: 11px !important;
    text-indent: 0 !important;
    height: auto !important;
    overflow: visible !important;
    clip: auto !important;
}

/* ===== End Diamond Shapes ===== */


/* ===== End Collapse empty filter columns ===== */
