/* Global styles */
.rf-spin-comparator-button {
    color: #bb2018;
    margin-left: 5px;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-family: "Montserrat";
    text-transform: uppercase;
    font-weight: 500;
    line-height: normal;
/*text-decoration: underline;
    text-underline-offset: 2px;*/
}

.btn.rf-spin-comparator-button {
    background: white;
    border: 1px solid #bb2018;
    box-shadow: none;
    color: #bb2018;
}

.rf-spin-comparator-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Compare products container */
.rf-spin-comparator-products {
    display: flex;
    flex-wrap: wrap;
}

/* Individual product in compare container */
.rf-spin-comparator-product {
    width: 25%;
    padding: 10px;
    box-sizing: border-box;
}

/* Product image in compare container */
.rf-spin-comparator-product-image img {
    max-width: 100%;
    height: auto;
}

/* Compare button container */
.product-compare-box_button {
    display: flex;
    height: fit-content;
    gap: 10px;
}

/* Compare button */
.product-compare-box_button btn {
    background: white;
    color: #bb2018;
    border: 1px solid #bb2018;
}

/* "Go to compare" button */
a.btn.rf-spin-comparator-goto {
    background: #ffffff;
    border: 1px solid #bb2018;
    padding: 0;
    display: flex;
    align-items: center;
    justify-items: center;
    position: relative;
}

/* "Go to compare" button image */
.woocommerce.single-product .site-content .product-compare-box_button .rf-spin-comparator-goto img {
    height: 15px !important;
}

/* Sales combo buttons container */
.sales-combo-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Compare count */
.compare-count {
    color: #bb2018;
    font-size: 12px;
    font-weight: bold;
    padding-top: 3px;
    line-height: 1em;
    padding-left: 3px;
}

/* Compare table product image */
th img.compare-product-image {
    height: 200px;
}

/* Compare table product header */
.product-comparison-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Compare table remove product button */
.remove-product {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px 5px;
    border-radius: 4px;
}

/* Compare table cells */
.rf-spin-comparator-table td {
    font-size: 16px;
    line-height: 16px;
    font-weight: 700;
    color: #333;
    padding: 14px 9px !important;
    border-bottom: 1px solid #d4d4d4;
    text-align: center;
}

/* Compare table rows */
.rf-spin-comparator-table tr {
    background-color: #fff !important;
}

/* Compare table header row */
.rf-spin-comparator-table thead tr {
    color: #bb2018;
}

/* Compare table parameter name cell */
.rf-spin-comparator-table td.param-name {
    font-size: 13px;
    line-height: 16px;
    color: #8f8f8f;
    text-align: left;
}

/* Compare table section header cell */
.rf-spin-comparator-table td.section-header {
    font-size: 13px;
    line-height: 16px;
    text-transform: uppercase;
    color: #333;
    border-bottom: 3px solid #d4d4d4;
    padding-top: 25px !important;
    text-align: left;
}

/* Compare table product title link */
.elementor .product-comparison-header a {
    font-size: 1.2em;
    color: #bb2018;
    text-decoration: underline;
}


.section-header-product strong {
    color: #bb2018;
    font-weight: 800;
}
td.section-header-product {
    vertical-align: bottom;
    border-bottom: 3px solid #d4d4d4;
}

/* Chart container styling */
.rf-spin-comparator-table .chart-container {
    margin: 10px 0;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 10px;
}

.rf-spin-comparator-table canvas {
    max-width: 100% !important;
    height: auto !important;
}
