/* 
 * ROZE BioHealth — Add to Your Routine (Bundle) 
 */

.rbh-routine-container {
    margin-top: 24px;
    margin-bottom: 24px;
    width: 100%;
}

.rbh-routine-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.rbh-routine-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1A1A1A;
    font-family: "Satoshi", sans-serif;
    margin: 0;
}

.rbh-routine-subtitle {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6A6A62;
    font-family: "Satoshi", sans-serif;
}

.rbh-routine-cards {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rbh-routine-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border: 1px solid rgba(0,0,0,0.1);
    background: #FAFAF7;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0;
}

.rbh-routine-card:hover {
    border-color: rgba(0,0,0,0.25);
}

.rbh-routine-card.checked {
    border-color: #1A1A1A;
    background: #F2EDE3;
}

.rbh-routine-card-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.rbh-routine-img {
    width: 52px;
    height: 52px;
    background: #ffffff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    mix-blend-mode: multiply;
    flex-shrink: 0;
}

.rbh-routine-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.rbh-routine-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rbh-routine-name {
    font-size: 14px;
    font-weight: 600;
    color: #1A1A1A;
    font-family: "Satoshi", sans-serif;
    line-height: 1.2;
}

.rbh-routine-desc {
    font-size: 11px;
    color: #6A6A62;
    font-family: "Satoshi", sans-serif;
    margin-bottom: 2px;
    line-height: 1.3;
}

.rbh-routine-price-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rbh-routine-price {
    font-size: 12px;
    font-weight: 600;
    color: #1A1A1A;
    font-family: "Satoshi", sans-serif;
}

.rbh-routine-orig-price {
    font-size: 11px;
    color: #9A9A90;
    text-decoration: line-through;
    font-family: "Satoshi", sans-serif;
}

.rbh-routine-badge {
    font-size: 9px;
    font-weight: 700;
    background: #395B44; /* Matches the green badge in Vercel design */
    color: #FFFFFF;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.05em;
    font-family: "Satoshi", sans-serif;
}

/* Custom Checkbox */
.rbh-routine-card-right {
    margin-left: 12px;
    flex-shrink: 0;
}

.rbh-routine-checkbox {
    position: relative;
    display: block;
    width: 20px;
    height: 20px;
}

.rbh-routine-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.rbh-routine-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: transparent;
    border: 1.5px solid rgba(0,0,0,0.2);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.rbh-routine-card:hover input ~ .rbh-routine-checkmark {
    border-color: rgba(0,0,0,0.4);
}

.rbh-routine-card.checked input ~ .rbh-routine-checkmark {
    background-color: #1A1A1A;
    border-color: #1A1A1A;
}

.rbh-routine-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.rbh-routine-card.checked input ~ .rbh-routine-checkmark:after {
    display: block;
}

.rbh-routine-card .rbh-routine-checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

@media (max-width: 480px) {
    .rbh-routine-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}
