/* Flatsome may render empty image-tool layers over the product link. */
body #wrapper .product-small .box-image > .image-tools {
    pointer-events: none !important;
}

body #wrapper .product-small .box-image > .image-tools:not(:has(*)) {
    display: none !important;
}

body #wrapper .product-small .box-image > .image-tools :is(a, button, input) {
    pointer-events: auto !important;
}

body .product-small .box-image > .grid-tools:has(> a.quick-view) {
    display: block !important;
    inset: auto 8px 8px auto !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 0 !important;
    visibility: visible !important;
    transform: none !important;
    background: transparent !important;
    pointer-events: none;
}

body .product-small .box-image > .grid-tools > a.quick-view {
    position: static !important;
    inset: auto !important;
    width: auto !important;
    height: auto !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    border: 1px solid #d5bc96;
    border-radius: 9px !important;
    background: #fffdf8 !important;
    color: #4a2e1b !important;
    box-shadow: 0 2px 7px rgb(25 16 12 / 20%);
    font-size: 12px !important;
    white-space: nowrap;
    pointer-events: auto;
}

body #wrapper .product-small .box-image > .grid-tools > a.quick-view {
    pointer-events: none !important;
}

body .product-small:is(:hover, :focus-within) .box-image > .grid-tools:has(> a.quick-view) {
    opacity: 1 !important;
}

body #wrapper .product-small:is(:hover, :focus-within) .box-image > .grid-tools > a.quick-view {
    pointer-events: auto !important;
}

@media (max-width: 849px), (hover: none), (pointer: coarse) {
    body #wrapper .product-small .box-image > .grid-tools:has(> a.quick-view) {
        display: none !important;
    }
}

body .product-small .box-image > .grid-tools > a.quick-view:hover {
    background: #f5e7d2 !important;
}

body .product-small .box-image > .grid-tools > a.quick-view:focus-visible {
    outline: 3px solid #292019;
    outline-offset: 2px;
}

#size-reference,
#consult,
#chon-loai-ban-tho,
#product-categories,
#product-lines,
#spiritual-accessories {
    scroll-margin-top: 105px;
}

.dtgbt-altar-choices {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 14px auto 18px;
    padding-inline: 12px;
}

.dtgbt-altar-choices a,
.dtgbt-quick-detail,
.dtgbt-quick-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 6px 12px;
    border: 1px solid #dbc8a9;
    border-radius: 8px;
    color: #4a2e1b;
    background: #fffdf8;
    font-weight: 700;
}

.dtgbt-quick-actions {
    margin-top: 12px;
}

.dtgbt-quick-actions a {
    margin: 0 4px 6px 0;
}

.dtgbt-quick-actions .dtgbt-quick-contact {
    background: #0b5ac4;
    border-color: #0b5ac4;
    color: #fff;
}

.dtgbt-quick-actions p,
.dtgbt-contact-sku {
    margin: 0 0 8px;
    font-size: .9em;
}

.product-summary .dtgbt-buy-support-actions {
    margin: 10px 0 16px;
}

.dtgbt-footer-contact a {
    color: inherit;
    text-decoration: underline;
}

@media (max-width: 549px) {
    .product-summary .dtgbt-buy-support-actions {
        gap: 7px;
    }

    .product-summary .dtgbt-buy-support-actions a {
        font-size: 13px;
        padding: 6px;
    }
}

body > .dtgbt-conversion-nav {
    z-index: 990;
}


.dtgbt-shopping-paths {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0 0;
    text-align: left;
}

.dtbt-intro .dtgbt-shopping-paths a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding: 11px 14px;
    min-height: 52px;
    border: 1px solid #d9c7ab;
    border-radius: 10px;
    color: #4a2e1b;
    background: #fffaf1;
    line-height: 1.4;
}

.dtbt-intro .dtgbt-shopping-paths a:is(:hover, :focus-visible) {
    background: #f5ead8;
}

.dtgbt-shopping-paths strong {
    font-size: 15px;
    text-decoration: underline;
    text-underline-offset: .16em;
}

.dtgbt-shopping-paths span {
    font-size: 13px;
    color: #5e4c3c;
}

.product-small .dtgbt-loop-sku {
    display: none;
}

@media (max-width: 849px) {
    .product-small .dtgbt-loop-sku {
        display: block;
        margin: 5px 0 0;
        color: #5e4c3c;
        font-size: 12px;
        line-height: 1.4;
    }
}

@media (max-width: 649px) {
    .dtgbt-shopping-paths {
        grid-template-columns: minmax(0, 1fr);
        gap: 7px;
    }
}
