/*
 Theme Name: Organio Child – AgapeBliss
 Theme URI: https://agapebliss.ro
 Description: Tema child pentru Organio, personalizată pentru AgapeBliss.
 Author: Beniamin
 Template: organio
 Version: 1.0
*/

/* Importă stilurile temei părinte */
@import url("../organio/style.css");




.agb-checkout-trust {
    margin-top: 25px;
    padding: 18px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.agb-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #222;
    font-weight: 600;
}



/* === TIP CLIENT – VARIANTA PREMIUM === */

/* Container full-width, centrat, fără influența layout-ului Organio */
#agb-ce-customer-type.agb-ce-customer-type-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: both !important;
    display: block !important;
    margin: 0 auto 25px auto !important;
    padding: 0 !important;
    box-sizing: border-box;
    text-align: center !important; /* 🔥 centrează label-ul */
}

/* Label premium */
#agb-ce-customer-type .agb-ce-label {
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.3px;
    margin-bottom: 12px;
    text-align: center !important;
    display: block;
    width: 100%;
    color: #333;
}

/* Wrapper pastile */
#agb-ce-customer-type .agb-ce-pill-wrapper {
    width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important; /* 🔥 centrat pe toate device-urile */
    gap: 14px;
    margin: 0 auto;
}

/* Pastile premium */
#agb-ce-customer-type .agb-ce-pill {
    padding: 12px 22px;
    border-radius: 30px;
    font-size: 15px;
    cursor: pointer;
    user-select: none;
    transition: all 0.25s ease;
    border: 2px solid #ccc;
    background: #fff;
    color: #333;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    position: relative;
    left: 0 !important;
    margin: 0;
}

/* Hover premium */
#agb-ce-customer-type .agb-ce-pill:hover {
    border-color: #0073aa;
    color: #0073aa;
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

/* Stare activă (PF/PJ selectat) */
#agb-ce-customer-type .agb-ce-pill.active {
    background: #0073aa;
    border-color: #0073aa;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,115,170,0.35);
    transform: translateY(-2px) scale(1.02);
}

/* Mobil */
@media (max-width: 480px) {
    #agb-ce-customer-type .agb-ce-pill {
        width: 46%;
        text-align: center;
        white-space: normal;
        padding: 12px 10px;
    }
}

/* Sticky button fix pentru Organio */

#agb-sticky-order-btn {
    position: fixed !important;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999999 !important;
    padding: 12px 16px;
    background: #ffffff;
    border-top: 1px solid #e5e5e5;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.08);

    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.35s ease, transform 0.35s ease;
}



/* Butonul propriu-zis */
.agb-sticky-btn {
    width: 100%;
    background: #000;
    color: #fff;
    padding: 16px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: 0.2s ease;
}

.agb-sticky-btn:hover {
    background: #222;
}

/* Ascundere */
.agb-sticky-hidden {
    opacity: 0 !important;
    transform: translateY(20px) !important;
    pointer-events: none !important;
}

.agape-checkout-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    margin-bottom: 20px;
}

.agape-checkout-header .ach-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ach-icon svg {
    opacity: 0.8;
}

.ach-title {
    font-size: 22px;
    font-weight: 600;
    color: #222;
}

.ach-steps {
    display: flex;
    gap: 15px;
    font-size: 14px;
    opacity: 0.8;
}

.ach-step {
    position: relative;
    padding-right: 15px;
}

.ach-step:not(:last-child)::after {
    content: "›";
    position: absolute;
    right: 0;
    top: 0;
    opacity: 0.5;
}

.ach-step.active {
    font-weight: 600;
    opacity: 1;
}

.ach-step.done {
    opacity: 0.5;
}


@media (max-width: 768px) {
    .ct-checkout-order-review {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* Dacă tema forțează marginile la 0 */
    .ct-checkout-order-review table,
    .ct-checkout-order-review #order_review,
    .ct-checkout-order-review .woocommerce-checkout-review-order {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

.agb-free-shipping-box {
    background: #fff8e5;
    border-left: 4px solid #e0a100;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 15px;
    font-weight: 500;
}

.agb-free-shipping-msg.success {
    background: #e8ffe8;
    border-left-color: #2fa22f;
}
