/*
Theme Name: Littledino Child
Author: WebGeniusLab
Author URI: http://webgeniuslab.net
Description: -
Version: 1.0
Template: littledino
Text Domain: littledino-child
*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400&display=swap');
/* Cart - fix date layout - match site style */
.woocommerce-cart-form dl.variation {
    margin-top: 4px !important;
    margin-bottom: 0 !important;
}

.woocommerce-cart-form .variation dt {
    display: inline !important;
    font-family: Nunito !important;
    font-weight: 900 !important;
    font-size: 13px !important;
    color: #12265a !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 160px !important;
    min-width: 160px !important;
    float: left !important;
    clear: left !important;
}

.woocommerce-cart-form .variation dd {
    display: block !important;
    font-family: Nunito !important;
    font-weight: 400 !important;
    font-size: 13px !important;
    color: #555555 !important;
    margin: 0 0 4px 165px !important;
    padding: 0 !important;
}

.woocommerce-cart-form .variation dd p {
    display: inline !important;
    margin: 0 !important;
    font-family: Nunito !important;
    font-weight: 400 !important;
    font-size: 13px !important;
    color: #555555 !important;
}

/* Insurance fee */
.ovabrw_extra_item {
    margin-top: 6px !important;
    clear: both !important;
}
.ovabrw_extra_item dt,
.ovabrw_extra_item dd {
    font-family: Nunito !important;
    font-weight: 900 !important;
    font-size: 13px !important;
    color: #12265a !important;
    display: inline !important;
    margin: 0 2px 0 0 !important;
    float: none !important;
}

/*Apmaksas lapa*/
/* Order review / checkout - fix date layout */
.woocommerce-checkout-review-order dl.variation,
.wc-block-order-summary dl.variation,
table.woocommerce-table dl.variation,
dl.variation {
    margin-top: 4px !important;
    margin-bottom: 0 !important;
}

.woocommerce-checkout-review-order .variation dt,
.wc-block-order-summary .variation dt,
table.woocommerce-table .variation dt,
dl.variation dt {
    display: block !important;
    font-family: Nunito !important;
    font-weight: 900 !important;
    font-size: 13px !important;
    color: #12265a !important;
    float: left !important;
    clear: left !important;
    width: 160px !important;
    min-width: 160px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-checkout-review-order .variation dd,
.wc-block-order-summary .variation dd,
table.woocommerce-table .variation dd,
dl.variation dd {
    display: block !important;
    font-family: Nunito !important;
    font-weight: 400 !important;
    font-size: 13px !important;
    color: #555555 !important;
    margin: 0 0 4px 165px !important;
    padding: 0 !important;
}

dl.variation dd p {
    display: inline !important;
    font-family: Nunito !important;
    font-weight: 400 !important;
    font-size: 13px !important;
    color: #555555 !important;
    margin: 0 !important;
}

.woocommerce form .form-row .select2-container--default 
.select2-selection--single .select2-selection__arrow b {
    display: none !important;
}
/*card layout fix*/
.ovabrw-card1 .ovabrw-card-header {
    padding: 8px 8px 0 8px;
}
/*Mobile view fix for rezervet tagad bottom slider*/
@media (max-width: 768px) {
    /* Push scroll-up button above the sticky reserve bar */
    #scroll_up {
        bottom: 90px !important;
    }

    /* Make sure sticky bar sits below scroll-up in stacking if needed */
    .ovabrw-product-sticky {
        z-index: 99998;
    }
}

@media (max-width: 480px) {
    .ovabrw-product-sticky .ovabrw-sticky-content {
        flex-direction: column;
        gap: 8px;
    }

    .ovabrw-product-sticky .ovabrw-product-btn a {
        white-space: nowrap;
        width: 100%;
        justify-content: center;
    }
}
/*Stila labojums checkout un groza lapam*/
.woocommerce-cart-form table.shop_table td.product-total dl.variation,
.woocommerce-checkout-review-order-table td.product-total dl.variation {
    display: block !important;
    width: 100% !important;
    overflow: hidden;
    clear: both;
    margin: 8px 0 0 0;
}

.woocommerce-cart-form table.shop_table td.product-total dl.variation dt,
.woocommerce-checkout-review-order-table td.product-total dl.variation dt {
    float: left !important;
    clear: left !important;
    display: block !important;
    width: auto !important;
    margin: 0 4px 6px 0 !important;
}

.woocommerce-cart-form table.shop_table td.product-total dl.variation dd,
.woocommerce-checkout-review-order-table td.product-total dl.variation dd {
    float: left !important;
    display: block !important;
    width: auto !important;
    margin: 0 0 6px 0 !important;
}

/* ============================================
   Mobile - stack table rows/cells so text
   doesn't get clipped at narrow widths
   ============================================ */
@media (max-width: 480px) {
    .woocommerce-cart-form table.shop_table,
    .woocommerce-cart-form table.shop_table tbody,
    .woocommerce-cart-form table.shop_table tr,
    .woocommerce-cart-form table.shop_table th,
    .woocommerce-cart-form table.shop_table td,
    .woocommerce-checkout-review-order-table,
    .woocommerce-checkout-review-order-table tbody,
    .woocommerce-checkout-review-order-table tfoot,
    .woocommerce-checkout-review-order-table tr,
    .woocommerce-checkout-review-order-table th,
    .woocommerce-checkout-review-order-table td {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
    }

    .woocommerce-cart-form table.shop_table td.product-name,
    .woocommerce-cart-form table.shop_table td.product-price,
    .woocommerce-cart-form table.shop_table td.product-total,
    .woocommerce-checkout-review-order-table td.product-name,
    .woocommerce-checkout-review-order-table td.product-total {
        white-space: normal;
        word-break: break-word;
        padding-left: 0;
        padding-right: 0;
    }

    .woocommerce-cart-form table.shop_table thead,
    .woocommerce-checkout-review-order-table thead {
        display: none;
    }

    /* Move scroll-to-top button above the sticky reserve/checkout bar */
    #scroll_up {
        bottom: 90px !important;
    }
}
/*Mini-cart - teksta pielidzinasana cenu  novietojumam*/
.wgl-theme-header .woo_mini_cart .woocommerce-mini-cart dl.variation {
    display: block;
    width: 100%;
    margin: 6px 0;
    overflow: hidden;
}

.wgl-theme-header .woo_mini_cart .woocommerce-mini-cart dl.variation dt {
    display: block;
    float: none;
    width: auto;
    margin: 0 0 2px 0;
    font-weight: bold;
    clear: both;
}

.wgl-theme-header .woo_mini_cart .woocommerce-mini-cart dl.variation dd {
    display: block;
    float: none;
    width: auto;
    margin: 0 0 6px 0;
}

.wgl-theme-header .woo_mini_cart .woocommerce-mini-cart dl.variation dd p {
    margin: 0;
}

/* Override WooCommerce CSS variables ar main.css vērtībām */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    --wc-form-border-color: #ebe9e5;
    --wc-form-border-width: 1px;
    --wc-form-border-radius: 26px;
    --wc-form-color-background: #ffffff;
    --wc-form-color-text: #000;
    height: 52px !important;
    padding: 10px 20px !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
    outline: none !important;
    transition: 0.3s !important;
}
/* Body teksta fonts - nunito */
body,
p, li,
td, th,
label,
input, textarea, select,
.elementor-widget-container p,
.elementor-widget-container li,
.elementor-widget-text-editor,
.elementor-widget-text-editor * {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 400 !important;
}

/* Headings - saglabāt Nunito */
h1, h2, h3, h4, h5, h6,
.elementor-heading-title,
.elementor-heading-title span,
.elementor-widget-heading .elementor-heading-title {
    font-family: 'Nunito', sans-serif !important;
    font-weight: 900 !important;
}
/* Restore Nunito bold for nav menus (overrides the Poppins body rule above) */
.primary-nav ul li,
.primary-nav ul li a,
.primary-nav ul li span,
.mobile_nav_wrapper .primary-nav ul li,
.mobile_nav_wrapper .primary-nav ul li a {
    font-family: 'Nunito', sans-serif !important;
    font-weight: 900 !important;
}

.cart_totals .woocommerce-Price-amount,
.cart-collaterals .cart_totals table td .woocommerce-Price-amount {
    white-space: nowrap;
    display: inline-block;
}
/* Fix cramped spacing in My Account orders table */
.woocommerce-orders-table th,
.woocommerce-orders-table td {
    padding: 12px 15px !important;
}

.woocommerce-orders-table th .nobr {
    white-space: nowrap;
}
/* Allow the orders table to scroll horizontally on tablet-ish widths,
   above the point where WooCommerce's own stacked mobile layout kicks in */
@media (min-width: 769px) and (max-width: 1024px) {
    .woocommerce-MyAccount-content {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .woocommerce-orders-table {
        min-width: 700px; /* keeps columns from squishing illegibly */
    }
}

/*Login formas + pogas fix*/
.rwas-login-wrap .woocommerce-form-login .form-row-first,
.rwas-login-wrap .woocommerce-form-login .form-row-last {
    float: none;
    width: 100%;
    margin-bottom: 20px;
}

.rwas-login-wrap .woocommerce-form-login .form-row-last {
    margin-bottom: 0;
}

.rwas-login-wrap .woocommerce-form-login__submit {
    width: 100%;
    text-align: center;
}

.rwas-login-wrap .woocommerce-form-login__rememberme {
    margin-top: 20px;
    display: block;
}
/*Register button size/width*/
.rwas-register-wrap .woocommerce-form-register__submit {
    width: 100%;
    text-align: center;
}
/* Fix payment method layout on checkout - bank transfer options */
#payment .payment_box.payment_method_bank_transfer > div[style] {
    display: block !important;
}

#payment .spell-payment-group__grid {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

#payment .spell-payment-method__custom-radio {
    margin: 0 !important;
}

#payment .spell-payment-group__item {
    width: 100% !important;
    box-sizing: border-box;
    margin: 0 !important;
}
/* Fix for payment type selector*/
.ovabrw-modern-deposit .deposit-type {
    display: flex !important;
    width: 100% !important;
    gap: 0 !important;
}

.ovabrw-modern-deposit .deposit-type .ovabrw-label-field {
    flex: 1 1 50% !important;
    width: 50% !important;
    max-width: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    text-align: center !important;
}

.ovabrw-modern-deposit .deposit-type .ovabrw-label-field .checkmark {
    display: block !important;
    width: 100% !important;
    padding: 12px 10px !important;
    box-sizing: border-box !important;
}
@media (max-width: 480px) {
    .ovabrw-modern-deposit .deposit-type .ovabrw-label-field .checkmark {
        font-size: 13px !important;
        padding: 12px 6px !important;
        line-height: 1.3 !important;
    }
}

/* Tighten registration form spacing */
.woocommerce-form-register .woocommerce-form-row {
    margin-bottom: 16px !important;
}

.woocommerce-form-register .woocommerce-form-row:last-of-type {
    margin-bottom: 0;
}

.woocommerce-form-register label {
    margin-bottom: 6px;
    display: inline-block;
}

.woocommerce-form-register .woocommerce-privacy-policy-text {
    margin-bottom: 12px;
}

.woocommerce-form-register__submit {
    width: 100%;
    margin: 0;
}

.rwas-switch-link {
    text-align: center;
    margin-top: 16px;
}

/* Tighten login form  spacing */
.woocommerce-form-login .form-row {
    margin-bottom: 16px !important;
}

.woocommerce-form-login .form-row:last-of-type {
    margin-bottom: 0;
}

.woocommerce-form-login label {
    margin-bottom: 6px;
    display: inline-block;
}

.woocommerce-form-login .woocommerce-form-login__rememberme {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px 0 !important;
}

.woocommerce-form-login .woocommerce-form-login__submit {
    width: 100%;
    margin: 0;
}

.woocommerce-form-login .lost_password {
    text-align: center;
    margin: 12px 0 0 0;
}
/*sakumlapas logo height*/
.wgl-logotype-container .default_logo,
.wgl-logotype-container .logo-mobile {
    height: 40px !important;
}
/*privatuma politikas teksta centrejums*/
#cmplz-document {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/*Login/register lapas formu labojums mazakiem ekraniem*/
@media (max-width: 768px) {
    .page-id-3473 #main,
    .page-id-3474 #main {
        padding: 20px 0 !important;
        min-height: 0 !important;
    }
    .page-id-3473 .row [class*=wgl_col-],
    .page-id-3474 .row [class*=wgl_col-] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .woocommerce form.login,
    .woocommerce form.register {
        margin: 0 !important;
        padding: 30px 20px !important;
        border-radius: 0 !important;
    }
    .rwas-form-wrap {
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

.cmplz-links.cmplz-information {
    display: none !important;
}

.cmplz-documents.cmplz-links {
    display: none !important;
}

/*my account/orders pogu labojums*/
.woocommerce-orders-table__cell-order-actions {
    display: flex !important;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.woocommerce-orders-table__cell-order-actions a.button {
    padding: 10px 20px !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}


/*search bar fix for mobile*/
@media (max-width: 480px) {
    .wgl-mobile-header {
        position: relative;
    }

    .wgl-mobile-header .header_search.search_standard {
        position: static;
    }

    .wgl-mobile-header .header_search.search_standard .header_search-field {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 15px 20px;
        z-index: 9999;
    }

    .wgl-mobile-header .header_search-field .search-form {
        width: 100%;
        box-sizing: border-box;
    }

    .wgl-mobile-header .header_search-field .search-field {
        width: 100%;
        box-sizing: border-box;
    }

    body {
        overflow-x: hidden;
    }
}

