/* ==========================================================
   WOOCOMMERCE MAIN LAYOUT & SPACING (PREVENT STACKED PADDING)
   ========================================================== */
.woocommerce.full-row,
.kw-shop-full-row,
.kw-single-product-full-row,
.woocommerce .full-content {
    padding-top: 15px !important;
    padding-bottom: 50px !important;
    min-height: auto;
    background-color: #ffffff;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* Reset all nested wrappers so padding-top does NOT accumulate */
.woocommerce #primary,
.woocommerce #main,
.woocommerce main,
.woocommerce .inner-content,
.woocommerce .inner-container,
.woocommerce .content-wrap,
.woocommerce-page #primary,
.woocommerce-page #main,
.woocommerce-page main,
.woocommerce-page .content-area,
.woocommerce-page .entry-content,
.kw-shop-main,
.kw-single-product-main,
.shop-products-main-content,
.kw-single-container,
.kw-single-product-container,
.kw-cart-page-container,
.kw-checkout-page-container {
    padding-top: 0 !important;
    margin-top: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    box-sizing: border-box !important;
}

/* Ensure container inside woocommerce pages is centered at 1200px */
.woocommerce .container,
.woocommerce-page .container,
.kw-single-container {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
}

/* Breadcrumb Spacing */
.woocommerce-breadcrumb,
.woocommerce .woocommerce-breadcrumb,
.woocommerce-page .woocommerce-breadcrumb,
.kw-product-breadcrumb-wrap .woocommerce-breadcrumb {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 12.5px;
    color: #64748b;
    margin-top: 0 !important;
    margin-bottom: 16px !important;
    padding-top: 0 !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid #f1f5f9;
}

.woocommerce-breadcrumb a,
.woocommerce .woocommerce-breadcrumb a {
    color: #334155;
    text-decoration: none;
    transition: color 0.2s ease;
}

.woocommerce-breadcrumb a:hover,
.woocommerce .woocommerce-breadcrumb a:hover {
    color: #01959f;
}

/* ==========================================================================
   WooCommerce Modern Notice Boxes (Message, Info, Error)
   ========================================================================== */
.woocommerce-notices-wrapper {
    width: 100%;
    margin-bottom: 20px;
    clear: both;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px 14px 50px !important;
    border-radius: 8px !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 13.5px !important;
    line-height: 1.5 !important;
    margin: 0 0 22px 0 !important;
    box-sizing: border-box;
    list-style: none !important;
    border: 1px solid transparent !important;
    flex-wrap: wrap;
}

/* Remove default WooCommerce notice pseudo-elements */
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    display: none !important;
}

/* Success Notice (Added to cart message) */
.woocommerce-message {
    background-color: #f0fdf4 !important;
    border-color: #86efac !important;
    color: #166534 !important;
    box-shadow: 0 2px 10px rgba(34, 197, 94, 0.08);
}

.woocommerce-message::after {
    content: "\f058"; /* FontAwesome fa-circle-check */
    font-family: "Font Awesome 6 Free", "FontAwesome";
    font-weight: 900;
    font-size: 20px;
    color: #22c55e;
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
}

.woocommerce-message a:not(.button),
.woocommerce-message strong,
.woocommerce-message .kw-notice-text strong {
    color: #14532d !important;
    font-weight: 700;
    text-decoration: none;
}

/* Error Notice */
.woocommerce-error {
    background-color: #fef2f2 !important;
    border-color: #fca5a5 !important;
    color: #991b1b !important;
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.08);
}

.woocommerce-error::after {
    content: "\f057"; /* FontAwesome fa-circle-xmark */
    font-family: "Font Awesome 6 Free", "FontAwesome";
    font-weight: 900;
    font-size: 20px;
    color: #ef4444;
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
}

.woocommerce-error li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: 'Roboto', Arial, sans-serif !important;
}

/* Info Notice */
.woocommerce-info {
    background-color: #f0f9ff !important;
    border-color: #7dd3fc !important;
    color: #0369a1 !important;
    box-shadow: 0 2px 10px rgba(14, 165, 233, 0.08);
}

.woocommerce-info::after {
    content: "\f05a"; /* FontAwesome fa-circle-info */
    font-family: "Font Awesome 6 Free", "FontAwesome";
    font-weight: 900;
    font-size: 20px;
    color: #0ea5e9;
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
}

/* View cart button inside notices */
.woocommerce-message a.button.wc-forward,
.woocommerce-info a.button.wc-forward,
.woocommerce-error a.button.wc-forward {
    order: 2;
    float: none !important;
    margin: 0 0 0 auto !important;
    height: 36px !important;
    line-height: 36px !important;
    background-color: #01959f !important;
    color: #111827 !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 0 16px !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease !important;
    white-space: nowrap;
}

.woocommerce-message a.button.wc-forward::after {
    content: "\f061"; /* Arrow right */
    font-family: "Font Awesome 6 Free", "FontAwesome";
    font-weight: 900;
    font-size: 11px;
    display: inline-block;
    transition: transform 0.2s ease;
}

.woocommerce-message a.button.wc-forward:hover {
    background-color: #017a82 !important;
    transform: translateY(-1px);
}

.woocommerce-message a.button.wc-forward:hover::after {
    transform: translateX(3px);
}

@media only screen and (max-width: 576px) {
    .woocommerce-message,
    .woocommerce-info,
    .woocommerce-error {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 44px !important;
        gap: 12px;
    }

    .woocommerce-message a.button.wc-forward,
    .woocommerce-info a.button.wc-forward,
    .woocommerce-error a.button.wc-forward {
        margin: 4px 0 0 0 !important;
        width: 100% !important;
    }
}
/* ==========================================================================
   2. SHOP PAGE (ARCHIVE PRODUCTS)
   ========================================================================== */
.shop-products-main-content {
    width: 100%;
}

.woocommerce-products-header {
    margin-bottom: 24px;
}

.shop-header-title-box {
    margin-bottom: 12px;
}

.shop-products-main-content .page-title,
.woocommerce-products-header__title {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1.2;
}

.shop-products-main-content .title-accent-bar {
    display: block;
    width: 36px;
    height: 3px;
    background-color: #01959f;
    border-radius: 2px;
    margin-top: 6px;
}

/* Top Toolbar: Result Count & Ordering */
.woocommerce-notices-wrapper:empty,
.shop-loop-top-toolbar .woocommerce-notices-wrapper {
    display: none !important;
}

.shop-loop-top-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between !important;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    width: 100%;
}

.woocommerce-result-count,
.woocommerce .woocommerce-result-count {
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 13.5px !important;
    color: #64748b !important;
    margin: 0 !important;
    float: none !important;
    line-height: 38px !important;
    text-align: left !important;
    flex: 1 1 auto !important;
}

.woocommerce-ordering,
.woocommerce .woocommerce-ordering {
    margin: 0 !important;
    float: none !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
}

.woocommerce-ordering select.orderby,
.woocommerce .woocommerce-ordering select.orderby {
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 13px !important;
    color: #334155 !important;
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    padding: 0 28px 0 12px !important;
    height: 38px !important;
    line-height: 38px !important;
    outline: none !important;
    cursor: pointer !important;
    transition: border-color 0.2s ease !important;
}

.woocommerce-ordering select.orderby:focus,
.woocommerce .woocommerce-ordering select.orderby:focus {
    border-color: #8B5E3C !important;
    box-shadow: 0 0 0 3px rgba(139, 94, 60, 0.12) !important;
}

/* Products Grid (Responsive 4 Columns on Desktop) */
ul.products,
.woocommerce ul.products,
.woocommerce-page ul.products,
.shop-products-main-content ul.products {
    clear: both !important;
    float: none !important;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    margin: 0 0 40px 0 !important;
    padding: 0 !important;
    list-style: none !important;
    list-style-type: none !important;
    width: 100% !important;
    max-width: 100% !important;
}

@media (max-width: 1199px) {
    ul.products,
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    .shop-products-main-content ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    ul.products,
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    .shop-products-main-content ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
}

@media (max-width: 480px) {
    ul.products,
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    .shop-products-main-content ul.products {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}

ul.products::before,
ul.products::after,
.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
}

ul.products li.product,
ul.products li,
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.shop-products-main-content ul.products li,
li.kw-shop-product-item {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    display: flex !important;
    flex-direction: column !important;
    list-style: none !important;
    list-style-type: none !important;
}

ul.products li::before,
ul.products li::marker,
.woocommerce ul.products li::marker {
    display: none !important;
    content: "" !important;
}

.kw-product-card,
.woocommerce ul.products li.product .kw-product-card,
.product-card-slide .kw-product-card {
    background-color: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 8px;
    padding: 18px 16px 16px 16px;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.kw-product-card:hover,
.woocommerce ul.products li.product .kw-product-card:hover,
.product-card-slide .kw-product-card:hover {
    border-color: #e2e8f0;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.kw-product-card .product-thumb-link,
.woocommerce ul.products li.product .product-thumb-link {
    display: block;
    text-decoration: none;
    width: 100%;
}

.kw-product-card .product-thumb-box,
.woocommerce ul.products li.product .product-thumb-box {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8fafc;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 14px;
}

.kw-product-card .product-thumb-img,
.woocommerce ul.products li.product .product-thumb-img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.kw-product-card:hover .product-thumb-img,
.woocommerce ul.products li.product .kw-product-card:hover .product-thumb-img {
    transform: scale(1.05);
}

.kw-product-card .product-info-box,
.woocommerce ul.products li.product .product-info-box {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.kw-product-card .product-card-title,
.woocommerce ul.products li.product .product-card-title {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 8px 0;
    min-height: 38px;
    max-height: 38px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
    word-break: break-word;
    overflow-wrap: break-word;
}

.kw-product-card .product-card-title a,
.woocommerce ul.products li.product .product-card-title a {
    color: #111827;
    text-decoration: none;
    transition: color 0.2s ease;
}

.kw-product-card .product-card-title a:hover,
.woocommerce ul.products li.product .product-card-title a:hover {
    color: #01959f;
}

.kw-product-card .product-price-box,
.woocommerce ul.products li.product .product-price-box {
    margin-top: auto;
    min-height: 24px;
    display: flex;
    align-items: center;
    text-align: left;
}

.kw-product-card .product-price-val,
.woocommerce ul.products li.product .product-price-val {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    color: #111827;
}

.kw-product-card .product-price-val.price-contact,
.woocommerce ul.products li.product .product-price-val.price-contact {
    color: #8B5E3C;
    font-weight: 700;
    font-size: 13.5px;
}

.woocommerce ul.products li.product .price del {
    color: #94a3b8;
    font-size: 12px;
    margin-right: 6px;
    font-weight: normal;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
    color: #1f160e;
    font-weight: 700;
}

/* Pagination Bar */
.woocommerce nav.woocommerce-pagination {
    margin-top: 30px;
    text-align: right;
}

.woocommerce nav.woocommerce-pagination ul {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    margin: 0;
    padding: 0;
    list-style: none;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: none;
    float: none;
    margin: 0;
    padding: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    background-color: #ffffff;
    color: #475569;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
    border-color: #8B5E3C;
    color: #8B5E3C;
    background-color: #fdfbf8;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    background-color: #8B5E3C !important;
    border-color: #8B5E3C !important;
    color: #ffffff !important;
}

.woocommerce nav.woocommerce-pagination ul li .next,
.woocommerce nav.woocommerce-pagination ul li .prev {
    background-color: #f8fafc;
}

/* Responsive WooCommerce Shop */
@media only screen and (max-width: 1199px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        gap: 18px !important;
    }
}

@media only screen and (max-width: 991px) {
    main#main.one-sidebar {
        width: 100%;
        float: none;
    }

    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media only screen and (max-width: 540px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: 1fr !important;
    }

    .shop-loop-top-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .woocommerce nav.woocommerce-pagination {
        text-align: center;
    }
}

.kw-single-product-full-row {
    padding-top: 15px !important;
    padding-bottom: 50px !important;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    box-sizing: border-box;
}

.single-product .sidebar-one,
.single-product .control-sidebar,
.kw-single-product-full-row .sidebar-one,
.kw-single-product-full-row .control-sidebar {
    display: none !important;
}

main#main.no-sidebar.kw-single-product-main,
.single-product main#main {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.kw-single-product-container {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* Top Section 2 Columns (Gallery & Details) */
.kw-single-product-top-row {
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    gap: 48px;
    margin-bottom: 48px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* Product Gallery */
.kw-product-gallery-col {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.kw-main-image-display {
    background-color: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 8px;
    width: 100%;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    margin-bottom: 16px;
}

.kw-main-image-display img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.kw-gallery-slider-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.kw-thumb-nav-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    font-size: 11px;
    flex-shrink: 0;
    transition: all 0.2s ease;
    outline: none;
}

.kw-thumb-nav-btn:hover:not(:disabled):not(.swiper-button-disabled) {
    border-color: #01959f;
    color: #01959f;
    background-color: #fffaf0;
}

.kw-thumb-nav-btn:disabled,
.kw-thumb-nav-btn.swiper-button-disabled {
    opacity: 0.35 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    background-color: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #94a3b8 !important;
}

.kw-thumb-nav-btn.swiper-button-lock {
    display: none !important;
}

.kw-thumbs-swiper {
    flex: 1;
    overflow: hidden !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.kw-thumbs-swiper .swiper-wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    box-sizing: border-box;
    max-width: 100%;
    overflow: visible !important;
}

.kw-thumb-slide {
    height: 72px !important;
    width: 72px !important;
    max-width: 72px !important;
    flex: 0 0 72px !important;
    border: 1.5px solid #e2e8f0;
    border-radius: 6px;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6px;
    background: #ffffff;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.kw-thumb-slide.active,
.kw-thumb-slide:hover {
    border-color: #01959f;
}

.kw-thumb-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* Category Card in Shop */
.kw-category-card .product-count-badge {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.kw-category-card:hover .product-count-badge {
    color: #01959f;
}

/* Breadcrumbs in Single Product */
.kw-product-breadcrumb-wrap {
    margin-bottom: 24px;
}

.kw-breadcrumb {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 13px;
    color: #64748b;
    margin: 0;
    padding: 0;
    border: none;
}

.kw-breadcrumb a {
    color: #334155;
    text-decoration: none;
    transition: color 0.2s ease;
}

.kw-breadcrumb a:hover {
    color: #01959f;
}

.kw-breadcrumb .breadcrumb-sep {
    color: #94a3b8;
    margin: 0 6px;
    font-size: 12px;
}

/* Product Details */
.kw-product-details-col {
    display: flex;
    flex-direction: column;
}

.kw-product-single-title {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.kw-product-sku-row {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 16px;
}

.kw-product-sku-row .sku-label {
    color: #64748b;
    font-weight: 500;
}

.kw-product-sku-row .sku-val {
    color: #111827;
    font-weight: 600;
    margin-left: 4px;
}

/* Price resets: remove underline everywhere */
ins,
ins span,
.price ins,
.price ins span,
.product-price ins,
.product-price-val ins,
.woocommerce-Price-amount,
.woocommerce-Price-amount ins,
.kw-product-price-row ins,
.woocommerce-variation-price ins,
.cart-price-val ins,
.cart-subtotal-val ins {
    text-decoration: none !important;
}

.kw-product-price-row {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 16px;
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.kw-product-price-row del {
    color: #94a3b8;
    font-size: 18px;
    font-weight: 500;
    text-decoration: line-through !important;
}

.kw-product-price-row ins {
    text-decoration: none !important;
    color: #111827;
    font-weight: 800;
}

.kw-product-price-row .price-contact {
    color: #01959f;
    font-size: 20px;
    font-weight: 700;
}

.kw-product-short-desc {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 13.5px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 16px;
}

.kw-product-short-desc p {
    margin: 0;
}

.kw-stock-status-wrap {
    margin-bottom: 20px;
}

.kw-stock-status-wrap .stock-status.in-stock {
    color: #10b981;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 600;
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.kw-stock-status-wrap .stock-status.out-of-stock {
    color: #ef4444;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 600;
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Actions & Stepper */
.kw-product-actions-box {
    margin-bottom: 28px;
}

/* WooCommerce Variable Product Form & Attributes */
.woocommerce div.product form.cart.variations_form {
    margin-bottom: 24px;
}

.woocommerce div.product table.variations {
    width: 100%;
    margin: 0 0 16px 0;
    border: none;
    border-collapse: separate;
    border-spacing: 0 12px;
}

.woocommerce div.product table.variations tbody,
.woocommerce div.product table.variations tr,
.woocommerce div.product table.variations th,
.woocommerce div.product table.variations td {
    border: none;
    background: transparent;
    padding: 0;
}

.woocommerce div.product table.variations th.label {
    width: 120px;
    vertical-align: middle;
    text-align: left;
    padding-right: 12px;
}

.woocommerce div.product table.variations th.label label {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin: 0;
    display: inline-block;
}

.woocommerce div.product table.variations td.value {
    vertical-align: middle;
    position: relative;
}

.woocommerce div.product table.variations select {
    background-color: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 32px 8px 12px;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #111827;
    min-width: 220px;
    max-width: 100%;
    height: 38px;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
}

.woocommerce div.product table.variations select:focus {
    border-color: #01959f;
}

.woocommerce div.product a.reset_variations {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 11.5px;
    color: #ef4444;
    font-weight: 600;
    text-decoration: none;
    margin-left: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    background-color: #fef2f2;
    transition: all 0.2s ease;
    display: inline-block;
}

.woocommerce div.product a.reset_variations:hover {
    background-color: #fee2e2;
    color: #dc2626;
}

/* Single Variation Wrapper (Dynamic price, availability, add to cart button) */
.woocommerce div.product .single_variation_wrap {
    margin-top: 14px;
}

.woocommerce div.product .woocommerce-variation.single_variation {
    margin-bottom: 16px;
}

.woocommerce div.product .woocommerce-variation-price .price {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #111827;
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.woocommerce div.product .woocommerce-variation-price del {
    font-size: 16px;
    color: #94a3b8;
    font-weight: normal;
}

.woocommerce div.product .woocommerce-variation-price ins {
    text-decoration: none;
    color: #111827;
    font-weight: 800;
}

.woocommerce div.product .woocommerce-variation-availability {
    margin-top: 6px;
}

.woocommerce div.product .woocommerce-variation-availability p.stock.in-stock {
    color: #10b981;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 600;
    font-size: 13.5px;
    margin: 0;
}

.woocommerce div.product .woocommerce-variation-availability p.stock.out-of-stock {
    color: #ef4444;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 600;
    font-size: 13.5px;
    margin: 0;
}

.woocommerce div.product .woocommerce-variation-description {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 13px;
    color: #64748b;
    margin-top: 6px;
}

/* Add to cart wrapper in both Simple & Variable products */
.woocommerce div.product form.cart:not(.variations_form),
.woocommerce div.product .woocommerce-variation-add-to-cart.variations_button {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-top: 16px;
    margin-bottom: 24px;
}

/* Quantity Label */
.kw-qty-label-text {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
    line-height: 1;
    display: block;
}

/* Quantity Input & Stepper */
.woocommerce div.product .quantity,
.kw-qty-stepper {
    display: inline-flex !important;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    background: #ffffff;
    height: 38px;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    float: none !important;
    box-sizing: border-box;
}

.woocommerce div.product .quantity .qty-btn,
.kw-qty-stepper .qty-btn {
    width: 36px;
    height: 38px;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease;
    outline: none;
    padding: 0;
    user-select: none;
}

.woocommerce div.product .quantity .qty-btn:hover,
.kw-qty-stepper .qty-btn:hover {
    background-color: #f8fafc;
    color: #111827;
}

.woocommerce div.product .quantity input.qty,
.kw-qty-stepper input.qty {
    width: 44px;
    height: 38px;
    border: none;
    border-left: 1px solid #eef2f6;
    border-right: 1px solid #eef2f6;
    text-align: center;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    outline: none;
    padding: 0;
    margin: 0;
    -moz-appearance: textfield;
    background: transparent;
}

.woocommerce div.product .quantity input.qty::-webkit-outer-spin-button,
.woocommerce div.product .quantity input.qty::-webkit-inner-spin-button,
.kw-qty-stepper input.qty::-webkit-outer-spin-button,
.kw-qty-stepper input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* 2-Column Buttons Row (ADD TO CART + ADD TO QUOTE) */
.kw-buttons-row,
.kw-buttons-group {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    align-items: center !important;
}

/* ADD TO CART submit button */
.woocommerce div.product button.single_add_to_cart_button,
.kw-btn-add-cart {
    height: 46px !important;
    background-color: #8B5E3C !important;
    background: linear-gradient(135deg, #8B5E3C 0%, #6d4a2d 100%) !important;
    border: none !important;
    border-radius: 6px !important;
    color: #ffffff !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    text-transform: uppercase !important;
    padding: 0 20px !important;
    outline: none !important;
    width: 100% !important;
    float: none !important;
    box-shadow: 0 4px 14px rgba(139, 94, 60, 0.25) !important;
    letter-spacing: 0.5px !important;
}

.woocommerce div.product button.single_add_to_cart_button::before {
    content: "\f07a";
    font-family: "Font Awesome 6 Free", "FontAwesome";
    font-weight: 900;
    font-size: 15px;
    color: #ffffff;
    display: inline-block;
}

.woocommerce div.product button.single_add_to_cart_button:hover,
.kw-btn-add-cart:hover {
    background-color: #6d4a2d !important;
    background: #6d4a2d !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 94, 60, 0.35) !important;
    color: #ffffff !important;
}

.woocommerce div.product button.single_add_to_cart_button.disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

/* ADD TO QUOTE Button */
.kw-btn-quote {
    height: 46px !important;
    background-color: #ffffff !important;
    border: 2px solid #8B5E3C !important;
    border-radius: 6px !important;
    color: #8B5E3C !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    box-sizing: border-box !important;
    text-transform: uppercase !important;
    padding: 0 16px !important;
    width: 100% !important;
    letter-spacing: 0.5px !important;
    outline: none !important;
    box-shadow: 0 2px 8px rgba(139, 94, 60, 0.08) !important;
}

.kw-btn-quote:hover {
    background-color: #8B5E3C !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(139, 94, 60, 0.25) !important;
}

.kw-btn-quote-full {
    width: 100% !important;
    flex: none !important;
}

/* 3 Product Benefits */
.kw-product-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 18px 16px;
    background-color: #fafbfc;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    margin-bottom: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefit-icon {
    color: #111827;
    font-size: 22px;
    flex-shrink: 0;
}

.benefit-text {
    display: flex;
    flex-direction: column;
}

.benefit-text .benefit-title {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
}

.benefit-text .benefit-desc {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 11px;
    color: #64748b;
    line-height: 1.2;
    margin-top: 2px;
}

/* Tabs Section */
.kw-single-product-tabs-wrap {
    margin-bottom: 50px;
    border-top: 1px solid #f1f5f9;
    padding-top: 28px;
}

.kw-tabs-nav-bar {
    border-bottom: 2px solid #eef2f6;
    margin-bottom: 24px;
    display: flex;
}

.kw-tab-nav-btn {
    background: transparent;
    border: none;
    padding: 12px 24px;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    position: relative;
    letter-spacing: 0.5px;
    outline: none;
    transition: color 0.2s ease;
}

.kw-tab-nav-btn:hover {
    color: #8B5E3C;
}

.kw-tab-nav-btn.active {
    color: #8B5E3C;
}

.kw-tab-nav-btn .tab-accent-bar {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #8B5E3C;
    border-radius: 2px;
    display: none;
}

.kw-tab-nav-btn.active .tab-accent-bar {
    display: block;
}

.kw-tab-content-panel {
    display: none;
    padding: 10px 4px;
    animation: kwTabFadeIn 0.3s ease;
}

.kw-tab-content-panel.active {
    display: block;
}

@keyframes kwTabFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.kw-tab-panel-title {
    font-family: 'Nunito', 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #1f160e;
    margin: 0 0 18px 0;
}

.kw-product-full-content {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 14.5px;
    color: #475569;
    line-height: 1.75;
}

/* Attributes table in Additional Info Tab */
table.shop_attributes {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    border: 1px solid #e8d8c8;
    border-radius: 8px;
    overflow: hidden;
}

table.shop_attributes th,
table.shop_attributes td {
    padding: 12px 18px;
    border-bottom: 1px solid #e8d8c8;
    font-size: 14px;
}

table.shop_attributes th {
    background-color: #fdfbf8;
    color: #1f160e;
    font-weight: 700;
    width: 200px;
}

table.shop_attributes td {
    background-color: #ffffff;
    color: #5c4a3d;
}

/* Variable Product Form Styles */
.variations_form {
    margin-bottom: 20px;
    padding: 14px 16px;
    background: #fdfbf8;
    border: 1px solid #e8d8c8;
    border-radius: 8px;
}

.variations_form table.variations {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 12px;
    border: none;
}

.variations_form table.variations td {
    padding: 8px 4px;
    border: none;
    vertical-align: middle;
}

.variations_form table.variations td.label {
    width: 110px;
    padding-right: 12px;
}

.variations_form table.variations td.label label {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: #1f160e;
    margin: 0;
}

.variations_form table.variations td.value select {
    width: 100%;
    max-width: 280px;
    height: 40px;
    padding: 0 14px;
    font-size: 13.5px;
    color: #1f160e;
    border: 1.5px solid #dcd1c4;
    border-radius: 6px;
    background-color: #ffffff;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.variations_form table.variations td.value select:focus {
    border-color: #8B5E3C;
    outline: none;
    box-shadow: 0 0 0 3px rgba(139, 94, 60, 0.12);
}

.variations_form .reset_variations {
    display: inline-block;
    margin-left: 10px;
    font-size: 12px;
    color: #8B5E3C;
    text-decoration: underline;
    font-weight: 600;
}

.single_variation_wrap {
    margin-top: 10px;
}

.single_variation {
    margin-bottom: 12px;
}

.woocommerce-variation-price {
    font-size: 20px;
    font-weight: 800;
    color: #8B5E3C;
    margin-bottom: 8px;
}

/* Lightbox zoom button on main image */
.kw-main-image-display {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background-color: #fdfbf8;
    border: 1px solid #e8d8c8;
}

.kw-lightbox-zoom {
    display: block;
    position: relative;
    cursor: zoom-in;
}

.kw-zoom-hint {
    position: absolute;
    bottom: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #e8d8c8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8B5E3C;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.25s ease;
    opacity: 0.85;
}

.kw-lightbox-zoom:hover .kw-zoom-hint {
    opacity: 1;
    transform: scale(1.1);
    background: #8B5E3C;
    color: #ffffff;
}

.kw-specs-list {
    list-style: disc;
    padding-left: 20px;
    margin: 16px 0;
}

.kw-specs-list li {
    margin-bottom: 6px;
}

/* Related Products ("You may also like") */
.kw-related-products-section {
    margin-top: 40px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.kw-related-products-section .related-heading-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.related-swiper-nav-arrows {
    display: flex;
    align-items: center;
    gap: 8px;
}

.related-swiper-prev,
.related-swiper-next {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 11px;
    transition: all 0.2s ease;
    outline: none;
}

.related-swiper-prev:hover:not(:disabled):not(.swiper-button-disabled),
.related-swiper-next:hover:not(:disabled):not(.swiper-button-disabled) {
    background-color: #01959f;
    border-color: #01959f;
    color: #111827;
}

.related-swiper-prev:disabled,
.related-swiper-next:disabled,
.related-swiper-prev.swiper-button-disabled,
.related-swiper-next.swiper-button-disabled,
.related-swiper-prev.swiper-button-lock,
.related-swiper-next.swiper-button-lock {
    opacity: 0.35 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    background-color: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #94a3b8 !important;
    box-shadow: none !important;
    transform: none !important;
}

.related-swiper-prev.swiper-button-lock,
.related-swiper-next.swiper-button-lock {
    display: none !important;
}

.related-carousel-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.kw-related-swiper {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden !important;
    position: relative;
    padding: 6px 0 20px 0;
    box-sizing: border-box;
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
}

.kw-related-swiper .swiper-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    box-sizing: border-box;
}

.kw-related-swiper .swiper-slide {
    height: auto !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    max-width: none !important;
}

.kw-related-swiper .product-card-slide .kw-product-card {
    width: 100%;
    height: 100%;
    margin-bottom: 0;
    box-sizing: border-box;
}

.kw-related-swiper .product-thumb-img {
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

/* Con trỏ chuột khi Swiper bị khóa */
.kw-related-swiper.swiper-locked,
.kw-related-swiper.swiper-locked .swiper-slide,
.swiper.swiper-locked,
.swiper.swiper-locked .swiper-slide {
    cursor: default !important;
}

/* Static Grid for Related Products when <= 2 items (Khóa cứng dạng lưới tĩnh, không trượt, không kéo) */
.kw-related-swiper.kw-related-static-grid {
    overflow: visible !important;
}

.kw-related-swiper.kw-related-static-grid .swiper-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    transform: none !important;
    width: 100% !important;
    overflow: visible !important;
}

.kw-related-swiper.kw-related-static-grid .swiper-slide {
    width: 240px !important;
    max-width: 240px !important;
    flex: 0 0 240px !important;
}

@media only screen and (max-width: 640px) {
    .kw-related-swiper.kw-related-static-grid .swiper-wrapper {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .kw-related-swiper.kw-related-static-grid .swiper-slide {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 auto !important;
    }
}

/* Responsive Single Product & Related Products */
@media only screen and (max-width: 991px) {
    .kw-single-product-top-row {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .kw-main-image-display {
        height: 340px;
    }

    .kw-product-benefits {
        grid-template-columns: 1fr;
        gap: 12px;
    }

}

@media only screen and (max-width: 640px) {
    .kw-related-swiper {
        padding: 4px 0 16px 0;
    }

    .kw-related-swiper .product-card-slide .kw-product-card,
    .woocommerce ul.products li.product .kw-product-card {
        padding: 14px 12px 14px 12px;
        border-radius: 8px;
        border: 1px solid #eef2f6;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    }

    .kw-related-swiper .product-card-slide .product-thumb-box,
    .woocommerce ul.products li.product .product-thumb-box {
        height: 135px;
        margin-bottom: 8px;
    }

    .kw-related-swiper .product-card-slide .product-thumb-img,
    .woocommerce ul.products li.product .product-thumb-img {
        max-height: 125px;
    }

    .kw-related-swiper .product-card-slide .product-card-title,
    .woocommerce ul.products li.product .product-card-title {
        font-size: 13px;
        line-height: 1.35;
        min-height: 35px;
        max-height: 35px;
        margin-bottom: 6px;
    }

    .kw-related-swiper .product-card-slide .product-price-val,
    .woocommerce ul.products li.product .product-price-val {
        font-size: 13.5px;
    }

    .kw-related-swiper .product-card-slide .product-price-val.price-contact,
    .woocommerce ul.products li.product .product-price-val.price-contact {
        font-size: 13px;
    }
}

@media only screen and (max-width: 540px) {
    .kw-buttons-row,
    .kw-buttons-group {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .kw-btn-add-cart,
    .kw-btn-quote,
    .woocommerce div.product button.single_add_to_cart_button {
        width: 100% !important;
    }
}

.kw-cart-full-row {
    padding-top: 25px;
    padding-bottom: 60px;
    background-color: #ffffff;
    width: 100%;
}

.woocommerce-cart .sidebar-one,
.woocommerce-cart .control-sidebar,
.woocommerce-checkout .sidebar-one,
.woocommerce-checkout .control-sidebar {
    display: none !important;
}

.woocommerce-cart main#main,
.woocommerce-checkout main#main,
.kw-fullwidth-main {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.kw-cart-page-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Cart Header Title */
.kw-cart-header-title {
    margin-bottom: 28px;
}

.kw-cart-header-title .cart-main-title {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1.2;
}

.kw-cart-header-title .cart-title-accent {
    display: block;
    width: 38px;
    height: 3px;
    background-color: #01959f;
    border-radius: 2px;
    margin-top: 6px;
}

/* 2-Column Cart Grid Layout */
.kw-cart-grid-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
    width: 100%;
    box-sizing: border-box;
}

.kw-cart-main-col {
    min-width: 0;
    width: 100%;
}

.kw-cart-sidebar-col {
    min-width: 0;
    width: 100%;
}

/* Left Column: Cart Table Card */
.kw-cart-table-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.woocommerce-cart table.shop_table.cart {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    border: none;
}

.woocommerce-cart table.shop_table.cart thead th {
    background-color: #f8fafc;
    color: #111827;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 14px 16px;
    border-bottom: 1px solid #e2e8f0;
    border-top: none;
    border-left: none;
    border-right: none;
    text-align: left;
}

.woocommerce-cart table.shop_table.cart thead th.product-subtotal {
    text-align: right;
}

.woocommerce-cart table.shop_table.cart tbody tr.woocommerce-cart-form__cart-item {
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.15s ease;
}

.woocommerce-cart table.shop_table.cart tbody tr.woocommerce-cart-form__cart-item:hover {
    background-color: #fafbfc;
}

.woocommerce-cart table.shop_table.cart tbody td {
    padding: 18px 16px;
    vertical-align: middle;
    border: none;
    background: transparent;
}

/* Remove button */
.kw-remove-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: #94a3b8 !important;
    font-size: 14px;
    background: transparent;
    transition: all 0.2s ease;
    text-decoration: none;
}

.kw-remove-btn:hover {
    background-color: #fef2f2 !important;
    color: #ef4444 !important;
    transform: scale(1.1);
}

/* Product Thumbnail */
.cart-thumb-box {
    width: 72px;
    height: 72px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 4px;
    box-sizing: border-box;
}

.cart-thumb-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Product Info */
.cart-item-info .cart-product-title {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    text-decoration: none;
    line-height: 1.4;
    display: block;
    transition: color 0.2s ease;
}

.cart-item-info .cart-product-title:hover {
    color: #01959f;
}

.cart-item-info .variation {
    font-size: 12px;
    color: #64748b;
    margin-top: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cart-item-info .variation dt {
    font-weight: 700;
    color: #475569;
    margin: 0;
    float: none;
}

.cart-item-info .variation dd {
    margin: 0 8px 0 0;
    float: none;
}

.cart-item-info .variation dd p {
    margin: 0;
}

/* Price & Subtotal */
.cart-price-val {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    white-space: nowrap;
}

.cart-subtotal-val {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: #111827;
    text-align: right;
    display: block;
    white-space: nowrap;
}

/* Quantity Stepper inside Cart */
.cart-qty-wrapper {
    display: flex;
    align-items: center;
}

.cart-qty-wrapper .quantity,
.woocommerce-cart-form .quantity.kw-qty-stepper,
.woocommerce-cart-form .quantity,
.woocommerce .cart-qty-wrapper .quantity {
    display: inline-flex !important;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    background: #ffffff;
    height: 36px;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    box-sizing: border-box;
}

.cart-qty-wrapper .quantity .qty-btn,
.woocommerce-cart-form .quantity .qty-btn {
    width: 32px;
    height: 36px;
    border: none;
    background: #f8fafc;
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease, color 0.15s ease;
    outline: none;
    padding: 0;
    user-select: none;
    line-height: 1;
}

.cart-qty-wrapper .quantity .qty-btn:hover,
.woocommerce-cart-form .quantity .qty-btn:hover {
    background-color: #e2e8f0;
    color: #0f172a;
}

.cart-qty-wrapper .quantity .qty-btn:active,
.woocommerce-cart-form .quantity .qty-btn:active {
    background-color: #cbd5e1;
}

.cart-qty-wrapper .quantity input.qty,
.woocommerce-cart-form .quantity input.qty,
.woocommerce .cart-qty-wrapper .quantity input.qty {
    width: 44px;
    height: 36px;
    border: none;
    border-left: 1px solid #eef2f6;
    border-right: 1px solid #eef2f6;
    text-align: center;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    outline: none;
    padding: 0;
    margin: 0;
    -moz-appearance: textfield;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.cart-qty-wrapper .quantity input.qty::-webkit-outer-spin-button,
.cart-qty-wrapper .quantity input.qty::-webkit-inner-spin-button,
.woocommerce-cart-form .quantity input.qty::-webkit-outer-spin-button,
.woocommerce-cart-form .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Cart Table & Collaterals AJAX Loading State */
.woocommerce-cart-form.processing,
.kw-cart-table-card.processing,
.cart-collaterals.processing {
    opacity: 0.6;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.blockUI.blockOverlay {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(2px);
    border-radius: 6px;
}

/* Actions Cell (Coupon & Buttons) */
.kw-cart-actions-cell {
    padding: 18px 20px !important;
    background-color: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
}

.kw-cart-bottom-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    width: 100%;
}

.kw-coupon-box .coupon {
    display: flex;
    align-items: center;
    gap: 8px;
    float: none !important;
    padding-bottom: 0 !important;
}

.kw-coupon-box .coupon-input {
    height: 40px;
    padding: 0 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 4px;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 13px;
    outline: none;
    width: 180px;
    transition: all 0.2s ease;
    background: #ffffff;
    box-sizing: border-box;
}

.kw-coupon-box .coupon-input:focus {
    border-color: #01959f;
}

.kw-coupon-box .btn-coupon-apply {
    height: 40px;
    padding: 0 18px;
    background: #111827 !important;
    color: #ffffff !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
    white-space: nowrap;
}

.kw-coupon-box .btn-coupon-apply:hover {
    background: #01959f !important;
    color: #111827 !important;
}

.kw-cart-buttons-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.btn-continue-shopping {
    height: 40px;
    padding: 0 18px;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
    white-space: nowrap;
}

.btn-continue-shopping:hover {
    border-color: #111827;
    color: #111827;
    background: #f8fafc;
}

.btn-cart-update {
    height: 40px;
    padding: 0 20px;
    background: #01959f !important;
    color: #111827 !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    border: none !important;
    border-radius: 4px !important;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
    float: none !important;
    white-space: nowrap;
}

.btn-cart-update:hover {
    background: #017a82 !important;
    transform: translateY(-1px);
}

/* Right Column: Cart Totals Card */
.kw-cart-totals-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

.cart-totals-header {
    margin-bottom: 20px;
}

.cart-totals-header .cart-totals-heading {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin: 0;
    line-height: 1.2;
}

.cart-totals-header .totals-title-accent {
    display: block;
    width: 32px;
    height: 3px;
    background-color: #01959f;
    border-radius: 2px;
    margin-top: 6px;
}

table.kw-totals-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 20px 0;
    border: none;
}

table.kw-totals-table tr {
    border-bottom: 1px solid #f1f5f9;
}

table.kw-totals-table th {
    padding: 12px 0;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: #64748b;
    text-align: left;
    border: none;
    background: transparent;
    width: 40%;
}

table.kw-totals-table td {
    padding: 12px 0;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    text-align: right;
    border: none;
    background: transparent;
}

table.kw-totals-table tr.order-total {
    border-top: 1.5px solid #e2e8f0;
    border-bottom: none;
}

table.kw-totals-table tr.order-total th {
    font-size: 15px;
    font-weight: 800;
    color: #111827;
    padding-top: 16px;
}

table.kw-totals-table tr.order-total td .total-highlight-amount {
    font-size: 20px;
    font-weight: 900;
    color: #111827;
    padding-top: 16px;
    display: block;
}

/* Proceed to Checkout Button */
.wc-proceed-to-checkout {
    padding: 0 !important;
}

.kw-btn-proceed-checkout,
.woocommerce a.button.checkout-button {
    width: 100% !important;
    height: 48px !important;
    background-color: #01959f !important;
    color: #111827 !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    border: none !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.kw-btn-proceed-checkout:hover,
.woocommerce a.button.checkout-button:hover {
    background-color: #017a82 !important;
    transform: translateY(-1px);
}



/* Empty Cart View */
.kw-empty-cart-wrap {
    padding: 50px 0 90px 0;
    display: flex;
    justify-content: center;
    width: 100%;
}

.kw-empty-cart-card {
    max-width: 520px;
    width: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 48px 32px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.empty-cart-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fffaf0;
    border: 2px solid #fef3c7;
    color: #01959f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 20px;
}

.empty-cart-main-title {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 10px 0;
}

.empty-cart-subtext {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 28px 0;
}

.btn-empty-cart-return {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px;
    height: 46px;
    padding: 0 32px !important;
    background: #01959f !important;
    color: #111827 !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    border: none !important;
    transition: all 0.25s ease !important;
}

.btn-empty-cart-return:hover {
    background: #017a82 !important;
    transform: translateY(-1px);
}

/* Responsive Cart Page */
@media only screen and (max-width: 991px) {
    .kw-cart-grid-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media only screen and (max-width: 768px) {
    .woocommerce-cart table.shop_table.cart thead {
        display: none;
    }

    .woocommerce-cart table.shop_table.cart tbody tr.woocommerce-cart-form__cart-item {
        display: block;
        padding: 16px;
        position: relative;
    }

    .woocommerce-cart table.shop_table.cart tbody td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 8px 0;
        text-align: right;
    }

    .woocommerce-cart table.shop_table.cart tbody td.product-remove {
        position: absolute;
        top: 12px;
        right: 12px;
        padding: 0;
    }

    .woocommerce-cart table.shop_table.cart tbody td.product-thumbnail {
        justify-content: flex-start;
        padding-bottom: 12px;
    }

    .woocommerce-cart table.shop_table.cart tbody td::before {
        content: attr(data-title);
        font-family: 'Roboto', Arial, sans-serif;
        font-size: 12px;
        font-weight: 700;
        color: #64748b;
        text-transform: uppercase;
    }

    .woocommerce-cart table.shop_table.cart tbody td.product-remove::before,
    .woocommerce-cart table.shop_table.cart tbody td.product-thumbnail::before {
        display: none;
    }

    .kw-cart-bottom-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .kw-coupon-box .coupon {
        width: 100%;
    }

    .kw-coupon-box .coupon-input {
        flex: 1;
        width: auto;
    }

    .kw-cart-buttons-box {
        margin-left: 0;
        width: 100%;
        flex-direction: column;
    }

    .btn-continue-shopping,
    .btn-cart-update {
        width: 100%;
        justify-content: center;
    }
}

.kw-checkout-full-row {
    padding-top: 25px;
    padding-bottom: 60px;
    background-color: #ffffff;
    width: 100%;
}

.kw-checkout-page-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Checkout Header Title */
.kw-checkout-header-title {
    margin-bottom: 28px;
}

.kw-checkout-header-title .checkout-main-title {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1.2;
}

.kw-checkout-header-title .checkout-title-accent {
    display: block;
    width: 38px;
    height: 3px;
    background-color: #01959f;
    border-radius: 2px;
    margin-top: 6px;
}

/* Direct Coupon Box (Always visible, clean card layout) */
.kw-checkout-coupon-direct-box {
    background-color: #ffffff !important;
    border: 1.5px dashed #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 16px 20px !important;
    margin-bottom: 28px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease !important;
}

.kw-checkout-coupon-direct-box:hover {
    border-color: #01959f !important;
}

.kw-checkout-coupon-direct-box form.checkout_coupon,
.kw-checkout-coupon-direct-box form.woocommerce-form-coupon,
form.checkout_coupon.kw-checkout-coupon-form {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
}

.kw-checkout-coupon-direct-box .coupon-direct-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
    width: 100% !important;
}

.kw-checkout-coupon-direct-box .coupon-direct-label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #111827 !important;
}

.kw-checkout-coupon-direct-box .coupon-direct-label i {
    color: #01959f !important;
    font-size: 16px !important;
}

.kw-checkout-coupon-direct-box .coupon-input-group {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex: 1 !important;
    max-width: 500px !important;
    width: 100% !important;
}

.kw-checkout-coupon-direct-box .coupon-field,
.woocommerce-checkout form.checkout_coupon input.input-text {
    height: 42px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 4px !important;
    padding: 0 14px !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 13px !important;
    color: #111827 !important;
    flex: 1 !important;
    outline: none !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

.kw-checkout-coupon-direct-box .coupon-field:focus,
.woocommerce-checkout form.checkout_coupon input.input-text:focus {
    border-color: #01959f !important;
}

.kw-checkout-coupon-direct-box .btn-apply-checkout-coupon,
.woocommerce-checkout form.checkout_coupon button.button {
    height: 42px !important;
    padding: 0 22px !important;
    background: #111827 !important;
    color: #ffffff !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
}

.kw-checkout-coupon-direct-box .btn-apply-checkout-coupon:hover,
.woocommerce-checkout form.checkout_coupon button.button:hover {
    background: #01959f !important;
    color: #111827 !important;
}

/* Hide standard blue toggle notice */
.woocommerce-form-coupon-toggle,
.woocommerce-checkout .woocommerce-form-coupon-toggle {
    display: none !important;
}

/* Form Container */
.woocommerce-checkout form.checkout,
form.checkout.kw-checkout-form {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* 2-Column Balanced Grid Layout (Full 100% Width Spanning) */
.kw-checkout-grid-layout {
    display: grid !important;
    grid-template-columns: 1.15fr 1fr !important;
    gap: 36px !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.kw-checkout-customer-col {
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    float: none !important;
}

.kw-checkout-sidebar-col {
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    float: none !important;
}

/* Checkout Cards */
.kw-checkout-card {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 28px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03) !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

/* Customer Details Form Styles */
.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3,
#ship-to-different-address {
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #111827 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    margin: 0 0 20px 0 !important;
    padding-bottom: 10px !important;
    border-bottom: 1.5px solid #f1f5f9 !important;
    position: relative !important;
    line-height: 1.3 !important;
}

.woocommerce-shipping-fields,
.woocommerce-additional-fields {
    margin-top: 28px !important;
}

/* Form Row Grid & Inputs */
.woocommerce-checkout .form-row,
.woocommerce form.checkout .form-row {
    margin: 0 0 18px 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

.woocommerce-checkout .form-row-first,
.woocommerce form.checkout .form-row-first {
    width: 48.5% !important;
    float: left !important;
    margin-right: 3% !important;
}

.woocommerce-checkout .form-row-last,
.woocommerce form.checkout .form-row-last {
    width: 48.5% !important;
    float: left !important;
    margin-right: 0 !important;
}

.woocommerce-checkout .form-row-wide,
.woocommerce form.checkout .form-row-wide {
    clear: both !important;
    width: 100% !important;
}

.woocommerce-checkout .form-row::after,
.woocommerce form.checkout .form-row::after {
    content: "" !important;
    display: table !important;
    clear: both !important;
}

.woocommerce-checkout label,
.woocommerce form.checkout label {
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #374151 !important;
    margin-bottom: 6px !important;
    display: block !important;
    line-height: 1.3 !important;
}

.woocommerce-checkout label .required,
.woocommerce form.checkout label .required {
    color: #ef4444 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    margin-left: 2px !important;
}

.woocommerce-checkout label .optional,
.woocommerce form.checkout label .optional {
    color: #94a3b8 !important;
    font-size: 11.5px !important;
    font-weight: normal !important;
    margin-left: 4px !important;
}

.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea,
.woocommerce-checkout textarea.input-text,
.woocommerce form.checkout input.input-text,
.woocommerce form.checkout select,
.woocommerce form.checkout textarea,
.woocommerce-checkout .select2-container--default .select2-selection--single {
    width: 100% !important;
    height: 44px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 6px !important;
    padding: 0 14px !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 13.5px !important;
    color: #111827 !important;
    background-color: #ffffff !important;
    outline: none !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    display: block !important;
}

.woocommerce-checkout textarea,
.woocommerce-checkout textarea.input-text,
.woocommerce form.checkout textarea {
    height: auto !important;
    min-height: 100px !important;
    padding: 12px 14px !important;
    resize: vertical !important;
    line-height: 1.5 !important;
}

.woocommerce-checkout input:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus,
.woocommerce form.checkout input:focus,
.woocommerce form.checkout select:focus,
.woocommerce form.checkout textarea:focus,
.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #01959f !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 41px !important;
    padding-left: 0 !important;
    color: #111827 !important;
    font-size: 13.5px !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 42px !important;
}

/* Ship to Different Address Toggle */
#ship-to-different-address {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

#ship-to-different-address label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin: 0 !important;
    cursor: pointer;
}

#ship-to-different-address input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #01959f;
    cursor: pointer;
    margin: 0;
}

/* Right Column: Order Review Card */
.kw-order-review-card {
    position: sticky;
    top: 20px;
    padding: 24px;
}

.order-review-header {
    margin-bottom: 20px;
}

.order-review-header .order-review-title {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.2;
}

.order-review-header .order-review-title i {
    color: #01959f;
    font-size: 16px;
}

.order-review-header .order-title-accent {
    display: block;
    width: 32px;
    height: 3px;
    background-color: #01959f;
    border-radius: 2px;
    margin-top: 6px;
}

/* Order Review Table */
table.kw-checkout-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
    border: none;
}

table.kw-checkout-table thead th {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #64748b;
    padding: 8px 0 12px 0;
    border-bottom: 1.5px solid #e2e8f0;
    border-top: none;
    border-left: none;
    border-right: none;
    text-align: left;
    background: transparent;
}

table.kw-checkout-table thead th.product-total {
    text-align: right;
}

table.kw-checkout-table tbody tr {
    border-bottom: 1px solid #f1f5f9;
}

table.kw-checkout-table tbody td {
    padding: 12px 0;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 13.5px;
    vertical-align: middle;
    border: none;
    background: transparent;
}

.checkout-product-info {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.checkout-product-info .product-title-text {
    font-weight: 600;
    color: #111827;
    line-height: 1.35;
}

.checkout-product-info .product-quantity-badge {
    font-size: 12px;
    color: #475569;
    font-weight: 700;
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
    margin-left: 6px;
}

.checkout-item-total {
    font-weight: 700;
    color: #111827;
    font-size: 14px;
    text-align: right;
    display: block;
    white-space: nowrap;
}

/* Order Totals in Review */
table.kw-checkout-table tfoot tr {
    border-bottom: 1px solid #f1f5f9;
}

table.kw-checkout-table tfoot th {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: #64748b;
    padding: 10px 0;
    text-align: left;
    border: none;
    background: transparent;
    width: 45%;
}

table.kw-checkout-table tfoot td {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    padding: 10px 0;
    text-align: right;
    border: none;
    background: transparent;
}

table.kw-checkout-table tfoot tr.order-total {
    border-top: 1.5px solid #e2e8f0;
    border-bottom: none;
}

table.kw-checkout-table tfoot tr.order-total th {
    font-size: 15px;
    font-weight: 800;
    color: #111827;
    padding-top: 14px;
}

table.kw-checkout-table tfoot tr.order-total td .checkout-grand-total {
    font-size: 20px;
    font-weight: 900;
    color: #111827;
    padding-top: 14px;
    display: block;
}

/* Payment Methods Box */
#payment {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin-top: 16px;
}

#payment ul.payment_methods,
#payment ul.wc_payment_methods {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 18px 0 !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 16px !important;
}

#payment ul.payment_methods li,
#payment ul.wc_payment_methods li {
    background: #fafbfc;
    border: 1.5px solid #e2e8f0;
    border-radius: 6px;
    padding: 12px 14px;
    transition: all 0.2s ease;
    list-style: none !important;
    margin: 0 !important;
}

#payment ul.payment_methods li:hover,
#payment ul.wc_payment_methods li:hover {
    border-color: #01959f;
    background: #fffdf5;
}

#payment ul.payment_methods li label,
#payment ul.wc_payment_methods li label {
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
}

#payment ul.payment_methods li input[type="radio"],
#payment ul.wc_payment_methods li input[type="radio"] {
    accent-color: #01959f;
    cursor: pointer;
    margin: 0;
}

#payment div.payment_box {
    background: #ffffff !important;
    border: 1px solid #eef2f6 !important;
    border-radius: 6px !important;
    padding: 12px 14px !important;
    margin-top: 10px !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 12.5px !important;
    color: #64748b !important;
    line-height: 1.5 !important;
}

#payment div.payment_box::before {
    display: none !important;
}

.woocommerce-privacy-policy-text,
.woocommerce-terms-and-conditions-wrapper {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 16px;
    line-height: 1.5;
}

.woocommerce-privacy-policy-text a,
.woocommerce-terms-and-conditions-wrapper a {
    color: #111827;
    font-weight: 600;
    text-decoration: underline;
}

/* Place Order Submit Button */
#place_order,
button#place_order {
    width: 100% !important;
    height: 50px !important;
    background-color: #01959f !important;
    color: #111827 !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    border: none !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    float: none !important;
    margin: 0 !important;
}

#place_order:hover,
button#place_order:hover {
    background-color: #017a82 !important;
    transform: translateY(-1px);
}

/* Checkout Trust Badges */
.kw-checkout-trust-box {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkout-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #64748b;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 500;
}

.checkout-trust-item i {
    color: #10b981;
    font-size: 13.5px;
    flex-shrink: 0;
}

.kw-thankyou-page-container,
.kw-thankyou-wrap,
.woocommerce-order {
    padding: 20px 0 70px 0;
    width: 100%;
    box-sizing: border-box;
}

/* Header Title */
.kw-thankyou-header-title {
    margin-bottom: 28px;
}

.kw-thankyou-header-title .thankyou-main-title {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1.2;
}

.kw-thankyou-header-title .thankyou-title-accent {
    display: block;
    width: 38px;
    height: 3px;
    background-color: #01959f;
    border-radius: 2px;
    margin-top: 6px;
}

/* Top Success Hero Card */
.kw-order-status-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 40px 32px;
    text-align: center;
    margin-bottom: 32px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
}

.kw-order-status-card .status-icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 20px;
}

.kw-order-status-card .status-icon.success-icon {
    background: #f0fdf4;
    border: 2.5px solid #86efac;
    color: #16a34a;
}

.kw-order-status-card .status-icon.failed-icon {
    background: #fef2f2;
    border: 2.5px solid #fca5a5;
    color: #dc2626;
}

.kw-order-status-card .status-title {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.kw-order-status-card .status-subtitle {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 14.5px;
    color: #64748b;
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto 28px auto;
}

.kw-order-status-card .status-actions-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 20px;
}

.kw-order-status-card .status-actions-row a.button {
    height: 44px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.2s ease;
}

.kw-order-status-card .status-actions-row a.btn-pay-again {
    background: #01959f;
    color: #111827;
    border: none;
}

.kw-order-status-card .status-actions-row a.btn-pay-again:hover {
    background: #017a82;
}

.kw-order-status-card .status-actions-row a.btn-my-account {
    background: #111827;
    color: #ffffff;
    border: none;
}

.kw-order-status-card .status-actions-row a.btn-my-account:hover {
    background: #01959f;
    color: #111827;
}

/* 4-Column Order Meta Grid (Always 1 Row on Desktop) */
.kw-order-meta-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
    background: #fafbfc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 16px 18px !important;
    list-style: none !important;
    margin: 0 !important;
    text-align: left !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.kw-order-meta-grid .meta-card-item,
.kw-order-meta-grid li.meta-card-item {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    background: #ffffff !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 6px !important;
    padding: 12px 14px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    float: none !important;
}

.kw-order-meta-grid .meta-label {
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 11px !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.kw-order-meta-grid .meta-label i {
    color: #01959f !important;
    font-size: 12px !important;
    flex-shrink: 0 !important;
}

.kw-order-meta-grid .meta-val {
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 13.5px !important;
    color: #111827 !important;
    font-weight: 700 !important;
    word-break: break-word !important;
    white-space: normal !important;
    line-height: 1.3 !important;
}

.kw-order-meta-grid .meta-val.highlight-total {
    color: #111827 !important;
    font-size: 15.5px !important;
    font-weight: 900 !important;
}

/* 2-Column Thank You Details Grid */
.kw-thankyou-details-grid {
    display: grid !important;
    grid-template-columns: 1.25fr 1fr !important;
    gap: 32px !important;
    align-items: start !important;
    width: 100% !important;
    margin-bottom: 30px !important;
    box-sizing: border-box !important;
}

.kw-thankyou-items-col,
.kw-thankyou-customer-col {
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Order Details & Customer Section Cards */
.kw-section-card,
.woocommerce-order-details,
.woocommerce-customer-details,
.woocommerce-bacs-bank-details {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 28px !important;
    margin-bottom: 26px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03) !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.kw-section-header {
    margin-bottom: 20px !important;
}

.kw-section-title,
.woocommerce-order-details__title,
.woocommerce-column__title,
.woocommerce-customer-details h2,
.woocommerce-bacs-bank-details h2 {
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #111827 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    margin: 0 0 8px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    line-height: 1.3 !important;
}

.kw-section-title i,
.woocommerce-order-details__title i,
.woocommerce-column__title i {
    color: #01959f !important;
    font-size: 17px !important;
}

.kw-title-accent {
    display: block !important;
    width: 32px !important;
    height: 3px !important;
    background-color: #01959f !important;
    border-radius: 2px !important;
    margin-top: 4px !important;
}

/* Order Details Items Table */
.kw-order-items-table,
.woocommerce-order-details table.shop_table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 0 !important;
    border: none !important;
}

.kw-order-items-table thead th,
.woocommerce-order-details table.shop_table thead th {
    background: #f8fafc !important;
    color: #111827 !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 12px 16px !important;
    border-top: none !important;
    border-bottom: 1.5px solid #e2e8f0 !important;
}

.kw-order-items-table tbody td,
.woocommerce-order-details table.shop_table tbody td {
    padding: 16px !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 13.5px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    vertical-align: middle !important;
}

.kw-order-items-table tbody td a.product-title-link,
.woocommerce-order-details table.shop_table tbody td a {
    color: #111827 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.kw-order-items-table tbody td a.product-title-link:hover,
.woocommerce-order-details table.shop_table tbody td a:hover {
    color: #01959f !important;
}

.kw-order-items-table .product-quantity-badge,
.kw-order-items-table .product-quantity {
    background: #f1f5f9 !important;
    border-radius: 4px !important;
    padding: 2px 7px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: #475569 !important;
    margin-left: 6px !important;
    display: inline-block !important;
}

.kw-order-items-table .wc-item-meta {
    list-style: none !important;
    padding: 0 !important;
    margin: 6px 0 0 0 !important;
    font-size: 12px !important;
    color: #64748b !important;
}

.kw-order-items-table .wc-item-meta li {
    margin: 2px 0 !important;
}

.kw-order-items-table tfoot tr,
.woocommerce-order-details table.shop_table tfoot tr {
    border-bottom: 1px solid #f1f5f9 !important;
}

.kw-order-items-table tfoot th,
.woocommerce-order-details table.shop_table tfoot th {
    padding: 13px 16px !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    text-align: left !important;
    border-top: none !important;
}

.kw-order-items-table tfoot td,
.woocommerce-order-details table.shop_table tfoot td {
    padding: 13px 16px !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    text-align: right !important;
    border-top: none !important;
}

.kw-order-items-table tfoot tr.row-grand-total,
.woocommerce-order-details table.shop_table tfoot tr.order-total {
    background: #fffdf5 !important;
    border: 1.5px solid #fef3c7 !important;
}

.kw-order-items-table tfoot tr.row-grand-total th,
.kw-order-items-table tfoot tr.row-grand-total td,
.woocommerce-order-details table.shop_table tfoot tr.order-total th,
.woocommerce-order-details table.shop_table tfoot tr.order-total td {
    color: #111827 !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    padding: 16px !important;
}

.kw-order-items-table tfoot tr.customer-note-row td {
    font-size: 13px !important;
    color: #64748b !important;
    font-weight: normal !important;
    text-align: left !important;
}

/* Customer Details & Address Blocks */
.kw-address-block {
    background: #fafbfc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 18px 20px !important;
    margin-bottom: 16px !important;
    transition: border-color 0.2s ease !important;
}

.kw-address-block:hover {
    border-color: #cbd5e1 !important;
}

.kw-address-block .address-block-title {
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    color: #111827 !important;
    text-transform: uppercase !important;
    margin: 0 0 10px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding-bottom: 8px !important;
}

.kw-address-block .address-block-title i {
    color: #01959f !important;
    font-size: 14px !important;
}

.kw-address-block .address-formatted-text {
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 13.5px !important;
    color: #334155 !important;
    line-height: 1.6 !important;
    margin-bottom: 10px !important;
}

.kw-address-block .address-meta-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    border-top: 1px solid #f1f5f9 !important;
    padding-top: 10px !important;
}

.kw-address-block .meta-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 12.5px !important;
    color: #475569 !important;
}

.kw-address-block .meta-row i {
    color: #01959f !important;
    font-size: 12px !important;
    width: 14px !important;
}

/* Support Card */
.kw-support-card {
    background: #fffdf5 !important;
    border: 1.5px solid #fef3c7 !important;
}

.kw-support-card .support-text {
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 13px !important;
    color: #64748b !important;
    line-height: 1.5 !important;
    margin: 0 0 14px 0 !important;
}

.kw-support-card .support-contacts {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.kw-support-card .support-item {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 13px !important;
    color: #111827 !important;
}

.kw-support-card .support-item i {
    color: #01959f !important;
    font-size: 14px !important;
}

/* BACS Bank Transfer Box */
.woocommerce-bacs-bank-details .wc-bacs-bank-details {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 16px 0 !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 16px !important;
}

.woocommerce-bacs-bank-details .wc-bacs-bank-details li {
    background: #fafbfc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    padding: 14px !important;
    font-size: 13px !important;
    color: #334155 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.woocommerce-bacs-bank-details .wc-bacs-bank-details strong {
    color: #111827 !important;
    font-weight: 700 !important;
}

/* Thank you bottom action buttons */
.kw-thankyou-bottom-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    margin-top: 36px !important;
    flex-wrap: wrap !important;
}

.btn-thankyou-shop {
    height: 48px !important;
    padding: 0 28px !important;
    background: #01959f !important;
    color: #111827 !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    border: none !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
}

.btn-thankyou-shop:hover {
    background: #017a82 !important;
    transform: translateY(-1px) !important;
    color: #111827 !important;
}

.btn-thankyou-account {
    height: 48px !important;
    padding: 0 24px !important;
    background: #ffffff !important;
    color: #111827 !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.btn-thankyou-account:hover {
    border-color: #111827 !important;
    background: #f8fafc !important;
    color: #111827 !important;
}

/* Responsive Checkout & Thank you */
@media only screen and (max-width: 991px) {
    .kw-checkout-grid-layout,
    .kw-thankyou-details-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    .kw-order-meta-grid {
        flex-wrap: wrap !important;
        gap: 12px !important;
    }

    .kw-order-meta-grid .meta-card-item {
        flex: 1 1 calc(50% - 10px) !important;
    }

    .kw-addresses-grid.has-two-addresses {
        grid-template-columns: 1fr !important;
    }
}

@media only screen and (max-width: 576px) {
    .woocommerce-checkout .form-row-first,
    .woocommerce-checkout .form-row-last {
        width: 100% !important;
        float: none !important;
        margin-right: 0 !important;
    }

    .kw-customer-details-card,
    .kw-order-review-card,
    .kw-section-card,
    .woocommerce-order-details,
    .woocommerce-customer-details,
    .kw-order-status-card {
        padding: 20px 16px !important;
    }

    .kw-order-meta-grid {
        flex-direction: column !important;
    }

    .kw-order-meta-grid .meta-card-item {
        flex: 1 1 100% !important;
    }

    .kw-checkout-coupon-form .coupon-input-group,
    .kw-checkout-coupon-direct-box .coupon-input-group {
        flex-direction: column !important;
        max-width: 100% !important;
    }

    .kw-checkout-coupon-direct-box .coupon-field,
    .kw-checkout-coupon-direct-box .btn-apply-checkout-coupon {
        width: 100% !important;
    }

    .kw-thankyou-bottom-actions {
        flex-direction: column !important;
        width: 100% !important;
    }

    .btn-thankyou-shop,
    .btn-thankyou-account {
        width: 100% !important;
        justify-content: center !important;
    }
}

.kw-myaccount-full-row,
.kw-myaccount-page-container {
    padding-top: 20px;
    padding-bottom: 70px;
    width: 100%;
    box-sizing: border-box;
}

/* My Account Header */
.kw-myaccount-header-title {
    margin-bottom: 28px;
}

.kw-myaccount-header-title .myaccount-main-title {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1.2;
}

.kw-myaccount-header-title .myaccount-title-accent {
    display: block;
    width: 38px;
    height: 3px;
    background-color: #01959f;
    border-radius: 2px;
    margin-top: 6px;
}

/* --------------------------------------------------------------------------
   Auth Forms (Login & Registration)
   -------------------------------------------------------------------------- */
.kw-auth-grid-container {
    display: grid;
    gap: 32px;
    width: 100%;
    box-sizing: border-box;
}

.kw-auth-grid-container.has-registration {
    grid-template-columns: 1fr 1fr;
}

.kw-auth-grid-container.login-only,
.kw-auth-single-card-wrap {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
}

.kw-auth-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 32px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    box-sizing: border-box;
}

.kw-auth-card-header {
    text-align: center;
    margin-bottom: 26px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}

.auth-icon-circle {
    width: 54px;
    height: 54px;
    background-color: #fffdf5;
    border: 2px solid #fef3c7;
    color: #01959f;
    font-size: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.auth-card-title {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin: 0 0 6px 0;
}

.auth-card-subtitle {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

.kw-auth-form .kw-form-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
}

.kw-input-with-icon {
    position: relative;
    width: 100%;
}

.kw-input-with-icon .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 14px;
    pointer-events: none;
    z-index: 2;
}

.kw-input-with-icon input.kw-form-input {
    padding-left: 40px !important;
}

.kw-auth-options-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    font-size: 13px;
}

.kw-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 13px;
    color: #374151;
}

.kw-checkbox-label input[type="checkbox"] {
    accent-color: #01959f;
    cursor: pointer;
    margin: 0;
    width: 16px;
    height: 16px;
}

.kw-lost-password-link {
    color: #01959f;
    font-weight: 600;
    text-decoration: none;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 12.5px;
    transition: color 0.2s ease;
}

.kw-lost-password-link:hover {
    color: #b45309;
    text-decoration: underline;
}

.kw-btn-auth-submit {
    width: 100% !important;
    height: 46px !important;
    background-color: #01959f !important;
    color: #111827 !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    border: none !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
}

.kw-btn-auth-submit:hover {
    background-color: #017a82 !important;
    transform: translateY(-1px);
    color: #111827 !important;
}

.kw-password-hint-text {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.kw-auth-bottom-nav {
    text-align: center;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.back-to-login-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.back-to-login-link:hover {
    color: #01959f;
}

/* --------------------------------------------------------------------------
   Logged-In Layout (2 Columns: Sidebar Nav + Content Card)
   -------------------------------------------------------------------------- */
.kw-myaccount-layout-grid {
    display: grid !important;
    grid-template-columns: 280px 1fr !important;
    gap: 32px !important;
    align-items: start !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.kw-myaccount-nav-col {
    min-width: 0 !important;
    width: 100% !important;
    float: none !important;
}

.kw-myaccount-content-col {
    min-width: 0 !important;
    width: 100% !important;
    float: none !important;
}

/* Reset WooCommerce default float & 30% width */
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-MyAccount-navigation,
nav.woocommerce-MyAccount-navigation {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-MyAccount-content {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.kw-myaccount-sidebar-card {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 20px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03) !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

/* User Avatar & Info */
.kw-account-user-card {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding-bottom: 18px !important;
    margin-bottom: 18px !important;
    border-bottom: 1.5px solid #f1f5f9 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.user-avatar-wrap img {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    border: 2px solid #01959f !important;
    object-fit: cover !important;
    display: block !important;
}

.user-meta-info {
    min-width: 0 !important;
    flex: 1 !important;
}

.user-display-name {
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    color: #111827 !important;
    margin: 0 0 2px 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.user-email-text {
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 11.5px !important;
    color: #64748b !important;
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Navigation Menu */
.kw-account-nav-menu ul.nav-menu-list,
.woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    width: 100% !important;
    float: none !important;
    box-sizing: border-box !important;
}

.kw-account-nav-menu .nav-item,
.woocommerce-MyAccount-navigation ul li {
    border-radius: 6px !important;
    overflow: hidden !important;
    transition: all 0.2s ease !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    float: none !important;
    display: block !important;
    box-sizing: border-box !important;
}

.kw-account-nav-menu .nav-link,
.woocommerce-MyAccount-navigation ul li a {
    display: flex !important;
    align-items: center !important;
    padding: 12px 14px !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #374151 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    border-radius: 6px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
}

.kw-account-nav-menu .nav-link .nav-icon {
    width: 22px;
    display: inline-flex;
    align-items: center;
    color: #94a3b8;
    font-size: 14px;
    transition: color 0.2s ease;
    margin-right: 10px;
}

.kw-account-nav-menu .nav-link .nav-label {
    flex: 1;
}

.kw-account-nav-menu .nav-link .nav-arrow {
    font-size: 11px;
    opacity: 0.35;
    transition: all 0.2s ease;
}

.kw-account-nav-menu .nav-item:hover .nav-link {
    background-color: #f8fafc;
    color: #111827;
}

.kw-account-nav-menu .nav-item:hover .nav-icon {
    color: #01959f;
}

.kw-account-nav-menu .nav-item:hover .nav-arrow {
    opacity: 0.8;
    transform: translateX(2px);
}

.kw-account-nav-menu .nav-item.is-active-item .nav-link,
.kw-account-nav-menu .nav-item.is-active .nav-link {
    background-color: #fffdf5;
    color: #111827;
    font-weight: 700;
    border-left: 3.5px solid #01959f;
}

.kw-account-nav-menu .nav-item.is-active-item .nav-icon,
.kw-account-nav-menu .nav-item.is-active .nav-icon {
    color: #01959f;
}

.kw-account-nav-menu .nav-item.nav-item-logout .nav-link {
    color: #ef4444;
}

.kw-account-nav-menu .nav-item.nav-item-logout .nav-icon {
    color: #ef4444;
}

.kw-account-nav-menu .nav-item.nav-item-logout:hover .nav-link {
    background-color: #fef2f2;
}

/* My Account Right Content Card */
.kw-myaccount-card {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 30px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03) !important;
    box-sizing: border-box !important;
    width: 100% !important;
    float: none !important;
}

/* --------------------------------------------------------------------------
   Dashboard Endpoint
   -------------------------------------------------------------------------- */
.kw-dashboard-welcome-banner {
    background-color: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 22px 24px;
    margin-bottom: 24px;
}

.welcome-title {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 8px 0;
}

.welcome-desc {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 13px;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

.welcome-desc a.dash-link {
    color: #01959f;
    font-weight: 700;
    text-decoration: none;
}

.welcome-desc a.dash-link:hover {
    text-decoration: underline;
    color: #b45309;
}

/* 4 Quick Shortcut Cards */
.kw-dashboard-shortcuts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.dash-shortcut-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dash-shortcut-card:hover {
    border-color: #01959f;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.shortcut-icon-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.shortcut-icon-orders {
    background-color: #eff6ff;
    color: #2563eb;
}

.shortcut-icon-address {
    background-color: #f0fdf4;
    color: #16a34a;
}

.shortcut-icon-account {
    background-color: #fffdf5;
    color: #01959f;
}

.shortcut-icon-logout {
    background-color: #fef2f2;
    color: #dc2626;
}

.shortcut-body {
    flex: 1;
    min-width: 0;
}

.shortcut-title {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 14.5px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 3px 0;
}

.shortcut-desc {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 12px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.shortcut-arrow {
    color: #cbd5e1;
    font-size: 13px;
    transition: all 0.2s ease;
}

.dash-shortcut-card:hover .shortcut-arrow {
    color: #01959f;
    transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Orders Endpoint
   -------------------------------------------------------------------------- */
.kw-orders-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.kw-orders-table {
    width: 100% !important;
    border-collapse: collapse !important;
    border: none !important;
    margin: 0 !important;
}

.kw-orders-table thead th {
    background-color: #f8fafc !important;
    color: #111827 !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    padding: 12px 14px !important;
    border-top: none !important;
    border-bottom: 1.5px solid #e2e8f0 !important;
}

.kw-orders-table tbody td {
    padding: 14px !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 13px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    vertical-align: middle !important;
}

.order-number-link {
    color: #111827 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.order-number-link:hover {
    color: #01959f !important;
}

/* Status Badges */
.kw-order-status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.kw-order-status-badge.status-completed {
    background-color: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.kw-order-status-badge.status-processing {
    background-color: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.kw-order-status-badge.status-on-hold,
.kw-order-status-badge.status-pending {
    background-color: #fffdf5;
    color: #01959f;
    border: 1px solid #fef3c7;
}

.kw-order-status-badge.status-cancelled,
.kw-order-status-badge.status-failed,
.kw-order-status-badge.status-refunded {
    background-color: #fef2f2;
    color: #dc2626;
    border: 1px solid #fca5a5;
}

.btn-view-order {
    background-color: #111827 !important;
    color: #ffffff !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    padding: 7px 16px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.2s ease !important;
}

.btn-view-order:hover {
    background-color: #01959f !important;
    color: #111827 !important;
}

/* Empty Orders State */
.kw-empty-orders-card {
    text-align: center;
    padding: 40px 20px;
}

.empty-icon-circle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background-color: #f8fafc;
    border: 2px dashed #cbd5e1;
    color: #94a3b8;
    font-size: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.empty-title {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 6px 0;
}

.empty-desc {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 13px;
    color: #64748b;
    max-width: 440px;
    margin: 0 auto 20px auto;
    line-height: 1.5;
}

.btn-browse-products {
    height: 42px !important;
    padding: 0 22px !important;
    background-color: #01959f !important;
    color: #111827 !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    border: none !important;
    border-radius: 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.btn-browse-products:hover {
    background-color: #017a82 !important;
}

/* --------------------------------------------------------------------------
   Addresses Endpoint
   -------------------------------------------------------------------------- */
.kw-addresses-intro {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 13px;
    color: #64748b;
    margin: 0 0 20px 0;
}

.kw-addresses-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.kw-account-address-card {
    background-color: #fafbfc;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    transition: border-color 0.2s ease;
}

.kw-account-address-card:hover {
    border-color: #cbd5e1;
}

.address-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.address-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.address-card-title {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: #111827;
    text-transform: uppercase;
    margin: 0;
}

.address-icon {
    color: #01959f;
    font-size: 14px;
}

.btn-edit-address {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    color: #01959f;
    text-decoration: none;
    transition: color 0.2s ease;
}

.btn-edit-address:hover {
    color: #b45309;
    text-decoration: underline;
}

.formatted-address {
    font-style: normal;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 13px;
    color: #334155;
    line-height: 1.6;
}

.no-address-text {
    color: #94a3b8;
    font-style: italic;
}

/* --------------------------------------------------------------------------
   Account Details Edit Form
   -------------------------------------------------------------------------- */
.kw-password-fieldset {
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
/* --------------------------------------------------------------------------
   Account Details & Address Edit Forms (Billing & Shipping)
   -------------------------------------------------------------------------- */
.woocommerce-address-fields,
.woocommerce-address-fields__field-wrapper,
.woocommerce-EditAccountForm,
.kw-edit-address-form,
.kw-edit-account-form {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.woocommerce-address-fields__field-wrapper::after,
.woocommerce-EditAccountForm::after,
.kw-edit-address-form::after,
.form-row::after {
    content: "" !important;
    display: table !important;
    clear: both !important;
}

/* Form Row Items */
.woocommerce form .form-row,
.woocommerce-page form .form-row,
.kw-account-edit-address-section .form-row,
.kw-account-edit-section .form-row,
.woocommerce-address-fields .form-row,
.form-row {
    margin: 0 0 18px 0 !important;
    padding: 0 !important;
    position: relative !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.woocommerce form .form-row-first,
.woocommerce-page form .form-row-first,
.woocommerce-address-fields .form-row-first,
.form-row-first {
    width: calc(50% - 10px) !important;
    float: left !important;
    margin-right: 20px !important;
    clear: left !important;
}

.woocommerce form .form-row-last,
.woocommerce-page form .form-row-last,
.woocommerce-address-fields .form-row-last,
.form-row-last {
    width: calc(50% - 10px) !important;
    float: right !important;
    margin-right: 0 !important;
    clear: right !important;
}

.woocommerce form .form-row-wide,
.woocommerce-page form .form-row-wide,
.woocommerce-address-fields .form-row-wide,
.form-row-wide {
    width: 100% !important;
    float: none !important;
    clear: both !important;
}

/* Form Labels */
.woocommerce form .form-row label,
.woocommerce-page form .form-row label,
.kw-account-edit-address-section label,
.kw-account-edit-section label,
.woocommerce-address-fields label,
.kw-form-label,
label {
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin-bottom: 6px !important;
    display: block !important;
    line-height: 1.4 !important;
}

/* Required Asterisk */
.woocommerce form .form-row abbr.required,
.woocommerce-page form .form-row abbr.required,
.woocommerce-address-fields abbr.required,
abbr.required,
.required-star {
    color: #ef4444 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    border-bottom: none !important;
    margin-left: 3px !important;
}

/* Input Wrapper */
.woocommerce-input-wrapper {
    width: 100% !important;
    display: block !important;
    position: relative !important;
}

/* All Inputs, Selects & Textareas */
.woocommerce form .form-row input.input-text,
.woocommerce-page form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce-page form .form-row select,
.woocommerce form .form-row textarea,
.woocommerce-page form .form-row textarea,
.woocommerce-address-fields input.input-text,
.woocommerce-address-fields select,
.woocommerce-address-fields textarea,
.kw-account-edit-address-section input.input-text,
.kw-account-edit-address-section select,
.kw-account-edit-address-section textarea,
.kw-form-input,
.kw-form-textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"] {
    width: 100% !important;
    height: 44px !important;
    padding: 10px 14px !important;
    background-color: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 6px !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 13.5px !important;
    color: #111827 !important;
    box-sizing: border-box !important;
    outline: none !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
}

/* Textarea height */
.woocommerce form .form-row textarea,
.woocommerce-page form .form-row textarea,
.woocommerce-address-fields textarea,
textarea.input-text,
.kw-form-textarea {
    height: auto !important;
    min-height: 100px !important;
    resize: vertical !important;
}

/* Input Focus States */
.woocommerce form .form-row input.input-text:focus,
.woocommerce-page form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus,
.woocommerce-page form .form-row select:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce-page form .form-row textarea:focus,
.woocommerce-address-fields input.input-text:focus,
.kw-account-edit-address-section input.input-text:focus,
.kw-form-input:focus,
.kw-form-textarea:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus {
    border-color: #01959f !important;
    background-color: #ffffff !important;
}

/* Select2 / Country Dropdown Styling */
.select2-container--default .select2-selection--single {
    height: 44px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 6px !important;
    padding: 6px 14px !important;
    background-color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 13.5px !important;
    color: #111827 !important;
    line-height: normal !important;
    padding-left: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 42px !important;
    right: 12px !important;
}

.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #01959f !important;
}

/* Password Change Fieldset */
.kw-password-fieldset {
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 20px 22px !important;
    margin: 24px 0 !important;
}

.fieldset-legend {
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    color: #111827 !important;
    text-transform: uppercase !important;
    padding: 0 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.fieldset-legend i {
    color: #01959f !important;
}

.btn-save-account,
.btn-save-address {
    width: auto !important;
    height: 46px !important;
    padding: 0 32px !important;
    background-color: #01959f !important;
    color: #111827 !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    border: none !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
}

.btn-save-account:hover,
.btn-save-address:hover {
    background-color: #017a82 !important;
    transform: translateY(-1px) !important;
    color: #111827 !important;
}

.kw-field-hint-text {
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 11.5px !important;
    color: #94a3b8 !important;
    margin-top: 4px !important;
    display: block !important;
}

/* --------------------------------------------------------------------------
   View Order Endpoint
   -------------------------------------------------------------------------- */
.kw-view-order-meta-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: #fafbfc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 12px 18px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.meta-date-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
    font-family: 'Roboto', Arial, sans-serif;
}

.meta-date-item i {
    color: #01959f;
}

.kw-order-updates-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
}

.updates-heading {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.updates-heading i {
    color: #01959f;
}

.updates-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.update-item {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 6px;
    padding: 12px 14px;
}

.note-date {
    font-size: 11.5px;
    color: #64748b;
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.note-content {
    font-size: 13px;
    color: #111827;
}

.kw-back-to-orders-row {
    margin-top: 24px;
}

.btn-back-orders {
    height: 42px !important;
    padding: 0 20px !important;
    background: #ffffff !important;
    color: #111827 !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 4px !important;
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.btn-back-orders:hover {
    border-color: #111827 !important;
    background-color: #f8fafc !important;
}

/* --------------------------------------------------------------------------
   Responsive My Account
   -------------------------------------------------------------------------- */
@media only screen and (max-width: 991px) {
    .kw-myaccount-layout-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .kw-auth-grid-container.has-registration {
        grid-template-columns: 1fr;
    }

    .kw-dashboard-shortcuts-grid {
        grid-template-columns: 1fr;
    }

    .kw-addresses-card-grid {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 576px) {
    .kw-auth-card,
    .kw-myaccount-card {
        padding: 20px 16px !important;
    }

    .kw-form-row-2col {
        grid-template-columns: 1fr !important;
    }

    .btn-save-account,
    .btn-save-address {
        width: 100% !important;
    }
}

