/*
Theme Name: Amfissa Child
Theme URI: https://amfissa.qodeinteractive.com
Description: A child theme of Amfissa
Author: Mikado Themes
Author URI: https://qodeinteractive.com
Version: 1.0
Text Domain: amfissa
Template: amfissa
*/

@media only screen and (max-width: 1024px) {
    #qodef-page-footer #qodef-page-footer-top-area .qodef-grid-item:first-child, #qodef-page-footer #qodef-page-footer-top-area .qodef-col-num--3 .qodef-grid-item  {
        width: 100%!important;
        padding-right: 0;
    }
    .woocommerce-error, .woocommerce-info, .woocommerce-message {
    flex-direction: column!important;
    }
}

.qodef-h1, h1, #qodef-woo-page.qodef--single .related>h2, #qodef-woo-page.qodef--single .up-sells>h2, #yith-quick-view-content.single-product .related>h2, #yith-quick-view-content.single-product .up-sells>h2, #qodef-woo-page.qodef--single .woocommerce-tabs .wc-tabs li a, #yith-quick-view-content.single-product .woocommerce-tabs .wc-tabs li a, .qodef-header-navigation>ul>li>a, .qodef-button.qodef-html--link {
    font-family: 'EB Garamond';
}

.wc-block-cart__main .wc-block-cart-items th {
        padding: 10px 10px 8px 10px!important;
}

.wc-block-components-button:not(.is-link) {
    text-transform: Uppercase;
}

.qodef-header-navigation ul li.qodef-menu-item--narrow ul {
    width: auto;
    min-width: 80px;
}

.woocommerce-page div.woocommerce .shop_table td, .woocommerce-page div.woocommerce .shop_table th {
    padding: 15px 0 15px 0;
}

.woocommerce-checkout-review-order-table #shipping_method li {
    gap: 10px 0px;
}

.woocommerce-shipping-fields {
    display: none
}

#qodef-page-inner {
    padding: 30px 0 80px!important;
}


.woocommerce-error, .woocommerce-info, .woocommerce-message {
    display: flex;
    flex-direction: row;
}





/* =========================================
   HELIOS / AMFISSA LUXURY CHECKOUT FINAL
   Native Woo review-order compatible
========================================= */

/* WRAPPER */
.amfissa-modern-checkout{
    max-width:1180px;
    margin:0 auto;
}

/* GRID */
.amfissa-modern-checkout .amfissa-checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 600px) minmax(500px, 620px);
    gap: 30px;
    align-items: start;
    justify-content: center;
}

/* LEFT COLUMN */
.amfissa-modern-checkout .amfissa-checkout-left{
    min-width:0;
}

/* FORM SECTIONS */
.woocommerce-billing-fields,
.woocommerce-shipping-fields,
.woocommerce-additional-fields{
    background:#fff;
    border:1px solid #ece7e1;
    border-radius:8px;
    padding:30px;
    margin-bottom:26px;
}

/* SECTION HEADINGS */
.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3{
    font-size:22px;
    line-height:1.3;
    font-weight:500;
    margin:0 0 22px;
}

/* LABELS */
.woocommerce form .form-row{
    margin-bottom:16px;
}

.woocommerce form .form-row label{
    display:block;
    font-size:13px;
    margin-bottom:7px;
    font-weight:500;
    color:#2d2d2d;
}

/* INPUTS */
.woocommerce form .input-text,
.woocommerce form select,
.select2-container--default .select2-selection--single{
    height:52px;
    border:1px solid #d9d4ce;
    border-radius:6px;
    padding:0 16px;
    font-size:14px;
    background:#fff;
}

.woocommerce form textarea{
    min-height:110px;
    border:1px solid #d9d4ce;
    border-radius:6px;
    padding:16px;
    font-size:14px;
}

/* RIGHT SIDEBAR */
.amfissa-modern-checkout .amfissa-checkout-right{
    position:sticky;
    top:30px;
    display:flex;
    flex-direction:column;
    gap:22px;
}

/* REVIEW + PAYMENT CARDS */
.amfissa-checkout-right .woocommerce-checkout-review-order,
.amfissa-payment-box{
    background:#fff;
    border:1px solid #ece7e1;
    border-radius:8px;
    padding:24px;
    box-shadow:0 2px 10px rgba(0,0,0,.02);
}

/* REVIEW TABLE */
.woocommerce-checkout-review-order-table{
    width:100%;
    border:none;
    border-collapse:collapse;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td{
    padding:12px 0;
    border-bottom:1px solid #f1ece8;
    vertical-align:top;
    font-size:14px;
}

.woocommerce-checkout-review-order-table thead th{
    font-size:22px;
    font-weight:500;
    border:none;
    padding-bottom:20px;
}

.woocommerce-checkout-review-order-table .product-name{
    width:68%;
}

.woocommerce-checkout-review-order-table .product-total{
    width:32%;
    text-align:right;
}

/* SHIPPING */
.woocommerce-checkout-review-order-table .woocommerce-shipping-totals th{
    font-size:18px;
    font-weight:500;
    padding-top:18px;
}

.woocommerce-checkout-review-order-table #shipping_method{
    margin:0;
    padding:0;
    list-style:none;
}

.woocommerce-checkout-review-order-table #shipping_method li{
    margin-bottom:14px;
}

.woocommerce-checkout-review-order-table #shipping_method label{
    display:block;
    line-height:1.6;
    font-size:16px;
}

/* PAYMENT */
.amfissa-payment-box #payment{
    background:none;
    border:none;
    padding:0;
    margin:0;
}

.wc_payment_method{
    border:1px solid #ece7e1;
    border-radius:8px;
    padding:16px;
    margin-bottom:14px;
    font-size:14px;
}

.StripeElement,
.wc-stripe-elements-field{
    border:1px solid #d9d4ce;
    border-radius:6px;
    padding:14px;
    background:#fff;
}

/* BUTTON */
#place_order{
    width:100%;
    height:54px;
    border-radius:6px;
    font-size:13px;
    font-weight:600;
    letter-spacing:.08em;
    text-transform:uppercase;
}

/* PRIVACY */
.woocommerce-privacy-policy-text,
.place-order{
    font-size:13px;
    line-height:1.6;
}

/* TOTAL */
.order-total th,
.order-total td{
    font-size:24px;
    font-weight:600;
    padding-top:16px;
}

/* MOBILE */
@media(max-width:1024px){
    .amfissa-modern-checkout .amfissa-checkout-grid{
        grid-template-columns:1fr;
        gap:30px;
    }

    .amfissa-modern-checkout .amfissa-checkout-right{
        position:static;
    }
}

/* =================================
   SHIPPING METHODS FULL WIDTH
================================= */

/* превръщаме shipping row в block layout */
.woocommerce-checkout-review-order-table .woocommerce-shipping-totals{
    display:block;
    width:100%;
}

/* заглавието "Доставка" отгоре */
.woocommerce-checkout-review-order-table .woocommerce-shipping-totals th{
    display:block;
    width:100%;
    text-align:left;
    font-size:18px;
    font-weight:500;
    padding:18px 0 12px;
    border:none;
}

/* methods под заглавието */
.woocommerce-checkout-review-order-table .woocommerce-shipping-totals td{
    display:block;
    width:100%;
    padding:0;
    border:none;
}

/* самият UL да е full width */
.woocommerce-checkout-review-order-table .woocommerce-shipping-methods{
    width:100% !important;
    margin:0;
    padding:0;
    list-style:none;
}

/* всеки метод на отделен ред */
.woocommerce-checkout-review-order-table .woocommerce-shipping-methods li{
    width:100%;
    margin:0 0 14px;
    padding:0;
}

/* label на цялата ширина */
.woocommerce-checkout-review-order-table .woocommerce-shipping-methods label{
    display:block;
    width:100%;
    line-height:1.6;
    font-size:14px;
}

/* Econt / Speedy selector full width */
.woocommerce-checkout-review-order-table .woocommerce-shipping-methods select,
.woocommerce-checkout-review-order-table .woocommerce-shipping-methods .select2,
.woocommerce-checkout-review-order-table .woocommerce-shipping-methods .select2-container{
    width:100% !important;
    max-width:100%;
    margin-top:10px;
}

.multiselect, .multiselect__input, .multiselect__single {
    font-size: 13px;
}


.order-total th, .order-total td {
    font-size: 20px;
    font-weight: 500;
}

/* =================================
   ECONT SHIPPING PERFECT GRID
================================= */

.woocommerce-checkout-review-order-table #shipping_method li{
    display:grid;
    grid-template-columns: 24px auto;
    gap:10px 14px;
    align-items:start;
    width:100%;
    margin:0 0 18px;
}

/* radio */
.woocommerce-checkout-review-order-table #shipping_method li input.shipping_method{
    grid-column:1;
    grid-row:1;
    margin-top:4px;
}

/* label text */
.woocommerce-checkout-review-order-table #shipping_method li label{
    grid-column:2;
    grid-row:1;
    display:block;
    margin:0;
    line-height:1.6;
}

/* цената вдясно */
.woocommerce-checkout-review-order-table #shipping_method li label .woocommerce-Price-amount,
.woocommerce-checkout-review-order-table #shipping_method li label .amount,
.woocommerce-checkout-review-order-table #shipping_method li label .woo-bg--currency{
    float:none !important;
    display:inline;
}

/* допълнителните полета под label */
.woocommerce-checkout-review-order-table #shipping_method li .woo-bg--econt-delivery,
.woocommerce-checkout-review-order-table #shipping_method li .woo-bg-additional-fields{
    grid-column:2 / 4;
    width:100%;
    margin-top:8px;
}



/* office locator */
.woocommerce-checkout-review-order-table #shipping_method li #woo-bg--econt-office-locator{
    display:block;
    margin-top:10px;
}



[class*=amfissa] .select2-container--default .select2-selection--single {
    display: block;
    height: auto;
    padding: 14.5px 25px;
    margin: 0;
    font-family: inherit;
    font-size: 15px;
    line-height: 24px;
    font-weight: 400;
    color: #797979;
    background-color: #fff;
    border: 1px solid #ece7e1;
    border-radius: 5px;
    outline: 0;
    cursor: pointer;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

[class*=amfissa] .select2-container--default .select2-dropdown {
    border: 1px solid #ece7e1;
    border-radius: 5px;
}

.admin-bar[class*=amfissa] .select2-container--default .select2-dropdown {
    top: 0px;
}

[class*=amfissa] .select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #ece7e1;
}