.woocommerce-checkout h1.entry-title.main_title{
    display: none;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle{
    display: none;
}

.woocommerce-checkout  div#main-content {
    background: #F9F9F9;
    padding: 50px 0 90px 0;
}

.woocommerce-checkout form.checkout.woocommerce-checkout {
    background: #FFFFFF;
    border-radius: 0 0 15px 15px;
    padding: 40px;
    display: flex;
    flex-wrap: wrap;
}

ul.shipping-method {
    list-style: none;
    list-style-type: none !important;
    display: flex;
    background: #E7EFE9;
    padding: 24px !important;
    border-radius: 15px 15px 0 0;
    gap: 48px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

ul.shipping-method li label{
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    line-height: 24px;
    color: #0C1F26;
}

.delivery-charge {
    margin-bottom: 35px;
    font-size: 40px;
    line-height: 48px;
    width: 100%;
    font-weight: 700;
}

.delivery-charge a{
    color: #0C1F26;
    text-decoration: underline;
    font-weight: 500;
}

.woocommerce-checkout  .woocommerce .col2-set,.woocommerce-checkout  .woocommerce-page .col2-set {
    width: 60%;
    padding-right: 57px;
    border-right: 1px solid #667276;
}

.woocommerce-checkout .woocommerce .col2-set .col-1,.woocommerce-checkout .woocommerce-page .col2-set .col-1 {
    float: left;
    width: 100%;
}

.woocommerce-checkout .woocommerce form .form-row label{
    font-size: 18px;
    line-height: 28px;
    color: #0C1F26;
    margin-bottom: 12px;
}

.woocommerce-checkout  .et_pb_wc_cart_totals .select2-container--default .select2-selection--single,
.woocommerce-checkout  .et_pb_wc_checkout_billing .select2-container--default .select2-selection--single,
.woocommerce-checkout .et_pb_wc_checkout_shipping .select2-container--default .select2-selection--single,
.woocommerce-checkout  .woocommerce #content .quantity input.qty, .woocommerce-cart table.cart td.actions .coupon .input-text,
.woocommerce-checkout  .woocommerce-page #content .quantity input.qty, 
.woocommerce-checkout .woocommerce-page .quantity input.qty, 
.woocommerce-checkout .woocommerce .quantity input.qty, 
.woocommerce-checkout .woocommerce form .form-row input.input-text, 
.woocommerce-checkout .woocommerce form .form-row textarea {
    -webkit-appearance: none;
    background-color: transparent;
    max-width: 100%;
    border-width: 0;
    border-radius: 0;
    color: #667276;
    font-size: 14px;
    padding: 16px;
    line-height: 1.7em;
    border-style: solid;
    border: 1px solid #949B9E;
    border-radius: 15px;
}

.woocommerce-billing-fields h3{
    display: none;
}

p#billing_country_field {
    margin-right: 34px;
}

.select2-container .select2-selection--single {
    height: 58px !important;
    border-radius: 15px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #667276 !important;
    padding: 20px !important;
    line-height: 18px !important;
}

.woocommerce-checkout .woocommerce .col2-set .col-2,.woocommerce-checkout .woocommerce-page .col2-set .col-2 {
    float: right;
    width: 100%;
}

label.woocommerce-form__label.woocommerce-form__label-for-checkbox.checkbox {
    font-size: 18px;
}

.order-right-side {
    width: 40%;
    padding-left: 40px;
}

h3#order_review_heading {
    font-size: 32px;
    line-height: 40px;
    padding-bottom: 32px;
}


.checkout-order-list {
    height: 366px;
    overflow: auto;
}

 /* For WebKit based browsers (Chrome, Safari, Opera) */
 .checkout-order-list::-webkit-scrollbar {
    width: 4px; /* Width of the scrollbar */
}

.checkout-order-list::-webkit-scrollbar-thumb {
    background-color: #667276; /* Color of the scrollbar thumb */
    border-radius: 4px; /* Rounded corners for the scrollbar thumb */
}

/* For Firefox */
.checkout-order-list::-moz-scrollbar {
    width: 5px;
}

.checkout-order-list::-moz-scrollbar-thumb {
    background-color: #000;
    border-radius: 4px;
}

/* For Internet Explorer and Edge */
.checkout-order-list::-ms-scrollbar {
    width: 8px;
}

.checkout-order-list::-ms-scrollbar-thumb {
    background-color: #888;
    border-radius: 4px;
}

.checkout-order-list::-ms-scrollbar-thumb:hover {
    background-color: #555;
}

.checkout-order-list .cart_item {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-right: 15px;
}

.checkout-order-list .cart_item .product-thumbnail {
    width: 26%;
}

.checkout-order-list .cart_item .product-name {
    width: 44%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.checkout-order-list .cart_item .product-total {
    width: 20%;
}

dl.variation dd{
    text-align: left;
    margin-left: 0 !important;
}

.checkout_coupon.woocommerce-form-coupon p.form-row.form-row-first {
    /*width: 215px; */
    width:60% !important;
}

.checkout_coupon.woocommerce-form-coupon p.form-row.form-row-first input{
    border-radius: 30px;
    padding: 11px 20px;
}

.checkout_coupon.woocommerce-form-coupon button.button.wp-element-button:after {
    top: -7px;
}

.checkout_coupon.woocommerce-form-coupon p.form-row.form-row-last {
    width: 150px;
}

.order-card-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

span.order-card-item-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

span.order-card-item-wrapper h3{
    font-size: 24px;
    line-height: 28px;
    padding-bottom: 0;
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 30px;
    border-bottom: 1px solid #0C1F26;
}

.cart-subtotal  .subtotal {
    color: #0C1F26;
    font-size: 24px;
    line-height: 28px;
    font-weight: 600;
}

.cart-subtotal .amount {
    font-size: 32px;
    font-weight: 600;
}

.checkout #payment {
    border-style: solid !important;
    background: no-repeat !important;
    border: none !important;
}

#add_payment_method #payment div.payment_box, .woocommerce-cart #payment div.payment_box, .woocommerce-checkout #payment div.payment_box {
    background-color: transparent !important;
    color: #515151 !important;
    padding: 0 !important;
}

#add_payment_method #payment div.payment_box::before, .woocommerce-cart #payment div.payment_box::before, .woocommerce-checkout #payment div.payment_box::before{
    display: none;
}

.payment_box.payment_method_bank_transfer label {
    background: #F9F9F9 !important;
    padding: 0 !important;
    width: calc(33.33% - 15px) !important;
    border-radius: 15px !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px !important;
    box-sizing: border-box;
    height: 90px;
}


.payment_box.payment_method_bank_transfer>div{
    gap: 15px;
}

#add_payment_method #payment ul.payment_methods li img, .woocommerce-cart #payment ul.payment_methods li img, .woocommerce-checkout #payment ul.payment_methods li img {
    vertical-align: middle;
    margin: 0 !important;
    padding: 0;
    position: relative;
    box-shadow: none;
    border-radius: 0;
    object-fit: contain;
    top: -6px;
}

li.payment_method_bank_transfer .spell--pm-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    text-align: center;
    justify-content: center;
}

input.spell-payment-method {
    opacity: 0;
}

li.payment_method_bank_transfer .spell--pm-wrapper label {
    display: none;
}

span.woocommerce-terms-and-conditions-checkbox-text {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 20px;
}

.woocommerce #payment #place_order, .woocommerce-page #payment #place_order {
    float: right;
    background: #9EF3B0;
    border: none;
    margin-top: 16px;
    padding: 13px 0;
    box-sizing: border-box;
    color: #0C1F26;
    font-size: 18px;
    display: block;
    width: 100%;
}
.woocommerce #payment #place_order:hover::after, .woocommerce-page #payment #place_order:hover::after{
    color: #fff;
}
.coupon-code-item{
    display: none;
}

.coupon-code-item.block{
    display: block !important;
}
.woocommerce-checkout .woocommerce-additional-fields{
    display: block !important;
}
.woocommerce-checkout .woocommerce-additional-fields a{
    font-size: 18px;
    line-height: 28px;
    color: #0C1F26;
    margin-bottom: 12px;
    font-weight: bold;
}
@media(max-width:767px){
    .et_pb_section_0_tb_header.et_pb_section{
        padding-top: 4px !important;
    }
    .et_pb_section_0_tb_header.et_pb_section .column-cart{
        margin-top: 4px !important;
    }
}

@media(max-width:600px){
    .woocommerce-checkout form.checkout.woocommerce-checkout {
        padding: 0 20px 40px 20px;
    }

    .woocommerce-checkout .woocommerce .col2-set, .woocommerce-checkout .woocommerce-page .col2-set {
        width: 100%;
        padding-right: 0;
        border-right: 0px solid #667276;
    }

    p#billing_country_field {
        margin-right: 0;
    }

    .order-right-side {
        width: 100%;
        padding-left: 0;
    }

    .checkout-order-list .cart_item .product-name {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
    }

    span.order-card-item-wrapper {
        display: flex;
        align-items: center;
        gap: 20px;
        flex-wrap: wrap;
    }

}


.tax-rate.tax-rate-pvm-1 {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
}

.tax-rate.tax-rate-pvm-1 .tax-label {
    color: #0C1F26;
    font-size: 24px;
    line-height: 28px;
    font-weight: 600;
}

.tax-rate.tax-rate-pvm-1 .tax-label-amount {
    font-size: 32px;
    font-weight: 600;
}

.order-total {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
}

.order-total .order-title{
    color: #0C1F26;
    font-size: 24px;
    line-height: 28px;
    font-weight: 600;
}


.order-total .order-total-amount{
    font-size: 32px;
    font-weight: 600;
}

h3.shipping-title {
    color: #0C1F26 !important;
    font-size: 24px;
    line-height: 28px;
    font-weight: 600 !important;
    margin-bottom: 9px;
}


/* point nubmer 15 */
form.checkout_coupon.woocommerce-form-coupon .form-row-last button {
    border: 3px solid #9ef3b0 !important;
}
form.checkout_coupon.woocommerce-form-coupon .form-row-last button:hover {
    border: 3px solid #0c1f26 !important;
}

/* point nubmer 16 */
.et_pb_row.et_pb_row_4 .et_pb_module_inner h2{
  padding: 25px 0px !important  
}
.postid-4085 .et_pb_row.et_pb_row_4 .et_pb_module_inner .order-total{
    margin: 0px !important;
}
.postid-4085 .et_pb_row.et_pb_row_4 .et_pb_module_inner table.shop_table.shop_table_responsive.my_account_orders th,
.postid-4085 .et_pb_row.et_pb_row_4 .et_pb_module_inner table.shop_table.shop_table_responsive.my_account_orders td {
    padding: 20px !important;
}

.postid-4085 .et_pb_row.et_pb_row_4 .et_pb_module_inner table.shop_table td {
    line-height: 4.5em !important;
}


.postid-4085 .et_pb_row.et_pb_row_4 .et_pb_module_inner table .button.view {
    border: none;
}


/* point number 20 */
span.et_pb_contact_field_options_list.required {
    display: block;
}

span.et_pb_contact_field_options_list.required span{
    width:100%;
}

.et_pb_gutters3 .woocommerce-order{
    padding: 50px;
}

.page-id-9 #et-main-area{
    padding:50px;
}



/* points fixes */

    button.woocommerce-Button.button {
        border: none;
        padding-left: 2rem !important;
    }
    button.woocommerce-Button.button::after {
        display: none;
    }

    .checkout_coupon.woocommerce-form-coupon p.form-row.form-row-first {
        width: 60%;
    }
    form.checkout_coupon.woocommerce-form-coupon .form-row-last button {
        margin-left: -95px;
        margin-top: 1px;
        padding-left: 2em !important;
        padding-right: 2em !important;
    }
/* `.archive-bc-page span.woocommerce-Price-currencySymbol { margin-left: -8px }`
   was here. It was harmless while the symbol was `display: none`; once the
   polish pass un-hid it, the -8px pulled the visible '€' back over the last
   digit of every archive price. `woocommerce_currency_pos` is `right_space`,
   so the &nbsp; before the symbol is the intended separator. */

/* Divi appends its arrow glyph as an absolutely-positioned ::after that sits at
   the end of the label. With zero horizontal padding the glyph has nowhere to
   land and paints outside the control: measured on the "added to cart" notice,
   the "Krepšelis" link is 70px wide and its chevron sat 42px past the right
   edge as a detached arrow. Symmetric padding keeps `text-align: center` honest
   while giving the glyph room inside the button. */
.et_button_icon_visible.woocommerce a.button{
    padding: 6px 2.6em !important;
    text-align: center !important;
}
.et_pb_module.et_pb_db_content.et_pb_db_content_0.clearfix {
    /* display: none; */
}

/* .et_pb_row.et_pb_row_6 {
    display: none;
} */
.et-db #et-boc .et-l .et_pb_image_0_tb_header .et_pb_image_wrap img {
    border-radius: 5px !important;
}

/* for 404 page */
img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
    border-radius: 16px !important;
}

.prisijunkvalign-text-middle{
	color: #2F7893 !important;
}
.prisijunkvalign-text-middle:hover{
	text-decoration:underline;
}
div#de_fb_pamiršau_slaptažodį_wrapper a {
    color: #2F7893 !important;
}
div#de_fb_pamiršau_slaptažodį_wrapper a:hover {
    text-decoration:underline;
}



.et_pb_row.et_pb_row_0.zts_registration_page_cont.et-last-child .de_fb_submit_container {
    width: 100%;
}

.et_pb_row.et_pb_row_0.zts_registration_page_cont.et-last-child .divi-form-submit-container {
    width: 100%;
}
.et_pb_row.et_pb_row_0.zts_registration_page_cont.et-last-child button.divi-form-submit.et_pb_button {
    width: 100%;
}

body.et-db #page-container #et-boc .et-l .et_pb_section .et_pb_button_0:hover {
    background-color: black !important; /* Example hover background color */
    color: white !important; /* Example hover text color */
}

div#sticky-cart-add {
    padding-top: 0px !important;
}
.et_pb_module.et_pb_wc_title.et_pb_wc_title_0.et_pb_bg_layout_light h1 {
    font-size: 20px;
}


@media (max-width: 979px) {
    form.checkout_coupon.woocommerce-form-coupon .form-row-last button {
        width: 100% !important;
    }
    .checkout_coupon.woocommerce-form-coupon p.form-row.form-row-first {
        width: 100% !important;
    }

    form.checkout_coupon.woocommerce-form-coupon .form-row-last button {
        margin-left: 0px !important;
        width: 100% !important;
    }
}


/* For widths below 980px */
/*@media only screen and (max-width: 979px) {
    .checkout_coupon.woocommerce-form-coupon p.form-row.form-row-first {
        width: 54% !important;
    }

    form.checkout_coupon.woocommerce-form-coupon .form-row-last button {
        margin-left: 0px !important;
        width: 100% !important;
    }

}*/

/* For widths 980px to 1199px */
@media only screen and (min-width: 980px) and (max-width: 1199px) {
    .checkout_coupon.woocommerce-form-coupon p.form-row.form-row-first {
        width: 54% !important;
    }
}

@media (max-width: 1299px) {
    .checkout_coupon.woocommerce-form-coupon p.form-row.form-row-first {
        width: 100% !important;
    }
}

/* For widths 1200px to 1599px */
@media only screen and (min-width: 1298px) and (max-width: 1599px) {
    .checkout_coupon.woocommerce-form-coupon p.form-row.form-row-first {
        width: 59% !important;
    }
}

/* For widths 1600px to 2199px */
@media only screen and (min-width: 1600px) and (max-width: 2199px) {
    .checkout_coupon.woocommerce-form-coupon p.form-row.form-row-first {
        width: 68% !important;
    }
}

/* For widths 2200px and above */
@media only screen and (min-width: 2200px) {
    .checkout_coupon.woocommerce-form-coupon p.form-row.form-row-first {
        width: 78% !important;
    }
}
/* ==========================================================================
 * Header navigation — desktop items on a single line
 *
 * The desktop menu grew from 1 item to 5 (Parduotuvė, Apie mus, DUK,
 * Straipsniai, Kontaktai) so that desktop matches the mobile menu. The column
 * has room — 704px against 643px of content — but the menu module is a flex
 * item with `flex: 0 1 auto`, so its base width is measured from content that
 * has ALREADY wrapped. The <ul> then reports 411px instead of the 433px it
 * needs and never claims the ~80px of spare space beside it.
 *
 * Forcing nowrap above Divi's desktop breakpoint lets the module resolve to
 * its natural width. Scoped to the header so nothing else is affected, and
 * kept above 981px so the mobile drawer is untouched.
 * ======================================================================== */
@media only screen and (min-width: 981px) {
    #global-header-section .et_pb_menu_0_tb_header ul.et-menu {
        flex-wrap: nowrap;
    }
    /* nowrap on the <ul> alone just moves the problem: the flex items then
       shrink instead of wrapping, and "Apie mus" breaks mid-label. The links
       have to refuse to break too. */
    #global-header-section .et_pb_menu_0_tb_header ul.et-menu > li,
    #global-header-section .et_pb_menu_0_tb_header ul.et-menu > li > a {
        white-space: nowrap;
        flex-shrink: 0;
    }
    #global-header-section .et_pb_text_0_tb_header {
        white-space: nowrap;
        flex-shrink: 0;
        margin-right: 24px;
    }
    /* The logo shares the same flex row. Once the menu and CTA stop shrinking,
       it becomes the only compressible item and collapses (measured: 14px wide
       against a 151x151 source). It must hold its size too. */
    #global-header-section .et_pb_image_0_tb_header {
        flex-shrink: 0;
    }
}

/* ==========================================================================
 * Cart page
 *
 * The cart page (woocommerce_cart_page_id) had been deleted and was recreated
 * from scratch, so these two defects had never been exercised before.
 *
 * 1. Divi's parent stylesheet sets `body { font-family: "Open Sans" }`. Divi's
 *    own body_font setting ("Space Grotesk") is emitted per-module, so a plain
 *    non-builder page like the cart falls back to Open Sans and reads in a
 *    typeface that appears nowhere else on the site. Point body at the token.
 *
 * 2. The cart now renders WooCommerce's stock quantity input (see the guard in
 *    woocommerce/global/quantity-input.php — the theme's qtyMenu widget is
 *    single-product-only). Style it to match the site's other form fields.
 * ======================================================================== */
body {
    font-family: var(--font-family-space_grotesk);
}

.woocommerce-cart .product-quantity .quantity input.qty {
    display: block;
    width: 100%;
    height: 48px;
    padding: 0 12px;
    font-family: var(--font-family-space_grotesk);
    font-size: var(--font-size-s);
    color: var(--dark-blue);
    border: 1px solid var(--dark-blue-40);
    border-radius: 8px;
    background: var(--white);
}

/* Quote-only products — see packus_price_on_request_label() in functions.php.
   BodyCommerce wraps every loop price in its own "Kaina nuo:" prefix and a
   suffix span. Once the price itself reads "Kaina pagal užklausą" those
   wrappers are nonsense, so drop them for this case only. :has() is already
   used elsewhere in this theme, so the support baseline is unchanged. */
.price:has(.price--on-request) .bc-price-before,
.price:has(.price--on-request) .bc-price-after {
    display: none;
}

.price--on-request {
    font-style: normal;
    color: var(--dark-blue-60);
}

/* ==========================================================================
 * Parduotuvė dropdown
 *
 * The dropdown was authored for ~6 hardcoded links: a 404px-wide panel of
 * 372px inline-block rows, 80px tall, each with an SVG icon
 * (style.css:1745-1807). It now carries 11 categories, which broke it twice:
 *
 * 1. The `white-space: nowrap` added above for the top-level nav is inherited,
 *    and the rows are inline-block — so all 11 were forced onto ONE line,
 *    4092px wide inside a 404px panel. Ten of the eleven rendered off-screen
 *    (the last at x=4072). Reset white-space so they flow again.
 *
 * 2. Even flowing correctly, 11 rows x 80px is an 880px-tall dropdown — taller
 *    than most viewports. Widen the panel to two columns so it is 6 rows deep.
 *
 * Icons are reassigned by repair-submenu.php; rows with no icon are tagged
 * `menu-no-icon` so they don't reserve 60px of empty space for one.
 * ======================================================================== */
@media only screen and (min-width: 981px) {
    #global-header-section li.menu-shop > ul.sub-menu {
        white-space: normal;
        width: 812px !important;
        /* !important because Divi's `.et-db #et-boc .et-l .et_pb_menu
           .et-menu-nav > ul ul { padding: 20px 0 }` scores (1,4,2) against this
           selector's (1,2,2) and wins on specificity — but only where that rule
           is loaded. Divi splits its static CSS, and `style-static-cpt.min.css`
           is enqueued on product and category templates and not on the homepage,
           so the dropdown was 12px on the homepage and 20px everywhere else.
           That 8px shifted every row and is what "the megamenu differs on
           category and product pages" was. Measured on both. */
        padding: 12px 0 !important;
    }

    #global-header-section li.menu-shop > ul.sub-menu > li {
        vertical-align: top;
    }

    /* Only six of the eleven categories have an icon. The five without one used
       to get a neutral grey tile here, on the reasoning that it kept every row
       on one text baseline. It doesn't need to: the 60px left padding on the
       link does that on its own, and the tile is what actually reads as a
       broken image — five grey squares in a menu whose other rows carry
       photographs. Removed; the rows still align.

       If those five categories ever get artwork, add a `menu-<name>` class to
       the menu item and a background-image rule beside the six in style.css. */
}

/* ==========================================================================
 * == 2026-08-13: every product page is the same width ==
 *
 * Some products rendered their content column at 1360px and others at 1088px,
 * from the same layout (#3763), same template, same viewport. Measured at 1440:
 * `dezutes-su-langeliu` 1360, `gofro-kartono-dezes` 1088.
 *
 * The cause is Divi's per-post CSS compiler, not the layout and not a stale
 * cache — deleting et-cache/5588 and re-rendering reproduced it exactly. Divi
 * groups selectors that share declarations, and the group carrying `width:100%`
 * reads `.et_pb_db_atc_0, .et_pb_row_2, …`. On 12 of the 13 products sampled
 * that group is emitted and the row is 100% wide; on `gofro-kartono-dezes` the
 * compiled file has 7 distinct `.et_pb_row_N` selectors instead of 13, the group
 * is absent, and the row falls back to Divi's factory
 * `.et_pb_row { width: 80%; max-width: 1080px }` — hence 1088.
 *
 * So the intended width is only ever applied by accident of compilation. Pin it
 * instead: the child theme already sets max-width 1440px on `.et_pb_row`, and
 * this makes the body rows take it on every product. Scoped to `.et-l--body` so
 * the header (1280px) and footer keep their own widths.
 * ======================================================================== */
body.single-product .et-l--body .et_pb_row {
    width: 100% !important;
    /* 2026-09-17: and the cap. The same compiler lottery decides whether the
       layout's max_width="100%" is emitted, so on some products (staging,
       `popieriniai-maiseliai-maistui-issinesti`, 1920px screen) the row went
       full-bleed while others stopped at the child theme's 1440px. Pin the
       DESIGN.md content width so every product page is the same width. */
    max-width: 1440px !important;
}

/* ==========================================================================
 * == Polish 2026-08: money is never shown without its currency ==
 *
 * Divi Theme Options -> Custom CSS carried an unconditional
 * `.woocommerce-Price-currencySymbol { display: none }`, so every amount on
 * the archives, cart, checkout and mini-cart rendered as a bare number —
 * "Suma 5.00" for a euro price. The rule has been removed at source
 * (polish-apply.php `states`), but Divi compiles Theme Options CSS into
 * wp-content/et-cache/global/ and rebuilds that file from its own cache, so
 * the deleted rule can outlive the option.
 *
 * This selector is one level more specific than the rule it answers
 * (0,2,0 against 0,1,0), so it wins regardless of file order or cache state.
 * Verified safe: every price emits exactly one &euro; inside this span and
 * BodyCommerce's bc-price-after suffix spans are empty, so nothing doubles.
 * ======================================================================== */
.woocommerce-Price-amount .woocommerce-Price-currencySymbol,
.et_pb_db_price .woocommerce-Price-currencySymbol {
    display: inline;
}

/* ==========================================================================
 * == Polish 2026-08: purge Divi's stock blue from WooCommerce chrome ==
 *
 * Divi ships `style-static.min.css` with ~50 rules hardcoding its factory
 * accent #2ea3f2. Two of them land on the revenue path and were live:
 *
 *   .woocommerce .woocommerce-info      { background: #2ea3f2 }
 *   .woocommerce a.button.alt           { border-color: #2ea3f2 }
 *
 * So the empty-cart notice rendered as a solid stock-blue band with white
 * text (~2.75:1, fails AA) and the cart's action buttons picked up the same
 * purged blue. The colour cannot be removed from the vendor file, so it is
 * answered here. DESIGN.md: notices are tonal panels, never a colour event;
 * Fresh Mint is reserved for the commit action.
 * ======================================================================== */
/* Divi declares `color: #fff !important` on all three notice types (it assumes
   they sit on its blue). Moving the panel to Black Haze without answering that
   declaration would leave white text on near-white — worse than the original.
   The !important here is matching Divi's, not decoration. */
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message,
.woocommerce-page .woocommerce-info,
.woocommerce-page .woocommerce-message {
    background: var(--black-haze);
    border-top: 3px solid var(--big-stone);
    color: var(--dark-blue) !important;
}

.woocommerce .woocommerce-info a,
.woocommerce .woocommerce-message a,
.woocommerce-page .woocommerce-info a,
.woocommerce-page .woocommerce-message a {
    color: var(--big-stone);
}

.woocommerce .woocommerce-error,
.woocommerce-page .woocommerce-error {
    background: var(--black-haze);
    border-top: 3px solid #a4262c;
    color: var(--dark-blue) !important;
}

.woocommerce .woocommerce-error a,
.woocommerce-page .woocommerce-error a {
    color: #a4262c;
}

/* Secondary actions (Grįžti į parduotuvę, Atnaujinti krepšelį): outline in the
   brand ink rather than the factory blue. */
.woocommerce a.button.alt,
.woocommerce-page a.button.alt,
.woocommerce .woocommerce-info .button,
.woocommerce .cart .button,
.woocommerce .return-to-shop .button {
    border-color: var(--big-stone);
    color: var(--big-stone);
}

/* ==========================================================================
 * == Polish 2026-08: the commit action reads as the commit action ==
 *
 * DESIGN.md's Fresh Mint Rule reserves #9ef3b0 for the moment the buyer
 * commits. Two controls on that path contradicted it:
 *
 * 1. "Tęsti atsiskaitymą" — the cart's checkout CTA — was a thin outline
 *    button in 2.75:1 blue, visually quieter than the mint "Pateikti
 *    užklausą" button sitting in the footer directly beneath it.
 * 2. "Į krepšelį" carried WHITE text on mint (~1.5:1) and, while no variation
 *    is selected, WooCommerce fades it to ~1.1:1 — unreadable, and it reads
 *    as permanently disabled.
 *
 * Both get the button-action treatment: mint fill, ink label. The disabled
 * state becomes a tonal grey that keeps its label legible instead of an
 * opacity fade that erases it.
 * ======================================================================== */
.woocommerce .wc-proceed-to-checkout a.checkout-button,
.woocommerce-page .wc-proceed-to-checkout a.checkout-button {
    background: var(--green-color);
    border: none;
    color: var(--dark-blue);
    font-family: var(--font-family-space_grotesk);
    font-size: var(--font-size-s);
    font-weight: 500;
    text-align: center;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-page .wc-proceed-to-checkout a.checkout-button:hover {
    background: #74d691;
    color: var(--dark-blue);
}

.woocommerce button.single_add_to_cart_button,
.woocommerce-page button.single_add_to_cart_button {
    background: var(--green-color);
    color: var(--dark-blue) !important;
    border: none;
}

.woocommerce button.single_add_to_cart_button:hover,
.woocommerce-page button.single_add_to_cart_button:hover {
    background: #74d691;
    color: var(--dark-blue) !important;
}

/* WooCommerce fades the button to opacity .25 until a variation is chosen,
   which drops a white label to ~1.1:1. Trade the fade for a tonal grey so the
   control still announces what it does while it waits. */
.woocommerce button.single_add_to_cart_button.disabled,
.woocommerce button.single_add_to_cart_button:disabled,
.woocommerce-page button.single_add_to_cart_button.disabled,
.woocommerce-page button.single_add_to_cart_button:disabled {
    opacity: 1;
    background: var(--black-haze);
    color: var(--dark-blue-60) !important;
    cursor: not-allowed;
}

/* Keyboard users need to see where they are on the order path. */
.woocommerce a.button:focus-visible,
.woocommerce button.button:focus-visible,
.woocommerce .wc-proceed-to-checkout a.checkout-button:focus-visible,
.woocommerce button.single_add_to_cart_button:focus-visible {
    outline: 2px solid var(--big-stone);
    outline-offset: 2px;
}

/* ==========================================================================
 * == Polish 2026-08: header fits the laptop it is read on ==
 *
 * Measured on the live header at three widths (logo + 5-item menu + the
 * "Individualus užsakymas" CTA all sit in the 58% left column):
 *
 *   viewport 1280 -> column 650px, content runs to 704px  => 54px OVERFLOW
 *   viewport 1440 -> column 742px, content runs to 704px  => fits
 *   viewport 1600 -> column 835px                          => fits
 *
 * The overflow is what clipped "Individualus užsa…" underneath the search
 * field on the homepage and wrapped "Kontaktai" onto a second row on the
 * shop page — the same defect presenting two ways.
 *
 * 1440px is not a new magic number: it is the site's own Divi content_width,
 * i.e. the width this header was composed at. Below it, the standalone CTA
 * is dropped — the same action stays reachable from the footer's "Pateikti
 * užklausą" button and the shop hero — and the menu gives back a little
 * inter-item padding. Above it, nothing changes.
 * ======================================================================== */
@media only screen and (min-width: 981px) and (max-width: 1439px) {
    #global-header-section .et_pb_text_0_tb_header {
        display: none;
    }

    #global-header-section .et_pb_menu_0_tb_header ul.et-menu > li {
        padding-left: 8px;
        padding-right: 8px;
    }
}

/* ==========================================================================
 * == Polish 2026-08: mini-cart keeps its own contents inside the panel ==
 *
 * The slide-in panel is 409px wide but its inner rows were not bounded by it,
 * so the parts that matter most fell off the right edge: the total's "su PVM"
 * suffix, the "Kainų lentelė" link (rendered as "Kai"), the Rinktis and
 * Apmokėti pills, and — on desktop — the line-item remove control and the
 * panel's own close button, which left no way to undo an add from the panel.
 * ======================================================================== */
.goofy-mini-cart-container,
.goofy-mini-cart-container * {
    max-width: 100%;
    box-sizing: border-box;
}

.goofy-mini-cart-container {
    overflow-x: hidden;
    padding-right: 16px;
    padding-left: 16px;
}

.goofy-mini-cart-container .goofy-close-mini-cart-desktop {
    right: 16px;
}

/* Long product titles were pushing the row wider than the panel instead of
   wrapping, which is what carried the remove control off-screen. */
.goofy-mini-cart-container .mini-cart-item-title,
.goofy-mini-cart-container .woocommerce-mini-cart-item a {
    overflow-wrap: anywhere;
    white-space: normal;
}

/* ==========================================================================
 * == Polish 2026-08: mobile — category nav and price tables stay legible ==
 *
 * 1. Shop sidebar: category links were given a fixed line-box, so any name
 *    that wrapped printed its second line ON TOP of the first — "Atsparus
 *    Riebalams" over "Popierius", "CUSTOM BOXES AND PAPER" over "BAGS". The
 *    store's primary category nav looked broken on every archive.
 *
 * 2. The variant "Kainų / dydžių lentelė" is wider than a phone. It was
 *    clipped at the viewport edge with no scrollbar and no swipe hint, so the
 *    Spalva and "Kaina / vnt." columns — the reason the table exists — were
 *    simply unreachable. Give it its own scroll container.
 * ======================================================================== */
/* ==========================================================================
 * == Polish 2026-08: the product page leads with the product on mobile ==
 *
 * The single-product row holds two columns: 3_5 (gallery + full description)
 * and 2_5 (title, price, variations, "Į krepšelį"). Below Divi's desktop
 * breakpoint they stack in DOM order, and the description column is ~4,015px
 * tall — so measured on a 390px viewport:
 *
 *   gallery       71px
 *   description  697px
 *   H1         4,116px   <- the product's NAME, five screens down
 *   add to cart 5,149px
 *
 * A buyer opening a product link met an unlabelled photo and a wall of copy
 * with no name, no price and no way to buy. Promoting the buy-box column puts
 * the name, price and action in the first viewport; the gallery and
 * description follow. This matches the repeat trade buyer in PRODUCT.md, who
 * arrives knowing the product and needs price and quantity, not persuasion.
 *
 * Scoped to the single-product row so no other stacked Divi row is affected.
 * ======================================================================== */
@media only screen and (max-width: 980px) {
    .et_pb_row.goofy_single_product_page {
        display: flex;
        flex-direction: column;
    }

    .et_pb_row.goofy_single_product_page > .et_pb_column.et_pb_column_2_5 {
        order: 1;
    }

    .et_pb_row.goofy_single_product_page > .et_pb_column.et_pb_column_3_5 {
        order: 2;
    }
}

/* The shop filter's category rows are Divi contact-field radios. style.css
   pins them to `line-height: 0.7em !important` below 967px to keep single-line
   rows tight — 11.2px at a 16px font. Any name that wraps ("Atsparus
   Riebalams Popierius", "CUSTOM BOXES AND PAPER BAGS") then prints its second
   line on top of its first, which is what made the store's primary category
   nav look broken on every mobile archive. Restore a real line box and take
   the tightness back out of the margins instead. */
@media only screen and (max-width: 980px) {
    #divi_filter div.et_pb_de_mach_search_posts_item,
    #divi_filter .et_pb_contact_field_options_list,
    #divi_filter .et_pb_contact_field_options_list .et_pb_contact_field_radio,
    #divi_filter .et_pb_contact_field_options_list label.radio-label {
        line-height: 1.35 !important;
    }

    #divi_filter .et_pb_contact_field_options_list .et_pb_contact_field_radio {
        display: block;
        margin-bottom: 6px;
    }
}

@media only screen and (max-width: 768px) {
    .widget_product_categories li,
    .widget_product_categories li a,
    .product-categories li,
    .product-categories li a {
        height: auto;
        min-height: 0;
        line-height: 1.4;
        white-space: normal;
        overflow: visible;
    }

    .woocommerce table.variations,
    .tablepress-table-wrapper,
    .et_pb_db_content table,
    .single-product .tablepress {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* (2026-08-10's 21px padding on the gallery column is gone: it squared a
   left gutter against the buy column's right one while the row was full-bleed
   and the gallery hugged x=0. The row is now capped at 1440px and the gallery
   box is centred in its column — see "product column box" below.) */

/* ==========================================================================
 * == 2026-09-17: product column box ==
 *
 * The breadcrumb, the gallery, the recycling icons and the description are
 * the four blocks of the product page's left column. They now share one box:
 * 590px of content (the gallery image) plus a 52px gutter each side that
 * holds the carousel arrows. The box is centred in the column and narrows
 * with it, so all four line up on the same left edge at every width.
 *
 * Before, the gallery was a right-floated 590px block steered by a
 * per-breakpoint padding ladder in functions.php; the description hugged the
 * column's left edge (x≈36 on a 1920 screen against the image at 241, owner's
 * screenshot, ledger PKS-078) and the breadcrumb — inside the overflow:hidden
 * float — lost its first letters once the column got narrower than the float.
 * The ladder and the float are gone from functions.php; the breadcrumb is
 * emitted before the slider box (functions.php, goofy_dhawan_product_slider).
 *
 * `#page-container` is needed on the icon module: Divi's own
 * `.et-db #et-boc .et-l .et_pb_image { margin: auto }` outranks a bare id.
 * ======================================================================== */
body.single-product .goofy_breadcrumbs,
body.single-product .goofy-custom-slider,
body.single-product #page-container #perdirbama,
body.single-product .et_pb_db_content {
    width: 694px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 52px;
    padding-right: 52px;
    box-sizing: border-box;
}
body.single-product .goofy_breadcrumbs {
    padding-top: 24px;
}
/* The layout (#3763) declares section and row top padding 0, but those are
   per-post attributes and subject to the same compiler lottery as the row
   width above — locally the section rendered with Divi's default 72px. Pin
   them so the breadcrumb sits 24px under the header everywhere, level with
   the product title (whose top margin functions.php already zeroes). */
body.single-product .et-l--body .et_pb_section.goofy-single {
    padding-top: 0 !important;
}
body.single-product .et-l--body .et_pb_row.goofy_single_product_page {
    padding-top: 0 !important;
}
body.single-product .goofy-custom-slider {
    padding-top: 0;
    padding-bottom: 52px;
}
@media only screen and (max-width: 768px) {
    body.single-product .goofy_breadcrumbs,
    body.single-product .goofy-custom-slider,
    body.single-product #page-container #perdirbama,
    body.single-product .et_pb_db_content {
        padding-left: 32px;
        padding-right: 32px;
    }
    body.single-product .goofy-custom-slider {
        padding-bottom: 32px;
    }
    /* the carousel arrows follow the narrower gutter */
    body.single-product .goofy_single_product_page .goofy-slider-prev { left: -32px; }
    body.single-product .goofy_single_product_page .goofy-slider-next { right: -32px; }
}

/* ==========================================================================
 * == Layout pass 2026-08-10: account link becomes an icon ==
 *
 * "Prisijungti / Registruotis" was 162px of header text sitting beside the
 * cart glyph, which is the widest single item in the right-hand column. The
 * label is replaced by a user icon at the cart's own 28px box so the two read
 * as a pair. font-size:0 hides the label visually but leaves it in the
 * accessibility tree, so screen readers still announce the destination —
 * the icon is not given a redundant aria-label for that reason.
 * Stroke weight, colour and cap style match the incumbent line-art header.
 * ======================================================================== */
.et-l--header li.myaccount > a {
    display: inline-block;
    width: 28px;
    height: 28px;
    font-size: 0 !important;
    line-height: 0;
    vertical-align: middle;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%230C1F26" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="8.2" r="3.7"/><path d="M4.9 19.6c0-3.6 3.2-5.7 7.1-5.7s7.1 2.1 7.1 5.7"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
}

.et-l--header li.myaccount > a:hover {
    opacity: 0.7;
}

/* ==========================================================================
 * == Layout pass 2026-08-10: mini-cart "Rekomenduojame" rows ==
 *
 * The markup targets a slick carousel that never initialises on this panel
 * (measured: no .slick-initialized), so every suggestion rendered at full
 * height and stacked — five cards, 887px, pushing the totals and the checkout
 * button a screen and a half down inside a slide-in cart. The template now
 * caps the list at three; these rules make each row a compact line so the
 * whole block costs ~240px and the order path stays reachable.
 * ======================================================================== */
.goofy-mini-cart-slider {
    padding: 12px !important;
    gap: 12px !important;
    align-items: center;
    border-radius: 5px;
}
.goofy-mini-cart-slider + .goofy-mini-cart-slider { margin-top: 8px; }

.goofy-mini-cart-slider-img { width: 64px !important; flex: 0 0 64px; }
.goofy-mini-cart-slider-img a img {
    width: 64px !important;
    height: 64px;
    object-fit: contain;
    display: block;
}
/* Name on its own line, then price and the Rinktis link share the next one.
   Stacked in a column the three parts came to 126px per row; side by side the
   row lands near 76px, which is what keeps three suggestions to ~240px. */
.goofy-mini-cart-slider-content {
    width: auto !important;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 10px;
    row-gap: 2px;
}
.goofy-mini-cart-slider-content > .goofy-mini-cart-slider-name { flex: 1 0 100%; }
.goofy-mini-cart-slider-content > span { flex: 0 0 auto; }
.goofy-mini-cart-slider-content > .goofy-add-to-cart-btn {
    flex: 0 0 auto;
    margin-left: auto;
    /* 2026-08-13: was `4px 0 !important`. Squeezing the row height should not
       have taken the horizontal padding with it — the base rule gives this pill
       5px 36px, and zeroing both axes left "Rinktis" and its arrow flush against
       a 50px-radius border. 16px is the design system's md step and is
       proportionate to the 13px label this button is set in. */
    padding: 4px 16px !important;
}
.goofy-mini-cart-slider-name {
    font-size: var(--font-size-xs, 14px);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;      /* two lines is enough to identify a product */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.goofy-mini-cart-slider-content span { font-size: var(--font-size-xs, 14px); }
.goofy-mini-cart-slider-content .goofy-add-to-cart-btn {
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.goofy-mini-cart-slider-content .goofy-add-to-cart-btn svg { width: 16px; height: 16px; }


/* ==========================================================================
 * == Layout pass 2026-08-10: side cart is full viewport height ==
 *
 * The outer wrapper was already 100vh, but the white panel inside it
 * (.goofy-mini-cart-container) computed 630px of a 900px viewport — measured —
 * so the cart stopped short of the fold and the totals sat in mid-air. Make the
 * panel itself full height, then lay it out as a column so the item list takes
 * the slack and scrolls while the totals and the checkout button stay pinned to
 * the bottom edge where a buyer expects them.
 *
 * dvh after vh: on mobile browsers 100vh is the LARGE viewport height, so the
 * panel would run under the address bar. dvh tracks the visible viewport; the
 * vh line stays first as the fallback for engines without dvh.
 * ======================================================================== */
.goofy-mini-cart-main-container {
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
}

.goofy-mini-cart-container {
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100vh !important;
    max-height: 100dvh !important;
    display: flex;
    flex-direction: column;
}

/* The item list is the only part that should scroll. */
.goofy-mini-cart-container ul.woocommerce-mini-cart {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

/* Everything after the list — totals, VAT line, buttons — holds the bottom. */
.goofy-mini-cart-container ul.woocommerce-mini-cart ~ * {
    flex: 0 0 auto;
}

/* ==========================================================================
 * == Layout pass 2026-08-10: deterministic header height + cart height ==
 *
 * Padding alone did not move the homepage header: with padding-top at 48px the
 * row still computed 120px, so something upstream is fixing the box. A
 * min-height states the intent directly and cannot be argued with by padding
 * maths. 150px against the incumbent 97px.
 *
 * Same story for the side cart: the panel is a flex child of a 900px-tall
 * wrapper, carries no inline height, and still computed 630px. Addressed via
 * the parent so the selector outranks whatever is setting it, with align-items
 * stretch so the child fills the wrapper regardless.
 * ======================================================================== */
body .goofy-mini-cart-main-container {
    align-items: stretch !important;
}
body .goofy-mini-cart-main-container > .goofy-mini-cart-container,
body .goofy-mini-cart-main-container .goofy-mini-cart-container {
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    align-self: stretch !important;
}

/* ==========================================================================
 * == Layout pass 2026-08-10: taller homepage hero ==
 *
 * Owner request: more height on the homepage hero — the banner carrying
 * "Tvaru. Patikima. Kokybiška.", not the top navigation, which stays at its
 * incumbent 97px.
 *
 * Target is the first section of homepage body layout #16. Its vertical padding
 * genuinely drives its height here (528px = 448px row + 2x40px), so padding is
 * the honest lever; min-height is a floor so the band cannot collapse if the
 * copy shortens. 40px -> 72px on the 8px rhythm, taking the hero from 528px to
 * roughly 600px. Desktop only: below 981px the columns stack and the section
 * sizes to its content.
 * ======================================================================== */
@media only screen and (min-width: 981px) {
    body.home .et-l--body .et_pb_section_0_tb_body {
        padding-top: 72px !important;
        padding-bottom: 72px !important;
        min-height: 728px !important;
        /* min-height now exceeds the content box (448px row + 144px padding),
           so the row would otherwise sit at the top with dead space beneath it.
           Centre it in the taller band. */
        display: flex !important;
        flex-direction: column;
        justify-content: center;
    }
}
