/*
Theme Name: KIU Workshop
Theme URI: http://kiuworkshop.local/
Author: KIU Workshop
Author URI: http://kiuworkshop.local/
Description: Custom WordPress theme for KIU Workshop.
Version: 1.0
License: GPL2
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: KIUworkshop
*/

/* 1. General Styles */
body {
    background: #e7d2d0;
    color: #a95b60;
    font-family: "Times New Roman", Times, serif;
    line-height: 1.6;
    margin: 0;
}
html, body {
    max-width: 100%;
}
*, *::before, *::after {
    box-sizing: border-box;
}

/* 2. Header */
header {
    background: #e7d2d0;
    color: white;
    padding: 12px 0;
    text-align: center;
    width: 98%;
    max-width: 1200px;
    margin: 0 auto;
}
header .logo img {
    max-width: 175px;
    height: auto;
}
.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    background-color: #e7d2d0;
    position: relative;
}
.logo {
    text-align: center;
    flex: 0;
}

/* 3. Header Menu (Cart/Profile) */
.header-menu {
    position: absolute;
    right: 0%;
    top: 70%;
    transform: translateY(-50%);
}
.header-menu-list {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}
.header-menu-list a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #dc9499;
    border-radius: 50%;
    text-decoration: none;
    color: #fff !important;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.header-menu-list a:hover {
    background-color: #a95b60;
}
.header-search-form {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 20px;
    padding: 2px 8px;
    box-shadow: 0 2px 8px rgba(220,148,153,0.07);
    margin-left: 10px;
}

.header-search-field {
    border: none;
    outline: none;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 1em;
    background: transparent;
    color: #a95b60;
    min-width: 80px;
    max-width: 120px;
}

.header-search-submit {
    background: none;
    border: none;
    color: #dc9499;
    font-size: 1.1em;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 50%;
    transition: background 0.2s;
}

.header-search-submit:hover {
    background: #fbecee;
}

/* 5. Main Menu Bar */
.main-menu {
    position: sticky;
    top: 0;
    z-index: 100;
    margin: 0 auto 0 auto;
    text-align: center;
    background-color: rgba(249, 249, 249, 0.8);
    padding: 10px 10px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    margin-bottom: 10px;
}
.menu-toggle {
    display: none;
}
.main-menu-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 0;
    padding: 0;
}

/* 6. Main Content */
main {
    width: 98%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
    box-sizing: border-box;
    background: #fff;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    text-align: center;
}
main img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    padding: 0;
}

/* Kontakt page content */
.page-template-page-kontakt main,
body.page-template-page-kontakt main {
    max-width: 800px !important;
    margin: 0 auto !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

/* 7. Footer */
footer {
    background: #f9f9f9cc;
    color: #a95b60;
    text-align: center;
    padding: 1px;
    margin-top: 30px;
    width: 100%;
}

/* 9. Forms */
.formularz-zamowienia {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin: auto;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
    line-height: 1.5;
}
.formularz-zamowienia h3 {
    font-size: 1.2rem;
    color: #756062;
    margin-bottom: 10px;
    border-bottom: 2px solid #dc9499;
    padding-bottom: 5px;
    font-weight: bold;
}
.form-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    justify-content: flex-start;
}
.form-row label {
    font-size: 0.9rem;
    color: #a95b60;
    font-weight: bold;
    width: 150px;
}
.form-row input,
.formularz-zamowienia textarea {
    width: 100%;
    padding: 10px;
    font-size: 0.9rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #fff;
    transition: border-color 0.3s;
}
.form-row input:focus,
.formularz-zamowienia textarea:focus {
    border-color: #dc9499;
    outline: none;
}
.formularz-zamowienia input[type="submit"] {
    background: #dc9499;
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    text-align: center;
    display: block;
    margin: 0 auto;
}
.formularz-zamowienia input[type="submit"]:hover {
    background: #a95b60;
    transform: scale(1.05);
}
.checkbox-group,
.radio-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    justify-content: flex-start;
}
.checkbox-group label,
.radio-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #a95b60;
    font-weight: normal;
}
.checkbox-group input[type="checkbox"],
.radio-group input[type="radio"] {
    margin-right: 10px;
    transform: scale(1.2);
}

.formularz-zamowienia input[type="checkbox"]:checked {
    accent-color: #a95b60;
}
.checkbox-group input[type="text"] {
    flex: 1;
    padding: 10px;
    font-size: 0.9rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #fff;
    box-sizing: border-box;
}
.formularz-zamowienia input[type="text"],
.formularz-zamowienia input[type="email"],
.formularz-zamowienia input[type="tel"],
.formularz-zamowienia input[type="url"],
.formularz-zamowienia textarea {
    font-size: 1rem;
    color: #333;
    font-weight: normal;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #fff;
    box-sizing: border-box;
    width: 100%;
}
.form-row label.required::after {
    content: " *";
    color: #dc9499;
    font-weight: bold;
}

/* 10. Other Elements */
.opis-zamowienia {
    text-align: center;
    max-width: 80%;
    margin: auto;
}
.opis-zamowienia h2 {
    text-align: center;
    margin-bottom: 30px;
}
.opis-zamowienia p {
    text-align: left;
}
.btn {
    display: inline-block;
    padding: 15px 40px;
    margin: 30px 0;
    font-size: 22px;
    text-align: center;
    color: #fff !important;
    background-color: #dc9499;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.2s;
}
.btn:hover {
    background-color: #a95b60;
    transform: scale(1.05);
}

/* 11. Gallery */
.galeria {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 10px;
    scroll-behavior: smooth;
}
.galeria img {
    width: 350px;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.galeria::-webkit-scrollbar {
    height: 8px;
}
.galeria::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}
.galeria::-webkit-scrollbar-thumb:hover {
    background-color: #aaa;
}
.galeria::-webkit-scrollbar-track {
    background-color: #f9f9f9;
}

/* --- End of Responsive Cart Styles --- */

/* Unified Product Card Styles for Shop and Search Results */
ul.products li.product,
.search-results-list .product {
    width: 100% !important;
    float: none !important;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(220,148,153,0.08);
    padding: 22px 18px 18px 18px;
    margin: 0 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
    min-height: 380px;
    max-height: auto;
    justify-content: space-between;
    align-items: stretch;
}
ul.products li.product:hover,
.search-results-list .product:hover {
    box-shadow: 0 6px 24px rgba(220,148,153,0.18);
    transform: translateY(-4px) scale(1.02);
}
ul.products li.product img,
.search-results-list .product img {
    width: 100%;
    max-width: 240px;
    aspect-ratio: 3/4;
    height: auto;
    min-height: 0;
    max-height: auto;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    box-shadow: 0 1px 6px rgba(169,91,96,0.07);
    background: #f6f6f6;
}
ul.products li.product .woocommerce-loop-product__title,
.search-results-list .product .woocommerce-loop-product__title {
    color: #a95b60;
    font-size: 1.18em;
    font-weight: 700;
    text-decoration: none !important;
    margin: 10px 0 5px 0;
    transition: color 0.2s;
    letter-spacing: 0.01em;
    line-height: 1;
    min-height: 2.2em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 2px !important;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
}
ul.products li.product .product-meta,
.search-results-list .product .product-meta {
    display: flex;
    align-items: center;
    margin-top: 0;
    gap: 12px;
    justify-content: center;
}
ul.products li.product .price,
.search-results-list .product .price {
    margin-bottom: 0;
    display: inline-block;
    vertical-align: middle;
    font-size: 1.08em;
    font-weight: 700;
    color: #dc9499;
    letter-spacing: 0.01em;
}
ul.products li.product .button,
.search-results-list .product .button {
    background: #dc9499;
    color: #fff;
    border: none;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    padding: 0;
    font-size: 1em;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(220,148,153,0.07);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    margin: 0 0 0 0;
    overflow: hidden;
    position: relative;
}
ul.products li.product .button i,
.search-results-list .product .button i {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    font-size: 1.1em;
    color: #fff;
    pointer-events: none;
    display: inline-block;
    vertical-align: middle;
}
ul.products li.product .product-image-wrapper,
.search-results-list .product .product-image-wrapper {
    width: 100%;
    aspect-ratio: 3/4;
    background: #f6f6f6;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    min-height: 0;
}
ul.products li.product .product-image-wrapper img,
.search-results-list .product .product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(169,91,96,0.07);
    margin: 0;
}
.search-results-list .product a,
.search-results-list .product a:visited,
.search-results-list .product a:active,
.search-results-list .product a:focus,
.search-results-list .product a:hover {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}
/* 13. Breadcrumbs */
.custom-breadcrumb {
    margin: 10px 0 10px 0;
    text-align: left;
    font-size: 1em;
    background: #e7d2d0;
    padding: 8px 8px;
    padding-top: 2px;
    border-radius: 4px;
    display: block;
    color: #ffffff;
    min-width: 40%;
    margin-left: 0%; 
    margin-top: 0px;
    line-height: 1px;
}
.custom-breadcrumb span {
    color: #a95b60;
}
.custom-breadcrumb a {
    color: #f0f0f0;
    text-decoration: none;
    transition: color 0.2s;
}
.custom-breadcrumb a:hover {
    color: #dc9499;
}

/* 14. Shop Layout */
.shop-layout {
    display: flex;
    align-items: flex-start;
    max-width: 1200px;
    width: 98%;
    margin: 0 auto;
    gap: 20px;
}

.widget_product_categories {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px #e7d2d0;
    margin-bottom: 30px;
    font-family: inherit;
}
.widget_product_categories h2,
.widget_product_categories .widget-title,
h2.wp-block-heading {
    font-size: 1.2em;
    font-weight: bold;
    color: #a95b60;
    margin-bottom: 12px;
    margin-top: 0;
    text-align: center;
}

h2.wp-block-heading {
    margin-top: 12px !important;
}

.widget_product_categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.widget_product_categories ul li {
    padding: 8px 14px;
    border-radius: 8px;
    margin-bottom: 6px;
    transition: background 0.2s, transform 0.2s;
}
.widget_product_categories ul li a {
    color: #a95b60;
    text-decoration: none;
    font-weight: 600;
    display: block;
}
.widget_product_categories ul li:hover {
    background-color: #fbecee;
    transform: translateX(2px);
}
.widget_product_categories ul li a:hover {
    color: #a95b60;
}
.widget_product_categories ul .current-cat > a {
    background: #dc9499;
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    display: block;
}
.widget_product_categories ul li .count {
    display: none;
}

.wp-block-button__link[data-wp-on--click="actions.removeAllActiveFilters"] {
    background-color: #dc9499;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.2s;
    font-family: 'Times New Roman', Times, serif;
}


.wc-block-product-filter-price-slider__left input.min,
.wc-block-product-filter-price-slider__right input.max {
    border: 1px solid #dc9499 !important;
    border-radius: 4px; /* optional, makes corners rounded */
}

.wc-block-product-filter-price-slider__range input[type=range]::-webkit-slider-thumb {
    border: 2px solid #dc9499 !important; /* red border */
}

.wc-block-product-filter-price-slider__left input,
.wc-block-product-filter-price-slider__right input {
    font-family: "Times New Roman", Times, serif;
    color: #a95b60;
    font-weight: bold;
}

 input[type=checkbox].wc-block-product-filter-checkbox-list__input {
    color: #a95b60 !important;
    background-color: white !important;
    border: 1px solid #dc9499 !important;
}

.shop-main {
    flex: 1;
    min-width: 0;
    background: #fff;
    border-radius: 14px; /* Add this line for rounded corners */
    box-shadow: 0 2px 12px rgba(220,148,153,0.08); /* Optional: match other boxes' shadow */
}
.shop-sidebar {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(169, 91, 96, 0.08);
    padding: 28px 20px 20px 20px;
    min-width: 220px;
    max-width: 320px;
    margin-left:0%;
    margin-bottom: 0px;
    font-family: 'Times New Roman', Times, serif;
    display: block;
}

.shop-sidebar-title {
    font-size: 1.3em;
    font-weight: bold;
    color: #a95b60;
    margin-bottom: 18px;
    text-align: center;
    letter-spacing: 0.01em;
}

.shop-sidebar .widget_product_categories {
    background: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

.shop-sidebar .widget_product_categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shop-sidebar .widget_product_categories ul li {
    padding: 8px 14px;
    border-radius: 8px;
    margin-bottom: 6px;
    transition: background 0.2s, transform 0.2s;
}

.shop-sidebar .widget_product_categories ul li a {
    color: #a95b60;
    text-decoration: none;
    font-weight: 600;
    display: block;
}

.shop-sidebar .widget_product_categories ul li:hover {
    background-color: #fbecee;
    transform: translateX(2px);
}

.shop-sidebar .widget_product_categories ul li a:hover {
    color: #a95b60;
}

.shop-sidebar .widget_product_categories ul .current-cat > a {
    background: #dc9499;
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    display: block;
}

.shop-sidebar .widget_product_categories ul li .count {
    display: none;
}
/* Force-hide Rozmiar attribute on all shop/archive/product-list pages */
body.archive .product-rozmiar,
body.post-type-archive-product .product-rozmiar,
body.woocommerce-shop .product-rozmiar,
body.woocommerce-page ul.products .product-rozmiar,
ul.products .product-rozmiar,
li.product .product-rozmiar {
    display: none !important;
}

/* 15. All Products Link */
.all-products-link {
    display: block;
    margin-bottom: 18px;
    padding: 10px 18px;
    background: #dc9499;
    color: #fff;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.2s;
}
.all-products-link:hover {
    background: #a95b60;
}

/* 16. WooCommerce Shop Grid & Product Card */

/* Remove margin-top from WooCommerce products grid */
ul.products.columns-3 {
    margin-top: 0 !important;
}

ul.products,
.search-results-list {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px;
    padding: 0;
    list-style: none;
}
ul.products li.product {
    width: 100% !important;
    float: none !important;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(220,148,153,0.08);
    padding: 22px 18px 18px 18px;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
    min-height: 380px;
}
ul.products li.product:hover {
    box-shadow: 0 6px 24px rgba(220,148,153,0.18);
    transform: translateY(-4px) scale(1.02);
}
ul.products li.product img {
    width: 100%;
    aspect-ratio: 3/4;
    height: auto;
    min-height: 0;
    max-width: 100%;
    object-fit: cover;
    border-radius: 8px;
    margin: 0 0 14px 0;
    display: block;
    box-shadow: 0 1px 6px rgba(169,91,96,0.07);
    background: #f6f6f6;
}
ul.products li.product .woocommerce-loop-product__title {
    color: #a95b60;
    font-size: 1.18em;
    font-weight: 700;
    text-decoration: none !important;
    margin: 10px 0 5px 0;
    transition: color 0.2s;
    letter-spacing: 0.01em;
    line-height: 1;
    min-height: 2.2em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 2px !important;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
}
ul.products li.product a.woocommerce-LoopProduct-link {
    text-decoration: none !important;
    color: inherit;
}


ul.products li.product .price {
    margin-bottom: 0;
    display: inline-block;
    vertical-align: middle;
    font-size: 1em;
    font-weight: 700;
    color: #dc9499;
    letter-spacing: 0.01em;
}
ul.products li.product .onsale {
    display: none !important;
}
ul.products li.product .product-image-wrapper {
    width: 100%;
    aspect-ratio: 3/4;
    background: #f6f6f6;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    min-height: 0;
}
ul.products li.product .product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(169,91,96,0.07);
    margin: 0;
}
ul.products li.product {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
}


/* Shop & Search Results Grid for Small Devices (≤900px) */
@media (max-width: 900px) {
    /* Applies to shop and search results product grids */
    .shop-layout {
        flex-direction: column;
        gap: 0;
    }
    .single-product-gallery {
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
        padding: 0;
        align-items: center;
    }
    .single-product-title,
    .single-product-price,
    .single-product-content {
        text-align: center;
        width: 100%;
    }
    .woocommerce ul.products li.product .button,
    ul.products li.product .button,
    .search-results-list .product .button {
        width: 80px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        max-width: 80px !important;
        max-height: 40px !important;
        border-radius: 8px !important;
        padding: 0 !important;
        margin: 12px auto 0 auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 1.3em !important;
        text-decoration: none !important;
    }
    .woocommerce ul.products,
    ul.products,
    .search-results-list {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
        padding: 0 8px !important;
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    .woocommerce ul.products li.product,
    ul.products li.product,
    .search-results-list .product {
        min-width: 0;
        width: 100% !important;
        box-sizing: border-box;
    }
    .woocommerce ul.products li.product .product-meta,
    ul.products li.product .product-meta,
    .search-results-list .product .product-meta {
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100%;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    .woocommerce ul.products li.product .price,
    ul.products li.product .price,
    .search-results-list .product .price {
        display: block !important;
        text-align: center;
        width: 100%;
        margin-bottom: 0;
    }
    ul.products li.product .woocommerce-loop-product__title,
    .search-results-list .product .woocommerce-loop-product__title {
        margin-bottom: 10px !important;
        min-height: auto !important;
    }
    .added_to_cart.wc-forward,
    .search-results-list .added_to_cart.wc-forward {
        width: 90% !important;  /* or 100%, or any % you want */
        color: #fff !important;
        max-width: 100% !important;
        display: block;         /* so width applies and centers better */
        margin-left: 0;
        margin-right: 0;
  }
} 

/* --- Single Product Page Styling --- */
.single-product-card {
    max-width: 1180px;
    margin: 40px auto 40px auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(220,148,153,0.10);
    padding: 0px 16px 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.single-product-inner {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: flex-start;
    width: 100%;
}

.single-product-gallery {
    width: 50%;
    max-width: 600px;
    margin: 0;
    margin-right: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 0%;
}

.single-product-main-image img,
#main-product-image {
    width: auto;
    aspect-ratio: 3/4;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(220,148,153,0.08);
    margin-bottom: 16px;
    background: #f6f6f6;
}
.product-thumbnails {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    justify-content: center;
    overflow: hidden;
}
.thumbs-wrapper {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 8px;
  padding: 8px 0;
}


.product-thumbnails .thumb-nav {
    background: #f0f0f0;
    color: #fff;
    border: none;
    border-radius: 8px;
    width: 36px;
    height: 120px;
    font-size: 1.3em;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(220,148,153,0.07);
    outline: none;
}

.product-thumbnails .thumb-nav:hover,
.product-thumbnails .thumb-nav:focus {
    background: #fbecee;
    color: #fff;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.product-thumbnails .thumbs-wrapper {
    display: flex;
    gap: 8px;
    align-items: center;
}
.product-thumbnails .thumbs-wrapper::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.product-thumbnails .product-thumb {
    width: 90px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 4px rgba(220,148,153,0.08);
}

.product-thumbnails .product-thumb.active,
.product-thumbnails .product-thumb:hover {
    border-color: #dc9499;
    box-shadow: 0 2px 8px rgba(220,148,153,0.15);
}

.single-product-details {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Set min-height to match image height for alignment */
    min-height: 428px; /* 320px * 4/3 aspect ratio, adjust if needed */
    align-items: flex-start;
    margin-left: 8px;
    max-width: 100%;
    padding: 0;
    box-sizing: border-box;
    color: #756062;
}

.single-product-title {
    color: #a95b60;
    font-size: 2em;
    font-weight: 700;
    margin: 0 0 12px 0;
    letter-spacing: 0.01em;
    line-height: 1.1;
}

.single-product-price {
    color: #dc9499;
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 0;
    letter-spacing: 0.01em;
}
.single-product-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 32px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.single-product-details .quantity {
    display: none !important;
}

/* Variation Table Styling */
.variations {
    width: 100%;
    margin: 8px 0 0 0;
    background: none;
    border-radius: 8px;
    padding: 0 12px;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.variations td, .variations th {
    border: none;
    padding: 10px 8px;
    font-size: 1em;
    color: #a95b60;
    vertical-align: middle;
}


.variations label {
    font-weight: bold;
    color: #a95b60;
    margin-right: 8px;
}

.variations select {
    border: 1px solid #dc9499;
    border-radius: 8px;
    padding: 8px 14px;
    background: #fff;
    color: #a95b60;
    font-size: 1em;
    transition: border-color 0.2s;
}

.variations select:focus {
    border-color: #a95b60;
    outline: none;
}

.reset_variations {
    display: inline-block;
    color: #dc9499;
    background: none;
    border: none;
    font-weight: bold;
    margin: 0 0 0 0;
    cursor: pointer;
    text-decoration: none;
    font-size: 1em;
    padding: 6px 18px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.reset_variations:hover,
.reset_variations:focus {
    color: #a95b60;
    background: #fbecee;
    text-decoration: none;
}

/* Variation area styling */
.variations_form .single_variation {
    background: none;
    border-radius: 10px;
    padding: 0;
    margin-bottom: 12px;
    font-size: 1em;
    color: #a95b60;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.woocommerce-variation {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

.woocommerce-variation-description {
    display: none;
    color: #a95b60;
    font-size: 1em;
    margin-bottom: 6px;
}

.woocommerce-variation-price {
    color: #dc9499;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 0px;
}

.woocommerce-variation-availability p.stock {
    font-size: 0.9em;
    font-weight: bold;
    color: #a95b60;
    margin-top: 0px;
    margin-bottom: 0;
}

.variations_form .single_add_to_cart_button {
    background: #dc9499;
    color: #fff;
    border-radius: 8px;
    padding: 12px 32px;
    font-size: 1.1em;
    font-weight: bold;
    border: none;
    box-shadow: 0 2px 8px rgba(220,148,153,0.07);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    margin-top: 0px;
}

.variations_form .single_add_to_cart_button:hover,
.variations_form .single_add_to_cart_button:focus {
    background: #a95b60;
    color: #fff;
}

.single-product-cart .custom-quantity {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 50px;
    margin-bottom: 8px;
}

.single-product-cart .quantity {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
}

.single-product-cart .custom-quantity .qty-btn,
.single-product-cart .quantity button,
.single-product-cart .quantity .qty-btn,
.single-product-cart .quantity .minus,
.single-product-cart .quantity .plus {
    width: 22px;
    height: 22px;
    font-size: 13px;
    background: #eee;
    color: #bbb;
    border: none;
    border-radius: 8px;
    opacity: 0.4;
    box-shadow: none;
    transition: opacity 0.2s, background 0.2s;
    margin: 0 2px;
    padding: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.single-product-cart .custom-quantity .qty-btn:hover,
.single-product-cart .quantity .qty-btn:hover {
    opacity: 0.7;
    background: #fbecee;
    color: #fff;
}

.single-product-cart .custom-quantity input[type="number"],
.single-product-cart .quantity input[type="number"] {
    width: 24px;
    height: 18px;
    font-size: 10px;
    padding: 0 4px;
    border: 1px solid #eee;
    border-radius: 4px;
    background: #fafafa;
    color: #bbb;
    text-align: center;
    opacity: 0.7;
    margin: 0 2px;
    box-shadow: none;
    transition: border-color 0.2s, background 0.2s;
}
.single-product-cart .custom-quantity input[type="number"]:focus,
.single-product-cart .quantity input[type="number"]:focus {
    border-color: #fff;
    background: #fff;
    color: #a95b60;
    opacity: 1;
}

.single-product-cart .single_add_to_cart_button.button {
    background: #dc9499;
    color: #fff;
    border: none;
    border-radius: 8px;
    width: 100px;
    height: 50px;
    font-size: 1.5em;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(220,148,153,0.07);
    transition: background 0.2s, transform 0.2s;
    padding: 0;
    align-self: center;
    margin-top: -10%;
}
.single-product-cart .single_add_to_cart_button.button:hover {
    background: #a95b60;
    color: #fff;
    transform: scale(1.08);
}

.single-product-content {
    color: #756062;
    font-size: 1em;
    margin-bottom: 24px;
    line-height: 1.7;
    text-align: left;
}

.product-sku {
    margin-bottom: 12px;
    color: #756062;
    font-weight: normal;
}

.single-product-shortdesc {
    text-align: left !important;
    margin-right: 24px;;
    }

a[href] {
    color: #a95b60;
    font-weight: normal;
    transition: color 0.2s, border-color 0.2s;
}

a[href]:hover,
a[href]:focus {
    color: #a95b60;
    border-bottom: none;
    text-decoration: none;
}


.single-product-extra {
    background: rgba(249, 249, 249, 0.8);
    border-radius: 10px;
    padding: 10px 12px;
    margin-top: 24px;
    color: #a95b60;
    font-size: 14px !important;
    text-align: center;
}

.single-product-details .button,
.single-product-details button,
.single-product-details .single_add_to_cart_button {
    background: #dc9499;
    color: #fff;
    border: none;
    border-radius: 8px;
    width: auto;
    height: 38px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    margin-top: 0;
    margin-bottom: 0;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(220,148,153,0.07);
    text-transform: none;
    letter-spacing: 0.03em;
}

.single-product-details .button:hover,
.single-product-details button:hover,
.single-product-details .single_add_to_cart_button:hover {
    background: #a95b60;
    color: #fff;
    transform: scale(1.05);
}


.single-product-details input[type="number"] {
    width: 60px;
    height: 38px;
    border: 1px solid #bbb;
    border-radius: 5px;
    font-size: 1.0rem;
    color: #333;
    text-align: center;
    background: #f9f9f9;
    transition: border-color 0.3s, background-color 0.3s;
    margin: 0 0 0 0;
}

.single-product-details input[type="number"]:focus {
    border-color: #a95b60;
    background-color: #fff;
    outline: none;
}

.shipping-info {
    text-align: left !important;
    margin-top: 56px;
}

/* WooCommerce message styling */
.woocommerce-message {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fbecee;
    color: #a95b60;
    border-radius: 10px;
    padding: 18px 24px;
    margin: 12px auto 12px auto;
    max-width: 600px;
    width: 100%;
    font-size: 1.08em;
    font-weight: bold;
    text-align: center;
    border: none;
}


.woocommerce-message a.button.wc-forward {
    background: #dc9499;
    color: #fff !important;
    border-radius: 8px;
    padding: 2px 24px;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    margin-left: 16px;
    transition: background 0.2s, color 0.2s;
    display: inline-block;
}

.woocommerce-message a.button.wc-forward:hover {
    background: #a95b60;
    color: #fff !important;
}

/* Single Product Page mobiles */
@media (max-width: 900px) {
    .single-product-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        gap: 0 !important;
    }
    .single-product-gallery {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
        align-items: center;
    }
      .single-product-details {
        width: 100%;
        max-width: 100%;
        align-items: left;
        padding: 0;
        box-sizing: border-box;
        margin: 0 auto 0 auto !important;
        padding: 0 !important;
        gap: 0 !important;
        min-height: auto !important;
    }
    
    .single-product-extra {
        max-width: 100%;
        width: 100%;
        border-radius: 8px;
        margin: 24px 0 0 0 !important;
    }
    .single-product-main-image img,
    #main-product-image {
        width: 100%;
        height: auto;
        aspect-ratio: 3/4;
        object-fit: cover;
        border-radius: 12px;
        box-shadow: 0 2px 12px rgba(220,148,153,0.08);
        margin: 12px auto 12px auto;
        display: block;
    }

    
    .single-product-shortdesc p {
        font-size: 18px !important;
        color: #a95b60 !important;
    }
    .single-product-actions {
        display: flex;
        width: 100%;
        height: auto;
        justify-content: center;
        align-items: center;
        padding: 0;
        gap: 0px;
        margin-top: 12px;
     }
  .single-product-cart .custom-quantity {
    margin-right: 12px; 
    margin-left: 12px;;
  }
  
}

/* Quantity input */
.single-product-cart .quantity input[type="number"],
.single-product-cart .custom-quantity input[type="number"] {
    font-size: 1.2em !important;
    height: 44px !important;
    width: 60px !important;
}

/* Plus/minus buttons */
.single-product-cart .quantity .plus,
.single-product-cart .quantity .minus,
.single-product-cart .custom-quantity .qty-btn {
    font-size: 1.4em;
    width: 30px;
    height: 44px;
}

/* Add to cart button */
.single-product-cart .single_add_to_cart_button.button,
.single-product-details .single_add_to_cart_button {
    font-size: 1.25em !important;
    border-radius: 12px !important;
    height: 38px;
    margin-top: 1px;
}

/* Hide WooCommerce's default quantity box on single product */

input[type="number"] {
    -moz-appearance: textfield;
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
    padding: 0;
    width: 30px;
    height: 38px;
    border: 1px solid #dc9499;
    border-radius: 5px;
    font-size: 1.2rem;
    color: #333;
    text-align: center;
    background: #f9f9f9;
    transition: border-color 0.3s, background-color 0.3s;
}
input[type="number"]:focus {
    border-color: #a95b60;
    background-color: #fff;
    outline: none;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Main menu hamburger (header) */
@media (max-width: 900px) {
    .header-container {
        flex-direction: column !important;
        align-items: center !important;
        padding: 10px 0 !important;
    }
    
    .header-menu {
        position: static !important;
        transform: none !important;
        right: auto !important;
        left: auto !important;
        top: auto !important;
        margin: 18px 0 0 0 !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        z-index: 10;
    }
    .header-menu-list {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        width: 100%;
        gap: 16px;
    }
    .header-search-form {
        margin-left: 0;
    }
    .menu-toggle {
        display: block;
        min-width: 50%;
        margin: 10px auto 10px auto !important; /* Center horizontally */
        background: #dc9499;
        color: #fff;
        border: none;
        padding: 12px 32px;
        font-size: 22px;
        border-radius: 8px;
        cursor: pointer;
        transition: background 0.3s;
        text-align: center;
        font-weight: bold;
    }
     .main-menu {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding-left: 10px;
        padding-right: 10px;
        background: #f0f0f0;
        box-shadow: none;
        border-radius: 8px;
        padding: 0;
        position: relative;
    }
    .menu-toggle:hover {
        background: #a95b60;
    }
    .main-menu-list {
        display: none !important;
        flex-direction: column !important;
        width: 100% !important;
        overflow: hidden !important;
        position: static;
        margin: 0;
        padding: 0;
        z-index: 9999;
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        outline: none !important;
    }
    .main-menu-list.open { 
        display: flex !important; 
        flex-direction: column; 
    }
    .main-menu-list {
        font-size: 22px;
    }
    .main-menu-list a {
        font-size: 22px;
        padding: 12px 32px;
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    .header-bar-row {
    display: none;
    }
        .shop-sidebar {
            display: none;
            position: absolute; /* Changed from fixed */
            top: auto;          /* Remove fixed top */
            left: 0;
            right: 0;
            width: 100%;        /* Full width under menu */
            margin: 0 auto;
            margin-top: 8px;    /* Space below hamburger */
            background: #fff;
            z-index: 2000;
            box-shadow: 0 2px 16px rgba(0,0,0,0.08);
            overflow-y: auto;
            padding: 30px 16px 20px 16px;
            border-radius: 10px;
            text-align: center;
        }
        .shop-sidebar.open {
            display: block;
            transform: none; /* Remove translateX */
        }
    .sidebar-toggle-row {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .sidebar-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        background: #dc9499;
        color: #fff;
        border: none;
        border-radius: 8px;
        width: fit-content; /* or use a fixed width like 220px */
        height: 44px;
        font-size: 1em;
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(220, 148, 153, 0.07);
        margin: 12px auto 8px auto; /* top auto bottom auto = centered */
        padding: 0 18px;
        font-family: inherit;
        font-weight: bold;
    }
    .sidebar-toggle-title {
        font-size: 1.1em;
        color: #fff;
        font-weight: bold;
        letter-spacing: 0.01em;
        margin-right: 6px;
        display: inline-block;
        line-height: 1;
    }
    .sidebar-toggle-icon {
        font-size: 1em;
        line-height: 1;
        display: inline-block;
    }
.custom-breadcrumb {
    flex-wrap: wrap;
    width: 98%;
    min-width: 0;
    max-width: 98%;
    font-size: 0.95em;
    padding: 8px 2px;
    line-height: 1.3;
    word-break: break-word;
  }
  .custom-breadcrumb a {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
  }
}

@media (min-width: 901px) {
    .sidebar-toggle-row {
        display: none !important;
    }
        .search-results-list {
        max-width: 90%;
        margin: 0 auto;
        width: 90%;
    }
}
.added_to_cart.wc-forward,
body.search-results-list .added_to_cart.wc-forward {
    background: #dc9499;
    color: #fff !important;
    border: none;
    border-radius: 4px;
    height: 40px;
    font-weight: bold;
    font-size: 0.6em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(220,148,153,0.07);
    margin: 0;
    padding: 0 4px;
    letter-spacing: 0.03em;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cart Page Styling */
.woocommerce-cart .cart-collaterals,
.woocommerce-cart .cart_totals,
.woocommerce-cart .woocommerce-cart-form,
.woocommerce-cart .woocommerce {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(220,148,153,0.08);
    padding: 24px 10px 10px 10px;
    margin: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.woocommerce-cart input.qty[type="number"]:focus {
    border-color: #a95b60;
    background: #fff;
    color: #a95b60;
}

.woocommerce-cart .quantity {
    align-items: center;
    gap: 4px;
    justify-content: center;
}

.woocommerce-cart table.shop_table {
    width: 100%;
    min-width: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(220,148,153,0.07);
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
}

.woocommerce-cart table.shop_table th,
.woocommerce-cart table.shop_table td {
    padding: 8px 10px;
    border: none;
    vertical-align: middle;
    font-size: 1em;
}

.woocommerce-cart table.shop_table th {
    color: #a95b60;
    font-weight: bold;
    font-size: 1.08em;
}

.woocommerce-cart table.shop_table td.product-remove a {
    color: #dc9499;
    font-size: 1.2em;
    transition: color 0.2s;
}
.woocommerce-cart table.shop_table td.product-remove a:hover {
    color: #a95b60;
}

.woocommerce-cart .cart_totals {
    background: rgba(249, 249, 249, 0.8);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(220,148,153,0.07);
    padding: 24px 18px;
    margin-top: 24px;
}

.woocommerce-cart .cart_totals h2 {
    color: #a95b60;
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 18px;
}

.woocommerce-cart .cart_totals table th,
.woocommerce-cart .cart_totals table td {
    border: none;
    padding: auto;
    font-size: 1em;
}

.woocommerce-cart .cart_totals .shipping .amount,
.woocommerce-cart .cart_totals .shipping .woocommerce-Price-amount {
    color: #a95b60 !important;
    font-weight: bold;
    font-size: 1.08em;
    letter-spacing: 0.01em;
    font-family: inherit;
    justify-content: right !important;
}

.woocommerce-info,
.woocommerce-message,
.woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-notices-wrapper .woocommerce-message {
    background: #fbecee;
    color: #a95b60;
    border-radius: 10px;
    padding: 18px 24px;
    margin: 12px auto 12px auto;
    max-width: 500px;
    width: 100%;
    font-size: 0.95em;
    font-weight: bold;
    text-align: center;
    border: none;
    display: block;
}

.woocommerce-error {
    background: #fff0f0;
    color: #b94a48;
    border: 1px solid #f5c6cb;
}

.woocommerce-info a,
.woocommerce-message a,
.woocommerce-error a {
    color: #dc9499;
    background: #fff;
    border-radius: 6px;
    padding: 4px 14px;
    margin-left: 12px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.2s, color 0.2s;
}

.woocommerce-info a:hover,
.woocommerce-message a:hover,
.woocommerce-error a:hover {
    background: #dc9499;
    color: #fff;
}

.woocommerce-error {
    background: #fff0f0 !important;
    color: #b94a48 !important;
    border: 2px solid #dc9499 !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 8px rgba(220,148,153,0.10) !important;
    padding: 20px 28px !important;
    margin: 24px auto 18px auto !important;
    font-size: 1.1em !important;
    font-weight: bold !important;
    text-align: center !important;
    display: block !important;
}

.woocommerce-error a {
    color: #b94a48 !important;
    font-size: 16px;
    background: none;
    border-radius: 6px !important;
    padding: 4px 14px !important;
    margin-left: 12px !important;
    text-decoration: none !important;
    font-weight: bold !important;
    transition: background 0.2s, color 0.2s !important;
}

.woocommerce-error a:hover {
    background: none;
    color: #b94a48 !important;
}

.woocommerce-info::before,
.woocommerce-message::before,
.woocommerce-error::before,
.cart-empty::before {
    display: none !important;
    content: none !important;
}

/* Coupon box styling */
.woocommerce-cart .actions .coupon {
    display: flex;
    align-items: center;
    gap: 12px;
    width: auto;
    max-width: none;
    margin: 0;
    background: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    flex: 1 1 350px;
}

.woocommerce-cart .actions .coupon input,
.woocommerce-cart .actions .coupon .input-text {
    flex: 1 1 220px;
    min-width: 180px;
    max-width: 320px;
    border-radius: 8px;
    border: 1px solid #dc9499;
    padding: 10px 16px;
    font-size: 1em;
    white-space: nowrap;
    margin: 0;
    background: #fff;
    color: #a95b60;
    box-sizing: border-box;
}

.woocommerce-cart .actions .coupon button,
.woocommerce-cart .actions .coupon .button,
.woocommerce-cart .actions .button,
.woocommerce-cart .actions input.button {
    background: #dc9499;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    padding: 12px 32px;
    font-weight: bold;
    font-size: 0.8em;
     white-space: nowrap;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(220,148,153,0.07);
    letter-spacing: 0.03em;
    text-align: left;
    display: inline-block;
    min-width: 160px;
    margin: 0;
}

.woocommerce-cart .actions .coupon button:hover,
.woocommerce-cart .actions .coupon .button:hover,
.woocommerce-cart .actions .button:hover,
.woocommerce-cart .actions input.button:hover {
    background: #a95b60;
    color: #fff !important;
    transform: scale(1.05);
}

/* Remove extra margin from the update button */
.woocommerce-cart .actions .button[name="update_cart"] {
    margin-left: 0;
    padding: 12px 32px;
}
/* Style the cart page heading */
.cart-page-title {
    color: #a95b60;
    font-size: 1.5em;
    font-weight: bold;
    letter-spacing: 0.03em;
    text-align: center;
    display: inline-block;
    margin: 0 0 8px 0;
    margin-top: 10px;
}

.woocommerce-cart .woocommerce,
.woocommerce-cart .woocommerce-notices-wrapper {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
/* Match cart product name links to theme style */
.woocommerce-cart .product-name a {
    color: #a95b60;
    font-weight: bold;
    font-size: 1.08em;
    text-decoration: none;
    border-radius: 6px;
    padding: 2px 0;
    transition: background 0.2s, color 0.2s;
}

.backorder_notification {
    margin-left: 8px;
}

.woocommerce-cart .product-name a:hover {
    background: #dc9499;
    color: #fff;
    text-decoration: none;
}

.woocommerce-cart .product-thumbnail img,
.woocommerce table.cart .product-thumbnail img {
    width: 120px !important;   /* or your preferred width */
    height: auto !important;
    max-width: 160px !important;
    max-height: 180px !important;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(220,148,153,0.07);
    background: #f6f6f6;
    display: block;
    margin: 0 auto;
}

/* Make cart product image box less wide */
.woocommerce-cart table.shop_table td.product-thumbnail,
.woocommerce table.cart td.product-thumbnail {
    width: 130px !important;
    max-width: 170px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center;
}

.woocommerce-cart .product-remove a.remove {
    background: #fbecee;
    color: #dc9499 !important;
    border: none;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(220,148,153,0.07);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    margin: 0 auto;
    text-decoration: none;
    position: relative;
}

.woocommerce-cart .product-remove a.remove:hover {
    background: #dc9499;
    color: #fff !important;
    transform: scale(1.08);
}

/* Cart page quantity layout */
.woocommerce-cart .custom-quantity {
    display: flex;
    align-items: left;
    justify-content: left;
    gap: 6px; /* space between buttons and input */
    max-width: 120px; /* optional: keeps it tidy */
}

.woocommerce-cart .custom-quantity .qty-btn {
    background: #fbecee;
    border: none;
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    color: #a95b60;
}

.woocommerce-cart .custom-quantity input.qty {
    width: 50px;
    text-align: center;
    height: 36px;
    border: none;
    border-radius: 4px;
}


/* Style cross-sells section on cart page */
.woocommerce-cart .cross-sells {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(220,148,153,0.08);
    padding: 28px 18px 18px 18px;
    margin: 0 auto 0 auto;
    max-width: 900px;
    width: 100%;
    box-sizing: border-box;
}

.woocommerce-cart .cross-sells h2 {
    color: #a95b60;
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 24px;
    text-align: center;
    letter-spacing: 0.01em;
}

.woocommerce-cart .cross-sells ul.products.columns-2 {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px;
    padding: 0;
    margin: 0 auto;
    list-style: none;
    width: 100%;
    max-width: 100%;
}

.woocommerce-cart .cross-sells ul.products.columns-2 li.product {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(220,148,153,0.07);
    padding: 18px 12px 12px 12px;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    transition: box-shadow 0.2s, transform 0.2s;
    min-height: 320px;
}

.woocommerce-cart .cross-sells ul.products.columns-2 li.product img {
    width: 100%;
    max-width: 180px;
    aspect-ratio: 3/4;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin: 0 auto 10px auto;
    box-shadow: 0 1px 6px rgba(169,91,96,0.07);
    background: #f6f6f6;
    display: block;
}

.woocommerce-cart .cross-sells ul.products.columns-2 li.product .woocommerce-loop-product__title {
    color: #a95b60;
    font-size: 1.08em;
    font-weight: 700;
    text-align: center;
    margin: 10px 0 5px 0;
    letter-spacing: 0.01em;
    min-height: 2.2em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.woocommerce-cart .cross-sells ul.products.columns-2 li.product .price {
    color: #dc9499;
    font-weight: bold;
    font-size: 1em;
    text-align: center;
    margin: 0 auto;
    display: block;
}

.woocommerce-cart .cross-sells ul.products.columns-2 li.product .button {
    background: #dc9499;
    color: #fff;
    border: none;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    padding: 0;
    font-size: 1em;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(220,148,153,0.07);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    margin: 0 20px 0 auto;
    overflow: hidden;
    position: relative;
}

.woocommerce-cart .cross-sells ul.products.columns-2 li.product .button:hover {
    background: #a95b60;
    color: #fff;
    transform: scale(1.05);
}

/* Hide ::before pseudo-element from cross-sells products on cart page */
.woocommerce-cart .cross-sells ul.products.columns-2::before {
    display: none !important;
    content: none !important;
}

@media (max-width: 900px) {
    .woocommerce-cart .cross-sells {
        padding: 12px 4px 12px 4px;
        border-radius: 8px;
        max-width: 98%;
    }
    .woocommerce-cart .cross-sells ul.products.columns-2 {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}

/* Cart page: price and subtotal color */
.woocommerce-cart .cart_item .product-price,
.woocommerce-cart .cart_item .product-subtotal,
.woocommerce-cart table.shop_table .product-price,
.woocommerce-cart table.shop_table .product-subtotal,
.woocommerce-cart .order-total .amount,
.woocommerce-cart .cart-subtotal .amount {
    color: #a95b60 !important;
    font-weight: bold;
    font-size: 1.08em;
}

/* Hide custom plus/minus buttons if quantity input is hidden */
.custom-quantity .qty[type="hidden"] + .qty-btn,
.custom-quantity .qty[type="hidden"] ~ .qty-btn {
    display: none;
}

/* Optional: hide entire custom-quantity wrapper if input is hidden */
.custom-quantity .qty[type="hidden"] {
    display: none;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button.button.alt {
    background: #dc9499 !important;
    color: #fff !important;
    border: none;
    border-radius: 10px;
    padding: 18px 48px;
    font-size: 1.15em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    box-shadow: 0 2px 8px rgba(220,148,153,0.07);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    display: inline-block;
    margin: 0 auto;
    text-align: center;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button.button.alt:hover {
    background: #a95b60 !important;
    color: #fff !important;
    transform: scale(1.05);
}

/* Remove the duplicate below */
.cart_totals table.shop_table td[data-title] {
    text-align: left;
}

.cart_totals table.shop_table td[data-title] .woocommerce-Price-amount {
    display: inline-block;
    text-align: left;
    float: center;
    min-width: 60px;
    margin-left: 32px;
}

/* Hide WooCommerce cart totals tax info */
.woocommerce-cart .includes_tax,
.woocommerce-cart .includes_tax * {
    display: none !important;
}

/* Responsive Design cart page*/

@media (min-width: 901px) {
.woocommerce-cart .qty,
.woocommerce-cart input.qty[type="number"] {
    width: 48px;
    height: 36px;
    font-size: 1.1em;
    font-weight: bold;
    font-family: 'Times New Roman', Times, serif;
    padding: 0 6px;
    border: 1px solid #e7d2d0;
    border-radius: 8px;
    background: none;
    color: #a95b60;
    text-align: center;
    margin: 0 6px;
    box-shadow: none;
    transition: border-color 0.2s, background 0.2s;
}
}

@media (max-width: 768px) {
  main,
  body,
  html {
    width: 100%;
    max-width: 100%;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
  .woocommerce-cart,
  .woocommerce-cart .woocommerce,
  .woocommerce-cart .woocommerce-cart-form,
  .woocommerce-cart .cart-collaterals,
  .woocommerce-cart .cart_totals {
    display: block;
    justify-content: center !important;
    align-items: center !important;
    width: 95% !important;
    max-width: 100% !important;
    margin: 0 auto;
    padding: 10px 4px 10px 4px;
    border-radius: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    background: none !important;
  }
  .woocommerce-cart .woocommerce,
  .woocommerce-cart .woocommerce-cart-form,
  .woocommerce-cart .cart-collaterals,
  .woocommerce-cart .cart_totals {
    display: block;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 0 10px 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    background: none !important;
  }

  .woocommerce-cart table.shop_table,
  .woocommerce-cart table.shop_table_responsive,
  .woocommerce-cart-form__contents {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: visible !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
  }

  .shop_table.shop_table_responsive {
    width: 100%;
    table-layout: auto;
    border-collapse: collapse;
}

.shop_table.shop_table_responsive tr,
.shop_table.shop_table_responsive td,
.shop_table.shop_table_responsive th {
    vertical-align: top;
    overflow: visible;
    padding: 12px 8px;
}
  .cart_totals table.shop_table {
    display: table !important; /* restore normal table display */
    border-collapse: collapse; /* nice border rendering */
    width: 100% !important;
    border: 1px solid #a95b60; /* your desired border color */
}

  .woocommerce-cart table.shop_table thead {
    display: none !important;
  }
  .woocommerce-cart table.shop_table tbody,
  .woocommerce-cart table.shop_table tr {
    display: block !important;
    width: 100% !important;
  }
  .woocommerce-cart-form__cart-item.cart_item {
    display: flex !important;
    flex-direction: column !important;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(220,148,153,0.08);
    margin: 18px 0;
    padding: 18px 12px 12px 12px;
    width: 96% !important;
    max-width: 98% !important;
    box-sizing: border-box !important;
    align-items: center;
    position: relative;
  }
  .woocommerce-cart-form__cart-item.cart_item > td {
    width: 100% !important;
    display: block !important;
    text-align: center;
    padding: 6px 12px !important;
    box-sizing: border-box !important;
  }

  .woocommerce-cart .qty,
.woocommerce-cart input.qty[type="number"] {
    width: 48px;
    height: 36px;
    font-size: 1.1em;
    font-weight: bold;
    font-family: 'Times New Roman', Times, serif;
    padding: 0;
    border: 1px solid #dc9499;
    border-radius: 8px;
    background: none;
    color: #a95b60;
    text-align: center;
    margin: 0;
    box-shadow: none;
    transition: border-color 0.2s, background 0.2s;
}

  .woocommerce-cart-form__.woocommerce table.shop_table {
    text-align: right !important;
  }

.woocommerce-cart table.shop_table_responsive th {
    text-align: center !important;
    margin: 0 auto !important;
}

  .woocommerce-cart .product-thumbnail,
  .woocommerce-cart .product-thumbnail img {
    display: block !important;
    margin: 0 auto 10px auto !important;
    width: 90px !important;
    max-width: 100px !important;
    height: auto !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 8px rgba(220,148,153,0.07);
    background: #f6f6f6;
  }
  .woocommerce td.product-thumbnail::before {
  display: none !important;
  content: none !important;
  content: none !important;
  }
  .woocommerce-cart .product-name {
    text-align: center !important;
    font-size: 1.1em !important;
    font-weight: bold !important;
    color: #a95b60 !important;
    margin-bottom: 8px !important;
    width: 100%;
    display: block !important;
  }
  .woocommerce-cart .product-price {
    text-align: center !important;
    color: #dc9499 !important;
    font-weight: bold !important;
    font-size: 1.08em !important;
    margin-bottom: 8px !important;
    width: 100%;
    display: block !important;
  }
  .woocommerce-cart .product-quantity {
    text-align: center !important;
    margin-bottom: 8px !important;
    color: #a95b60 !important;
    width: 100%;
    display: flex !important;
    justify-content: center;
  }
.woocommerce-cart .custom-quantity {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-end; /* optional, but inline-flex + text-align right is enough */
}

  .woocommerce-cart .product-subtotal {
    display: none !important;
  }
  .woocommerce-cart .product-remove {
    text-align: center !important;
    margin-top: 8px !important;
    width: 100%;
    display: flex !important;
    justify-content: center;
  }
  .woocommerce-cart .product-remove a.remove {
    background: #fbecee;
    color: #dc9499 !important;
    border: none;
    border-radius: 8px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em !important;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(220,148,153,0.07);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    margin: 0 auto;
    text-decoration: none;
    position: relative;
  }
  .woocommerce-cart .actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    width: 90% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    margin: 0 auto !important;
    height: 160px;
  }
  .woocommerce-cart .actions .coupon {
    flex-direction: column !important;
    align-items: center;
    gap: 4px !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 30px;
    max-height: 40px;
    padding: 0 !important;
  }
  .woocommerce-cart .actions input[name="coupon_code"] {
    padding: 8px 12px !important; /* Optional: tweak spacing */
    box-sizing: border-box !important;
  }
  .woocommerce-cart .actions .button[name="apply_coupon"] {
    width: 70% !important;
    min-width: 70% !important;
    max-width: 100% !important;
    height: 40px;
    margin: 0 !important;
    box-sizing: border-box !important;
    font-size: 12px !important; /* Optional: adjust text size */
    text-align: center !important;
    font-weight: bold !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  .woocommerce-cart .actions .button[name="update_cart"] {
    width: 70% !important;
       min-width: 70% !important;
    max-width: 100% !important;
    height: 40px;
    margin-top: 40px;
    box-sizing: border-box !important;
    text-align: center !important;
  }
  .woocommerce-cart .actions label.screen-reader-text {
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    white-space: nowrap !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
  }
  .cart-collaterals,
  .cart_totals {
    min-width: auto !important;
    max-width: 100% !important; /* or your desired width */
    margin-left: 40px;
    padding: 16px 8px 16px 8px !important;
    background: none !important;
  }
  .cart_totals h2 {
    text-align: center;
  }
  .cart_totals table.shop_table,
  s.wc-proceed-to-checkout {
    width: 100% !important;
    max-width: 500px; /* or same as above */
    margin: 0 auto !important;
    padding: 12px 16px 12px 16px !important;
    box-sizing: border-box !important;
  }
  .cart_totals tr.cart-subtotal th,
  .cart_totals tr.woocommerce-shipping-totals th,
  .cart_totals tr.order-total th {
    width: 150px !important; /* adjust width as needed */
    display: flex;
    flex-direction: column !important;
}
    .cart_totals tr.cart-subtotal th {
        display: none;
        content: none !important;
    }
  .wc-proceed-to-checkout {
    display: flex;
    justify-content: center;
  }
  .shop_table.shop_table_responsive td[data-title]::before {
    color: #a95b60 !important;   /* Your custom color */
    font-weight: bold;
    font-size: 1em;
    /* Add any other styles you want */
  }
  .cart_totals table.shop_table td[data-title] {
      max-width: 100%;      /* Adjust as needed */
      width: 100% !important;
      white-space: normal !important;
      word-break: break-word;
      text-align: center;     /* Or left/center as you prefer */
      padding-left: 8px;
      padding-right: 8px;
  }
  .cart_totals table.shop_table td[data-title] .woocommerce-Price-amount {
    display: inline-block;
    text-align: center;
    float: center;
    min-width: 60px;
    margin-left: 0;
}
.cart_totals table.shop_table td {
    text-align: center;
}
}


/* --- WooCommerce Checkout Page Styling --- */
.woocommerce-checkout form.checkout {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(220,148,153,0.08);
    padding: 12px 18px 12px 18px;
    max-width: 900px;
    margin: 0 auto;
    font-family: inherit;
}

#woocommerce-checkout-form-coupon {
    background: #fbecee;
    border-radius: 8px;
    border: none;
    box-shadow: 0 2px 8px rgba(220,148,153,0.07);
    padding: 18px 24px;
    margin: 0 auto 0 auto;
    max-width: 100%;
    width: 70%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

#woocommerce-checkout-form-coupon .form-row {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

#woocommerce-checkout-form-coupon input.input-text {
    border-radius: 8px;
    border: none;
    padding: 10px 16px;
    font-size: 1em;
    background: #fff;
    color: #a95b60;
    min-width: 180px;
    max-width: 220px;
    margin-right: 12px;
    box-sizing: border-box;
}

#woocommerce-checkout-form-coupon button.button {
    background: #dc9499;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    padding: 0 28px;
    font-weight: bold;
    font-size: 0.9em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(220,148,153,0.07);
    letter-spacing: 0.03em;
    height: 40px; /* Match input height (10px top + 10px bottom + 20px line height approx) */
    box-sizing: border-box; /* Ensure padding is included in height */
}

#woocommerce-checkout-form-coupon button.button:hover {
    background: #a95b60;
    color: #fff !important;
    transform: scale(1.05);
}

#woocommerce-checkout-form-coupon label {
    color: #a95b60;
    font-weight: bold;
    font-size: 1em;
    margin-right: 8px;
}

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

@media (max-width: 768px) {
    .woocommerce-info .showcoupon {
        display: block;
        margin-top: 8px;
    }
    #woocommerce-checkout-form-coupon {
        flex-direction: column;
    }

    #woocommerce-checkout-form-coupon .form-row {
        flex-direction: column;
        width: 100%;
    }

    #woocommerce-checkout-form-coupon input.input-text,
    #woocommerce-checkout-form-coupon button.button {
        width: 100%;
        max-width: 100%;
        margin: 0 0 12px 0; /* Space between input and button */
    }

    #woocommerce-checkout-form-coupon button.button {
        margin-bottom: 0; /* Remove extra margin */
    }
}

 .woocommerce-checkout .woocommerce-billing-fields h3, .woocommerce-checkout .woocommerce-additional-fields h3 {
    color: #a95b60 !important;
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 18px;
    letter-spacing: 0.01em;
    text-align: center;
}


.woocommerce-billing-fields__field-wrapper {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: block;
}

.woocommerce-billing-fields__field-wrapper .form-row {
    width: 100% !important;
    margin: 0 auto 18px auto;
    float: none;
    clear: both;
    display: block;
    text-align: left;
    padding: 0;
}

.woocommerce-billing-fields__field-wrapper label {
    text-align: left !important;
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    color: #a95b60;
}

.woocommerce-billing-fields__field-wrapper input,
.woocommerce-billing-fields__field-wrapper select {
    width: 100% !important;
    box-sizing: border-box;
}

#billing_country_field,
#billing_state_field,
#shipping_country_field,
#shipping_state_field {
    display: none !important;
}

#billing_phone_field label {
    white-space: nowrap;
}

/* Style the new custom checkbox and label */
#ship-to-different-address {
    margin-bottom: 8px;
    max-width: 500px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    /* Add this for vertical alignment with h3 */
    min-height: 1.3em;
    margin-top: 24px !important; /* Adjust this value as needed */
}

#ship-to-different-address input[type="checkbox"] {
    /* Hide the native checkbox */
    opacity: 0;
    position: absolute;
    width: 22px;
    height: 22px;
    margin: 0;
    z-index: 2;
    cursor: pointer;
    left: 0;
    top: 0;
}

#ship-to-different-address label {
    position: relative;
    padding-left: 32px; /* space for custom box */
    cursor: pointer;
    display: inline-block;
    line-height: 22px;
    color: #a95b60;
    font-size: 1.3em;
    font-weight: bold;
    letter-spacing: 0.01em;
    margin-bottom: 18px;
    text-align: left;
}

#ship-to-different-address label:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    background: #dc9499;
    border: 2px solid #dc9499;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(220,148,153,0.08);
    z-index: 1;
}

#ship-to-different-address input[type="checkbox"]:checked + label:after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 12px;
    height: 18px;
    border: solid #fff;
    border-width: 0 4px 4px 0;
    border-radius: 2px;
    transform: rotate(45deg) scale(0.7);
    z-index: 3;
}

.woocommerce-shipping-fields__field-wrapper {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: block;
}

.woocommerce-shipping-fields__field-wrapper .form-row {
    width: 100% !important;
    margin: 0 0 18px 0 !important;
    float: none !important;
    clear: both !important;
    display: block !important;
    text-align: left !important;
    padding: 0 !important;
}

.woocommerce-shipping-fields__field-wrapper label {
    text-align: left !important;
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    color: #a95b60;
}

.woocommerce-shipping-fields__field-wrapper input,
.woocommerce-shipping-fields__field-wrapper select {
    width: 100% !important;
    box-sizing: border-box;
    padding: 10px 14px;
    border: 1px solid #dc9499;
    border-radius: 8px;
    background: #fafafa;
    color: #a95b60;
    font-size: 1em;
    margin-bottom: 16px;
    transition: border-color 0.2s, background 0.2s;
}

.woocommerce-shipping-fields__field-wrapper input:focus,
.woocommerce-shipping-fields__field-wrapper select:focus {
    border-color: #a95b60;
    background: #fff;
    outline: none;
}

.woocommerce-shipping-fields {
    margin: 0 auto 0 auto !important;
    padding-top: 0 !important;
    max-width: 500px;
}

.woocommerce-shipping-fields h3,
.woocommerce-shipping-fields .woocommerce-shipping-fields__title {
    margin-bottom: 18px !important; /* match billing fields title margin */
}

/* Style the custom shipping method checkbox */

.shipping_method_checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    margin-right: 12px !important;
    border-radius: 6px;
    background: #fff;
    border: 2px solid #dc9499;
    position: auto;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(220,148,153,0.08);
    vertical-align: left !important;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.shipping_method_checkbox:checked {
    background: #dc9499;
}

.shipping_method_checkbox:checked::after {
    content: "";
    position: absolute;
    margin-left: 3px;
    width: 7px;
    height: 13px;
    border: solid #fff;
    border-width: 0 4px 4px 0;
    transform: rotate(45deg) scale(0.7);
    display: block;
} 

.woocommerce-shipping-methods label {
    color: #a95b60;
    font-size: 0.9em;
    font-weight: bold;
    letter-spacing: 0.01em;
    margin-left: 4px;
    vertical-align: left;
    cursor: pointer;
}
.woocommerce-shipping-methods {
    text-align: left;
    padding-left: 0;
    margin-bottom: 0 !important;
    list-style: none;
}

.woocommerce-shipping-methods li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0 !important;
}

.woocommerce-shipping-methods input[type="radio"] {
    margin-right: 8px;
}

.woocommerce-shipping-methods label {
    display: flex;
	justify-content: space-between;
	flex: 1;
}

.woocommerce-checkout .woocommerce-additional-fields_field-wrapper {
    max-width: 500px;
}

#order_comments_field {
    width: 100% !important;
    max-width: 500px !important;
    margin: 0 auto 18px auto !important;
    float: none !important;
    clear: both !important;
    display: block !important;
    text-align: left !important;
    padding: 0 !important;
    order: 2; /* If parent is flex, this puts it after billing fields */
}

#order_comments_field label {
    white-space: nowrap;
    text-align: left !important;
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    color: #a95b60;
}

#order_comments_field textarea {
    width: 100% !important;
    max-width: 500px !important;
    min-width: 300px;
    box-sizing: border-box;
    padding: 14px 18px;
    border: 1px solid #333;
    border-radius: 8px;
    background: #fafafa;
    color: #a95b60;
    font-size: 1.1em;
    margin: 0 auto 16px auto;
    transition: border-color 0.2s, background 0.2s;
    min-height: 120px;
    resize: vertical;
}

#order_comments_field textarea:focus {
    border-color: #a95b60;
    background: #fff;
    outline: none;
}

.woocommerce-checkout label {
    color: #a95b60;
    font-weight: bold;
    margin-bottom: 6px;
    display: block;
    font-size: 1em;
}



.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout input[type="number"],
.woocommerce-checkout textarea,
.woocommerce-checkout select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #aaa !important;
    border-radius: 8px;
    background: #fafafa;
    color: #a95b60;
    font-size: 1em;
    margin-bottom: 16px;
    box-sizing: border-box;
    transition: border-color 0.2s, background 0.2s;
}

.woocommerce-checkout input[type="text"]:focus,
.woocommerce-checkout input[type="email"]:focus,
.woocommerce-checkout input[type="tel"]:focus,
.woocommerce-checkout input[type="password"]:focus,
.woocommerce-checkout input[type="number"]:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus {
    border-color: #a95b60;
    background: #fff;
    outline: none;
}

.woocommerce-checkout .form-row {
    margin-bottom: 18px;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table,
.woocommerce-checkout .shop_table {
    background: rgba(249, 249, 249, 0.8);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(220,148,153,0.07);
    padding: 12px;
    margin-bottom: 24px;
    width: 100%;
}

.woocommerce-checkout .shop_table th,
.woocommerce-checkout .shop_table td {
    border: none;
    padding: 10px 8px;
    font-size: 1em;
    color: #a95b60;
}

.woocommerce-checkout .order-total th,
.woocommerce-checkout .order-total td {
    color: #a95b60;
    font-weight: bold;
    font-size: 1.1em;
}

.woocommerce-checkout .woocommerce-checkout-payment {
    border-radius: 10px;
    padding: 18px 14px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(220,148,153,0.07);
}
#payment.woocommerce-checkout-payment {
  background-color:rgba(249, 249, 249, 0.8);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.woocommerce-checkout .payment_methods,
.woocommerce-checkout ul.wc_payment_methods.payment_methods.methods {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    list-style: none;
    padding: 0 !important;
    margin: 0 0 24px 0;
}
.wc_payment_methods.payment_methods.methods::before,
.wc_payment_methods.payment_methods.methods_cod::before {
    display: none !important;
    content: none !important;
}

.woocommerce-checkout .payment_methods li {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 10px 12px;
    color: #a95b60;
}

.woocommerce-checkout .payment_methods li input[type="radio"] {
    accent-color: #a95b60;
    margin-right: 10px;
}

.woocommerce-checkout .payment_box.payment_method_bacs::before,
.woocommerce-checkout .payment_box.payment_method_przelewy24::before {
    display: none !important;
    content: none !important;
}
.woocommerce-checkout .payment_box.payment_method_bacs,
.woocommerce-checkout .payment_box.payment_method_przelewy24  {
    background: #fff !important;
    color: #a95b60 !important;
    margin: 0 !important;
}
.woocommerce-checkout .payment_box.payment_method_bacs p,
.woocommerce-checkout .payment_box.payment_method_przelewy24 p {
    margin: 0;
    padding: 0;
    font-size: 0.95em;
    line-height: 1.5;
}

.woocommerce-checkout #place_order,
.woocommerce-checkout .button[name="woocommerce_checkout_place_order"] {
    background: #dc9499;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 18px 48px;
    font-size: 1.15em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    box-shadow: 0 2px 8px rgba(220,148,153,0.07);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    display: block;
    margin: 24px auto 0 auto;
    text-align: center;
}

.woocommerce-checkout #place_order:hover,
.woocommerce-checkout .button[name="woocommerce_checkout_place_order"]:hover {
    background: #a95b60;
    color: #fff;
    transform: scale(1.05);
}

.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-message,
.woocommerce-checkout .woocommerce-info {
    background: #fff;
    color: #a95b60;
    border-radius: 10px;
    padding: 18px 24px;
    margin: 0 auto 0 auto;
    font-size: 0.95em;
    font-weight: bold;
    text-align: center;
    border: none;
    display: block;
}

.woocommerce-checkout .woocommerce-privacy-policy-text {
    color: #a95b60;
    font-size: 1em;
    width: 70%;
    margin: 12px 12px;
    text-align: left;
}

.woocommerce-checkout #place_order,
.woocommerce-checkout .button[name="woocommerce_checkout_place_order"] {
    display: block !important;
  width: 70% !important;
  height: 60px !important;
  clear: both !important;
  float: none !important;
  text-align: center !important;
  margin: auto !important;
}

.woocommerce-form__input-checkbox:checked {
    accent-color: #a95b60 !important;
    color-scheme: light !important;
}
.woocommerce-form__input-checkbox:checked {
    accent-color: #a95b60 !important;
}
.woocommerce-form__input-checkbox:checked::-webkit-checkmark {
    color: #fff !important;
}

.woocommerce-checkout h2:contains("Twoje zamówienie") {
    color: #a95b60 !important;
}

.woocommerce-checkout a[href="https://kiuworkshop.pl/polityka-prywatnosci/"] {
    color: #dc9499;
    font-weight: normal;
    transition: color 0.2s, border-color 0.2s;
}

.woocommerce-checkout a[href="https://kiuworkshop.pl/polityka-prywatnosci/"]:hover,
.woocommerce-checkout a[href="https://kiuworkshop.pl/polityka-prywatnosci/"]:focus {
    color: #a95b60;
    border-bottom: none;
    text-decoration: none;
} 

.woocommerce-form__label-for-checkbox {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-direction: row !important;
    white-space: normal !important;
    text-wrap-mode: nowrap !important;
}
.woocommerce-form__label-for-checkbox input[type="checkbox"] {
    margin-right: 8px !important;
}

@media (max-width: 900px) {
    .woocommerce-checkout form.checkout {
        padding: 12px 8px 18px 8px;
        border-radius: 8px;
        margin: 12px 0;
    }
    .woocommerce-checkout .woocommerce-checkout-review-order-table,
    .woocommerce-checkout .shop_table,
    .woocommerce-checkout .woocommerce-checkout-payment {
        border-radius: 6px;
        padding: 8px;
    }
      .form-row.place-order {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 16px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
      }
      .form-row.place-order > * {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        text-align: left !important;
      }
    .woocommerce-checkout #place_order,
    .woocommerce-checkout .button[name="woocommerce_checkout_place_order"] {
        padding: 14px 0;
        width: 90%;
        font-size: 1em;
        border-radius: 8px;
    }
      .woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
        width: 80%;
        display: block;
        margin: 8px 12px 8px 12px;
      }
      .woocommerce-checkout .woocommerce-privacy-policy-text {
        width: 90%;
        display: block;
        margin: 4px 8px 4px 8px;
        text-align: center;
      }
      .woocommerce-checkout #place_order,
      .woocommerce-checkout .button[name="woocommerce_checkout_place_order"] {
  display: block !important;
  width: 70% !important;
  height: 40px !important;
  clear: both !important;
  float: none !important;
  text-align: center !important;
  margin: auto !important;
    }
    .woocommerce-checkout .payment_methods,
  .woocommerce-checkout ul.wc_payment_methods.payment_methods.methods {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
  }
  .woocommerce-checkout .payment_methods li {
    width: 100% !important;
    margin-bottom: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 0 !important;
  }
} 

.no-results-text {
    color: #a95b60 !important;
    font-weight: bold;
    text-align: center;
}
.search-title {
    color: #a95b60 !important;
    font-size: 1.3em;
    font-weight: bold;
    text-align: center;
    margin: 30px 0 20px 0;
}
.search-title span {
    color: #dc9499;
    font-weight: bold;
}
.search-results-container {
    max-width: 90%;
    margin: 0 auto;
    padding: 24px 16px;
    background: rgba(249, 249, 249, 0.8);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(220,148,153,0.08);
}

/* Style the checkout page heading */
.checkout-page-title {
    color: #a95b60;
    font-size: 1.1em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    text-align: center;
    display: inline-block;
    margin: 0 0 8px 0;
    margin-top: 10px;
}
.shop_table.shop_table_responsive td[data-title]::before {
    color: #a95b60 !important;   /* Your custom color */
    font-weight: bold;
    font-size: 1em;
    /* Add any other styles you want */
}

#select-point-container {
	border-radius: 10px;
	text-align: center;
	font-size: 1rem;
	color: #b94a48;
}

#select-point {
	display: inline-block;
	color: #fff;
	background-color: #dc9499;
    padding: 10px 20px;
	border-radius: 6px;
	text-decoration: none;
	font-weight: bold;
	transition: background-color 0.2s ease, color 0.2s ease;
}

#select-point:hover {
	background-color: #a95b60;
	color: #fff;
	text-decoration: none;
}

#select-point-label {
	cursor: pointer;
}

#selected-point {
	display: block;
	margin-top: 10px;
	color: #b94a48;
	font-weight: 500;
}

/* Mobile: Stack shipping method checkbox and label vertically */
@media (max-width: 900px) {
  .woocommerce-shipping-methods li {
    display: flex !important;
    flex-direction: column !important;
    align-items: auto !important;
    gap: 8px !important;
    width: 100%;
  }
  .woocommerce-shipping-methods input[type="radio"],
  .woocommerce-shipping-methods input[type="checkbox"] {
    margin: 0 8px 0 0 !important;
    align-self: left !important;
  }
  .woocommerce-shipping-methods label {
    margin: 0 !important;
    width: auto !important;
    text-align: left !important;
    display: block !important;
  }
  #select-point-container {
    order: 99 !important;
    width: 100%;
    margin-top: 18px;
    margin-bottom: 0;
  }

.shipping_method_checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid #dc9499;
  border-radius: 6px;
  background: #fff;
  margin-right: 10px;
  position: relative;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px rgba(220,148,153,0.08);
  vertical-align: middle;
}

.shipping_method_checkbox:checked {
  background: #dc9499;
  border-color: #dc9499;
}

.shipping_method_checkbox:checked::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 2px;
  width: 8px;
  height: 14px;
  border: solid #fff;
  border-width: 0 4px 4px 0;
  border-radius: 2px;
  transform: rotate(45deg) scale(0.7);
  display: block;
}

.woocommerce-shipping-methods label {
  color: #a95b60;
  font-size: 1em;
  font-weight: bold;
  margin-left: 4px;
  cursor: pointer;
  vertical-align: middle;
}
.coupon-error-notice {
  color: #b94a48;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(220,148,153,0.10);
  padding: 10px 14px;
  margin: 18px 12px 18px 12px !important;
  font-size: 1em !important;
  font-weight: bold !important;
  text-align: center;
  display: block;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
}

/* Unified Login & Register Form Styling */

/* Add border radius to main element in my-account.php */
.frontpage-main-container main {
    border-radius: 8px;
    background: #fff; /* optional for visibility */
    box-shadow: 0 2px 8px rgba(220,148,153,0.07); /* optional for effect */
    padding: 24px; /* optional for spacing */
}

.woocommerce-my-account .woocommerce {
  max-width: 1200px !important;
  margin: 10px auto !important;
  padding: 10px auto !important;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(220,148,153,0.10);
  width: 95%;
  box-sizing: border-box;
}
.woocommerce form.woocommerce-form-login,
.woocommerce-form-register {
  background: #fff;
  border-radius: 8px;
  padding: 32px;
  max-width: 500px;
  margin: 40px auto !important;
  box-shadow: 0 4px 10px rgba(220, 148, 153, 0.1);
  color: #a95b60;
  display: block;
}

.woocommerce form.woocommerce-form-login h2,
.woocommerce-form-register h2 {
  text-align: center;
  font-size: 1.6em;
  color: #a95b60;
  margin-bottom: 24px;
  font-weight: bold;
}

.woocommerce form.woocommerce-form-login .form-row,
.woocommerce-form-register .form-row {

  display: flex;
  flex-direction: column;
}

.woocommerce form.woocommerce-form-login label,
.woocommerce-form-register label {
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  width: 100%;
  font-weight: bold;
  color: #a95b60;
  margin-bottom: 6px;
  text-align: center;
  font-size: 1em;
  height: 64px;
}

.woocommerce form.woocommerce-form-login input.input-text,
.woocommerce-form-register input.input-text,
.woocommerce-form-register input[type="text"],
.woocommerce-form-register input[type="email"],
.woocommerce-form-register input[type="password"] {
  width: 100%;
  padding: 10px 14px;
  box-sizing: border-box;
  border: 1px solid #dc9499;
  border-radius: 8px;
  background: #fff;
  color: #a95b60;
  font-size: 1em;
  transition: border-color 0.2s, background 0.2s;
}

.woocommerce form.woocommerce-form-login input.input-text:focus,
.woocommerce-form-register input.input-text:focus,
.woocommerce-form-register input[type="text"]:focus,
.woocommerce-form-register input[type="email"]:focus,
.woocommerce-form-register input[type="password"]:focus {
  border-color: #a95b60;
  background: #fff;
  outline: none;
}

.woocommerce-form-login__rememberme,
.woocommerce-form-register .form-row .woocommerce-form__label-for-checkbox {
  display: flex;
    height: 40px !important;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.woocommerce-form-login__rememberme .woocommerce-form__label-for-checkbox {
    width: 40px !important;
    height: 40px !important;
}
.woocommerce-form__label-for-checkbox span {
  margin-left: 8px;
  vertical-align: middle;
  font-weight: normal;
  color: #a95b60;
}

.woocommerce form.woocommerce-form-login .woocommerce-form-login__submit,
.woocommerce-form-register button,
.woocommerce-form-register input[type="submit"] {
  background: #dc9499;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.2s ease;
  margin: 0 !important;
}

.woocommerce form.woocommerce-form-login .woocommerce-form-login__submit:hover,
.woocommerce-form-register button:hover,
.woocommerce-form-register input[type="submit"]:hover {
  background: #a95b60;
}

.woocommerce form.woocommerce-form-login .lost_password,
.woocommerce-form-register .lost_password {
  display: block;
  text-align: right;
  margin-top: 12px;
}

.woocommerce form.woocommerce-form-login .lost_password a,
.woocommerce-form-register .lost_password a {
  color: #dc9499;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s;
}

.woocommerce form.woocommerce-form-login .lost_password a:hover,
.woocommerce-form-register .lost_password a:hover {
  color: #a95b60;
}

@media (max-width: 900px) {
  .woocommerce form.woocommerce-form-login,
  .woocommerce-form-register {
    padding: 16px 4px !important;
    margin: 16px auto !important;
    max-width: 98% !important;
    border-radius: 8px !important;
  }
  .woocommerce form.woocommerce-form-login h2,
  .woocommerce-form-register h2 {
    font-size: 1.2em;
    margin-bottom: 18px;
  }
  .woocommerce form.woocommerce-form-login .form-row,
  .woocommerce-form-register .form-row {
    margin-bottom: 14px;
  }
}

.woocommerce-form-login__rememberme {
  margin-bottom: 0;
  padding: 0 0 0 0px;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.woocommerce-form-login__rememberme input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #dc9499;
  margin: 0 8px 0 0;
  vertical-align: middle;
  cursor: pointer;
}

.woocommerce-form-login__rememberme label {
  font-weight: normal;
  color: #a95b60;
  font-size: 1em;
  margin: 0;
  white-space: nowrap;
  display: inline-block;
}
/* WooCommerce Lost Password Page Styling */
.woocommerce-my-account .woocommerce .lost_reset_password {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(220,148,153,0.10);
  padding: 32px 18px;
  max-width: 800px;
  margin: 10px auto;
  color: #a95b60;
  display: block;
}

.woocommerce-my-account .woocommerce .lost_reset_password h2 {
  text-align: center;
  font-size: 1.5em;
  color: #a95b60;
  margin-bottom: 24px;
  font-weight: bold;
  letter-spacing: 0.02em;
}

.woocommerce-my-account .woocommerce .form-row-first {
  display: flex;
  height: 40px !important;
  width: 100% !important;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.woocommerce-my-account .woocommerce .lost_reset_password label {

  display: block;
  width: 100%;
  font-weight: bold;
  color: #a95b60;
  text-align: left;
  font-size: 1em;
}

.woocommerce-my-account .woocommerce .lost_reset_password input[type="text"],
.woocommerce-my-account .woocommerce .lost_reset_password input[type="email"] {
  width: 100%;
  padding: 10px 14px;
  box-sizing: border-box;
  border: 1px solid #dc9499;
  border-radius: 8px;
  background: #fff;
  color: #a95b60;
  font-size: 1em;
  transition: border-color 0.2s, background 0.2s;
}

.woocommerce-my-account .woocommerce .lost_reset_password input[type="text"]:focus,
.woocommerce-my-account .woocommerce .lost_reset_password input[type="email"]:focus {
  border-color: #a95b60;
  background: #fff;
  outline: none;
}

.woocommerce-my-account .woocommerce .lost_reset_password button,
.woocommerce-my-account .woocommerce .lost_reset_password input[type="submit"] {
  background: #dc9499;
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  margin-top: 12px;
  box-shadow: 0 2px 8px rgba(220,148,153,0.07);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.woocommerce-my-account .woocommerce .lost_reset_password button:hover,
.woocommerce-my-account .woocommerce .lost_reset_password input[type="submit"]:hover {
  background: #a95b60;
  color: #fff;
  transform: scale(1.05);
}

.woocommerce-my-account .woocommerce .lost_reset_password .woocommerce-message,
.woocommerce-my-account .woocommerce .lost_reset_password .woocommerce-error,
.woocommerce-my-account .woocommerce .lost_reset_password .woocommerce-info {
  background: #fff0f0;
  color: #b94a48;
  border: 2px solid #dc9499;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(220,148,153,0.10);
  padding: 18px 24px;
  margin: 24px auto 18px auto;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  display: block;
}
.woocommerce-my-account .woocommerce a {
  color: #dc9499;
  text-decoration: none;
  transition: color 0.2s;
}

.woocommerce-my-account .woocommerce a:hover,
.woocommerce-my-account .woocommerce a:focus {
  color: #a95b60;
  text-decoration: none;
}

@media (max-width: 600px) {
  .woocommerce-my-account .woocommerce .lost_reset_password {
    padding: 16px 4px !important;
    margin: 16px auto !important;
    max-width: 98% !important;
    border-radius: 8px !important;
  }
  .woocommerce-my-account .woocommerce .lost_reset_password h2 {
    font-size: 1.2em;
    margin-bottom: 18px;
  }
  .woocommerce-my-account .woocommerce .lost_reset_password label {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    word-break: break-word !important;
    font-size: 1em;
    text-align: left;
  }
  .woocommerce-my-account .woocommerce .lost_reset_password .form-row-first {
    flex-direction: column !important;
    height: auto !important;
    align-items: stretch !important;
    gap: 0 !important;
  }
  .woocommerce-my-account .woocommerce .lost_reset_password label {
    margin-bottom: 8px;
  }
}

/* === Content Area === */
.woocommerce-my-account .woocommerce-my-account-content {
    flex: 1;
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    margin: 20px auto;
}
.woocommerce-Address-title.title {
    border-radius: 8px;
    background: #f9f9f9cc; /* optional, matches your address box */
    padding: 12px 18px;  /* optional, for better look */
    color: #b94a48;      /* optional, for theme consistency */
    margin-bottom: 12px;
}
.woocommerce-Address-title.title h2 {
    font-size: 1.2em;
    margin: 0;
}

address {
    font-style: normal !important
}

/* Style WooCommerce Edit Address Fields on My Account page */
.woocommerce-my-account .woocommerce-address-fields {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(220,148,153,0.10);
    padding: 32px 18px 24px 18px;
    max-width: 500px;
    margin: 32px auto;
    font-family: inherit;
}

.woocommerce-my-account .woocommerce-address-fields__field-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.woocommerce-my-account .woocommerce-address-fields__field-wrapper .form-row {
    width: 100% !important;
    margin: 0 0 18px 0 !important;
    float: none !important;
    clear: both !important;
    display: block !important;
    text-align: left !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.woocommerce-my-account .woocommerce-address-fields__field-wrapper label {
    text-align: left !important;
    display: block;
    margin-bottom: 8px;
    margin-top: 8px;
    font-weight: bold;
    color: #a95b60;
}

.woocommerce-my-account .woocommerce-address-fields__field-wrapper input[type="text"],
.woocommerce-my-account .woocommerce-address-fields__field-wrapper select {
    width: 100% !important;
    box-sizing: border-box;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fafafa;
    color: #a95b60;
    font-size: 1em;
    margin-bottom: 8px;
    transition: border-color 0.2s, background 0.2s;
}

.woocommerce-my-account .woocommerce-address-fields__field-wrapper input:focus,
.woocommerce-my-account .woocommerce-address-fields__field-wrapper select:focus {
    border-color: #a95b60;
    background: #fff;
    outline: none;
}

.woocommerce-my-account .woocommerce-address-fields button,
.woocommerce-my-account .woocommerce-address-fields input[type="submit"] {
    background: #dc9499;
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    margin-top: 12px;
    box-shadow: 0 2px 8px rgba(220,148,153,0.07);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.woocommerce-my-account .woocommerce-address-fields button:hover,
.woocommerce-my-account .woocommerce-address-fields input[type="submit"]:hover {
    background: #a95b60;
    color: #fff;
    transform: scale(1.05);
}

/* Responsive for mobile */
@media (max-width: 900px) {
  .woocommerce-my-account .woocommerce-address-fields {
    padding: 16px 4px !important;
    margin: 16px auto !important;
    max-width: 98% !important;
    border-radius: 8px !important;
  }
  .woocommerce-my-account .woocommerce-address-fields__field-wrapper .form-row {
    margin-bottom: 14px !important;
  }
}



/* Policy/Regulations Page Styling */

/* Remove background color from policy page main container */
.policy-page-container,
.news-page-container,
.single-post {
    background: none !important;
}

.policy-page-container .container,
.news-page-container .container {
    max-width: 1200px;
    margin: 12px auto 24px auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(220,148,153,0.08);
    padding: 24px 32px 32px 32px;
}

.policy-title {
    color: #a95b60;
    font-size: 2.1em;
    font-weight: bold;
    margin: 0 auto;
    text-align: center;
    letter-spacing: 0.01em;
}

.policy-content {
    color: #756062;
    font-size: 1.08em;
    line-height: 1.7;
    text-align: left;
}

.news-page-container .post h3,
.news-page-container .post h3 a {
    font-weight: bold;
    font-size: 1.25em;
}

@media (max-width: 1200px) {
    .policy-page-container .container,
    .news-page-container .container  {
        max-width: 98%;
        padding: 24px 8px;
    }
    .policy-title,
    .news-title {
        font-size: 1.5em;
    }
}

@media (min-width: 901px) {
  .news-page-container .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    align-items: start;
  }
  .news-page-container .news-title {
    grid-column: 1 / -1; /* Span both columns */
    margin-bottom: 32px;
    width: 100%;
    display: block;
  }
}

.footer-menus {
    display: flex;
    gap: 120px;
    justify-content: center;
    margin: 12px;
    flex-wrap: nowrap;
    font-size: 0.9em;
    text-align: left;
}

.footer-menu-title {
    color: #a95b60;
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 12px;
    margin-top: 0;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}


.footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 0 auto;
    flex-wrap: wrap;
}

.footer-logo {
    flex: 0 0 180px;
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 12px;
}

.footer-logo img {
    max-width: 90% !important;
    height: auto;
    display: block;
}
.footer-menu-col {
    flex: 1 1 180px;
    min-width: 160px;
    max-width: 240px;
}
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-menu li {
    margin-bottom: 8px;
}
.footer-menu a,
.woocommerce-my-account-navigation a {
    color: #a95b60;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-menu a:hover,
.footer-menu a:focus {
    color: #dc9499;
    text-decoration: none;
}

@media (max-width: 900px) {
    .frontpage-main-container {
        max-width: 98%;
        padding: 18px 4px;
        margin: 12px auto;
    }
        .footer-inner {
            flex-direction: column !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 0 !important;
            max-width: 100% !important;
            margin: 0 auto !important;
        }
        .footer-logo {
            justify-content: center !important;
            align-items: center !important;
            margin: 0 auto 18px auto !important;
            width: 100%;
            height: 100%;
            display: flex !important;
        }
        .footer-logo img {
            max-width: 50% !important;
            height: auto;
            display: block;
            margin: 10px auto !important;
            display: block !important;
        }
        .footer-menus {
            flex-direction: column !important;
            gap: 0 !important;
            width: 100%;
            align-items: center !important;
            justify-content: center !important;
            margin: 0 auto !important;
        }
        .footer-menu-col {
            min-width: 0 !important;
            max-width: 100% !important;
            width: 100% !important;
            margin: 0 auto 18px auto !important;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .footer-menu-title {
            text-align: center !important;
            margin-bottom: 8px !important;
        }
        .footer-menu {
            text-align: center !important;
            padding: 0 !important;
            margin: 0 auto !important;
        }
    }

.front-selected-products .products-grid {
    max-width: 98%; 
    margin: 0 auto;
    flex: 0 0 auto;
    display: flex;
    flex-direction: row;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: thin;
    scrollbar-color: #dc9499 #fbecee;
}
.front-selected-products h2 {
    color: #a95b60;
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 24px;
}

.front-selected-products .products-grid .product {
    width: 360px;
    flex: 0 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(220,148,153,0.07);
    margin: 0 auto 0 auto;
    justify-items: center;
}

.front-selected-products .products-grid .product img {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    margin: 0 auto 12px auto;
    box-shadow: 0 1px 6px rgba(169,91,96,0.07);
    background: #f6f6f6;
}

.front-selected-products .products-grid .woocommerce-loop-product__title a:hover,
.front-selected-products .products-grid .woocommerce-loop-product__title a:focus,
.front-selected-products .products-grid .price a:hover,
.front-selected-products .products-grid .price a:focus {
    text-decoration: none !important;
    border-bottom: none !important;
    -webkit-text-decoration-line: none !important;
    -webkit-text-decorations-in-effect: none !important;
    text-decoration-line: none !important;
}
/* Remove underline from product title and price on main page */
.front-selected-products .products-grid .woocommerce-loop-product__title a,
.front-selected-products .products-grid .woocommerce-loop-product__title,
.front-selected-products .products-grid .price,
.front-selected-products .products-grid .price a {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    -webkit-text-decoration-line: none !important;
    -webkit-text-decorations-in-effect: none !important;
    text-decoration-line: none !important;
    background: none !important;
}

* {
  text-decoration: none !important;
  box-shadow: none !important;
}
/* Style the price */
.front-selected-products .products-grid .price,
.front-selected-products .products-grid .price a {
    color: #dc9499 !important;
    font-weight: bold;
    font-size: 1.1em;
    margin-top: 8px;
    margin-bottom: 8px;
    display: inline-block;
    text-align: center;
}

.front-selected-products .products-grid .price,
.front-selected-products .products-grid .price a {
    margin: 0;
    display: inline-block;
    text-align: center;
}

.front-selected-products li.product .product-meta {
    display: flex;
    align-items: center;
    margin-top: 0;
    margin-bottom: 12px;
    gap: 12px;
    justify-content: center;
}
.front-selected-products li.product .price{
    margin-bottom: 0;
    display: inline-block;
    vertical-align: middle;
    font-size: 1.08em;
    font-weight: 700;
    color: #dc9499;
    letter-spacing: 0.01em;
}
.front-selected-products li.product .button {
    background: #dc9499;
    color: #fff;
    border: none;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    padding: 0;
    font-size: 1em;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(220,148,153,0.07);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    margin: 0 0 0 0;
    overflow: hidden;
    position: relative;
}
.front-selected-products li.product .button i {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    font-size: 1.1em;
    color: #fff;
    pointer-events: none;
    display: inline-block;
    vertical-align: middle;
}

@media (max-width: 600px) {
    .front-selected-products .products-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
        width: 98% !important;
        max-width: 98% !important;
        margin: 0 auto !important;
        overflow-x: visible !important;
        box-sizing: border-box !important;
        padding-bottom: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .front-selected-products .products-grid .product {
        min-width: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    .front-selected-products .products-grid,
  .front-selected-products .products-grid li,
  .front-selected-products .products-grid .product {
    list-style: none !important;
  }
}

/* Style the cart icon button */
.front-selected-products .products-grid .button,
.front-selected-products .products-grid .add_to_cart_button,
.front-selected-products .products-grid .added_to_cart {
    background: #dc9499;
    border-radius: 8px;
    width: 60px;
    height: 40px;
    padding: 0;
    font-size: 0.6em;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(220,148,153,0.07);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    margin: 8px, 8px;
    text-decoration: none !important;
}

.front-selected-products .products-grid .button i,
.front-selected-products .products-grid .add_to_cart_button i,
.front-selected-products .products-grid .added_to_cart i {
    color: white !important;
    font-size: 1.2em;
}

.front-selected-products .products-grid .button:hover,
.front-selected-products .products-grid .add_to_cart_button:hover,
.front-selected-products .products-grid .added_to_cart:hover {
    background: #dc9499;
    color: #a95b60!important;
    border-color: #a95b60;
}

.front-selected-products .products-grid .button:hover i,
.front-selected-products .products-grid .add_to_cart_button:hover i,
.front-selected-products .products-grid .added_to_cart:hover i {
    color: #fff !important;
}

.front-selected-products .products-grid .product::marker {
    display: none;
    content: none;
}

.front-selected-products .products-grid::-webkit-scrollbar {
    height: 8px;
}
.front-selected-products .products-grid::-webkit-scrollbar-thumb {
    background: #dc9499;
    border-radius: 4px;
}
.front-selected-products .products-grid::-webkit-scrollbar-track {
    background: #fbecee;
    border-radius: 4px;
}



/* 4. Navigation (Main Menu) */
nav {
    margin-top: 0;
    text-align: center;
    padding: 0;
}
nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 15px;
    padding: 0;
    margin: 0 auto;
    list-style: none;
    max-width: 100%;
    box-sizing: border-box;
}
nav ul li {
    margin: 0;
}
nav ul li a {
    font-size: 16px;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 10px;
    transition: background-color 0.3s, color 0.3s;
}
nav ul li a:hover {
    background-color: #dc9499;
    color: #fff !important;
}

.woocommerce-My-Account-navigation {
    margin-bottom: 32px !important;
}


@media (max-width: 900px) {
    .woocommerce-My-Account-navigation {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 12px auto;
        padding: 18px 8px;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(220,148,153,0.07);
    }
    .woocommerce-My-Account-navigation ul {
        flex-direction: row;
        flex-wrap: wrap !important;
        gap: 8px;
        justify-content: center;
    }
    .woocommerce-My-Account-navigation li {
        margin-bottom: 0;
        min-width: 120px;
    }
}
body.woocommerce-account .woocommerce-MyAccount-content form .form-row-last {
	margin-top: 24px !important;
	clear: both;
}

/* Style WooCommerce Edit Account Form like Edit Address Fields */
.woocommerce-my-account .woocommerce form.woocommerce-EditAccountForm {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(220,148,153,0.10);
    padding: 32px 18px 24px 18px;
    max-width: 500px;
    margin: 32px auto;
    font-family: inherit;
    color: #a95b60;
    display: block;
}


/* Make Edit Account first and last name fields look identical and aligned */
.woocommerce-EditAccountForm .form-row.form-row-first,
.woocommerce-EditAccountForm .form-row.form-row-last {
    width: 100% !important;
    float: none !important;
    clear: both !important;
    display: block !important;
    box-sizing: border-box !important;
    text-align: left !important;
    padding: 0 !important;
}

.woocommerce-EditAccountForm label {
    font-weight: bold;
    color: #a95b60;
    margin-bottom: 8px;
    margin-top: 8px;
    display: block;
    text-align: left;
    font-size: 1em;
}

.woocommerce-EditAccountForm input[type="text"] {
    width: 100% !important;
    padding: 10px 14px;
    box-sizing: border-box;
    border: 1px solid #dc9499;
    border-radius: 8px;
    background: #fafafa;
    color: #a95b60;
    font-size: 1em;
    margin-bottom: 16px;
    transition: border-color 0.2s, background 0.2s;
}

.woocommerce-my-account .woocommerce form.woocommerce-EditAccountForm input[type="text"],
.woocommerce-my-account .woocommerce form.woocommerce-EditAccountForm input[type="email"],
.woocommerce-my-account .woocommerce form.woocommerce-EditAccountForm input[type="password"] {
    width: 100%;
    padding: 10px 14px;
    box-sizing: border-box;
    border: 1px solid #dc9499;
    border-radius: 8px;
    background: #fafafa;
    color: #a95b60;
    font-size: 1em;
    margin-bottom: 16px;
    transition: border-color 0.2s, background 0.2s;
}

.woocommerce-my-account .woocommerce form.woocommerce-EditAccountForm input[type="text"]:focus,
.woocommerce-my-account .woocommerce form.woocommerce-EditAccountForm input[type="email"]:focus,
.woocommerce-my-account .woocommerce form.woocommerce-EditAccountForm input[type="password"]:focus {
    border-color: #a95b60;
    background: #fff;
    outline: none;
}

.woocommerce-my-account .woocommerce form.woocommerce-EditAccountForm button,
.woocommerce-my-account .woocommerce form.woocommerce-EditAccountForm input[type="submit"] {
    background: #dc9499;
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(220,148,153,0.07);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.woocommerce-my-account .woocommerce form.woocommerce-EditAccountForm button:hover,
.woocommerce-my-account .woocommerce form.woocommerce-EditAccountForm input[type="submit"]:hover {
    background: #a95b60;
    color: #fff;
    transform: scale(1.05);
}

/* Stack all fields vertically in WooCommerce Edit Account form */
.woocommerce-EditAccountForm .form-row {
    width: 100% !important;
    display: block !important;
    float: none !important;
    clear: both !important;
    margin: 0 0 18px 0 !important;
    box-sizing: border-box !important;
    text-align: left !important;
    padding: 0 !important;
}

/* Remove unwanted margin from last name field */
.woocommerce-EditAccountForm .form-row.form-row-last {
    margin-top: 0 !important;
}

/* Make labels and inputs full width and aligned */
.woocommerce-EditAccountForm label {
    display: block !important;
    text-align: left !important;
    margin-bottom: 8px !important;
    margin-top: 0 !important;
    font-weight: bold;
    color: #a95b60;
}

.woocommerce-EditAccountForm input[type="text"],
.woocommerce-EditAccountForm input[type="email"],
.woocommerce-EditAccountForm input[type="password"] {
    width: 100% !important;
    padding: 10px 14px;
    box-sizing: border-box;
    border: 1px solid #dc9499;
    border-radius: 8px;
    background: #fafafa;
    color: #a95b60;
    font-size: 1em;
    margin-bottom: 16px;
    transition: border-color 0.2s, background 0.2s;
}

/* Prevent wrapping for password labels in Edit Account form */
.woocommerce-EditAccountForm .form-row label {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
    width: 100% !important;
}

/* Add margin-top 24px for the last name label in Edit Account form */
.woocommerce-EditAccountForm .form-row.form-row-last > label,
.woocommerce-EditAccountForm #account_last_name_field > label {
    margin-top: 24px !important;
}

/* Center show password button vertically in WooCommerce Edit Account form */
.woocommerce-EditAccountForm .password-input {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    height: 44px !important; /* match input height if needed */
}

.woocommerce-EditAccountForm .password-input input[type="password"] {
    flex: 1 1 auto !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 10px 14px !important;
    box-sizing: border-box !important;
}

.woocommerce-EditAccountForm .show-password-input {
    width: 18px !important;
    height: 18px !important;
    font-size: 14px !important;
    padding: 0 !important;
    margin-right: 8px !important;
    background: #eee !important;
    border-radius: 4px !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Add margin-bottom to password fieldset in Edit Account form */
.woocommerce-EditAccountForm fieldset {
    margin-bottom: 12px;
    border: none;
    padding: 0;
}

.woocommerce-EditAccountForm legend{
    font-size: 1.1em;
    color: #a95b60;
    margin-bottom: 12px;
    font-weight: bold;
    text-align: center;
}
/* Remove italic style from this element */
em {
    font-style: normal !important;
    font-size: 0.85em;
}

/* Responsive for mobile */
@media (max-width: 900px) {
    .woocommerce-my-account .woocommerce form.woocommerce-EditAccountForm {
        padding: 16px 4px !important;
        margin: 16px auto !important;
        max-width: 98% !important;
        border-radius: 8px !important;
    }
    .woocommerce-my-account .woocommerce form.woocommerce-EditAccountForm h2,
    .woocommerce-my-account .woocommerce form.woocommerce-EditAccountForm legend {
        font-size: 1.2em;
        margin-bottom: 18px;
    }
}

/* Style single post page to match the rest of the site */
.single main,
.single-post main,
.single .post,
.single-post .post {
    max-width: 1200px;
    margin: 32px auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(220,148,153,0.08);
    padding: 40px 50px 32px 50px;
    font-family: inherit;
}

.single .post h1,
.single-post .post h1,
.single .post h2,
.single-post .post h2 {
    color: #a95b60;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 24px;
    text-align: left;
    letter-spacing: 0.01em;
}

.single .post-content,
.single-post .post-content,
.single .post > div,
.single-post .post > div {
    color: #756062;
    font-size: 1.08em !important;
    line-height: 1.7;
    text-align: left;
    margin-bottom: 24px;
}

.entry-title {
    font-size: 1.5em !important;
    text-align: center !important;
}

.single .post h3,
.single-post .post h3 {
    color: #a95b60;
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 24px;
    text-align: left;
    letter-spacing: 0.01em;
}


@media (max-width: 900px) {
    .single main,
    .single-post main,
    .single .post,
    .single-post .post {
        max-width: 98%;
        padding: 24px 8px;
        border-radius: 10px;
    }
    .single .post h1,
    .single-post .post h1,
    .single .post h2,
    .single-post .post h2 {
        font-size: 1.3em;
        margin-bottom: 16px;
    }
}

#cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    pointer-events: none;
}
.cookie-popup {
    background: #fff;
    color: #a95b60;
    box-shadow: 0 2px 12px rgba(220,148,153,0.10);
    padding: 0 0 12px 0;
    max-width: 100%;
    width: 100%;
    text-align: center;
    pointer-events: auto;
    font-size: 1em;
}
.cookie-popup button {
    background: #dc9499;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 24px;
    font-weight: bold;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.2s;
}
.cookie-popup button:hover {
    background: #a95b60;
}

.wc-form-border-color {
    border-color: #dc9499 !important;
}

/* Center the checkout form and set max width */
.woocommerce-checkout form.checkout {
    max-width: 600px;
    margin: 32px auto;
    background: #fff;
    border-radius: 12px;
    padding: 32px 24px;
}

/* Headings */
.woocommerce-checkout h2,
.woocommerce-checkout h3,
.woocommerce-checkout .woocommerce-additional-fields__field-wrapper label {
    color: #a95b60;
    font-weight: bold;
    margin: 24px auto 12px auto;
}

/* Form fields */
.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    font-size: 1em;
    margin-bottom: 12px;
    background: #fafafa;
    transition: border-color 0.2s;
}

.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
    border-color: #a95b60;
    outline: none;
}

/* Place order button */
.woocommerce-checkout #place_order,
.woocommerce-checkout button.button {
    background: #a95b60;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px 32px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 24px;
}

.woocommerce-checkout #place_order:hover,
.woocommerce-checkout button.button:hover {
    background: #d17c8a;
}

/* Error messages */
.woocommerce-error,
.woocommerce-message {
    background: #fff0f0;
    color: #a95b60;
    border: none;
    border-radius: 6px;
    padding: 12px 18px;
    margin-bottom: 18px;
    font-size: 1em;
}

/* Checkbox styling */
.woocommerce-checkout input[type="checkbox"] {
    accent-color: #a95b60;
}

.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {
    background: rgba(249, 249, 249, 0.8);
    color: #a95b60;
    border-radius: 12px;
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    padding: 24px 32px;
    margin: 32px auto;
    box-shadow: 0 2px 12px rgba(220,148,153,0.10);
    border: none;
}

.woocommerce-customer-details address {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    font-size: 1em;
}

.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px; /* space between items */
    margin: 24px auto 36px auto;
    padding: 0;
    list-style: none;
    text-align: left;
}

/* Responsive adjustments */
@media (max-width: 768px) {

    .woocommerce-order {
        width: 95%;
        display: block;
        margin: 0 auto 0 auto;
    }

    .woocommerce-checkout form.checkout {
        padding: 16px 6px;
        width: 95% !important;
        max-width: 95%;
    }
    .woocommerce-checkout h2,
    .woocommerce-checkout h3 {
        font-size: 1.2em;
    }
    .woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
        flex-wrap: wrap;
        gap: 18px;
        text-align: center;
    }
}

.woocommerce-message:focus,
.woocommerce-error:focus,
.woocommerce-info:focus {
    outline: none !important;
    box-shadow: none !important;
}

.woocommerce .woocommerce-form-login__rememberme {
  display: inline-flex;        /* put checkbox + text on one line */
  align-items: center;
  gap: .5rem;
  width: max-content;          /* don't stretch full width */
  margin-left: auto;
  margin-right: auto;          /* centers the element */
  float: none !important;      /* neutralize themes that float labels */
  text-align: center;            /* keep text normal */
}

.woocommerce #rememberme {
  width: auto !important;
  display: inline-block;
  vertical-align: middle;
}