/* Main CTA Wrapper */
.rmc-609-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.rmc-609-packshot {
    max-width: 100%;
    height: auto;
}

.rmc-609-tagline {
    font-size: 1.2rem;
    font-weight: bold;
}

.rmc-609-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

/* Modal Overlay */
.rmc-609-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    display: none;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 40px 20px; 
}

/* Modal Window */
.rmc-609-modal {
    background: #111;
    color: #fff;
    width: 100%;
    max-width: 800px;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    margin: auto;
    height: auto;
}

.rmc-609-close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
}

.rmc-609-modal-content {
    display: flex;
    flex: 1;
    padding: 30px;
}

.rmc-609-col-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 20px;
    border-right: 1px solid #333;
    padding-right: 40px;
}

.rmc-609-col-right {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-left: 40px;
}

.rmc-609-modal-header {
    font-size: 1.8rem;
    margin: 0;
    text-transform: uppercase;
    text-align: center;
}

.rmc-609-modal-packshot {
    max-width: 250px;
    width: 100%;
    height: auto;
}

/* Retailers Styles */
.rmc-609-retailers-category-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
    text-align: center;
}

.rmc-609-retailers-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

/* Retailer Tile */
.rmc-609-retailer-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #222;
    border-radius: 4px;
    padding: 10px;
    transition: background-color 0.2s ease, transform 0.2s ease;
    text-decoration: none;
    aspect-ratio: 1 / 1;
    width: 140px;
    overflow: hidden;
    position: relative; /* Make relative for banner positioning */
}

.rmc-609-retailer-tile:hover {
    background-color: #333;
    transform: scale(1.02);
}

.rmc-609-retailer-logo {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 1; /* Keep logo under banner */
}

/* Coming Soon Banner */
.rmc-609-coming-soon-banner {
    position: absolute;
    top: 15px;
    right: -30px;
    background-color: #e74c3c;
    color: #fff;
    padding: 4px 30px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    transform: rotate(45deg);
    z-index: 10; /* Ensure it stays above everything in the tile */
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    text-align: center;
    pointer-events: none;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .rmc-609-modal-overlay {
        display: none;
        padding: 20px;
        box-sizing: border-box;
    }
    
    .rmc-609-modal-overlay.is-active {
        display: block !important;
    }
    
    .rmc-609-modal {
        margin: 0 auto;
        border-radius: 0;
        height: auto; 
        min-height: auto;
    }
    
    .rmc-609-modal-content {
        flex-direction: column;
        padding: 60px 20px 20px;
    }
    
    .rmc-609-col-left {
        border-right: none;
        border-bottom: 1px solid #333;
        padding-right: 0;
        padding-bottom: 30px;
        margin-bottom: 30px;
    }
    
    .rmc-609-col-right {
        padding-left: 0;
    }
}