/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.12
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


/* ========================================
   MORE COLORS - CART & CHECKOUT BLOCKS
   ======================================== */

/* === CONTAINER GENERAL === */
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
    max-width: 1310px;
    margin: 0 auto !important;
    padding: 40px 20px 80px;
    font-family: 'Inter', sans-serif;
}

/* === TITLUL PAGINII (Coș / Finalizare comandă) === */
.page-title,
.entry-title,
.wc-block-components-title,
.woocommerce-page h1.entry-title,
h1.wp-block-post-title {
    font-family: 'Cormorant', Georgia, serif !important;
    font-weight: 600 !important;
    font-size: 48px !important;
    line-height: 1.2 !important;
    color: #0F1A3A !important;
    text-transform: none !important;
    margin: 0 auto 40px !important;
    max-width: 1310px;
    padding: 0 20px;
}

/* === HEADERS DE TABEL (PRODUS, TOTAL, TOTAL COȘ etc) === */
.wc-block-cart-items__header,
.wc-block-components-product-name,
.wc-block-components-totals-item__label,
.wc-block-cart__totals-title,
.wc-block-checkout__sidebar h2 {
    font-family: 'Cormorant', Georgia, serif !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: #0F1A3A !important;
}

.wc-block-cart-items__header {
    border-bottom: 1px solid rgba(15, 26, 58, 0.15) !important;
    padding-bottom: 16px !important;
}

/* === RÂND PRODUS === */
.wc-block-cart-items__row,
.wc-block-cart-item__wrap {
    border-bottom: 1px solid rgba(15, 26, 58, 0.1) !important;
    padding: 24px 0 !important;
}

/* === IMAGINEA PRODUSULUI === */
.wc-block-cart-item__image img,
.wc-block-components-product-image img {
    max-width: 100px !important;
    height: auto !important;
    border-radius: 2px;
}

/* === NUMELE PRODUSULUI === */
.wc-block-components-product-name {
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    color: #0F1A3A !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
}

.wc-block-components-product-name:hover {
    color: #8B9EE8 !important;
}

/* === METADATA PRODUS (Material, Culori, Dimensiuni) === */
.wc-block-components-product-details,
.wc-block-components-product-metadata__description,
.wc-block-components-product-metadata {
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    color: #555 !important;
    line-height: 1.5 !important;
    margin-top: 6px !important;
}

/* === PREȚURI === */
.wc-block-components-product-price,
.wc-block-formatted-money-amount,
.wc-block-components-product-price__value {
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    color: #0F1A3A !important;
    font-weight: 500 !important;
}

/* === QUANTITY SELECTOR === */
.wc-block-components-quantity-selector {
    border: 1px solid rgba(15, 26, 58, 0.2) !important;
    border-radius: 2px !important;
    background: transparent !important;
}

.wc-block-components-quantity-selector__input {
    color: #0F1A3A !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    background: transparent !important;
}

.wc-block-components-quantity-selector__button {
    color: #0F1A3A !important;
    background: transparent !important;
    transition: background 0.2s ease;
}

.wc-block-components-quantity-selector__button:hover:not(:disabled) {
    background: rgba(15, 26, 58, 0.05) !important;
}

/* === BUTONUL DE ȘTERGERE === */
.wc-block-cart-item__remove-link,
.wc-block-components-product-name + .wc-block-cart-item__remove-link {
    color: #999 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    text-decoration: underline !important;
    transition: color 0.2s ease;
}

.wc-block-cart-item__remove-link:hover {
    color: #c9a961 !important;
}

/* === SIDEBAR TOTAL (Coș & Checkout) === */
.wc-block-cart__sidebar,
.wc-block-checkout__sidebar,
.wc-block-components-sidebar {
    background: #fafafa;
    padding: 30px !important;
    border-radius: 2px;
    border: 1px solid rgba(15, 26, 58, 0.08);
}

/* === ITEME ÎN SIDEBAR (Subtotal, Total, etc) === */
.wc-block-components-totals-item {
    padding: 14px 0 !important;
    border-bottom: 1px solid rgba(15, 26, 58, 0.1) !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wc-block-components-totals-item:last-child {
    border-bottom: none !important;
}

.wc-block-components-totals-item__label {
    font-family: 'Cormorant', Georgia, serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #0F1A3A !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wc-block-components-totals-item__value {
    font-family: 'Inter', sans-serif !important;
    font-size: 16px !important;
    color: #0F1A3A !important;
    font-weight: 500 !important;
}

/* === TOTAL FOOTER (cel mare) === */
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 20px !important;
    font-weight: 600 !important;
}

/* === SECȚIUNE CUPOANE === */
.wc-block-components-totals-coupon,
.wc-block-components-panel__button {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    color: #0F1A3A !important;
    border-bottom: 1px solid rgba(15, 26, 58, 0.1) !important;
    padding: 14px 0 !important;
}

.wc-block-components-totals-coupon__form {
    margin-top: 10px;
}

/* === BUTONUL PRINCIPAL (Continuă cu finalizarea / Plasează comanda) === */
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.wc-block-components-button.contained {
    background: #516AC7 !important;
    color: #ffffff !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    padding: 18px 30px !important;
    border-radius: 2px !important;
    border: 8px !important;
    width: 100% !important;
    text-align: center !important;
    transition: background 0.3s ease !important;
    margin-top: 20px !important;
}

.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover,
.wc-block-components-button.contained:hover {
    background: #1f2a44 !important;
    color: #ffffff !important;
}

/* === FORMULARE CHECKOUT === */
.wc-block-components-text-input input,
.wc-block-components-text-input textarea,
.wc-block-components-select select,
.wc-block-components-combobox input {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    color: #0F1A3A !important;
    border: 1px solid rgba(15, 26, 58, 0.2) !important;
    border-radius: 2px !important;
    padding: 14px 16px !important;
    background: #ffffff !important;
    transition: border-color 0.2s ease;
}
.wc-block-components-totals-coupon.wc-block-components-panel,
.wc-block-components-totals-coupon .wc-block-components-panel__button, 
.wp-block-woocommerce-checkout-order-summary-block{
    border: 0 !important;
}
.wc-block-components-text-input input:focus,
.wc-block-components-text-input textarea:focus,
.wc-block-components-select select:focus {
    border-color: #0F1A3A !important;
    outline: none !important;
    box-shadow: 0 0 0 1px #0F1A3A !important;
}

/* === LABELS CHECKOUT === */
.wc-block-components-text-input label,
.wc-block-components-checkout-step__title,
.wc-block-components-checkout-step__heading {
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    color: #555 !important;
    font-weight: 400 !important;
}

.wc-block-components-checkout-step__title {
    font-family: 'Cormorant', Georgia, serif !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    color: #0F1A3A !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 20px !important;
}

/* === STEP DESCRIPTION === */
.wc-block-components-checkout-step__description {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    color: #555 !important;
    margin-bottom: 16px !important;
}

/* === LINK-URI ÎN CHECKOUT === */
.wc-block-components-checkout-return-to-cart-button,
.wc-block-cart__sidebar a,
.wc-block-checkout__sidebar a {
    color: #0F1A3A !important;
    text-decoration: underline !important;
    transition: color 0.2s ease;
}

.wc-block-components-checkout-return-to-cart-button:hover,
.wc-block-cart__sidebar a:hover,
.wc-block-checkout__sidebar a:hover {
    color: #c9a961 !important;
}

/* === NOTICES (success / error / info) === */
.wc-block-components-notice-banner {
    border-radius: 2px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
}

.wc-block-components-notice-banner.is-success {
    background: rgba(15, 26, 58, 0.05) !important;
    border-left: 3px solid #c9a961 !important;
    color: #0F1A3A !important;
}

.wc-block-components-notice-banner.is-error {
    background: rgba(255, 0, 0, 0.05) !important;
    border-left: 3px solid #d63638 !important;
}

/* === RADIO BUTTONS / CHECKBOXES === */
.wc-block-components-radio-control__option,
.wc-block-components-checkbox__mark {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    color: #0F1A3A !important;
}

/* === SHIPPING / PAYMENT METHODS === */
.wc-block-components-radio-control__option {
    padding: 16px !important;
    border: 1px solid rgba(15, 26, 58, 0.15) !important;
    border-radius: 2px !important;
    margin-bottom: 8px !important;
    transition: border-color 0.2s ease;
}

.wc-block-components-radio-control__option-checked {
    border-color: #0F1A3A !important;
    background: rgba(15, 26, 58, 0.02);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .wp-block-woocommerce-cart,
    .wp-block-woocommerce-checkout {
        padding: 20px 15px 60px;
    }
    
    .page-title,
    .entry-title,
    h1.wp-block-post-title {
        font-size: 32px !important;
        padding: 0 15px;
        margin-bottom: 30px !important;
    }
    
    .wc-block-cart-item__image img,
    .wc-block-components-product-image img {
        max-width: 70px !important;
    }
    
    .wc-block-cart__sidebar,
    .wc-block-checkout__sidebar {
        padding: 20px !important;
        margin-top: 30px;
    }
    
    .wc-block-components-checkout-step__title {
        font-size: 18px !important;
    }
}

/* === FIX: ELIMINĂ STILURILE DEFAULT WORDPRESS PE TITLU === */
.woocommerce-cart .entry-header,
.woocommerce-checkout .entry-header {
    text-align: left !important;
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding: 40px 0 0 !important;
}