                    /* Custom styles */
                    .product-short-description a, .tab-panels a, .woo_archive_description a { color: #18aef9 !important; text-decoration: underline !important; }
                    .product-short-description a:hover, .tab-panels a:hover, .woo_archive_description a:hover { color: var(--dark-blue) !important; text-decoration: underline !important; }

                    .yith-ywraq-item-remove.remove:hover {
                    color: #b20000 !important;
                    }

                    .tab-has-icon-custom {
                        color: #00a651;
                        font-size: 100%;
                        font-weight: bold;
                    }

                    .message-container.container.alert-color.medium-text-center {
                        color: #ff0000;
                        font-size: 24px;
                        font-weight: bold;
                    }

                    .showcoupon {
                        color: #9e0b0f;
                        font-size: 14px;
                        font-weight: bold;
                    }

                    /* ======= SHIPPING SECTION ======= */

#shipping_method li.shipping__list_item:nth-child(3) {
    display: none !important;
}

#shipping_method input[type="radio"] {
  display: none !important;
}

#shipping_method .shipping__list_label {
  position: relative !important;
  padding: 12px 16px 12px 44px !important;
  cursor: pointer !important;
  display: block !important;
  line-height: 1.4 !important;
  font-size: 16px !important;
  background: #f9f9f9 !important;
  border: 2px solid #ddd !important;
  border-radius: 12px !important;
  margin-bottom: 10px !important;
  transition: all 0.3s ease !important;
  color: #333 !important;
}

#shipping_method .shipping__list_label::before {
  content: "" !important;
  position: absolute !important;
  left: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 18px !important;
  height: 18px !important;
  border: 1px solid #333 !important;
  border-radius: 50% !important;
  background-color: #fff !important;
  transition: all 0.2s ease-in-out !important;
}

#shipping_method input[type="radio"]:checked + .shipping__list_label {
  border-color: #0073e6 !important;
  background-color: #eaf4ff !important;
  color: #004d99 !important;
}

#shipping_method input[type="radio"]:checked + .shipping__list_label::before {
  border-color: #0073e6 !important;
  box-shadow: inset 0 0 0 6px #0073e6 !important;
}

#shipping_method .shipping__list_label:hover {
  border-color: #0073e6 !important;
}


/* ======= PAYMENT SECTION ======= */
ul.wc_payment_methods input[type="radio"] {
  display: none !important;
}

ul.wc_payment_methods > li > label {
  position: relative !important;
  padding: 12px 16px 12px 44px !important;
  cursor: pointer !important;
  display: block !important;
  line-height: 1.4 !important;
  font-size: 16px !important;
  background: #f9f9f9 !important;
  border: 2px solid #ddd !important;
  border-radius: 12px !important;
  margin-bottom: 10px !important;
  transition: all 0.3s ease !important;
  color: #333 !important;
}

ul.wc_payment_methods > li > label::before {
  content: "" !important;
  position: absolute !important;
  left: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 18px !important;
  height: 18px !important;
  border: 1px solid #333 !important;
  border-radius: 50% !important;
  background-color: #fff !important;
  transition: all 0.2s ease-in-out !important;
}

ul.wc_payment_methods input[type="radio"]:checked + label {
  border-color: #0073e6 !important;
  background-color: #eaf4ff !important;
  color: #004d99 !important;
}

ul.wc_payment_methods input[type="radio"]:checked + label::before {
  border-color: #0073e6 !important;
  box-shadow: inset 0 0 0 6px #0073e6 !important;
}

ul.wc_payment_methods > li > label:hover {
  border-color: #0073e6 !important;
}

                    .button.wc-backward, .button.button-continue-shopping, .shipping-calculator-form .button, .woocommerce-mini-cart__buttons .button, .woocommerce-form-register__submit, .woocommerce-form-login__submit {
                        background-color: var(--dark-blue) !important;
                        color: var(--white) !important;
                        font-size: 12px !important;
                        border: 2px solid var(--dark-blue) !important;
                        border-radius: 5px !important;
                        text-transform: uppercase !important;
                        transition: background-color 0.3s ease-in-out !important;
                        min-height: 40px !important;
                        align-items: center;
                        justify-content: center;
                        padding: 5px 20px !important;
                        margin: 10px 15px 10px 0px !important;
                    }

                    .button.wc-backward:hover,
.button.button-continue-shopping:hover,
.shipping-calculator-form .button:hover,
.woocommerce-mini-cart__buttons .button:hover,
.woocommerce-form-register__submit:hover,
.woocommerce-form-login__submit:hover {
    background-color: var(--green) !important;
    border: 2px solid var(--green) !important;
}

                    .cart-pdf-button.button, .cart-pdf-button-container .button {
                        background-color: var(--dark-blue) !important;
                        color: var(--white) !important;
                        font-size: 12px !important;
                        border: 2px solid var(--dark-blue) !important;
                        border-radius: 5px !important;
                        text-transform: uppercase !important;
                        transition: background-color 0.3s ease-in-out !important;
                        min-height: 40px !important;
                        align-items: center;
                        justify-content: center;
                        padding: 5px 20px !important;
                        margin: 10px 15px 10px 0px !important;
                        width: 100% !important;
                    }

                    .cart-pdf-button.button:hover, .cart-pdf-button-container .button:hover {
                        background-color: var(--green) !important;
    border: 2px solid var(--green) !important;
                    }

                    button#ywraq-list-to-pdf {
                        background-color: var(--dark-blue) !important;
                        color: var(--white) !important;
                        font-size: 12px !important;
                        border: 2px solid var(--dark-blue) !important;
                        border-radius: 5px !important;
                        text-transform: uppercase !important;
                        transition: background-color 0.3s ease-in-out !important;
                        min-height: 40px !important;
                        align-items: center;
                        justify-content: center;
                        padding: 0px 20px !important;
                        margin: 10px 0px !important;
                    }
                    
                    .update-list-wrapper input[type="submit"][name="update_raq"] {
                        background-color: var(--green) !important;
                        color: var(--white) !important;
                        font-size: 12px !important;
                        border: 2px solid var(--green) !important;
                        border-radius: 5px !important;
                        text-transform: uppercase !important;
                        transition: background-color 0.3s ease-in-out !important;
                        min-height: 40px !important;
                        align-items: center;
                        justify-content: center;
                        padding: 0px 20px !important;
                        margin: 10px 0px !important;
                    }

                    button#place_order, .wc-proceed-to-checkout .checkout-button.button, .woocommerce-mini-cart__buttons .checkout.button {
                        background-color: var(--green) !important;
                        color: var(--white) !important;
                        font-size: 12px !important;
                        border: 2px solid var(--green) !important;
                        border-radius: 5px !important;
                        text-transform: uppercase !important;
                        transition: background-color 0.3s ease-in-out !important;
                        min-height: 40px !important;
                        align-items: center;
                        justify-content: center;
                        padding: 5px 20px !important;
                        margin: 10px 15px 10px 0px !important;
                    }

                    .button.primary.mt-0.pull-left.small {
                        background-color: var(--green) !important;
                        color: var(--white) !important;
                        font-size: 12px !important;
                        border: 2px solid var(--green) !important;
                        border-radius: 5px !important;
                        text-transform: uppercase !important;
                        transition: background-color 0.3s ease-in-out !important;
                        min-height: 40px !important;
                        align-items: center;
                        justify-content: center;
                        padding: 0px 20px !important;
                        margin: 10px 15px 10px 0px !important;
                    }

                    .coupon .button {
                        background-color: var(--light-blue) !important;
                        color: var(--dark-blue) !important;
                        font-size: 12px !important;
                        border: 2px solid var(--light-blue) !important;
                        border-radius: 5px !important;
                        text-transform: uppercase !important;
                        transition: background-color 0.3s ease-in-out !important;
                        min-height: 40px !important;
                        align-items: center;
                        justify-content: center;
                        padding: 5px 20px !important;
                        margin: 10px 15px 10px 0px !important;
                        font-weight: bold !important;
                    }

                    .sku_wrapper {
                        font-size: 15px !important;
                    }

                    .sku_wrapper, .posted_in, .tagged_as {
                        color: var(--dark-blue) !important;
                        font-weight: bold !important;
                    }
                    .sku_wrapper .sku, .posted_in a, .tagged_as a {
                        color: #0983a3 !important;
                        font-weight: normal !important;
                    }

                    .yith-wcwl-add-button a, .yith_ywraq_add_item_browse-list.yith_ywraq_add_item_browse_message.hide-when-removed {
                        position: relative;
                        display: inline-block;
                        background-color: transparent;
                        text-transform: uppercase;
                        font-size: .97em;
                        letter-spacing: .03em;
                        cursor: pointer;
                        font-weight: bolder;
                        text-align: center;
                        color: currentColor;
                        text-decoration: none;
                        border: 1px solid transparent;
                        vertical-align: middle;
                        border-radius: 0;
                        margin-top: 0;
                        margin-right: 1em;
                        text-shadow: none;
                        line-height: 2.4em;
                        min-height: 2.5em;
                        padding: 0 1.2em;
                        max-width: 100%;
                        transition: transform .3s, border .3s, background .3s, box-shadow .3s, opacity .3s, color .3s;
                        text-rendering: optimizeLegibility;
                        box-sizing: border-box;
                        background-color: #446084;
                        background-color: var(--primary-color);
                        border-color: rgba(0, 0, 0, .05);
                        color: #fff;
                        margin-bottom: 1em;
                    }

                    div[class*="yith_ywraq_add_item_browse-list-"] {
                        background-color: #405e22 !important;
                        color: var(--white) !important;
                        font-size: 12px !important;
                        border: 2px solid var(--green) !important;
                        border-radius: 5px !important;
                        text-transform: uppercase !important;
                        transition: background-color 0.3s ease-in-out !important;
                        min-height: 40px !important;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        width: 100%;
                        padding: 0px !important;
                        margin: 5px 0px 0px 0px !important;
                    }

                    div[class*="yith_ywraq_add_item_browse-list-"] a {
                        color: #ffffff !important;
                    }

                    .top-cp-link, .top-cqo-link {
                        color: #ffffff !important;
                        text-transform: uppercase !important;
                        font-weight: bold !important;
                    }

                    .top-cp-link:hover, .top-cqo-link:hover {
                        color: #ffffff !important;
                    }

                    .top-cp-link:after {
                    font-family: "Font Awesome 5 Free";
                    content: "\f570";
                    padding-left: 10px;
                    }

                    .top-cqo-link:after {
                    font-family: "Font Awesome 5 Free";
                    content: "\f050";
                    padding-left: 10px;
                    }


                    .shop-page-title .category-filter-row {
                        display: none !important;
                    }

                    .edited .filter-button {
                        color: #ffffff !important;
                    }

                    .single_variation_wrap .add_to_wishlist {
                        display: none !important;
                    }

                    .wishlist-account-element {
                        display: none !important;
                    }

                    label, legend {
                        font-weight: bold;
                        display: block;
                        font-size: 1.2em;
                        margin-bottom: 0.4em;
                    }

                    .badge-container {
                        margin: 0px 0 0 0;
                    }

                    .badge {
                        display: table;
                        z-index: 20;
                        pointer-events: none;
                        height: 1.8em;
                        width: 1.8em;
                        -webkit-backface-visibility: hidden;
                        backface-visibility: hidden;
                    }

                    .datepick-inline .datepick-days-cell a, .datepick-inline .datepick-days-cell span {
                        position: relative;
                        z-index: 1;
                    }

                    .datepick-inline .calendar-links .datepick-next {
                        float: right;
                        text-align: right;
                        width: 49%;
                        padding-right: 1%;
                        z-index: 1;
                        position: relative;
                        line-height: 1.5em;
                    }

                    .datepick-inline .calendar-links .datepick-prev {
                        float: left;
                        width: 49%;
                        text-align: left;
                        padding-left: 1%;
                        z-index: 1;
                        position: relative;
                        line-height: 1.5em;
                    }

                    img.size-full.alignnone {
                        margin-bottom: 1em;
                    }

                    div.yith-wcwl-add-to-wishlist {
                        display: inline-block !important;
                    }

                    .wishlist-popup {
                        background-color: rgba(0, 0, 0, 0);
                    }

                    .login-for-prices {
                        background-color: var(--dark-blue) !important;
                        color: var(--white) !important;
                        font-size: 12px !important;
                        font-weight: bold !important;
                        border-radius: 5px !important;
                        text-transform: uppercase !important;
                        transition: background-color 0.3s ease-in-out !important;
                        min-height: 40px !important;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        width: 100%;
                        padding: 0px !important;
                        margin: 20px 0px 40px 0px !important;
                    }
                    .login-for-prices:hover {
                        background-color: var(--green) !important;
                    }
                    .product-title {
                        color: var(--dark-blue) !important;
                    }

                .custom-product-meta .posted_in a:hover, .custom-product-meta .tagged_as a:hover { text-decoration: underline !important; }

                    .custom-product-meta .sku_wrapper:before {
                    font-family: "Font Awesome 5 Free";
                    content: "\f0cb";
                    padding-right: 10px;
                        }

                    .custom-product-meta .posted_in:before {
                    font-family: "Font Awesome 5 Free";
                    content: "\f5fd";
                    font-size: 15px !important;
                    padding-right: 10px;
                        }

                    .custom-product-meta .tagged_as:before {
                    font-family: "Font Awesome 5 Free";
                    content: "\f02b";
                    padding-right: 10px;
                        }

                .variations .reset_variations { color: var(--dark-blue) !important; opacity: 1 !important; padding: 0px !important; margin: 0px !important; bottom: 90% !important; }

                .variations .reset_variations:before { font-family: "Font Awesome 5 Free"; content: "\f057";}

                .shop-container .term-description a { color: #0983a3 !important; }

                .shop-container .term-description a:hover { color: #0983a3 !important; text-decoration: underline !important; }

                .shop-container .products { margin-top: 20px !important; }

#place_order { background-color: yellow !important; }


/* === YITH Quote Form: Full Layout & Styles (Scoped) === */
.yith-ywraq-mail-form-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    padding: 40px !important;
    border-radius: 12px !important;
    background: #f9f9f9 !important;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.04) !important;
    font-family: Arial, sans-serif !important;
}

/* Title */
.yith-ywraq-mail-form-wrapper h3 {
    font-size: 28px !important;
    margin-bottom: 30px !important;
    color: #222 !important;
}

/* Form Layout */
.yith-ywraq-mail-form-wrapper form {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0px !important;
}

/* Two-column layout for first 4 fields */
.yith-ywraq-mail-form-wrapper #first_name_field,
.yith-ywraq-mail-form-wrapper #last_name_field,
.yith-ywraq-mail-form-wrapper #email_field,
.yith-ywraq-mail-form-wrapper #Telefon_field {
    flex: 1 1 calc(50% - 10px) !important;
    box-sizing: border-box !important;
}

/* Two-column layout for Doprava and Platba */
.yith-ywraq-mail-form-wrapper #Doprava_field,
.yith-ywraq-mail-form-wrapper #Platba_field {
    flex: 1 1 calc(50% - 10px) !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important; /* ← small gap between radio buttons */
    position: relative !important;
    width: 100% !important;
}

/* All other fields full width */
.yith-ywraq-mail-form-wrapper .form-row {
    flex: 1 1 100% !important;
}

/* Labels */
.yith-ywraq-mail-form-wrapper label {
    display: block !important;
    font-weight: bold !important;
    margin-bottom: 6px !important;
    font-size: 15px !important;
    color: #333 !important;
}

/* Inputs & Textarea */
.yith-ywraq-mail-form-wrapper input[type="text"],
.yith-ywraq-mail-form-wrapper input[type="email"],
.yith-ywraq-mail-form-wrapper input[type="tel"],
.yith-ywraq-mail-form-wrapper textarea {
    width: 100% !important;
    padding: 12px !important;
    font-size: 15px !important;
    border: 1px solid #ccc !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #333 !important;
}

.yith-ywraq-mail-form-wrapper textarea {
    resize: vertical !important;
    min-height: 120px !important;
}

/* Hide native radio buttons */
.yith-ywraq-mail-form-wrapper input[type="radio"] {
    display: none !important;
}

/* Styled radio labels */
.yith-ywraq-mail-form-wrapper label.radio {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 15px !important;
    padding: 10px 14px !important;
    border: 1px solid #ccc !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: #333 !important;
    cursor: pointer !important;
    transition: 0.2s ease border-color, 0.2s ease background !important;
    position: relative !important;
    margin: 4px 0 !important;
}

/* Custom radio circle */
.yith-ywraq-mail-form-wrapper label.radio::before {
    content: "" !important;
    display: inline-block !important;
    width: 16px !important;
    height: 16px !important;
    border: 2px solid #999 !important;
    border-radius: 50% !important;
    background: #fff !important;
    flex-shrink: 0 !important;
}

/* Checked radio styles */
.yith-ywraq-mail-form-wrapper input[type="radio"]:checked + label.radio::before {
    background-color: #1e73be !important;
    border-color: #1e73be !important;
    box-shadow: inset 0 0 0 4px #fff !important;
}

.yith-ywraq-mail-form-wrapper input[type="radio"]:checked + label.radio {
    border-color: #1e73be !important;
    background-color: #f0f8ff !important;
}

/* Radio Section Titles */
.yith-ywraq-mail-form-wrapper #Doprava_field > label,
.yith-ywraq-mail-form-wrapper #Platba_field > label {
    font-weight: bold !important;
    margin-bottom: 10px !important;
    font-size: 16px !important;
    color: #000 !important;
    display: block !important;
}

/* Submit Button */
.yith-ywraq-mail-form-wrapper .raq-send-request {
    background-color: #1e73be !important;
    color: #fff !important;
    padding: 14px 32px !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
}

.yith-ywraq-mail-form-wrapper .raq-send-request:hover {
    background-color: #155d8a !important;
}

/* Error Message */
.yith-ywraq-mail-form-wrapper .woocommerce-error.woocommerce-message {
    background: #ffe5e5 !important;
    border: 1px solid #b00020 !important;
    color: #b00020 !important;
    padding: 12px 20px !important;
    border-radius: 6px !important;
    font-size: 15px !important;
    margin-bottom: 24px !important;
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
}

/* Responsive: Stack on Mobile */
@media (max-width: 768px) {
    .yith-ywraq-mail-form-wrapper #first_name_field,
    .yith-ywraq-mail-form-wrapper #last_name_field,
    .yith-ywraq-mail-form-wrapper #email_field,
    .yith-ywraq-mail-form-wrapper #Telefon_field,
    .yith-ywraq-mail-form-wrapper #Doprava_field,
    .yith-ywraq-mail-form-wrapper #Platba_field {
        flex: 1 1 100% !important;
    }
    .yith-ywraq-mail-form-wrapper {
    padding: 0px !important;
    }
}

.yith-ywraq-before-table {
display: none !important;
}


/* === WooCommerce Account Edit Form Styling (specific to Edit Account page) === */
body.woocommerce-account.woocommerce-edit-account .woocommerce-EditAccountForm {
    width: 100% !important;
    max-width: 100% !important;
    padding: 40px !important;
    border-radius: 12px !important;
    background: #f9f9f9 !important;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.04) !important;
    font-family: Arial, sans-serif !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0px !important;
}

body.woocommerce-account.woocommerce-edit-account .woocommerce-EditAccountForm p.form-row {
    flex: 1 1 calc(50% - 10px) !important;
    box-sizing: border-box !important;
    margin-bottom: 0 !important;
}

body.woocommerce-account.woocommerce-edit-account .woocommerce-EditAccountForm p.form-row.form-row-wide,
body.woocommerce-account.woocommerce-edit-account .woocommerce-EditAccountForm p.form-row.form-row-first,
body.woocommerce-account.woocommerce-edit-account .woocommerce-EditAccountForm p.form-row.form-row-last,
body.woocommerce-account.woocommerce-edit-account .woocommerce-EditAccountForm fieldset {
    flex: 1 1 100% !important;
}

body.woocommerce-account.woocommerce-edit-account .woocommerce-EditAccountForm label {
    display: block !important;
    font-weight: bold !important;
    margin-bottom: 6px !important;
    font-size: 15px !important;
    color: #333 !important;
}

body.woocommerce-account.woocommerce-edit-account .woocommerce-EditAccountForm input[type="text"],
body.woocommerce-account.woocommerce-edit-account .woocommerce-EditAccountForm input[type="email"],
body.woocommerce-account.woocommerce-edit-account .woocommerce-EditAccountForm input[type="password"],
body.woocommerce-account.woocommerce-edit-account .woocommerce-EditAccountForm input[type="tel"] {
    width: 100% !important;
    padding: 12px !important;
    font-size: 15px !important;
    border: 1px solid #ccc !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #333 !important;
}

body.woocommerce-account.woocommerce-edit-account #account_display_name_description {
    font-size: 13px !important;
    color: #666 !important;
    display: block !important;
    margin-top: 4px !important;
    font-style: italic !important;
}

body.woocommerce-account.woocommerce-edit-account .woocommerce-EditAccountForm fieldset legend {
    font-size: 18px !important;
    font-weight: bold !important;
    margin-bottom: 15px !important;
    color: #000 !important;
}

body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm.edit-account button[type="submit"] {
    background-color: #1e73be !important;
    color: #fff !important;
    padding: 14px 32px !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
}

body.woocommerce-account.woocommerce-edit-account form.woocommerce-EditAccountForm.edit-account button[type="submit"]:hover {
    background-color: #155d8a !important;
}

/* Responsive: stack fields */
@media (max-width: 768px) {
    body.woocommerce-account.woocommerce-edit-account .woocommerce-EditAccountForm p.form-row {
        flex: 1 1 100% !important;
    }
}


/* === WooCommerce Address Section Full Width (Edit Address page only) === */
body.woocommerce-account.woocommerce-edit-address .woocommerce-MyAccount-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

body.woocommerce-account.woocommerce-edit-address .woocommerce-Address {
    background: #f9f9f9 !important;
    padding: 30px !important;
    border-radius: 12px !important;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05) !important;
    flex: 1 1 calc(50% - 10px) !important;
    box-sizing: border-box !important;
    margin-right: 25px !important;
}

body.woocommerce-account.woocommerce-edit-address .woocommerce-Address-title h2 {
    font-size: 22px !important;
    color: #222 !important;
    margin-bottom: 15px !important;
}

body.woocommerce-account.woocommerce-edit-address .woocommerce-Address-title .edit {
    float: right !important;
    font-size: 14px !important;
    color: #1e73be !important;
    text-decoration: none !important;
}

body.woocommerce-account.woocommerce-edit-address .woocommerce-Address-title .edit:hover {
    text-decoration: underline !important;
}

body.woocommerce-account.woocommerce-edit-address .woocommerce-Address address {
    font-size: 15px !important;
    color: #333 !important;
    line-height: 1.6 !important;
    white-space: pre-line !important;
    font-style: normal !important;
}

/* Responsive: full width and stacked layout for mobile */
@media (max-width: 768px) {
    body.woocommerce-account.woocommerce-edit-address .woocommerce-Address {
        flex: 1 1 100% !important;
    }

    body.woocommerce-account.woocommerce-edit-address .woocommerce-Address-title .edit {
        float: none !important;
        display: block !important;
        margin-top: 10px !important;
    }
}


/* === WooCommerce Address Edit Form Styling (Billing + Shipping Only) === */
body.woocommerce-account.woocommerce-edit-address form.woocommerce-address-fields,
body.woocommerce-account.woocommerce-edit-address form.woocommerce-address-fields form,
body.woocommerce-account.woocommerce-edit-address form.woocommerce-address-fields__field-wrapper,
body.woocommerce-account.woocommerce-edit-address form.woocommerce-address-fields__field-wrapper .form-row {
    width: 100% !important;
    box-sizing: border-box !important;
}

body.woocommerce-account.woocommerce-edit-address form.woocommerce-address-fields,
body.woocommerce-account.woocommerce-edit-address form[method="post"] {
    background: #f9f9f9 !important;
    padding: 40px !important;
    border-radius: 12px !important;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.04) !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0px !important;
    margin-bottom: 40px !important;
}

body.woocommerce-account.woocommerce-edit-address form.woocommerce-address-fields h2,
body.woocommerce-account.woocommerce-edit-address form[method="post"] h2 {
    flex: 1 1 100% !important;
    font-size: 24px !important;
    color: #222 !important;
    margin-bottom: 10px !important;
}

body.woocommerce-account.woocommerce-edit-address form.woocommerce-address-fields .form-row,
body.woocommerce-account.woocommerce-edit-address form[method="post"] .form-row {
    flex: 1 1 calc(50% - 10px) !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

body.woocommerce-account.woocommerce-edit-address form .form-row.form-row-wide {
    flex: 1 1 100% !important;
}

body.woocommerce-account.woocommerce-edit-address form .form-row label {
    font-weight: bold !important;
    font-size: 15px !important;
    margin-bottom: 6px !important;
    color: #333 !important;
}

body.woocommerce-account.woocommerce-edit-address form .form-row input[type="text"],
body.woocommerce-account.woocommerce-edit-address form .form-row input[type="email"],
body.woocommerce-account.woocommerce-edit-address form .form-row input[type="tel"],
body.woocommerce-account.woocommerce-edit-address form .form-row input[type="password"],
body.woocommerce-account.woocommerce-edit-address form .form-row select {
    width: 100% !important;
    padding: 12px !important;
    font-size: 15px !important;
    border: 1px solid #ccc !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #333 !important;
}

body.woocommerce-account.woocommerce-edit-address form .woocommerce-input-wrapper {
    width: 100% !important;
}
    
body.woocommerce-account.woocommerce-edit-address form.woocommerce-address-fields button[type="submit"] {
    background-color: #1e73be !important;
    color: #fff !important;
    padding: 14px 32px !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
    margin-top: 10px !important;
}

body.woocommerce-account.woocommerce-edit-address form.woocommerce-address-fields button[type="submit"]:hover {
    background-color: #155d8a !important;
}
/* Mobile: stack fields */
@media (max-width: 768px) {
    body.woocommerce-account.woocommerce-edit-address form.woocommerce-address-fields,
    body.woocommerce-account.woocommerce-edit-address form[method="post"] {
        flex-direction: column !important;
    }

    body.woocommerce-account.woocommerce-edit-address form .form-row {
        flex: 1 1 100% !important;
    }
}


/* === Force WooCommerce conditional fields to remain hidden unless shown dynamically === */
#billing_state_field,
#billing_address_2_field,
#shipping_state_field,
#shipping_address_2_field {
    display: none !important;
}

#yith-ywraq-form ul {
margin-left: 0px !important;
}
#yith-ywraq-form li {
margin-bottom: -20px !important;
}


/* === Custom WooCommerce Checkout Styling (Scoped) === */
#customer_details {
    width: 100% !important;
    max-width: 100% !important;
    padding: 40px !important;
    border-radius: 12px !important;
    background: #f9f9f9 !important;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.04) !important;
    font-family: Arial, sans-serif !important;
}

#customer_details h3 {
    font-size: 28px !important;
    margin-bottom: 30px !important;
    color: #222 !important;
}

/* Layout adjustments */
#customer_details .form-row {
    box-sizing: border-box !important;
    padding: 0 5px !important;
    margin-bottom: 16px !important;
}

/* Two-column layout on desktop */
@media (min-width: 769px) {
    #customer_details .form-row.form-row-first,
    #customer_details .form-row.form-row-last {
        float: left !important;
    }
}

/* Full-width fallback */
#customer_details .form-row-wide,
#customer_details .form-row.address-field {
    width: 100% !important;
    clear: both !important;
}

/* Labels */
#customer_details label {
    display: block !important;
    font-weight: bold !important;
    margin-bottom: 6px !important;
    font-size: 15px !important;
    color: #333 !important;
}

/* Inputs & Textarea */
#customer_details input[type="text"],
#customer_details input[type="email"],
#customer_details input[type="tel"],
#customer_details select,
#customer_details textarea {
    width: 100% !important;
    padding: 12px !important;
    font-size: 15px !important;
    border: 1px solid #ccc !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #333 !important;
    box-sizing: border-box !important;
}

#customer_details textarea {
    resize: vertical !important;
    min-height: 120px !important;
}

/* Additional Notes Section */
#customer_details .woocommerce-additional-fields {
    margin-top: 40px !important;
}

/* Responsive: Stack on Mobile */
@media (max-width: 768px) {
    #customer_details {
        padding: 0 !important;
    }

    #customer_details .form-row {
        width: 100% !important;
        float: none !important;
    }
}

/* === Style Select2 (Billing Country) to Match Inputs === */
#customer_details .select2-container--default .select2-selection--single {
    width: 100% !important;
    height: auto !important;
    padding: 12px !important;
    font-size: 15px !important;
    border: 1px solid #ccc !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #333 !important;
    box-sizing: border-box !important;
}

/* Select2 text spacing */
#customer_details .select2-selection__rendered {
    line-height: normal !important;
    padding-left: 0 !important;
}

/* Arrow position in Select2 */
#customer_details .select2-selection__arrow {
    height: 100% !important;
    top: 0 !important;
    right: 10px !important;
}

#customer_details #shipping_country_field select {
    padding: 0 0 0 12px !important;
}


/* === Styled WooCommerce Shipping Calculator (Scoped) === */
.woocommerce-shipping-calculator #shipping-calculator-form {
    padding: 30px !important;
    background: #f9f9f9 !important;
    border-radius: 12px !important;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.04) !important;
    font-family: Arial, sans-serif !important;
}

/* Labels */
.woocommerce-shipping-calculator label {
    display: block !important;
    font-weight: bold !important;
    margin-bottom: 6px !important;
    font-size: 15px !important;
    color: #333 !important;
}

/* Inputs & Selects */
.woocommerce-shipping-calculator input[type="text"],
.woocommerce-shipping-calculator select {
    width: 100% !important;
    padding: 12px !important;
    font-size: 15px !important;
    border: 1px solid #ccc !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #333 !important;
    box-sizing: border-box !important;
}

/* Individual field spacing */
.woocommerce-shipping-calculator .form-row {
    margin-bottom: 16px !important;
    box-sizing: border-box !important;
}

/* === Refined button style for "Vypočítať poplatok za dopravu" === */
.woocommerce-shipping-calculator .shipping-calculator-button {
    display: inline-block !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #1e73be !important;
    background-color: #eef6fc !important;
    padding: 10px 18px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    border: 1px solid #d6eaff !important;
    transition: all 0.2s ease !important;
    margin-bottom: 20px !important;
}

.woocommerce-shipping-calculator .shipping-calculator-button:hover {
    background-color: #dbeeff !important;
    color: #155d8a !important;
    border-color: #b5ddf9 !important;
}


/* === Polished Terms Checkbox in Checkout Sidebar === */

.checkout-sidebar input#terms {
    width: 18px !important;
    height: 18px !important;
    margin-right: 10px !important;
    accent-color: #1e73be !important; /* Modern browsers only */
    cursor: pointer !important;
}

/* Improve the label appearance */
.checkout-sidebar .woocommerce-form__label-for-checkbox {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #333 !important;
    padding: 12px 16px !important;
    background: #f9f9f9 !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    margin-top: 20px !important;
    transition: all 0.2s ease !important;
}

/* Hover effect */
.checkout-sidebar .woocommerce-form__label-for-checkbox:hover {
    background-color: #f0f8ff !important;
    border-color: #1e73be !important;
}

/* Style the terms link */
.checkout-sidebar .woocommerce-terms-and-conditions-link {
    color: #1e73be !important;
    text-decoration: underline !important;
}

.checkout-sidebar .woocommerce-terms-and-conditions-link:hover {
    color: #155d8a !important;
    text-decoration: none !important;
}

/* Scope to WooCommerce order confirmation only */
.woocommerce-order {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  background-color: #f9f9f9 !important;
  border-radius: 12px !important;
  padding: 30px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important;
  margin: 20px 0 !important;
}

/* Titles */
.woocommerce-order h2,
.woocommerce-order h3,
.woocommerce-order .woocommerce-order-details__title {
  color: #2c3e50 !important;
  border-bottom: 2px solid #eee !important;
  padding-bottom: 8px !important;
  margin-top: 20px !important;
}

/* Order summary list */
.woocommerce-thankyou-order-details li {
  background: #fff !important;
  margin: 8px 0 !important;
  padding: 10px 15px !important;
  border-left: 5px solid #3498db !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03) !important;
}

/* Product table */
.woocommerce-order .shop_table.order_details {
  width: 100% !important;
  background: #fff !important;
  border-collapse: collapse !important;
  border: 1px solid #ddd !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

.woocommerce-order .shop_table th,
.woocommerce-order .shop_table td {
  padding: 12px 16px !important;
  text-align: left !important;
  border-bottom: 1px solid #eee !important;
}

.woocommerce-order .shop_table th {
  background: #f0f4f8 !important;
  font-weight: 600 !important;
}

.woocommerce-order .shop_table tfoot th {
  background: #f8f8f8 !important;
}

.woocommerce-order .shop_table tfoot td {
  font-weight: bold !important;
}

/* Product names and links */
.woocommerce-order .product-name a {
  color: #2a7ae2 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
}
.woocommerce-order .product-name a:hover {
  text-decoration: underline !important;
}

/* Highlight success message */
.woocommerce-order .woocommerce-notice--success {
  background: #e8f7e4 !important;
  border-left: 6px solid #27ae60 !important;
  padding: 12px 20px !important;
  border-radius: 8px !important;
  color: #2e7d32 !important;
  font-size: 1.1em !important;
}

/* Customer details */
.woocommerce-order address {
  background: #fff !important;
  padding: 15px 20px !important;
  border: 1px solid #eee !important;
  border-radius: 8px !important;
  line-height: 1.6 !important;
}

/* Column spacing */
.woocommerce-order .large-7.col,
.woocommerce-order .large-5.col {
  padding: 10px 20px !important;
}


/* === Custom Styling for WooCommerce Login/Register Forms (Based on Quote Form) === */

/* Form Container Styles */
.woocommerce-form-login,
.woocommerce-form-register {
    max-width: 100% !important;
    padding: 40px !important;
    border-radius: 12px !important;
    background: #f9f9f9 !important;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.04) !important;
    font-family: Arial, sans-serif !important;
}

/* Titles */
.account-login-inner h3,
.account-register-inner h3 {
    font-size: 28px !important;
    margin-bottom: 30px !important;
    color: #222 !important;
}

/* Labels */
.woocommerce-form-login label,
.woocommerce-form-register label {
    display: block !important;
    font-weight: bold !important;
    margin-bottom: 6px !important;
    font-size: 15px !important;
    color: #333 !important;
}

/* Input Fields */
.woocommerce-form-login input[type="text"],
.woocommerce-form-login input[type="email"],
.woocommerce-form-login input[type="password"],
.woocommerce-form-login input[type="tel"],
.woocommerce-form-register input[type="text"],
.woocommerce-form-register input[type="email"],
.woocommerce-form-register input[type="password"],
.woocommerce-form-register input[type="tel"] {
    width: 100% !important;
    padding: 12px !important;
    font-size: 15px !important;
    border: 1px solid #ccc !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #333 !important;
}

/* Textarea Styling */
.woocommerce-form-login textarea,
.woocommerce-form-register textarea {
    resize: vertical !important;
    min-height: 120px !important;
    padding: 12px !important;
    font-size: 15px !important;
    border: 1px solid #ccc !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #333 !important;
}

/* Row Spacing */
.woocommerce-form-login .form-row,
.woocommerce-form-register .form-row {
    margin-bottom: 20px !important;
    flex: 1 1 100% !important;
}

/* Responsive Padding */
@media (max-width: 768px) {
    .woocommerce-form-login,
    .woocommerce-form-register {
        padding: 0px !important;
    }
}

p.stock.available-on-backorder, .woocommerce-cart-form .backorder_notification {
  display: none !important;
}

.custom-product-meta .stock {
display: none !important;
}
