.c2p_product_overlay{
    position:fixed;
    inset:0;
    z-index:99999;
    display:grid;
    place-items:center;
    padding:15px;
    background:rgba(10,25,45,.45);
    backdrop-filter:blur(5px);
    -webkit-backdrop-filter:blur(5px);
    overflow-y:auto;
}

.c2p_qty_box {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    width: fit-content;
    margin: auto;
}

.c2p_qty_box .c2p_qty_minus,
.c2p_qty_box .c2p_qty_plus {
    background: #f5f5f5;
    border: none;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 16px;
}
.c2p_qty_box .c2p_qty_input {
    width: 60px;
    height: 32px;
    text-align: center;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}


.keep_hide {
    display: none !important;
}

.c2p_product_overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.c2p_product_popup {
    width: min(480px, 92%);
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    color: #1a202c;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    font-family: inherit;
    box-sizing: border-box;
}

.c2p_product_popup * {
    box-sizing: border-box;
}

.c2p_product_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.c2p_top_title {
    font-size: 13px;
    font-weight: 700;
    color: #1a202c;
}

.c2p_product_close {
    width: 24px;
    height: 24px;
    border: 1px solid #e2e8f0;
    background: #f7fafc;
    border-radius: 50%;
    color: #4a5568;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    padding: 0;
    line-height: 1;
}

.c2p_product_close:hover {
    background: #edf2f7;
}

.c2p_product_header {
    text-align: center;
    margin-bottom: 20px;
}

.c2p_product_header h2 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 4px;
    color: #2d3748;
}

.c2p_product_header p {
    font-size: 12px;
    color: #718096;
    margin: 0;
}

.c2p_options_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.c2p_card {
    border: 1px solid #edf2f7;
    border-radius: 12px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
}

.c2p_icon_wrap {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    position: relative;
}

.c2p_icon_wrap.blue {
    background: #ebf8ff;
    color: #3182ce;
}

.c2p_icon_wrap.green {
    background: #f0fff4;
    color: #38a169;
}

.c2p_badge {
    font-size: 9px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 12px;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.c2p_badge.blue {
    background: #ebf8ff;
    color: #3182ce;
}

.c2p_badge.green {
    background: #f0fff4;
    color: #38a169;
}

.c2p_card h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 4px;
    color: #2d3748;
}

.c2p_card h4 {
    font-size: 10px;
    font-weight: 700;
    margin: 0 0 8px;
}

.c2p_card h4.blue { color: #3182ce; }
.c2p_card h4.green { color: #38a169; }

.c2p_card_desc {
    font-size: 10px;
    color: #718096;
    margin: 0;
    line-height: 1.4;
    flex-grow: 1;
    min-height: 30px;
}

.c2p_divider {
    width: 16px;
    height: 1px;
    background: #e2e8f0;
    border: none;
    margin: 12px auto;
}

.c2p_vat_info {
    font-size: 9px;
    color: #a0aec0;
    margin: 0 0 12px;
}

.c2p_product_option {
    width: 100%;
    padding: 8px;
    background: #fff;
    border: 1px solid #3182ce;
    color: #3182ce;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

/*.c2p_product_option:hover {
    background: #ebf8ff;
}*/

.c2p_help_footer {
    text-align: center;
    margin-top: 16px;
    font-size: 11px;
    color: #718096;
}

.c2p_help_footer a {
    color: #3182ce;
    font-weight: 700;
    text-decoration: underline;
}

@media (max-width: 480px) {
    .c2p_options_grid {
        grid-template-columns: 1fr;
    }
    .c2p_card_desc {
        min-height: auto;
    }
}