.homeboost-product-grid {
    display: flex;
    gap: 40px;
    flex-direction: row;
}

.homeboost-product-gallery {
    position: relative;
    width: 50%;
}

.homeboost-gallery-main {
    position: relative;
    margin-bottom: 20px;
}

.homeboost-gallery-main img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.homeboost-gallery-thumbs {
    /* display: flex; */
    display: none;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
}

.homeboost-gallery-thumb {
    flex: 0 0 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.homeboost-gallery-thumb.active,
.homeboost-gallery-thumb:hover {
    border-color: #000;
}

.homeboost-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.homeboost-slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 0 !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    padding: 0;
}

.homeboost-slider-controls:hover {
    background: rgba(255,255,255,1);
}

.homeboost-slider-prev {
    left: 10px;
}

.homeboost-slider-next {
    right: 10px;
}

.homeboost-slider-navigation {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    z-index: 10;
}

.homeboost-slider-navigation .homeboost-slider-controls {
    position: static;
    transform: none;
    background: #fff;
    width: 36px;
    height: 36px;
    border-radius: 0;
}

.homeboost-slider-navigation .homeboost-slider-prev {
    margin-right: 0;
}

.homeboost-slider-navigation .homeboost-slider-next {
    margin-left: 0;
}

.homeboost-product-info {
    width: 50%;
}

.homeboost-product-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1.3;
    font-weight: 800;
}

.homeboost-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.homeboost-price .currency {
    font-size: 0.8em;
    vertical-align: super;
}

/* Referral Pricing Styles */
.homeboost-price .price-comparison {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.homeboost-price .original-price.crossed-out {
    text-decoration: line-through;
    color: #999;
    font-size: 1.2rem;
}

.homeboost-price .bge-price,
.homeboost-price .oppd-price {
    color: #000;
    font-size: 1.2rem;
    font-weight: bold;
}

.homeboost-price .bge-price-label,
.homeboost-price .oppd-price-label {
    display: inline-block;
    background: #28a745;
    color: #fff;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 4px;
}

.homeboost-variations {
    margin-bottom: 30px;
}

.homeboost-variations label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
}

.homeboost-variation-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.homeboost-variation-option {
    position: relative;
}

.homeboost-variation-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.homeboost-variation-option label {
    display: block;
    padding: 10px 15px;
    border: 2px solid #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: normal;
    margin: 0;
}

.homeboost-variation-option label:hover {
    border-color: #000;
}

.homeboost-variation-option input[type="radio"]:checked + label {
    border-color: #000;
    background-color: #000;
    color: #fff;
}

.homeboost-add-to-cart {
    margin-bottom: 20px;
}

.homeboost-add-to-cart button {
    padding: 15px 30px;
    background-color: var( --e-global-color-accent );
    color: white;
    border: none;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 0 !important;
}

.homeboost-add-to-cart button:hover {
    background-color: #005a87;
}

.homeboost-add-to-cart button.adding {
    background-color: #6c757d !important;
    cursor: not-allowed;
    opacity: 0.8;
}

.homeboost-product-description {
    margin-top: 20px;
}

.homeboost-product-description h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

/* View Full Details Button */
.homeboost-view-details-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 15px 0;
    margin-bottom: 20px;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    text-decoration: none;
    color: #000 !important;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.homeboost-view-details-btn:hover {
    color: #007cba;
    text-decoration: none !important;
}

.homeboost-view-details-btn .arrow {
    font-size: 16px;
    font-weight: bold;
}

.homeboost-rental-notice {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 15px;
    margin-top: 15px;
    font-size: 0.9rem;
}

.homeboost-slider-counter {
    position: static;
    background: #fff;
    color: #000;
    padding: 0 10px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
}

.homeboost-hidden-select {
    display: none !important;
}

.single_variation_wrap {
    margin-top: 20px;
}

.single_variation {
    margin-bottom: 15px;
}

.wc-variation-selection-needed {
    opacity: 0.6;
    cursor: not-allowed;
}

.homeboost-add-to-cart button {
    border-radius: 8px !important;
}

.homeboost-add-to-cart button.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.homeboost-add-to-cart button:not(.disabled):not(.wc-variation-selection-needed) {
    opacity: 1;
    cursor: pointer;
}

.single_add_to_cart_button:not(.disabled):not(.wc-variation-selection-needed) {
    background-color: var( --e-global-color-accent ) !important;
    opacity: 1 !important;
}

.single_add_to_cart_button.disabled,
.single_add_to_cart_button.wc-variation-selection-needed {
    background-color: #ccc !important;
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

.illgas-referral .homeboost-product-grid {
    flex-direction: row-reverse;
}

.illgas-referral .homeboost-product-grid .homeboost-product-description {
    display: none;
}

.illgas-thank-you-message {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.2em;
    font-weight: 600;
    color: #28a745;
}

.illgas-referral .homeboost-product-info h2 {
    font-size: 1.8rem;
}

/* Media Queries */

@media (max-width: 768px) {
    .homeboost-product-grid {
        flex-direction: column;
        gap: 20px;
    }

    .homeboost-product-gallery {
        width: 100%;
    }

    .homeboost-product-info {
        width: 100%;
    }

    .homeboost-product-info h2 {
        font-size: 1.4rem;
    }
}

@media (min-width: 768px) {
    .homeboost-product-grid {
        grid-template-columns: 1fr 1fr;
    }
}