/* LMR Shoppable Grocery Integration */
.lmr-shop-btn {
    background-color: #ff6347; /* Tomato to match your theme */
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: background-color 0.2s, transform 0.1s;
}
.lmr-shop-btn:hover {
    background-color: #e5533d;
}
.lmr-shop-btn:active {
    transform: translateY(2px);
}

/* Modal Overlay */
.lmr-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 100000;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(3px);
}

/* Modal Content Box */
.lmr-modal-content {
    background: #ffffff;
    width: 90%;
    max-width: 450px;
    max-height: 85vh;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    overflow: hidden;
}

/* Header */
.lmr-modal-header {
    padding: 16px 20px;
    background: #fff8dc; /* Match your app header */
    border-bottom: 1px solid #eaeaea;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.lmr-modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #8b4513;
}
.lmr-modal-close {
    font-size: 28px;
    line-height: 1;
    color: #555;
    cursor: pointer;
}

/* Body / Checklist */
.lmr-modal-body {
    padding: 20px;
    overflow-y: auto;
    background: #fdfdfd;
}
.lmr-shop-checkbox {
    transform: scale(1.3);
    accent-color: #ff6347;
}

/* Footer / Affiliate Buttons */
.lmr-modal-footer {
    padding: 16px 20px;
    border-top: 1px solid #eaeaea;
    background: #ffffff;
}
.lmr-affiliate-btn {
    padding: 12px 16px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    flex-grow: 1;
    text-align: center;
    transition: opacity 0.2s;
}
.lmr-affiliate-btn:hover {
    opacity: 0.9;
}
.lmr-affiliate-btn.instacart {
    background-color: #0ead69;
    color: #ffffff;
}
.lmr-affiliate-btn.amazon {
    background-color: #ff9900;
    color: #111111;
}