.rotz-wcpc-table-actions {
    margin-bottom: 20px;
    text-align: center;
}

.rotz-wcpc-action-button {
    background-color: #ea3323;
    color: #ffffff;
    border: none;
    padding: 10px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    margin: 5px;
    cursor: pointer;
    border-radius: 3px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.rotz-wcpc-action-button:hover {
    background-color: #c52a1d;
    color: #ffffff;
}

.thunk-compare {
    display: flex;
    justify-content: center;
    align-items: center;
}

.rotz-wcpc-compare-button-container {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.rotz-wcpc-compare-button {
    background: none !important;
    border: none !important;
    color: #333 !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    font-size: 15px !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: normal !important;
    text-transform: none !important;
    line-height: 1.5 !important;
}

.rotz-wcpc-compare-button:hover {
    color: #ea3323 !important;
}

.rotz-wcpc-icon {
    margin-right: 5px;
    font-size: 16px;
    color: #333;
}

.rotz-wcpc-compare-text {
    display: inline-block;
}

#rotz-wcpc-comparison-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #f8f8f8;
    border-top: 1px solid #ddd;
    padding: 10px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

#rotz-wcpc-compare-selected {
    background-color: #ea3323;
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 3px;
}

#rotz-wcpc-selected-products {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.rotz-wcpc-selected-product {
    border: 1px solid #ddd;
    padding: 5px;
    margin: 5px;
    display: inline-flex;
    align-items: center;
    background-color: #f9f9f9;
}

.rotz-wcpc-remove-compare {
    background: none;
    border: none;
    color: #ea3323;
    cursor: pointer;
    margin-left: 10px;
    font-size: 16px;
}

.rotz-wcpc-remove-compare:hover {
    color: #c52a1d;
}

.rotz-wcpc-remove-compare i {
    font-size: 14px;
}

#rotz-wcpc-comparison-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    overflow-y: auto;
}

#rotz-wcpc-comparison-table {
    background-color: #ffffff;
    margin: 50px auto;
    padding: 20px;
    max-width: 90%;
    border-radius: 5px;
    overflow-x: auto; /* Added for horizontal scrolling on mobile */
}

#rotz-wcpc-comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

#rotz-wcpc-comparison-table th, #rotz-wcpc-comparison-table td {
    border: 1px solid #e0e0e0;
    padding: 10px;
    text-align: left;
}

#rotz-wcpc-comparison-table th {
    background-color: #ea3323;
    color: #ffffff;
}

#rotz-wcpc-comparison-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

#rotz-wcpc-close-comparison {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    color: #ffffff;
    cursor: pointer;
}

.rotz-wcpc-add-to-cart-button {
    display: inline-block;
    background-color: #ea3323;
    color: #ffffff;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 3px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.rotz-wcpc-add-to-cart-button:hover {
    background-color: #c52a1d;
    color: #ffffff;
}

#rotz-wcpc-comparison-table img {
    max-width: 150px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.rotz-wcpc-hidden-row {
    display: none !important;
}

.rotz-wcpc-remove-product {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 14px;
    padding: 0 5px;
    margin-left: 10px;
    transition: color 0.3s ease;
}

.rotz-wcpc-remove-product:hover {
    color: #ff9999;
}

.rotz-wcpc-remove-product i {
    font-size: 14px;
}

#rotz-wcpc-apply-customization {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 3px;
}

#rotz-wcpc-apply-customization:hover {
    background-color: #45a049;
}

.rotz-wcpc-to-hide {
    opacity: 0.5;
}

#rotz-wcpc-share-options {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.rotz-wcpc-share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-right: 10px;
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.rotz-wcpc-share-button:hover {
    opacity: 0.8;
}

.rotz-wcpc-share-button.email { background-color: #D44638; }
.rotz-wcpc-share-button.whatsapp { background-color: #25D366; }
.rotz-wcpc-share-button.copy-link { 
    background-color: #4CAF50;
    border: none;
    cursor: pointer;
}