/* GeoPet Checkout Styles — Brand Book v2.0 */

/* 1. Кнопки количества (+/-) */
.gp-qty-wrapper { display: flex; align-items: center; justify-content: center; gap: 5px; } 
.gp-qty-btn { width: 30px; height: 30px; background: #eee; border: 1px solid #ddd; border-radius: 50%; font-size: 18px; line-height: 1; cursor: pointer; color: #333; display: flex; align-items: center; justify-content: center; padding: 0; font-weight: bold; } 
.gp-qty-btn:hover { background: #dcdcdc; } 
.gp-qty-wrapper input.qty { width: 40px !important; text-align: center !important; border: none !important; background: transparent !important; font-weight: bold; font-size: 16px; pointer-events: none; height: auto !important; padding: 0 !important; }

/* 2. Список товаров и Фото */
.gp-checkout-item-wrap { display: flex; align-items: center; gap: 15px; padding: 10px 0; }
.gp-checkout-img { flex-shrink: 0; width: 60px; height: 60px; }
.gp-checkout-img img { width: 60px !important; height: 60px !important; border-radius: 12px; border: 1px solid #eee; object-fit: cover; }
.gp-checkout-info { line-height: 1.2; font-size: 14px; font-weight: 600; }

/* 3. Бейдж и Выгода */
.gp-gift-badge { background: #D62828; color: #fff; padding: 2px 8px; border-radius: 6px; font-size: 10px; font-weight: 900; text-transform: uppercase; margin-left: 8px; }
.gp-benefit-row th, .gp-benefit-row td, .gp-benefit-row .amount { color: #D62828 !important; font-weight: 800 !important; font-size: 16px !important; }
.gp-benefit-row th { text-align: left !important; padding: 15px 0 !important; }
.gp-benefit-row td { text-align: right !important; padding: 15px 0 !important; }

/* 4. Кнопки управления (Pill) */
.gp-add-more-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; background: #FFFFFF; color: #D62828; padding: 16px; border-radius: 50px; text-decoration: none; font-weight: 800; font-size: 15px; border: 2px solid #D62828; transition: 0.2s; margin: 10px 0; }
.gp-add-more-btn:hover { background: #D62828; color: #fff; }
form.checkout_coupon .button, .woocommerce-message .button { width: 100% !important; background-color: #1D1D1F !important; color: #FFFFFF !important; border-radius: 50px !important; padding: 15px !important; font-weight: 700 !important; border: none !important; }
.woocommerce-message .button { width: fit-content !important; padding: 12px 30px !important; margin: 15px auto 0 !important; display: block !important; float: none !important; }

/* 5. Форма промокода */
form.checkout_coupon { display: block !important; margin: 20px 0 30px !important; border: 2px solid #1D1D1F !important; border-radius: 20px !important; padding: 20px !important; box-sizing: border-box !important; width: 100% !important; }
form.checkout_coupon:before { content: "🎫 Есть промокод?"; display: block; font-weight: 800; margin-bottom: 15px; font-size: 16px; text-align: center; }
form.checkout_coupon #coupon_code { background: #F5F5F7 !important; border: 1px solid #D2D2D7 !important; border-radius: 14px !important; padding: 12px 15px !important; height: auto !important; color: #1D1D1F !important; font-weight: 600; width: 100% !important; margin-bottom: 10px !important; }

/* 6. Аккордеон и Порядок блоков */
.gp-checkout-accordion { margin: 20px 0; border: 1px solid #E5E5E7; border-radius: 20px; background: #fff; overflow: hidden; order: 2; }
.gp-accordion-header { padding: 20px; background: #F5F5F7; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 16px; color: #1D1D1F; user-select: none; }
.gp-accordion-header:after { content: "\25BC"; font-size: 12px; transition: 0.3s; color: #86868B; }
.gp-accordion-header.active:after { transform: rotate(180deg); }
.gp-accordion-content { padding: 25px; display: none; border-top: 1px solid #E5E5E7; }

/* 7. Уведомления (Cloud & Graphite) */
.woocommerce-error, .woocommerce-message, .woocommerce-info {
    position: fixed !important;
    top: 25px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 1000000 !important;
    width: 92% !important;
    max-width: 420px !important;
    margin: 0 !important;
    padding: 20px 25px !important;
    border-radius: 24px !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    text-align: center !important;
    background: #F5F5F7 !important;
    color: #1D1D1F !important;
    border: 2px solid #1D1D1F !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    list-style: none !important;
}

/* Скрываем только адрес при самовывозе и OZON (оставляем Имя, Фамилию, Email, Телефон) */
.geopet-pickup-active #billing_country_field,
.geopet-pickup-active #billing_address_1_field,
.geopet-pickup-active #billing_address_2_field,
.geopet-pickup-active #billing_city_field,
.geopet-pickup-active #billing_state_field,
.geopet-pickup-active #billing_postcode_field,
.geopet-pickup-active .woocommerce-additional-fields,
.geopet-ozon-active #billing_country_field,
.geopet-ozon-active #billing_address_1_field,
.geopet-ozon-active #billing_address_2_field,
.geopet-ozon-active #billing_city_field,
.geopet-ozon-active #billing_state_field,
.geopet-ozon-active #billing_postcode_field,
.geopet-ozon-active .woocommerce-additional-fields {
    display: none !important;
}