.product-display {
    display: flex;
    /*width: 60%;*/
}

.product-details {
    padding-top: 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    /*max-width: 500px;*/
}

.product-details #review-text {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

.product-details #review-rating {
    width: 20%;
    height: 40px;
}

.product-image {
    margin-right: 20px;
    width: 350px;
    flex: 0 0 350px;
}

.product-image .main-image-frame {
    width: 350px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
}

.product-image #main-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.product-small-images {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 5px;
}

.product-small-images .small-image {
    width: 75px;
    height: 75px;
    display: block;
    object-fit: cover;
    object-position: center;
    cursor: pointer;
}

.product-info {
    /*max-width: 500px;*/
    padding-left: 30px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

.product-info h2 {
    color: #f35b04;
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
}

.product-info span {
    color: #f35b04;
}

.product-info .product-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 8px 0 6px;
}

.product-info .product-price strong {
    color: #2f3437;
    font-size: 16px;
}

.product-info .product-price,
.product-info .product-price span,
.product-info .product-price bdi {
    color: #f35b04;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.product-info button {
    background: #47767E;
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
    font-size: 14px;
}

.product-info .add-affiliation {
    background: #47767E !important;
    border: none !important;
    color: #ffffff !important;
    opacity: 1 !important;
}

.product-info .add-affiliation[disabled],
.product-info .add-affiliation.is-processing {
    background: #47767E !important;
    color: #ffffff !important;
    cursor: wait !important;
    opacity: 0.82 !important;
}

.product-info .add-affiliation.is-complete,
.product-info .add-affiliation.is-complete[disabled] {
    background: #15803d !important;
    color: #ffffff !important;
    cursor: default !important;
    opacity: 1 !important;
}

.product-info button:hover {
    background: #f35b04;
}

.product-info .add-affiliation:hover:not(.is-complete) {
    background: #f35b04 !important;
}

.product-details #reviews input{
    background: #47767E;
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
    font-size: 14px;
}

.product-details #reviews input:hover {
    background: #f35b04;
}

.grpms-productdisplay-popup-overlay {
    align-items: center;
    background: rgba(8, 22, 25, 0.62);
    backdrop-filter: blur(3px);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 24px;
    position: fixed;
    z-index: 999999;
}

.grpms-productdisplay-popup-box {
    background: #ffffff;
    border: 1px solid rgba(71, 118, 126, 0.22);
    border-left: 5px solid #47767E;
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
    color: #2f3437;
    font-family: 'Poppins', sans-serif;
    max-width: 460px;
    min-width: min(360px, calc(100vw - 48px));
    padding: 28px 28px 24px;
    position: relative;
    text-align: center;
}

.grpms-productdisplay-popup-box.error {
    border-left-color: #d93025;
}

.grpms-productdisplay-popup-box.success {
    border-left-color: #15803d;
}

.grpms-productdisplay-popup-icon {
    align-items: center;
    background: rgba(71, 118, 126, 0.12);
    border-radius: 50%;
    color: #47767E;
    display: inline-flex;
    font-size: 24px;
    font-weight: 800;
    height: 46px;
    justify-content: center;
    margin-bottom: 14px;
    width: 46px;
}

.grpms-productdisplay-popup-icon::before {
    content: "i";
}

.grpms-productdisplay-popup-box.error .grpms-productdisplay-popup-icon {
    background: rgba(217, 48, 37, 0.12);
    color: #d93025;
}

.grpms-productdisplay-popup-box.error .grpms-productdisplay-popup-icon::before {
    content: "!";
}

.grpms-productdisplay-popup-box.success .grpms-productdisplay-popup-icon {
    background: rgba(21, 128, 61, 0.12);
    color: #15803d;
}

.grpms-productdisplay-popup-box.success .grpms-productdisplay-popup-icon::before {
    content: "\2713";
}

.grpms-productdisplay-popup-box p {
    color: #2f3437;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.55;
    margin: 0 0 20px;
}

.grpms-productdisplay-popup-btn {
    background: #47767E;
    border: 0;
    border-radius: 6px;
    color: #ffffff;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 800;
    min-width: 96px;
    padding: 10px 18px;
}

.grpms-productdisplay-popup-btn:hover {
    background: #f35b04;
}

.grpms-productdisplay-popup-close {
    background: transparent;
    border: 0;
    color: #71848a;
    cursor: pointer;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    padding: 6px;
    position: absolute;
    right: 12px;
    top: 10px;
}

body.dark-theme .grpms-productdisplay-popup-box {
    background: #203236;
    border-color: rgba(199, 244, 234, 0.24);
    color: #eefbf8;
}

body.dark-theme .grpms-productdisplay-popup-box p {
    color: #eefbf8;
}

body.dark-theme .grpms-productdisplay-popup-close {
    color: #b7d8d3;
}

.product-tabs ul {
    list-style: none;
    padding-left: 0;
    padding-bottom: 15px;
}
.product-tabs ul li {
    display: inline;
    margin-right: 15px;
}

.product-tabs ul li a {
    color: #47767E;
}

.tab-content {
    display: none;
    font-size: 13px;
}
.tab-content:target {
    display: block;
}

#commission table {
    font-size: 12px;
}

#commission table thead {
    background-color: #47767E;
    color: #fff;
    text-align: left;
    font-weight: bold;
    font-size: 12px !important;
}

html.grpms-product-display-modal-frame.dark-theme body,
body.grpms-product-display-modal-frame.dark-theme,
html.grpms-product-display-modal-frame.dark-theme .site,
body.grpms-product-display-modal-frame.dark-theme .site,
html.grpms-product-display-modal-frame.dark-theme .site-content,
body.grpms-product-display-modal-frame.dark-theme .site-content,
html.grpms-product-display-modal-frame.dark-theme .content-area,
body.grpms-product-display-modal-frame.dark-theme .content-area,
html.grpms-product-display-modal-frame.dark-theme .site-main,
body.grpms-product-display-modal-frame.dark-theme .site-main,
html.grpms-product-display-modal-frame.dark-theme main,
body.grpms-product-display-modal-frame.dark-theme main,
html.grpms-product-display-modal-frame.dark-theme .entry-content,
body.grpms-product-display-modal-frame.dark-theme .entry-content,
html.grpms-product-display-modal-frame.dark-theme .page-content,
body.grpms-product-display-modal-frame.dark-theme .page-content,
html.grpms-product-display-modal-frame.dark-theme .elementor,
body.grpms-product-display-modal-frame.dark-theme .elementor,
html.grpms-product-display-modal-frame.dark-theme .elementor-section,
body.grpms-product-display-modal-frame.dark-theme .elementor-section,
html.grpms-product-display-modal-frame.dark-theme .elementor-container,
body.grpms-product-display-modal-frame.dark-theme .elementor-container,
html.grpms-product-display-modal-frame.dark-theme .elementor-widget-wrap,
body.grpms-product-display-modal-frame.dark-theme .elementor-widget-wrap,
html.grpms-product-display-modal-frame.dark-theme .elementor-widget-container,
body.grpms-product-display-modal-frame.dark-theme .elementor-widget-container,
html.grpms-product-display-modal-frame.dark-theme .elementor-shortcode,
body.grpms-product-display-modal-frame.dark-theme .elementor-shortcode {
    background: #17282d !important;
    color: #c7f0e4 !important;
}

html.grpms-product-display-modal-frame.dark-theme .product-details,
body.grpms-product-display-modal-frame.dark-theme .product-details,
html.grpms-product-display-modal-frame.dark-theme .product-info,
body.grpms-product-display-modal-frame.dark-theme .product-info,
html.grpms-product-display-modal-frame.dark-theme .product-info p,
body.grpms-product-display-modal-frame.dark-theme .product-info p,
html.grpms-product-display-modal-frame.dark-theme .product-info strong,
body.grpms-product-display-modal-frame.dark-theme .product-info strong,
html.grpms-product-display-modal-frame.dark-theme .product-details p,
body.grpms-product-display-modal-frame.dark-theme .product-details p,
html.grpms-product-display-modal-frame.dark-theme .tab-content,
body.grpms-product-display-modal-frame.dark-theme .tab-content {
    color: #c7f0e4 !important;
}

html.grpms-product-display-modal-frame.dark-theme .product-info .product-price strong,
body.grpms-product-display-modal-frame.dark-theme .product-info .product-price strong {
    color: #c7f0e4 !important;
}

html.grpms-product-display-modal-frame.dark-theme .product-tabs ul,
body.grpms-product-display-modal-frame.dark-theme .product-tabs ul {
    border-bottom-color: rgba(199, 240, 228, 0.22) !important;
}

html.grpms-product-display-modal-frame.dark-theme .product-tabs ul li a,
body.grpms-product-display-modal-frame.dark-theme .product-tabs ul li a {
    background: #203236 !important;
    border-color: rgba(199, 240, 228, 0.22) !important;
    color: #c7f0e4 !important;
}

html.grpms-product-display-modal-frame.dark-theme .product-tabs ul li a.active,
body.grpms-product-display-modal-frame.dark-theme .product-tabs ul li a.active,
html.grpms-product-display-modal-frame.dark-theme .product-tabs ul li a:hover,
body.grpms-product-display-modal-frame.dark-theme .product-tabs ul li a:hover {
    color: #f35b04 !important;
}

html.grpms-product-display-modal-frame.dark-theme .tab-content,
body.grpms-product-display-modal-frame.dark-theme .tab-content,
html.grpms-product-display-modal-frame.dark-theme #commission table,
body.grpms-product-display-modal-frame.dark-theme #commission table,
html.grpms-product-display-modal-frame.dark-theme #commission table td,
body.grpms-product-display-modal-frame.dark-theme #commission table td {
    background: #203236 !important;
    border-color: rgba(199, 240, 228, 0.18) !important;
    color: #c7f0e4 !important;
}
