/*
Theme Name: Tatuka Child
Theme URI: 
Author: Tergel + Calude
Author URI: 
Description: Tatuka custom child theme for WooCommerce account and site refinements
Requires at least: 7.0
Tested up to: 7.0
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: cafe-coffee-blocks
Text Domain: tatuka-child
Tags: 
*/

/* ==========================================================================
   TATUKA MY ACCOUNT
   ========================================================================== */

.woocommerce-account .woocommerce {
    max-width: 1240px;
    margin: 0 auto;
}

.woocommerce-account .woocommerce::after,
.woocommerce-account .woocommerce-MyAccount-content::after {
    content: "";
    display: block;
    clear: both;
}

/* Layout */
.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 290px;
}

.woocommerce-account .woocommerce-MyAccount-content {
    width: calc(100% - 330px);
    background: #ffffff;
    border: 1px solid #e7edf5;
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 14px 34px rgba(0, 45, 98, 0.06);
    box-sizing: border-box;
}

/* Nav card */
.woocommerce-account .tatuka-account-nav-card {
    background: #ffffff;
    border: 1px solid #e7edf5;
    border-radius: 28px;
    padding: 18px;
    box-shadow: 0 12px 28px rgba(0, 45, 98, 0.06);
}

.woocommerce-account .tatuka-account-nav-header {
    padding: 10px 10px 18px 10px;
}

.woocommerce-account .tatuka-account-nav-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: #002d62;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    font-family: "Fira Sans", sans-serif;
}

.woocommerce-account .tatuka-account-nav-title {
    margin: 0 0 8px 0;
    color: #0f1724;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0;
    font-family: "Fira Sans", sans-serif;
}

.woocommerce-account .tatuka-account-nav-subtitle {
    margin: 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.6;
    letter-spacing: 0;
    font-family: "Fira Sans", sans-serif;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    list-style: none;
    margin: 0 0 10px 0;
    padding: 0;
    border: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child {
    margin-bottom: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:visited {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: transparent;
    color: #243244;
    text-decoration: none;
    font-family: "Fira Sans", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:focus {
    background: #f4f8fd;
    color: #002d62;
    transform: translateY(-1px);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a:visited,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a[aria-current="page"] {
    background: #002d62;
    color: #ffffff;
}

/* Typography */
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .woocommerce-MyAccount-content p,
.woocommerce-account .woocommerce-MyAccount-content li,
.woocommerce-account .woocommerce-MyAccount-content address,
.woocommerce-account .woocommerce-MyAccount-content label,
.woocommerce-account .woocommerce-MyAccount-content td,
.woocommerce-account .woocommerce-MyAccount-content th {
    color: #475467;
    font-family: "Fira Sans", sans-serif;
    font-size: 16px;
    letter-spacing: 0;
    line-height: 1.7;
}

.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3,
.woocommerce-account .woocommerce-MyAccount-content strong {
    color: #0f1724;
    font-family: "Fira Sans", sans-serif;
}

.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
    margin: 0 0 16px 0;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: 0;
}

.woocommerce-account .woocommerce-MyAccount-content a {
    color: #002d62;
    text-decoration: none;
    font-weight: 700;
}

/* Orders table */
.woocommerce-account .woocommerce table.shop_table,
.woocommerce-account .woocommerce table.my_account_orders,
.woocommerce-account .woocommerce table.woocommerce-orders-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e7edf5;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    table-layout: auto;
}

.woocommerce-account .woocommerce table.shop_table thead th,
.woocommerce-account .woocommerce table.my_account_orders thead th,
.woocommerce-account .woocommerce table.woocommerce-orders-table thead th {
    background: #f8fbff;
    color: #0f1724;
    font-weight: 800;
    border-bottom: 1px solid #e7edf5;
    font-size: 15px;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
}

.woocommerce-account .woocommerce table.shop_table th,
.woocommerce-account .woocommerce table.shop_table td,
.woocommerce-account .woocommerce table.my_account_orders th,
.woocommerce-account .woocommerce table.my_account_orders td,
.woocommerce-account .woocommerce table.woocommerce-orders-table th,
.woocommerce-account .woocommerce table.woocommerce-orders-table td {
    padding: 15px 16px;
    text-align: left;
    color: #475467;
    border-bottom: 1px solid #eef2f6;
    vertical-align: middle;
}

.woocommerce-account .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__header-order-number,
.woocommerce-account .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-number {
    min-width: 132px;
}

.woocommerce-account .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__header-order-actions,
.woocommerce-account .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions {
    min-width: 110px;
}

.woocommerce-account .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-number p,
.woocommerce-account .woocommerce table.woocommerce-orders-table td p,
.woocommerce-account .woocommerce table.woocommerce-orders-table th p {
    margin: 0;
}

.woocommerce-account .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-number br {
    display: none;
}

.woocommerce-account .woocommerce table.woocommerce-orders-table td a,
.woocommerce-account .woocommerce table.woocommerce-orders-table th a {
    color: #002d62;
}

.woocommerce-account .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-number a {
    display: inline-block;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 800;
    color: #002d62;
    text-decoration: none;
}

.woocommerce-account .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-number a:hover {
    text-decoration: underline;
}

/* Buttons */
.woocommerce-account .woocommerce .button,
.woocommerce-account .woocommerce a.button,
.woocommerce-account .woocommerce button.button,
.woocommerce-account .woocommerce .woocommerce-button,
.woocommerce-account .woocommerce table.shop_table .button,
.woocommerce-account .woocommerce table.my_account_orders .button,
.woocommerce-account .woocommerce table.woocommerce-orders-table .button,
.woocommerce-account .woocommerce a.woocommerce-button,
.woocommerce-account .woocommerce .woocommerce-button.button,
.woocommerce-account .woocommerce .button:visited,
.woocommerce-account .woocommerce a.button:visited,
.woocommerce-account .woocommerce a.woocommerce-button:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #002d62;
    color: #ffffff !important;
    border: 1px solid #002d62;
    border-radius: 12px;
    padding: 11px 16px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: none;
    line-height: 1.2;
}

.woocommerce-account .woocommerce .button *,
.woocommerce-account .woocommerce a.button *,
.woocommerce-account .woocommerce button.button *,
.woocommerce-account .woocommerce .woocommerce-button * {
    color: inherit !important;
}

.woocommerce-account .woocommerce .button:hover,
.woocommerce-account .woocommerce a.button:hover,
.woocommerce-account .woocommerce button.button:hover,
.woocommerce-account .woocommerce .woocommerce-button:hover,
.woocommerce-account .woocommerce table.shop_table .button:hover,
.woocommerce-account .woocommerce table.my_account_orders .button:hover,
.woocommerce-account .woocommerce table.woocommerce-orders-table .button:hover {
    background: #0f1724;
    color: #ffffff !important;
    border-color: #0f1724;
}

.woocommerce-account .woocommerce .button:hover,
.woocommerce-account .woocommerce a.button:hover,
.woocommerce-account .woocommerce button.button:hover,
.woocommerce-account .woocommerce .woocommerce-button:hover {
    background: #0f1724;
    color: #ffffff;
}

/* Address cards */
.woocommerce-account .woocommerce-Address {
    background: #f8fbff;
    border: 1px solid #e7edf5;
    border-radius: 20px;
    padding: 22px;
}

.woocommerce-account .woocommerce-Address .title,
.woocommerce-account .woocommerce-Address header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.woocommerce-account .woocommerce-Address .edit,
.woocommerce-account .woocommerce-account .addresses .title .edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #002d62;
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

/* Forms */
.woocommerce-account .woocommerce form .form-row {
    width: 100%;
    margin: 0 0 16px 0;
}

.woocommerce-account .woocommerce input.input-text,
.woocommerce-account .woocommerce textarea,
.woocommerce-account .woocommerce select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d7e0ea;
    border-radius: 14px;
    background: #ffffff;
    color: #0f1724;
    box-sizing: border-box;
}

.woocommerce-account .woocommerce textarea {
    min-height: 120px;
}

.woocommerce-account .woocommerce input.input-text:focus,
.woocommerce-account .woocommerce textarea:focus,
.woocommerce-account .woocommerce select:focus {
    outline: none;
    border-color: #002d62;
    box-shadow: 0 0 0 4px rgba(0, 45, 98, 0.08);
}

/* Notices */
.woocommerce-account .woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-account .woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-account .woocommerce-notices-wrapper .woocommerce-error {
    border-radius: 16px;
    border: 1px solid #e7edf5;
    box-shadow: none;
}

/* Dark mode */
html[data-theme="dark"] .woocommerce-account .tatuka-account-nav-card,
html[data-theme="dark"] .woocommerce-account .woocommerce-MyAccount-content,
html[data-theme="dark"] .woocommerce-account .woocommerce table.shop_table,
html[data-theme="dark"] .woocommerce-account .woocommerce table.my_account_orders,
html[data-theme="dark"] .woocommerce-account .woocommerce table.woocommerce-orders-table {
    background: #0f1724;
    border-color: rgba(148, 163, 184, 0.16);
    box-shadow: none;
}

html[data-theme="dark"] .woocommerce-account .tatuka-account-nav-eyebrow {
    color: #8fc2ff;
}

html[data-theme="dark"] .woocommerce-account .tatuka-account-nav-title,
html[data-theme="dark"] .woocommerce-account .woocommerce-MyAccount-content h2,
html[data-theme="dark"] .woocommerce-account .woocommerce-MyAccount-content h3,
html[data-theme="dark"] .woocommerce-account .woocommerce-MyAccount-content strong,
html[data-theme="dark"] .woocommerce-account .woocommerce table.woocommerce-orders-table thead th {
    color: #ffffff;
}

html[data-theme="dark"] .woocommerce-account .tatuka-account-nav-subtitle,
html[data-theme="dark"] .woocommerce-account .woocommerce-MyAccount-content,
html[data-theme="dark"] .woocommerce-account .woocommerce-MyAccount-content p,
html[data-theme="dark"] .woocommerce-account .woocommerce-MyAccount-content li,
html[data-theme="dark"] .woocommerce-account .woocommerce-MyAccount-content address,
html[data-theme="dark"] .woocommerce-account .woocommerce-MyAccount-content label,
html[data-theme="dark"] .woocommerce-account .woocommerce-MyAccount-content td,
html[data-theme="dark"] .woocommerce-account .woocommerce-MyAccount-content th {
    color: #c8d6ea;
}

html[data-theme="dark"] .woocommerce-account .woocommerce-MyAccount-navigation ul li a,
html[data-theme="dark"] .woocommerce-account .woocommerce-MyAccount-navigation ul li a:visited {
    color: #dbe7f6;
}

html[data-theme="dark"] .woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover,
html[data-theme="dark"] .woocommerce-account .woocommerce-MyAccount-navigation ul li a:focus {
    background: #162338;
    color: #ffffff;
}

html[data-theme="dark"] .woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
html[data-theme="dark"] .woocommerce-account .woocommerce-MyAccount-navigation ul li a[aria-current="page"] {
    background: #002d62;
    color: #ffffff;
}

html[data-theme="dark"] .woocommerce-account .woocommerce-MyAccount-content a,
html[data-theme="dark"] .woocommerce-account .woocommerce table.woocommerce-orders-table td a {
    color: #8fc2ff;
}

html[data-theme="dark"] .woocommerce-account .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-number a {
    color: #b7d4ff;
    font-weight: 800;
}

html[data-theme="dark"] .woocommerce-account .woocommerce table.shop_table thead th,
html[data-theme="dark"] .woocommerce-account .woocommerce table.my_account_orders thead th,
html[data-theme="dark"] .woocommerce-account .woocommerce table.woocommerce-orders-table thead th {
    background: #162338;
    border-bottom-color: rgba(148, 163, 184, 0.16);
}

html[data-theme="dark"] .woocommerce-account .woocommerce .button,
html[data-theme="dark"] .woocommerce-account .woocommerce a.button,
html[data-theme="dark"] .woocommerce-account .woocommerce button.button,
html[data-theme="dark"] .woocommerce-account .woocommerce .woocommerce-button,
html[data-theme="dark"] .woocommerce-account .woocommerce-Address .edit {
    background: #002d62;
    color: #ffffff;
}

html[data-theme="dark"] .woocommerce-account .woocommerce-Address {
    background: #162338;
    border-color: rgba(148, 163, 184, 0.16);
}

html[data-theme="dark"] .woocommerce-account .woocommerce input.input-text,
html[data-theme="dark"] .woocommerce-account .woocommerce textarea,
html[data-theme="dark"] .woocommerce-account .woocommerce select {
    background: #162338;
    color: #ffffff;
    border-color: rgba(148, 163, 184, 0.22);
}

/* Tablet */
@media (max-width: 1024px) {
    .woocommerce-account .woocommerce-MyAccount-navigation {
        width: 250px;
    }

    .woocommerce-account .woocommerce-MyAccount-content {
        width: calc(100% - 280px);
        padding: 24px;
    }

    .woocommerce-account .tatuka-account-nav-title {
        font-size: 24px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .woocommerce-account .woocommerce-MyAccount-navigation,
    .woocommerce-account .woocommerce-MyAccount-content {
        float: none;
        width: 100%;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation {
        margin-bottom: 18px;
    }

    .woocommerce-account .woocommerce-MyAccount-content {
        padding: 20px;
        border-radius: 22px;
    }

    .woocommerce-account .tatuka-account-nav-card {
        border-radius: 22px;
    }

    .woocommerce-account .woocommerce table.woocommerce-orders-table,
    .woocommerce-account .woocommerce table.shop_table {
        display: table;
        width: 100%;
        white-space: normal;
    }

    .woocommerce-account .woocommerce table.shop_table thead th,
    .woocommerce-account .woocommerce table.my_account_orders thead th,
    .woocommerce-account .woocommerce table.woocommerce-orders-table thead th {
        font-size: 14px;
        white-space: normal;
    }

    .woocommerce-account .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__header-order-number,
    .woocommerce-account .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-number,
    .woocommerce-account .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__header-order-actions,
    .woocommerce-account .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions {
        min-width: 0;
    }

    .woocommerce-account .woocommerce-Address {
        padding: 18px;
    }
}
/* My Account cleanup */
.woocommerce-account .woocommerce-MyAccount-navigation p:empty,
.woocommerce-account .woocommerce-MyAccount-navigation br,
.woocommerce-account .woocommerce-MyAccount-navigation a br,
.woocommerce-account .woocommerce-MyAccount-navigation li br,
.woocommerce-account .woocommerce-MyAccount-navigation .tatuka-account-nav-header p:empty {
    display: none !important;
}

.woocommerce-account .wp-block-columns {
    align-items: flex-start !important;
}

/* ==========================================================================
   TATUKA MY ACCOUNT - ONLY FINAL BLOCK
   ========================================================================== */

body.woocommerce-account main#primary,
body.woocommerce-account .entry-content,
body.woocommerce-account .tatuka-account-shell {
    max-width: 100% !important;
}

body.woocommerce-account .tatuka-account-shell .woocommerce,
body.woocommerce-account .entry-content > .woocommerce,
body.woocommerce-account .wp-block-column .woocommerce,
body.woocommerce-account .woocommerce {
    display: grid !important;
    grid-template-columns: 300px minmax(0, 1fr) !important;
    gap: 32px !important;
    width: 100% !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    align-items: start !important;
    box-sizing: border-box !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 300px !important;
    max-width: 300px !important;
    min-width: 300px !important;
    float: none !important;
    margin: 0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-content {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    float: none !important;
    margin: 0 !important;
    display: block !important;
    background: #ffffff !important;
    border: 1px solid #e7edf5 !important;
    border-radius: 24px !important;
    padding: 32px !important;
    box-sizing: border-box !important;
    box-shadow: 0 10px 30px rgba(0, 45, 98, 0.06) !important;
}

body.woocommerce-account .woocommerce-MyAccount-content *,
body.woocommerce-account .woocommerce-MyAccount-content p,
body.woocommerce-account .woocommerce-MyAccount-content div,
body.woocommerce-account .woocommerce-MyAccount-content form,
body.woocommerce-account .woocommerce-MyAccount-content section,
body.woocommerce-account .woocommerce-MyAccount-content article {
    max-width: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-content p {
    width: 100% !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    line-height: 1.7 !important;
    color: #475467 !important;
    font-size: 16px !important;
    font-family: "Fira Sans", sans-serif !important;
}

body.woocommerce-account .tatuka-account-nav-card {
    background: #ffffff !important;
    border: 1px solid #e7edf5 !important;
    border-radius: 24px !important;
    padding: 18px !important;
    box-shadow: 0 10px 30px rgba(0, 45, 98, 0.06) !important;
    position: sticky !important;
    top: 110px !important;
}

body.woocommerce-account .tatuka-account-nav-eyebrow {
    display: inline-block !important;
    margin-bottom: 10px !important;
    color: #002d62 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 1.4px !important;
    text-transform: uppercase !important;
    font-family: "Fira Sans", sans-serif !important;
}

body.woocommerce-account .tatuka-account-nav-title {
    color: #101828 !important;
    font-size: 28px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    margin: 0 0 8px 0 !important;
    font-family: "Fira Sans", sans-serif !important;
}

body.woocommerce-account .tatuka-account-nav-subtitle {
    color: #667085 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    font-family: "Fira Sans", sans-serif !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul,
body.woocommerce-account .tatuka-account-menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a,
body.woocommerce-account .woocommerce-MyAccount-navigation a:visited {
    display: block !important;
    width: 100% !important;
    padding: 14px 16px !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
    color: #243244 !important;
    text-decoration: none !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    font-family: "Fira Sans", sans-serif !important;
    line-height: 1.4 !important;
    box-sizing: border-box !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
body.woocommerce-account .woocommerce-MyAccount-navigation a:focus {
    background: #eef4fb !important;
    color: #002d62 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation a[aria-current="page"] {
    background: #002d62 !important;
    color: #ffffff !important;
}

/* Dark mode */
html[data-theme="dark"] body.woocommerce-account .woocommerce-MyAccount-content,
html[data-theme="dark"] body.woocommerce-account .tatuka-account-nav-card {
    background: #111827 !important;
    border-color: #243041 !important;
    box-shadow: none !important;
}

html[data-theme="dark"] body.woocommerce-account .woocommerce-MyAccount-content p,
html[data-theme="dark"] body.woocommerce-account .woocommerce-MyAccount-content li,
html[data-theme="dark"] body.woocommerce-account .tatuka-account-nav-title {
    color: #e5e7eb !important;
}

html[data-theme="dark"] body.woocommerce-account .tatuka-account-nav-subtitle {
    color: #94a3b8 !important;
}

html[data-theme="dark"] body.woocommerce-account .woocommerce-MyAccount-navigation a,
html[data-theme="dark"] body.woocommerce-account .woocommerce-MyAccount-navigation a:visited {
    background: #1f2937 !important;
    color: #e5e7eb !important;
}

html[data-theme="dark"] body.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
html[data-theme="dark"] body.woocommerce-account .woocommerce-MyAccount-navigation a:focus {
    background: #243041 !important;
    color: #ffffff !important;
}

html[data-theme="dark"] body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
html[data-theme="dark"] body.woocommerce-account .woocommerce-MyAccount-navigation a[aria-current="page"] {
    background: #3b82f6 !important;
    color: #ffffff !important;
}

@media (max-width: 768px) {
    body.woocommerce-account .tatuka-account-shell .woocommerce,
    body.woocommerce-account .entry-content > .woocommerce,
    body.woocommerce-account .wp-block-column .woocommerce,
    body.woocommerce-account .woocommerce {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
        padding: 0 16px !important;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    body.woocommerce-account .tatuka-account-nav-card {
        position: static !important;
        border-radius: 20px !important;
    }

    body.woocommerce-account .woocommerce-MyAccount-content {
        padding: 20px !important;
        border-radius: 20px !important;
    }
}
/* ==========================================================================
   TATUKA MY ACCOUNT - MASTER OVERRIDE
   ========================================================================== */

body.woocommerce-account .woocommerce {
    display: grid !important;
    grid-template-columns: 320px minmax(0, 1fr) !important;
    gap: 32px !important;
    align-items: start !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-content {
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    list-style: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li::before,
body.woocommerce-account .woocommerce-MyAccount-navigation li::after {
    content: none !important;
    display: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a,
body.woocommerce-account .woocommerce-MyAccount-navigation a:visited {
    display: block !important;
    width: 100% !important;
    padding: 14px 16px !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
    color: #243244 !important;
    text-decoration: none !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    font-family: "Fira Sans", sans-serif !important;
    line-height: 1.4 !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
body.woocommerce-account .woocommerce-MyAccount-navigation a:focus {
    background: #eef4ff !important;
    color: #002d62 !important;
    border-color: #cbd5e1 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a:visited,
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a:visited,
body.woocommerce-account .woocommerce-MyAccount-navigation a[aria-current="page"] {
    background: #002d62 !important;
    color: #ffffff !important;
    border-color: #002d62 !important;
}

body.woocommerce-account .woocommerce-Address .edit,
body.woocommerce-account .addresses .title .edit,
body.woocommerce-account .woocommerce-account .addresses .title .edit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    float: none !important;
    margin: 8px 0 0 0 !important;
    padding: 10px 14px !important;
    background: #002d62 !important;
    color: #ffffff !important;
    border: 1px solid #002d62 !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

body.woocommerce-account .woocommerce-Address .edit:hover,
body.woocommerce-account .addresses .title .edit:hover,
body.woocommerce-account .woocommerce-account .addresses .title .edit:hover {
    background: #1d2939 !important;
    border-color: #1d2939 !important;
    color: #ffffff !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation br,
body.woocommerce-account .woocommerce-MyAccount-navigation p:empty,
body.woocommerce-account .woocommerce-MyAccount-content br + br,
body.woocommerce-account .woocommerce-MyAccount-content p:empty,
body.woocommerce-account .woocommerce-customer-details p:empty,
body.woocommerce-account address p:empty {
    display: none !important;
}

body.woocommerce-account .woocommerce-customer-details .woocommerce-columns {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px !important;
}

body.woocommerce-account .woocommerce-column--billing-address,
body.woocommerce-account .woocommerce-column--shipping-address {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

body.woocommerce-account .woocommerce-column--billing-address .woocommerce-column__title {
    visibility: hidden !important;
    position: relative !important;
}

body.woocommerce-account .woocommerce-column--billing-address .woocommerce-column__title::after {
    content: "Төлбөрийн хаяг" !important;
    visibility: visible !important;
    position: absolute !important;
    inset: 0 auto auto 0 !important;
    color: #101828 !important;
    font-family: "Fira Sans", sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
}

body.woocommerce-account .woocommerce-column--shipping-address .woocommerce-column__title {
    visibility: hidden !important;
    position: relative !important;
}

body.woocommerce-account .woocommerce-column--shipping-address .woocommerce-column__title::after {
    content: "Хүргэлтийн хаяг" !important;
    visibility: visible !important;
    position: absolute !important;
    inset: 0 auto auto 0 !important;
    color: #101828 !important;
    font-family: "Fira Sans", sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
}

body.woocommerce-account .woocommerce-column address {
    margin-top: 20px !important;
    background: #ffffff !important;
    border: 1px solid #e4e7ec !important;
    border-radius: 14px !important;
    padding: 18px 20px !important;
    color: #475467 !important;
    line-height: 1.7 !important;
    box-shadow: 0 4px 14px rgba(16, 24, 40, 0.04) !important;
}

body.woocommerce-account .woocommerce-MyAccount-content *,
body.woocommerce-account .woocommerce-MyAccount-content p,
body.woocommerce-account .woocommerce-MyAccount-content div,
body.woocommerce-account .woocommerce-MyAccount-content form,
body.woocommerce-account .woocommerce-MyAccount-content section,
body.woocommerce-account .woocommerce-MyAccount-content article {
    max-width: none !important;
}

@media (max-width: 980px) {
    body.woocommerce-account .woocommerce {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    body.woocommerce-account .woocommerce-customer-details .woocommerce-columns {
        grid-template-columns: 1fr !important;
    }
}
/* ==========================================================================
   TATUKA MY ACCOUNT - LOGGED OUT LOGIN / REGISTER FIX
   ========================================================================== */

body.woocommerce-account:not(.logged-in) .woocommerce {
    display: block !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
}

body.woocommerce-account:not(.logged-in) #customer_login {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .u-column1,
body.woocommerce-account:not(.logged-in) #customer_login .u-column2 {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    background: #ffffff !important;
    border: 1px solid #e7edf5 !important;
    border-radius: 24px !important;
    padding: 28px !important;
    box-sizing: border-box !important;
    box-shadow: 0 10px 30px rgba(0, 45, 98, 0.06) !important;
}

body.woocommerce-account:not(.logged-in) #customer_login h2 {
    margin: 0 0 18px 0 !important;
    color: #101828 !important;
    font-size: 26px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    font-family: "Fira Sans", sans-serif !important;
}

body.woocommerce-account:not(.logged-in) #customer_login p,
body.woocommerce-account:not(.logged-in) #customer_login label,
body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-privacy-policy-text,
body.woocommerce-account:not(.logged-in) #customer_login .lost_password,
body.woocommerce-account:not(.logged-in) #customer_login small {
    color: #475467 !important;
    font-family: "Fira Sans", sans-serif !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .form-row {
    margin: 0 0 16px 0 !important;
}

body.woocommerce-account:not(.logged-in) #customer_login label {
    display: block !important;
    margin-bottom: 8px !important;
    font-weight: 700 !important;
}

body.woocommerce-account:not(.logged-in) #customer_login input.input-text,
body.woocommerce-account:not(.logged-in) #customer_login input[type="text"],
body.woocommerce-account:not(.logged-in) #customer_login input[type="email"],
body.woocommerce-account:not(.logged-in) #customer_login input[type="password"] {
    width: 100% !important;
    padding: 14px 16px !important;
    border: 1px solid #d7e0ea !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    color: #0f1724 !important;
    box-sizing: border-box !important;
    font-family: "Fira Sans", sans-serif !important;
    box-shadow: none !important;
}

body.woocommerce-account:not(.logged-in) #customer_login input:focus {
    outline: none !important;
    border-color: #002d62 !important;
    box-shadow: 0 0 0 4px rgba(0, 45, 98, 0.08) !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .password-input {
    display: block !important;
    width: 100% !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .show-password-input {
    right: 14px !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-button,
body.woocommerce-account:not(.logged-in) #customer_login button.button,
body.woocommerce-account:not(.logged-in) #customer_login .button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #002d62 !important;
    color: #ffffff !important;
    border: 1px solid #002d62 !important;
    border-radius: 12px !important;
    padding: 12px 18px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-family: "Fira Sans", sans-serif !important;
    line-height: 1.2 !important;
    box-shadow: none !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-button:hover,
body.woocommerce-account:not(.logged-in) #customer_login button.button:hover,
body.woocommerce-account:not(.logged-in) #customer_login .button:hover {
    background: #0f1724 !important;
    border-color: #0f1724 !important;
    color: #ffffff !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .lost_password a,
body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-privacy-policy-text a {
    color: #002d62 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-login__rememberme {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-login__rememberme input {
    width: auto !important;
    margin: 0 !important;
}

body.woocommerce-account:not(.logged-in) #customer_login br,
body.woocommerce-account:not(.logged-in) #customer_login p:empty {
    display: none !important;
}

/* Dark mode */
html[data-theme="dark"] body.woocommerce-account:not(.logged-in) #customer_login .u-column1,
html[data-theme="dark"] body.woocommerce-account:not(.logged-in) #customer_login .u-column2 {
    background: #111827 !important;
    border-color: #243041 !important;
    box-shadow: none !important;
}

html[data-theme="dark"] body.woocommerce-account:not(.logged-in) #customer_login h2 {
    color: #f3f4f6 !important;
}

html[data-theme="dark"] body.woocommerce-account:not(.logged-in) #customer_login p,
html[data-theme="dark"] body.woocommerce-account:not(.logged-in) #customer_login label,
html[data-theme="dark"] body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-privacy-policy-text,
html[data-theme="dark"] body.woocommerce-account:not(.logged-in) #customer_login .lost_password {
    color: #c8d6ea !important;
}

html[data-theme="dark"] body.woocommerce-account:not(.logged-in) #customer_login input.input-text,
html[data-theme="dark"] body.woocommerce-account:not(.logged-in) #customer_login input[type="text"],
html[data-theme="dark"] body.woocommerce-account:not(.logged-in) #customer_login input[type="email"],
html[data-theme="dark"] body.woocommerce-account:not(.logged-in) #customer_login input[type="password"] {
    background: #162338 !important;
    color: #ffffff !important;
    border-color: rgba(148, 163, 184, 0.22) !important;
}

html[data-theme="dark"] body.woocommerce-account:not(.logged-in) #customer_login .lost_password a,
html[data-theme="dark"] body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-privacy-policy-text a {
    color: #8fc2ff !important;
}

/* Mobile */
@media (max-width: 768px) {
    body.woocommerce-account:not(.logged-in) .woocommerce {
        padding: 0 16px !important;
    }

    body.woocommerce-account:not(.logged-in) #customer_login {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    body.woocommerce-account:not(.logged-in) #customer_login .u-column1,
    body.woocommerce-account:not(.logged-in) #customer_login .u-column2 {
        padding: 20px !important;
        border-radius: 20px !important;
    }

    body.woocommerce-account:not(.logged-in) #customer_login h2 {
        font-size: 22px !important;
    }
}
/* ==========================================================================
   TATUKA ORDER RECEIVED / THANK YOU PAGE
   ========================================================================== */

body.woocommerce-order-received main.wp-block-group.is-layout-constrained,
body.woocommerce-order-received #primary,
body.woocommerce-order-received .entry-content {
    max-width: 100% !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-status,
body.woocommerce-order-received .wc-block-order-confirmation-summary,
body.woocommerce-order-received .wc-block-order-confirmation-totals-wrapper,
body.woocommerce-order-received .wc-block-order-confirmation-billing-wrapper,
body.woocommerce-order-received .wc-block-order-confirmation-additional-information {
    max-width: 1240px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-status,
body.woocommerce-order-received .wc-block-order-confirmation-summary,
body.woocommerce-order-received .wc-block-order-confirmation-totals-wrapper,
body.woocommerce-order-received .wc-block-order-confirmation-billing-wrapper,
body.woocommerce-order-received .wc-block-order-confirmation-additional-information,
body.woocommerce-order-received .wc-block-order-confirmation-totals__table,
body.woocommerce-order-received .woocommerce-bacs-bank-details {
    font-family: "Fira Sans", sans-serif !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-status {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
    border: 1px solid #e7edf5 !important;
    border-radius: 28px !important;
    padding: 34px 36px !important;
    box-shadow: 0 14px 34px rgba(0, 45, 98, 0.06) !important;
    margin-top: 24px !important;
    margin-bottom: 22px !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-status h1 {
    margin: 0 0 10px 0 !important;
    color: #0f1724 !important;
    font-size: 34px !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    letter-spacing: -0.4px !important;
    font-family: "Fira Sans", sans-serif !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-status p {
    margin: 0 !important;
    color: #667085 !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    max-width: 60ch !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-summary {
    background: #ffffff !important;
    border: 1px solid #e7edf5 !important;
    border-radius: 24px !important;
    padding: 12px !important;
    box-shadow: 0 10px 28px rgba(0, 45, 98, 0.05) !important;
    margin-bottom: 24px !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-summary-list {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 12px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-summary-list-item {
    background: #f8fbff !important;
    border: 1px solid #edf2f7 !important;
    border-radius: 18px !important;
    padding: 16px 18px !important;
    margin: 0 !important;
    min-width: 0 !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-summary-list-item__key {
    display: block !important;
    margin-bottom: 6px !important;
    color: #667085 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.4px !important;
    text-transform: uppercase !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-summary-list-item__value {
    display: block !important;
    color: #101828 !important;
    font-size: 18px !important;
    line-height: 1.45 !important;
    font-weight: 800 !important;
    overflow-wrap: anywhere !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-totals-wrapper,
body.woocommerce-order-received .wc-block-order-confirmation-billing-wrapper,
body.woocommerce-order-received .wc-block-order-confirmation-additional-information {
    background: #ffffff !important;
    border: 1px solid #e7edf5 !important;
    border-radius: 24px !important;
    padding: 28px 30px !important;
    box-shadow: 0 10px 30px rgba(0, 45, 98, 0.05) !important;
    margin-bottom: 24px !important;
}

body.woocommerce-order-received .wp-block-heading,
body.woocommerce-order-received .wc-bacs-bank-details-heading,
body.woocommerce-order-received .wc-block-order-confirmation-billing-wrapper h2 {
    margin: 0 0 18px 0 !important;
    color: #101828 !important;
    font-size: 26px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    font-family: "Fira Sans", sans-serif !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-totals__table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid #e7edf5 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    background: #ffffff !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-totals__table thead th {
    background: #f8fbff !important;
    color: #0f1724 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    border-bottom: 1px solid #e7edf5 !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-totals__table th,
body.woocommerce-order-received .wc-block-order-confirmation-totals__table td {
    padding: 16px 18px !important;
    text-align: left !important;
    color: #475467 !important;
    border-bottom: 1px solid #eef2f6 !important;
    vertical-align: middle !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-totals__table tfoot th,
body.woocommerce-order-received .wc-block-order-confirmation-totals__table tfoot td {
    font-weight: 800 !important;
    color: #101828 !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-totals__product a {
    color: #002d62 !important;
    text-decoration: none !important;
    font-weight: 700 !important;
}

body.woocommerce-order-received .product-quantity {
    color: #667085 !important;
    font-weight: 700 !important;
}

/* QPay / Bank switch card */
body.woocommerce-order-received .tatuka-native-switch-box {
    margin-top: 22px !important;
    background: linear-gradient(180deg, #f8fbff 0%, #f2f7fd 100%) !important;
    border: 1px solid #dce8f6 !important;
    border-radius: 20px !important;
    padding: 22px 22px !important;
    box-shadow: none !important;
    text-align: center !important;
}

body.woocommerce-order-received .tatuka-native-switch-box h4 {
    font-size: 22px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    color: #002d62 !important;
    margin: 0 0 10px 0 !important;
    font-family: "Fira Sans", sans-serif !important;
    text-align: center !important;
}

body.woocommerce-order-received .tatuka-native-switch-box p {
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #475467 !important;
    margin: 0 auto 16px auto !important;
    max-width: 60ch !important;
    text-align: center !important;
}

body.woocommerce-order-received .tatuka-switch-qpay p,
body.woocommerce-order-received .tatuka-switch-bacs p,
body.woocommerce-order-received .tatuka-switch-qpay div,
body.woocommerce-order-received .tatuka-switch-bacs div {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.woocommerce-order-received .tatuka-native-switch-box a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #002d62 !important;
    color: #ffffff !important;
    border: 1px solid #002d62 !important;
    border-radius: 12px !important;
    padding: 13px 22px !important;
    text-decoration: none !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    box-shadow: 0 8px 20px rgba(0, 45, 98, 0.16) !important;
    margin: 0 auto !important;
}

body.woocommerce-order-received .tatuka-native-switch-box a:hover {
    background: #0f1724 !important;
    border-color: #0f1724 !important;
    color: #ffffff !important;
}

/* Keep only one address/info card */
body.woocommerce-order-received .wc-block-order-confirmation-address-wrapper {
    display: block !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-address-wrapper > .wp-block-column:first-child,
body.woocommerce-order-received .wc-block-order-confirmation-shipping-wrapper,
body.woocommerce-order-received .wc-block-order-confirmation-shipping-address {
    display: none !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-address-wrapper > .wp-block-column:last-child {
    display: block !important;
    width: 100% !important;
    flex-basis: 100% !important;
    max-width: 100% !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-billing-wrapper {
    max-width: 1240px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-billing-address address {
    margin: 0 !important;
    background: #f8fbff !important;
    border: 1px solid #e7edf5 !important;
    border-radius: 18px !important;
    padding: 18px 20px !important;
    color: #475467 !important;
    line-height: 1.8 !important;
    font-style: normal !important;
}

/* Hide raw Woo phone line, keep only custom Tatuka formatted phone */
body.woocommerce-order-received .wc-block-order-confirmation-billing-address .woocommerce-customer-details--phone {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
}

/* Keep only the custom formatted phone visible */
body.woocommerce-order-received .wc-block-order-confirmation-billing-address .tatuka-formatted-phone {
    display: block !important;
    margin-top: 15px !important;
    padding-top: 10px !important;
    border-top: 1px dashed #e2e8f0 !important;
    font-weight: 700 !important;
    color: #002d62 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    text-align: left !important;
    width: 100% !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-billing-address .tatuka-formatted-phone span {
    color: #2d3748 !important;
    font-weight: 400 !important;
    margin-left: 5px !important;
}

/* Hide any custom duplicate injected phone block if it still exists in shipping */
body.woocommerce-order-received .wc-block-order-confirmation-shipping-address .tatuka-formatted-phone,
body.woocommerce-order-received .wc-block-order-confirmation-shipping-wrapper .tatuka-formatted-phone {
    display: none !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-additional-information > p:first-of-type {
    margin: 0 0 18px 0 !important;
    background: #fff7ed !important;
    border: 1px solid #fed7aa !important;
    border-radius: 18px !important;
    padding: 18px 20px !important;
    color: #9a3412 !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    font-weight: 700 !important;
}

body.woocommerce-order-received .woocommerce-bacs-bank-details {
    margin-top: 14px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
    border: 1px solid #dbe7f5 !important;
    border-radius: 22px !important;
    padding: 24px !important;
}

body.woocommerce-order-received .woocommerce-bacs-bank-details .wc-bacs-bank-details-account-name {
    margin: 0 0 14px 0 !important;
    color: #002d62 !important;
    font-size: 20px !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
    font-family: "Fira Sans", sans-serif !important;
}

body.woocommerce-order-received .bacs_details {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid !important;
    gap: 12px !important;
}

body.woocommerce-order-received .bacs_details li {
    margin: 0 !important;
    padding: 14px 16px !important;
    background: #ffffff !important;
    border: 1px solid #e7edf5 !important;
    border-radius: 16px !important;
    color: #475467 !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
}

body.woocommerce-order-received .bacs_details li strong {
    display: block !important;
    margin-top: 4px !important;
    color: #101828 !important;
    font-size: 18px !important;
    line-height: 1.45 !important;
    font-weight: 800 !important;
    letter-spacing: 0.2px !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-additional-information a,
body.woocommerce-order-received .wc-block-order-confirmation-billing-wrapper a {
    color: #002d62 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* Dark mode */
html[data-theme="dark"] body.woocommerce-order-received .wc-block-order-confirmation-status,
html[data-theme="dark"] body.woocommerce-order-received .wc-block-order-confirmation-summary,
html[data-theme="dark"] body.woocommerce-order-received .wc-block-order-confirmation-totals-wrapper,
html[data-theme="dark"] body.woocommerce-order-received .wc-block-order-confirmation-billing-wrapper,
html[data-theme="dark"] body.woocommerce-order-received .wc-block-order-confirmation-additional-information,
html[data-theme="dark"] body.woocommerce-order-received .woocommerce-bacs-bank-details {
    background: #111827 !important;
    border-color: #243041 !important;
    box-shadow: none !important;
}

html[data-theme="dark"] body.woocommerce-order-received .wc-block-order-confirmation-status {
    background: linear-gradient(180deg, rgba(17,24,39,1) 0%, rgba(22,35,56,1) 100%) !important;
}

html[data-theme="dark"] body.woocommerce-order-received .wc-block-order-confirmation-status h1,
html[data-theme="dark"] body.woocommerce-order-received .wp-block-heading,
html[data-theme="dark"] body.woocommerce-order-received .wc-bacs-bank-details-heading,
html[data-theme="dark"] body.woocommerce-order-received .wc-bacs-bank-details-account-name,
html[data-theme="dark"] body.woocommerce-order-received .wc-block-order-confirmation-summary-list-item__value,
html[data-theme="dark"] body.woocommerce-order-received .wc-block-order-confirmation-totals__table tfoot th,
html[data-theme="dark"] body.woocommerce-order-received .wc-block-order-confirmation-totals__table tfoot td,
html[data-theme="dark"] body.woocommerce-order-received .bacs_details li strong {
    color: #f3f4f6 !important;
}

html[data-theme="dark"] body.woocommerce-order-received .wc-block-order-confirmation-status p,
html[data-theme="dark"] body.woocommerce-order-received .wc-block-order-confirmation-summary-list-item__key,
html[data-theme="dark"] body.woocommerce-order-received .wc-block-order-confirmation-totals__table th,
html[data-theme="dark"] body.woocommerce-order-received .wc-block-order-confirmation-totals__table td,
html[data-theme="dark"] body.woocommerce-order-received .wc-block-order-confirmation-billing-address address,
html[data-theme="dark"] body.woocommerce-order-received .bacs_details li,
html[data-theme="dark"] body.woocommerce-order-received .tatuka-native-switch-box p {
    color: #c8d6ea !important;
}

html[data-theme="dark"] body.woocommerce-order-received .wc-block-order-confirmation-summary-list-item,
html[data-theme="dark"] body.woocommerce-order-received .wc-block-order-confirmation-totals__table,
html[data-theme="dark"] body.woocommerce-order-received .wc-block-order-confirmation-totals__table thead th,
html[data-theme="dark"] body.woocommerce-order-received .wc-block-order-confirmation-billing-address address,
html[data-theme="dark"] body.woocommerce-order-received .bacs_details li,
html[data-theme="dark"] body.woocommerce-order-received .tatuka-native-switch-box {
    background: #162338 !important;
    border-color: #243041 !important;
}

html[data-theme="dark"] body.woocommerce-order-received .wc-block-order-confirmation-additional-information > p:first-of-type {
    background: rgba(146, 64, 14, 0.18) !important;
    border-color: rgba(251, 191, 36, 0.26) !important;
    color: #fed7aa !important;
}

html[data-theme="dark"] body.woocommerce-order-received .tatuka-native-switch-box h4,
html[data-theme="dark"] body.woocommerce-order-received .wc-block-order-confirmation-totals__product a,
html[data-theme="dark"] body.woocommerce-order-received .wc-block-order-confirmation-additional-information a,
html[data-theme="dark"] body.woocommerce-order-received .wc-block-order-confirmation-billing-wrapper a,
html[data-theme="dark"] body.woocommerce-order-received .wc-block-order-confirmation-billing-address .tatuka-formatted-phone {
    color: #8fc2ff !important;
}

html[data-theme="dark"] body.woocommerce-order-received .wc-block-order-confirmation-billing-address .tatuka-formatted-phone span {
    color: #dbeafe !important;
}

/* Tablet */
@media (max-width: 1100px) {
    body.woocommerce-order-received .wc-block-order-confirmation-summary-list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    body.woocommerce-order-received .wc-block-order-confirmation-status,
    body.woocommerce-order-received .wc-block-order-confirmation-summary,
    body.woocommerce-order-received .wc-block-order-confirmation-totals-wrapper,
    body.woocommerce-order-received .wc-block-order-confirmation-billing-wrapper,
    body.woocommerce-order-received .wc-block-order-confirmation-additional-information {
        padding: 20px !important;
        border-radius: 20px !important;
        margin-bottom: 18px !important;
    }

    body.woocommerce-order-received .wc-block-order-confirmation-status h1 {
        font-size: 28px !important;
    }

    body.woocommerce-order-received .wc-block-order-confirmation-status p,
    body.woocommerce-order-received .wc-block-order-confirmation-additional-information > p:first-of-type,
    body.woocommerce-order-received .tatuka-native-switch-box p,
    body.woocommerce-order-received .bacs_details li,
    body.woocommerce-order-received .wc-block-order-confirmation-totals__table th,
    body.woocommerce-order-received .wc-block-order-confirmation-totals__table td,
    body.woocommerce-order-received .wc-block-order-confirmation-billing-address .tatuka-formatted-phone {
        font-size: 14px !important;
    }

    body.woocommerce-order-received .wc-block-order-confirmation-summary-list {
        grid-template-columns: 1fr !important;
    }

    body.woocommerce-order-received .wc-block-order-confirmation-summary-list-item__value,
    body.woocommerce-order-received .bacs_details li strong {
        font-size: 17px !important;
    }

    body.woocommerce-order-received .wp-block-heading,
    body.woocommerce-order-received .wc-bacs-bank-details-heading,
    body.woocommerce-order-received .wc-block-order-confirmation-billing-wrapper h2,
    body.woocommerce-order-received .tatuka-native-switch-box h4 {
        font-size: 22px !important;
    }

    body.woocommerce-order-received .wc-block-order-confirmation-totals__table {
        display: block !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
    }

    body.woocommerce-order-received .woocommerce-bacs-bank-details {
        padding: 18px !important;
        border-radius: 18px !important;
    }
}
/* =========================================================
   TATUKA Checkout page only
   Clean single-column layout for all devices
   Works with classic WooCommerce checkout
   ========================================================= */

:root {
  --tatuka-surface: #ffffff;
  --tatuka-surface-soft: #f8fafc;
  --tatuka-surface-muted: #f2f4f7;
  --tatuka-border: #e4e7ec;
  --tatuka-border-strong: #d0d5dd;
  --tatuka-text: #101828;
  --tatuka-text-soft: #344054;
  --tatuka-text-muted: #475467;
  --tatuka-primary: #002d62;
  --tatuka-primary-hover: #1d2939;
  --tatuka-danger: #d92d20;
  --tatuka-shadow: 0 10px 28px rgba(16, 24, 40, 0.06);
}

html[data-theme="dark"] {
  --tatuka-surface: rgba(8, 12, 35, 0.92);
  --tatuka-surface-soft: rgba(20, 30, 70, 0.74);
  --tatuka-surface-muted: rgba(20, 30, 70, 0.82);
  --tatuka-border: rgba(126, 184, 255, 0.18);
  --tatuka-border-strong: rgba(126, 184, 255, 0.24);
  --tatuka-text: rgba(220, 230, 255, 0.96);
  --tatuka-text-soft: rgba(210, 222, 246, 0.9);
  --tatuka-text-muted: rgba(180, 196, 228, 0.82);
  --tatuka-primary: #7eb8ff;
  --tatuka-primary-hover: #a9ccff;
  --tatuka-danger: #ff8f87;
}

.woocommerce-checkout .woocommerce {
  color: var(--tatuka-text) !important;
}

.woocommerce-checkout form.checkout.woocommerce-checkout {
  display: block !important;
  max-width: 760px !important;
  margin: 28px auto 56px !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;
  color: var(--tatuka-text) !important;
}

.woocommerce-checkout .woocommerce-NoticeGroup,
.woocommerce-checkout .woocommerce-NoticeGroup-checkout,
.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-message {
  width: 100% !important;
  margin-bottom: 18px !important;
}

.woocommerce-checkout #customer_details,
.woocommerce-checkout .tatuka-order-review-column {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  float: none !important;
}

.woocommerce-checkout .col2-set {
  width: 100% !important;
  margin: 0 !important;
  display: block !important;
  float: none !important;
}

.woocommerce-checkout .col2-set::before,
.woocommerce-checkout .col2-set::after,
.woocommerce-checkout form.checkout.woocommerce-checkout::before,
.woocommerce-checkout form.checkout.woocommerce-checkout::after {
  content: "" !important;
  display: table !important;
  clear: both !important;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields,
.woocommerce-checkout #order_review {
  padding: 22px !important;
  background: var(--tatuka-surface) !important;
  border: 1px solid var(--tatuka-border) !important;
  border-radius: 18px !important;
  box-shadow: var(--tatuka-shadow) !important;
  box-sizing: border-box !important;
}

.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields,
.woocommerce-checkout .tatuka-order-review-column {
  margin-bottom: 18px !important;
}

.woocommerce-checkout #order_review_heading {
  display: block !important;
  width: 100% !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  float: none !important;
  clear: both !important;
  color: var(--tatuka-text) !important;
  font-size: 22px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
}

.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3 {
  margin: 0 0 14px !important;
  padding: 0 !important;
  color: var(--tatuka-text) !important;
  font-size: 22px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
}

.woocommerce-checkout #order_review {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  clear: none !important;
}

.woocommerce-checkout .form-row {
  margin: 0 0 12px !important;
}

.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last,
.woocommerce-checkout .form-row-wide {
  width: 100% !important;
  float: none !important;
}

.woocommerce-checkout .woocommerce-input-wrapper {
  display: block !important;
  width: 100% !important;
}

.woocommerce-checkout label,
.woocommerce-checkout .required_field,
.woocommerce-checkout .woocommerce-form__label,
.woocommerce-checkout .woocommerce-terms-and-conditions-checkbox-text,
.woocommerce-checkout .woocommerce-privacy-policy-text,
.woocommerce-checkout .woocommerce-privacy-policy-text p,
.woocommerce-checkout .woocommerce-privacy-policy-text a {
  color: var(--tatuka-text-soft) !important;
}

.woocommerce-checkout .required,
.woocommerce-checkout abbr.required {
  color: var(--tatuka-danger) !important;
  text-decoration: none !important;
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea,
.woocommerce-checkout select,
.woocommerce-checkout .password-input input {
  width: 100% !important;
  min-height: 46px !important;
  border: 1px solid var(--tatuka-border-strong) !important;
  border-radius: 12px !important;
  padding: 10px 14px !important;
  background: var(--tatuka-surface) !important;
  color: var(--tatuka-text) !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

.woocommerce-checkout textarea {
  min-height: 112px !important;
  resize: vertical !important;
}

.woocommerce-checkout input::placeholder,
.woocommerce-checkout textarea::placeholder {
  color: var(--tatuka-text-muted) !important;
}

.woocommerce-checkout input:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus {
  outline: none !important;
  border-color: var(--tatuka-primary) !important;
  box-shadow: 0 0 0 3px rgba(0, 45, 98, 0.12) !important;
}

html[data-theme="dark"] .woocommerce-checkout input:focus,
html[data-theme="dark"] .woocommerce-checkout textarea:focus,
html[data-theme="dark"] .woocommerce-checkout select:focus {
  box-shadow: 0 0 0 3px rgba(126, 184, 255, 0.18) !important;
}

.woocommerce-checkout .tatuka-readonly-city,
.woocommerce-checkout input[readonly] {
  background: var(--tatuka-surface-soft) !important;
  color: var(--tatuka-text-muted) !important;
  cursor: not-allowed !important;
}

.woocommerce-checkout table.shop_table,
.woocommerce-checkout .shop_table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 0 !important;
  background: transparent !important;
}

.woocommerce-checkout table.shop_table th,
.woocommerce-checkout table.shop_table td,
.woocommerce-checkout .shop_table th,
.woocommerce-checkout .shop_table td {
  padding: 12px 0 !important;
  border-bottom: 1px solid var(--tatuka-border) !important;
  vertical-align: top !important;
  color: var(--tatuka-text) !important;
}

.woocommerce-checkout table.shop_table th,
.woocommerce-checkout .shop_table th {
  font-weight: 700 !important;
  text-align: left !important;
}

.woocommerce-checkout .product-name {
  color: var(--tatuka-text) !important;
  word-break: break-word !important;
}

.woocommerce-checkout .product-total,
.woocommerce-checkout table.shop_table td:last-child {
  text-align: right !important;
  white-space: nowrap !important;
}

.woocommerce-checkout .tatuka-checkout-qty-wrapper {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 10px !important;
  flex-wrap: wrap !important;
}

.woocommerce-checkout .tatuka-checkout-qty-wrapper .quantity {
  display: inline-flex !important;
  align-items: stretch !important;
  min-height: 42px !important;
  border: 1px solid var(--tatuka-border-strong) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: var(--tatuka-surface) !important;
  margin: 0 !important;
}

.woocommerce-checkout .tatuka-checkout-qty-wrapper .qty {
  width: 72px !important;
  min-width: 72px !important;
  min-height: 42px !important;
  height: 42px !important;
  border: 0 !important;
  background: transparent !important;
  text-align: center !important;
  color: var(--tatuka-text) !important;
  box-shadow: none !important;
  padding: 0 8px !important;
}

.woocommerce-checkout .tatuka-checkout-remove-item {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: var(--tatuka-danger) !important;
  font-size: 26px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  padding: 0 !important;
}

.woocommerce-checkout .tatuka-checkout-remove-item:hover {
  background: var(--tatuka-surface-soft) !important;
}

.woocommerce-checkout #shipping_method,
.woocommerce-checkout .woocommerce-shipping-methods,
.woocommerce-checkout .wc_payment_methods {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.woocommerce-checkout #shipping_method li,
.woocommerce-checkout .woocommerce-shipping-methods li,
.woocommerce-checkout .wc_payment_methods li {
  padding: 10px 0 !important;
  border-bottom: 1px solid var(--tatuka-border) !important;
  color: var(--tatuka-text) !important;
}

.woocommerce-checkout #shipping_method li:last-child,
.woocommerce-checkout .woocommerce-shipping-methods li:last-child,
.woocommerce-checkout .wc_payment_methods li:last-child {
  border-bottom: 0 !important;
}

.woocommerce-checkout #shipping_method input[type="radio"],
.woocommerce-checkout .wc_payment_methods input[type="radio"],
.woocommerce-checkout #terms {
  margin-right: 8px !important;
}

.woocommerce-checkout #payment {
  background: transparent !important;
  border: 0 !important;
  margin-top: 16px !important;
  padding: 0 !important;
  color: var(--tatuka-text) !important;
}

.woocommerce-checkout #payment .payment_box {
  background: var(--tatuka-surface-soft) !important;
  border: 1px solid var(--tatuka-border) !important;
  border-radius: 12px !important;
  color: var(--tatuka-text-soft) !important;
  margin-top: 10px !important;
  padding: 14px 16px !important;
}

.woocommerce-checkout .payment_methods.methods li label {
  color: var(--tatuka-text) !important;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
  margin-top: 16px !important;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .form-row {
  margin-bottom: 0 !important;
}

.woocommerce-checkout .place-order {
  margin-top: 16px !important;
}

.woocommerce-checkout #place_order,
.woocommerce-checkout button.button.alt,
.woocommerce-checkout .wp-element-button {
  width: 100% !important;
  min-height: 52px !important;
  border-radius: 14px !important;
  background: var(--tatuka-primary) !important;
  color: #ffffff !important;
  border: 0 !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

html[data-theme="dark"] .woocommerce-checkout #place_order,
html[data-theme="dark"] .woocommerce-checkout button.button.alt,
html[data-theme="dark"] .woocommerce-checkout .wp-element-button {
  color: #081223 !important;
}

.woocommerce-checkout #place_order:hover,
.woocommerce-checkout button.button.alt:hover,
.woocommerce-checkout .wp-element-button:hover {
  background: var(--tatuka-primary-hover) !important;
}

@media (max-width: 767px) {
  .woocommerce-checkout form.checkout.woocommerce-checkout {
    margin: 20px auto 40px !important;
    padding: 0 12px !important;
  }

  .woocommerce-checkout .woocommerce-billing-fields,
  .woocommerce-checkout .woocommerce-shipping-fields,
  .woocommerce-checkout .woocommerce-additional-fields,
  .woocommerce-checkout #order_review {
    padding: 18px !important;
    border-radius: 14px !important;
  }

  .woocommerce-checkout #order_review_heading,
  .woocommerce-checkout .woocommerce-billing-fields h3,
  .woocommerce-checkout .woocommerce-shipping-fields h3,
  .woocommerce-checkout .woocommerce-additional-fields h3 {
    font-size: 20px !important;
  }
}
/* ==========================================================================
   TATUKA MY ACCOUNT - ORDERS + ADDRESS FINAL FIX
   ========================================================================== */

/* Orders table readability */
body.woocommerce-account .woocommerce table.woocommerce-orders-table,
body.woocommerce-account .woocommerce table.shop_table,
body.woocommerce-account .woocommerce table.my_account_orders {
    table-layout: auto !important;
}

body.woocommerce-account .woocommerce table.shop_table thead th,
body.woocommerce-account .woocommerce table.my_account_orders thead th,
body.woocommerce-account .woocommerce table.woocommerce-orders-table thead th {
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
}

body.woocommerce-account .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__header-order-number,
body.woocommerce-account .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-number {
    min-width: 132px !important;
}

body.woocommerce-account .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__header-order-actions,
body.woocommerce-account .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions {
    min-width: 110px !important;
}

body.woocommerce-account .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-number p,
body.woocommerce-account .woocommerce table.woocommerce-orders-table td p,
body.woocommerce-account .woocommerce table.woocommerce-orders-table th p {
    margin: 0 !important;
}

body.woocommerce-account .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-number br {
    display: none !important;
}

body.woocommerce-account .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-number a {
    display: inline-block !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
    color: #002d62 !important;
    text-decoration: none !important;
}

body.woocommerce-account .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-number a:hover {
    text-decoration: underline !important;
}

/* View order address block - light mode consistency */
body.woocommerce-account .woocommerce-column address,
body.woocommerce-account .woocommerce-Address address,
body.woocommerce-account .woocommerce-customer-details address {
    background: #ffffff !important;
    border: 1px solid #e4e7ec !important;
    border-radius: 14px !important;
    padding: 18px 20px !important;
    color: #475467 !important;
    line-height: 1.7 !important;
    box-shadow: 0 4px 14px rgba(16, 24, 40, 0.04) !important;
}

body.woocommerce-account .woocommerce-column address *,
body.woocommerce-account .woocommerce-Address address *,
body.woocommerce-account .woocommerce-customer-details address *,
body.woocommerce-account .woocommerce-column address p,
body.woocommerce-account .woocommerce-Address address p,
body.woocommerce-account .woocommerce-customer-details address p,
body.woocommerce-account .woocommerce-column address span,
body.woocommerce-account .woocommerce-Address address span,
body.woocommerce-account .woocommerce-customer-details address span {
    color: inherit !important;
}

/* Dark mode address fix */
html[data-theme="dark"] body.woocommerce-account .woocommerce-column address,
html[data-theme="dark"] body.woocommerce-account .woocommerce-Address address,
html[data-theme="dark"] body.woocommerce-account .woocommerce-customer-details address {
    background: #162338 !important;
    border-color: rgba(148, 163, 184, 0.16) !important;
    color: #c8d6ea !important;
    box-shadow: none !important;
}

html[data-theme="dark"] body.woocommerce-account .woocommerce-column address *,
html[data-theme="dark"] body.woocommerce-account .woocommerce-Address address *,
html[data-theme="dark"] body.woocommerce-account .woocommerce-customer-details address *,
html[data-theme="dark"] body.woocommerce-account .woocommerce-column address p,
html[data-theme="dark"] body.woocommerce-account .woocommerce-Address address p,
html[data-theme="dark"] body.woocommerce-account .woocommerce-customer-details address p,
html[data-theme="dark"] body.woocommerce-account .woocommerce-column address span,
html[data-theme="dark"] body.woocommerce-account .woocommerce-Address address span,
html[data-theme="dark"] body.woocommerce-account .woocommerce-customer-details address span {
    color: #c8d6ea !important;
}

html[data-theme="dark"] body.woocommerce-account .woocommerce-column address a,
html[data-theme="dark"] body.woocommerce-account .woocommerce-Address address a,
html[data-theme="dark"] body.woocommerce-account .woocommerce-customer-details address a,
html[data-theme="dark"] body.woocommerce-account .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-number a {
    color: #8fc2ff !important;
}

html[data-theme="dark"] body.woocommerce-account .woocommerce-column__title,
html[data-theme="dark"] body.woocommerce-account .woocommerce-column__title::after {
    color: #ffffff !important;
}

/* Mobile orders cleanup */
@media (max-width: 768px) {
    body.woocommerce-account .woocommerce table.woocommerce-orders-table,
    body.woocommerce-account .woocommerce table.shop_table,
    body.woocommerce-account .woocommerce table.my_account_orders {
        display: table !important;
        width: 100% !important;
        white-space: normal !important;
    }

    body.woocommerce-account .woocommerce table.shop_table thead th,
    body.woocommerce-account .woocommerce table.my_account_orders thead th,
    body.woocommerce-account .woocommerce table.woocommerce-orders-table thead th {
        font-size: 14px !important;
        white-space: normal !important;
    }

    body.woocommerce-account .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__header-order-number,
    body.woocommerce-account .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-number,
    body.woocommerce-account .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__header-order-actions,
    body.woocommerce-account .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions {
        min-width: 0 !important;
    }
}
/* ==========================================================================
   TATUKA MY ACCOUNT - ADDRESS TEXT DECLUTTER FIX
   ========================================================================== */

body.woocommerce-account .woocommerce-column address,
body.woocommerce-account .woocommerce-Address address,
body.woocommerce-account .woocommerce-customer-details address {
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    font-style: normal !important;
    line-height: 1.8 !important;
}

body.woocommerce-account .woocommerce-column address br,
body.woocommerce-account .woocommerce-Address address br,
body.woocommerce-account .woocommerce-customer-details address br {
    display: block !important;
    content: "" !important;
    margin: 0 0 4px 0 !important;
}

body.woocommerce-account .woocommerce-column address p,
body.woocommerce-account .woocommerce-Address address p,
body.woocommerce-account .woocommerce-customer-details address p {
    margin: 6px 0 0 0 !important;
    padding: 0 !important;
    line-height: 1.7 !important;
}

body.woocommerce-account .woocommerce-column address p:empty,
body.woocommerce-account .woocommerce-Address address p:empty,
body.woocommerce-account .woocommerce-customer-details address p:empty {
    display: none !important;
}

body.woocommerce-account .woocommerce-column address .woocommerce-customer-details--phone,
body.woocommerce-account .woocommerce-Address address .woocommerce-customer-details--phone,
body.woocommerce-account .woocommerce-customer-details address .woocommerce-customer-details--phone {
    margin-top: 10px !important;
    padding-top: 10px !important;
    border-top: 1px solid #e7edf5 !important;
    font-weight: 700 !important;
}

html[data-theme="dark"] body.woocommerce-account .woocommerce-column address .woocommerce-customer-details--phone,
html[data-theme="dark"] body.woocommerce-account .woocommerce-Address address .woocommerce-customer-details--phone,
html[data-theme="dark"] body.woocommerce-account .woocommerce-customer-details address .woocommerce-customer-details--phone {
    border-top-color: rgba(148, 163, 184, 0.16) !important;
}
/* =========================================================
   TATUKA WOOCOMMERCE GALLERY
   ========================================================= */

/* Shop / archive products */
.wc-block-product .wc-block-components-product-image,
.woocommerce ul.products li.product .wc-block-components-product-image,
.woocommerce ul.products li.product .woocommerce-loop-product__link {
	display: block;
	overflow: hidden;
	border-radius: 16px;
}

.wc-block-product .wc-block-components-product-image img,
.woocommerce ul.products li.product .wc-block-components-product-image img,
.woocommerce ul.products li.product a img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	object-position: center;
	border-radius: 16px;
	transition: transform 220ms ease;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}

.wc-block-product .wc-block-components-product-image:hover img,
.woocommerce ul.products li.product a:hover img {
	transform: scale(1.02);
}

/* Single product gallery */
.single-product .woocommerce-product-gallery {
	position: relative;
}

.single-product .woocommerce-product-gallery .flex-viewport {
	height: auto !important;
	min-height: 420px;
	max-height: none;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 20px;
	background: #f3f4f6;
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.single-product .woocommerce-product-gallery__wrapper {
	display: flex !important;
	align-items: stretch;
	width: 100% !important;
}

.single-product .woocommerce-product-gallery__image {
	width: 100% !important;
	height: 100% !important;
	margin-right: 0 !important;
	flex-shrink: 0;
	overflow: hidden;
	position: relative;
	border-radius: 20px;
	background: #f3f4f6;
	display: flex !important;
	align-items: center;
	justify-content: center;
}

.single-product .woocommerce-product-gallery__image > a {
	display: block;
	width: 100%;
	height: 100%;
	cursor: zoom-in;
}

.single-product .woocommerce-product-gallery__image > a > img {
	width: 100% !important;
	height: 100% !important;
	object-fit: contain;
	object-position: center center;
	display: block;
	border-radius: 20px;
	transform: none !important;
	transition: transform 220ms ease;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	background: transparent;
}

.single-product .woocommerce-product-gallery__image:hover > a > img {
	transform: scale(1.01);
}

.single-product .woocommerce-product-gallery img.zoomImg {
	display: none !important;
}

.single-product .woocommerce-product-gallery__trigger {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	z-index: 5;
	text-decoration: none !important;
	opacity: 0 !important;
	cursor: zoom-in;
}

.single-product .woocommerce-product-gallery__trigger img.emoji {
	display: none !important;
}

/* Thumbnails */
.single-product .flex-control-thumbs {
	display: flex !important;
	gap: 10px;
	margin: 14px 0 0 !important;
	padding: 0 !important;
	list-style: none !important;
	flex-wrap: wrap;
}

.single-product .flex-control-thumbs li {
	width: 78px;
	height: 78px;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid rgba(15, 23, 42, 0.08);
	background: #ffffff;
	transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.single-product .flex-control-thumbs li:hover {
	transform: translateY(-2px);
	border-color: rgba(29, 78, 216, 0.28);
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.single-product .flex-control-thumbs li img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	object-position: center;
	display: block;
	opacity: 1 !important;
}

.single-product .flex-control-thumbs li img.flex-active {
	outline: 2px solid #1d4ed8;
	outline-offset: -2px;
}

/* Desktop width */
@media (min-width: 782px) {
	.single-product .wp-block-woocommerce-product-image-gallery,
	.single-product .woocommerce-product-gallery {
		max-width: 560px;
	}
}

/* Tablet / mobile */
@media (max-width: 781px) {
	.wc-block-product .wc-block-components-product-image,
	.woocommerce ul.products li.product .wc-block-components-product-image,
	.woocommerce ul.products li.product .woocommerce-loop-product__link,
	.wc-block-product .wc-block-components-product-image img,
	.woocommerce ul.products li.product .wc-block-components-product-image img,
	.woocommerce ul.products li.product a img {
		border-radius: 12px;
	}

	.single-product .woocommerce-product-gallery .flex-viewport,
.single-product .woocommerce-product-gallery__image {
	min-height: auto;
	max-height: none;
	aspect-ratio: 1 / 1;
	border-radius: 16px;
}

	.single-product .woocommerce-product-gallery__image > a > img {
		border-radius: 16px;
	}

	.single-product .flex-control-thumbs li {
		width: 64px;
		height: 64px;
		border-radius: 10px;
	}
}

/* Dark mode */
html[data-theme="dark"] .single-product .woocommerce-product-gallery .flex-viewport,
html[data-theme="dark"] .single-product .woocommerce-product-gallery__image,
body.dark .single-product .woocommerce-product-gallery .flex-viewport,
body.dark .single-product .woocommerce-product-gallery__image,
body.is-dark-theme .single-product .woocommerce-product-gallery .flex-viewport,
body.is-dark-theme .single-product .woocommerce-product-gallery__image {
	background: #111827;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
}

html[data-theme="dark"] .single-product .flex-control-thumbs li,
body.dark .single-product .flex-control-thumbs li,
body.is-dark-theme .single-product .flex-control-thumbs li {
	background: #111827;
	border-color: rgba(203, 213, 225, 0.14);
}

html[data-theme="dark"] .single-product .flex-control-thumbs li img.flex-active,
body.dark .single-product .flex-control-thumbs li img.flex-active,
body.is-dark-theme .single-product .flex-control-thumbs li img.flex-active {
	outline-color: #60a5fa;
}

/* PhotoSwipe */
.pswp__bg {
	background: #0b1220 !important;
	opacity: 0.58 !important;
}

.pswp__img {
	cursor: zoom-in !important;
}

.pswp__zoom-wrap {
	cursor: default;
}

.pswp__top-bar {
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0));
}