.no-negative-margin {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.product-image-grid {
    width: 100%;
    background-color: #f8f8f8;
    min-height: 300px;
    border-radius: 58px;
}

.product-image-grid-sticky {
    position: sticky;
    top: 90px;
}

.product-image-grid .product-slider {
    width: 100%;
    height: auto;
    border-top-left-radius: 50px;
}

.product-image-grid .product-slider .product-image-carousel .product-slide-image {
    border-bottom-left-radius: 50px;
    overflow: hidden;
}
.product-slider,
.owl-carousel,
.item {
    display: block; /* must not be none */
}
.product-slide-image img {
    width: 100%;
    height: auto;
    display: block;
}
.product-image-grid .product-slider .owl-carousel .owl-dots {
    position: absolute;
    bottom: 30px;
    right: 0px;
    left: 0px;
    transform: translateX(30%);
}

.product-image-grid .product-slider .owl-carousel .owl-dots .owl-dot {
    border: none;
    width: 8px;
    height: 8px;
    background: #cecece;
    margin: 0 2px;
    border-radius: 20px
}

.product-image-grid .product-slider .owl-dot.active {
    background: #333 !important;
}

.owl-carousel .owl-nav {
    position: absolute;       /* overlay arrows */
    top: 50%;                 /* vertical center */
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between; /* left and right arrows at edges */
    transform: translateY(-50%);    /* correct vertical centering */
    pointer-events: none;            /* allow clicks only on arrows */
}

.owl-carousel .owl-nav button {
    pointer-events: all;            /* enable clicking */
    background: rgba(0,0,0,0.5);    /* semi-transparent background */
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.owl-carousel .owl-nav button.owl-prev {
    margin-left: 10px;   /* adjust spacing from left */
}

.owl-carousel .owl-nav button.owl-next {
    margin-right: 10px;  /* adjust spacing from right */
}

.product-image-grid .threeD-viewer-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: grab;
    position: relative;
    background-color: #fff;
    border-top-right-radius: 50px;
}

.product-image-grid .threeD-viewer-container #threeD-viewer-image {
    width: 100%;
    height: auto;
    user-select: none;
    -webkit-user-drag: none;
}

.product-image-grid .threeD-viewer-container #threeD-diamond-viewer-image {
    width: 100%;
    height: auto;
    user-select: none;
    -webkit-user-drag: none;
}

.product-image-grid .threeD-viewer-container .threeD-loading-indicator {
    position: absolute;
    bottom: 30px;
    right: 0px;
    left: 0px;
    transform: translateX(45%);
    display: none;
}

.product-image-grid .product-zoom-image-card {
    width: 100%;
    height: auto;
    overflow: hidden;
    cursor: zoom-in;
    position: relative;
    background-color: #fff;
}

.product-image-grid .product-no-zoom-image-card {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
    background-color: #fff;
}

.product-image-grid .product-zoom-image-card.top-radius,
.product-image-grid .product-no-zoom-image-card.top-radius,
.product-image-grid .threeD-viewer-container.top-radius {
    border-top-left-radius: 50px;
}

.product-image-grid .threeD-viewer-container.no-left-top-radius {
    border-top-right-radius: 0px !important;
}

.product-image-grid .product-zoom-image-card.bottom-radius,
.product-image-grid .product-no-zoom-image-card.bottom-radius {
    border-bottom-right-radius: 50px;
}

.product-image-grid .product-zoom-image {
    transition: transform 0.3s ease;
    width: 100%;
    height: auto;
}

.product-zoom-image.zoomed {
    transform: scale(2);
    /* Zoom level */
    cursor: zoom-out;
}

.product-certificate-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.product-certificate-card .lab-certificate {
    font-weight: 600;
    color: #937d67;
    margin: 10px 0px;
}

.product-certificate-card .view-certificate {
    text-decoration: underline;
    color: var(--text-color);
}

.product-certificate-image {
    max-width: 150px;
    height: 150px;
}

.product-details-card {
    margin-left: 20px;
}

.product-details .product-name {
    font-size: 24px;
    font-weight: 600;
}

.product-details .product-price {
    font-size: 20px;
    font-weight: 600;
}

.product-details .product-details-share {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.product-details .product-details-share p {
    font-size: 12px;
}

.product-details .product-details-share i {
    font-size: 25px;
}

.product-details .product-description {
    font-size: 13px;
    width: 90%;
}

.dropdown-btn-metal,
.dropdown-btn-shape,
.dropdown-btn-size {
    padding: 5px 7px;
    font-size: 13px;
    cursor: pointer;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-btn-lable {
    font-weight: 600;
}

.dropdown-btn-lable span {
    font-weight: 400 !important;
}

.dropdown-btn-metal i,
.dropdown-btn-shape i,
.dropdown-btn-size i {
    font-size: 10px;
}

.dropdown-btn-metal:hover,
.dropdown-btn-shape:hover,
.dropdown-btn-size:hover {
    background-color: #f9f9f9;
}

.dropdown-content-metal,
.dropdown-content-shape,
.dropdown-content-size {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 180px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    border-radius: 6px;
    z-index: 100;
    margin-top: 0.5rem;
    border: 1px solid #ddd;
}

.dropdown-content-metal .dropdown-option img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    border-radius: 15px;
    border: 1px solid #777;
}

.dropdown-option {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 6px 8px;
    border: 1px solid #eee;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 0.5rem;
}

.dropdown-option:hover {
    background-color: #f0f0f0;
}

.dropdown-content-shape {
    display: none;
    min-width: 250px;
    left: 0px;
}

.dropdown-content-shape .dropdown-content-shape-wrapper .dropdown-option {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    gap: 10px;
    padding: 6px 8px;
    border: 1px solid #eee;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 0rem;
}

.dropdown-content-shape .dropdown-content-shape-wrapper .dropdown-option:nth-child(even) {
    margin-right: 0;
}

.dropdown-content-shape .dropdown-content-shape-wrapper .dropdown-option:last-child {
    flex: 1 1 100%;
    max-width: none;
    margin-right: 0;
}

.dropdown-content-shape .dropdown-content-shape-wrapper .dropdown-option img {
    width: 80px;
    height: 40px;
    object-fit: contain;
    border-radius: 15px;
}

.dropdown-content-shape .dropdown-content-shape-wrapper .filtertext1 {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-color);
}

.dropdown-content-shape .dropdown-content-shape-wrapper .filtertext2 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-color);
}

.dropdown-btn-shape .dropdown-btn-shape-icon {
    width: 20px;
    height: 20px;
    text-align: center;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.dropdown-btn-shape .dropdown-btn-shape-icon img {
    width: 40px;
    height: auto;
}

.dropdown-option img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 15px;
}

.product-details-button-card {
    margin: 35px 0px;
}

.product-details-button-card .move-next-button {
    display: inline-block;
    text-decoration: none;
    background-color: #333;
    color: #fff;
    border: 2px solid #333;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s ease-in-out;
    font-size: 16px;
    text-align: center;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.product-details-button-card .buy-only-button {
    background-color: #fff;
    color: #333;
    padding: 8px;
    font-size: 16px;
    border-radius: 35px;
    border: 2px solid #333;
    text-align: center;
    width: 100%;
    padding: 8px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-details-button-card .buy-only-button span {
    font-size: 10px;
}

.product-features-container {
    gap: 50px;
    padding: 20px;
    text-align: center;
    margin-bottom: 25px;
}

.product-features-container .feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-features-container .feature-item i {
    font-size: 30px;
    margin-bottom: 10px;
}

.product-features-container .feature-item p {
    margin: 0;
    font-size: 14px;

}

.setting-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.setting-card .setting-card-header {
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: bold;
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
}

.setting-card .icon-clock {
    margin-right: 10px;
    color: gray;
}

.setting-card .setting-section {
    background: #f8f9fb;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.setting-card .section-header {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: gray;
    font-weight: bold;
}

.setting-card .icon-width,
.setting-card .icon-profile,
.setting-card .icon-metal {
    margin-right: 5px;
}

.setting-card .section-value {
    font-size: 18px;
    font-weight: bold;
    color: black;
    margin-top: 5px;
}

.setting-card .section-description {
    font-size: 12px;
    color: gray;
}

.setting-card .metal-composition {
    padding: 10px;
}

.setting-card .extras-link {
    font-size: 12px;
    color: #007bff;
    cursor: pointer;
    text-align: right;
    margin-top: 10px;
}

.setting-card .extras-link:hover {
    text-decoration: underline;
}

.setting-card .composition-chart {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.setting-card .chart-item {
    min-width: 110px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.setting-card .circle-shape {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

.setting-card .gold-color {
    background-color: gold;
}

.setting-card .copper-color {
    background-color: #b87333;
}

.setting-card .silver-color {
    background-color: silver;
}

.setting-card .zinc-color {
    background-color: #c0c0c0;
}

.custom-accordion-wrapper {
    margin: 20px 0px;
}

.custom-accordion-wrapper .accordion-flush .accordion-item {
    /* border: none; */
    margin-bottom: 10px;
}

.custom-accordion-wrapper .accordion-flush .accordion-item .accordion-button:not(.collapsed) {
    border-radius: 15px;
    background: #f8f8f8;
    color: var(--text-color);
}

.custom-accordion-wrapper .accordion-button:focus {
    border: none;
    box-shadow: none;
}

.recommended-heading {
    font-weight: 600;
    margin-bottom: 15px;
}

@media (max-width: 997px) {
    .product-image-grid {
        border-radius: 25px;
    }

    .product-image-grid .product-slider .carousel-inner {
        border-top-left-radius: 21px;
        border-bottom-left-radius: 21px;
    }

    .product-image-grid .threeD-viewer-container {
        border-top-right-radius: 21px;
        border-bottom-right-radius: 21px;
    }

    .product-details-card {
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .product-image-grid {
        border-radius: 25px;
    }

    .product-image-grid .product-slider .carousel-inner {
        border-top-left-radius: 21px;
        border-top-right-radius: 21px;
        border-bottom-left-radius: 0px;
    }

    .product-image-grid .threeD-viewer-container {
        border-top-left-radius: 0px !important;
        border-top-right-radius: 0px;
        border-bottom-left-radius: 21px;
        border-bottom-right-radius: 21px;
    }

    .product-image-grid .product-slider .product-image-carousel .product-slide-image {
        border-top-left-radius: 21px;
        border-top-right-radius: 21px;
        border-bottom-left-radius: 0px !important;

    }

    .product-details-card {
        margin-top: 20px;
    }
}

.product-details-card .product-details .product-quality {
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-details-card .product-details .product-quality span {
    font-size: 16px;
    font-weight: 600;
}

.product-details-card .product-details-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f7f7f7;
    padding: 15px 20px;
    border-radius: 15px;
    border: 1px solid #888;
}

.product-details-card .product-details-strip-icon {
    width: 40px;
    height: 40px;
}