/**
 * TMU WooCommerce Shop & Category Archive Design System
 * Pixel-perfect match to TMU E-Book Library Product Cards
 *
 * @package TMUTheme
 */

/* 1. Page Wrapper & Container (1380px max width) */
.tmu-woo-wrapper {
    padding: 44px 0 80px;
    background-color: var(--tmu-bg-warm, #f7f6f2);
    min-height: 80vh;
}

.tmu-archive-wrapper {
    width: 100%;
}

/* 2. Hero Header */
.tmu-archive-hero {
    margin-bottom: 32px;
}

.tmu-archive-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 14px;
}

.tmu-archive-breadcrumbs a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.15s ease;
}

.tmu-archive-breadcrumbs a:hover {
    color: #0f1c3d;
}

.tmu-bc-sep {
    color: #94a3b8;
    font-size: 12px;
}

.tmu-bc-current {
    color: #0f1c3d;
    font-weight: 600;
}

.tmu-archive-title {
    font-family: var(--tmu-font-heading);
    font-size: 34px;
    font-weight: 800;
    color: #0f1c3d;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin: 0 0 24px;
}

/* 3. Smart Single Row Toolbar (Categories Tabs + Results Count + Sorting) */
.tmu-archive-smart-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
    border-top: 1px solid #e5e3dc;
    border-bottom: 1px solid #e5e3dc;
    margin-bottom: 34px;
    flex-wrap: wrap;
}

.tmu-toolbar-categories {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 260px;
}

.tmu-category-tabs-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0;
}

.tmu-cat-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    font-size: 13.5px;
    font-weight: 600;
    color: #2b3655;
    background: #ffffff;
    border: 1px solid #e1e4ed;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(15, 28, 61, 0.04);
}

.tmu-cat-pill:hover {
    background: #eef2f8;
    border-color: #cbd5e1;
    color: #0f1c3d;
    transform: translateY(-1px);
}

.tmu-cat-pill.is-active {
    background: #0f1c3d;
    border-color: #0f1c3d;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 28, 61, 0.18);
}

.tmu-toolbar-controls {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.tmu-results-count {
    font-size: 13.5px;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
}

.tmu-toolbar-sorting {
    display: flex;
    align-items: center;
}

.tmu-toolbar-sorting .woocommerce-ordering {
    margin: 0;
    padding: 0;
}

.tmu-toolbar-sorting .woocommerce-ordering select {
    font-family: var(--tmu-font-body);
    font-size: 13px;
    font-weight: 600;
    color: #0f1c3d;
    background-color: #ffffff;
    border: 1px solid #d5d9e5;
    border-radius: 8px;
    padding: 7px 14px;
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s ease;
}

.tmu-toolbar-sorting .woocommerce-ordering select:focus {
    border-color: #0f1c3d;
}

/* 4. WooCommerce Products Grid Override */
.woocommerce ul.products,
ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 26px !important;
    margin: 0 0 48px !important;
    padding: 0 !important;
    list-style: none !important;
    float: none !important;
    clear: both !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
ul.products::before,
ul.products::after {
    display: none !important;
}

/* 5. Product Item & Card Anatomy */
.woocommerce ul.products li.product.tmu-product-loop-item,
li.product.tmu-product-loop-item {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    float: none !important;
    background: transparent !important;
    border: none !important;
    list-style: none !important;
}

.tmu-book-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.2s ease;
    box-shadow: 0 2px 8px rgba(15, 28, 61, 0.03);
}

.tmu-book-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15, 28, 61, 0.09);
    border-color: #cbd5e1;
}

/* Top Media Area: Soft Tinted Background with Centered E-Book Mockup */
.tmu-book-card-media {
    background-color: #eaedf6;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

/* Realistic E-Book Mockup Vibe with Rotation */
.tmu-book-mockup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
    perspective: 800px;
}

.woocommerce ul.products li.product a img.tmu-book-cover-img,
.tmu-book-mockup .tmu-book-cover-img,
.tmu-book-cover-img {
    display: block;
    width: auto;
    max-width: 175px;
    height: auto;
    border-radius: 4px 12px 12px 4px;
    object-fit: contain;
    margin: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    /* Match Single Product Book Angle Rotation (-2.2deg) */
    transform: rotate(-2.2deg);
    /* Shadow Removed as requested */
    box-shadow: none !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.tmu-book-card:hover .tmu-book-mockup .tmu-book-cover-img {
    transform: rotate(-0.8deg) translateY(-4px);
    box-shadow: none !important;
}

.tmu-book-cover-vector {
    width: 132px;
    height: 184px;
    border-radius: 4px 12px 12px 4px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 14px 12px;
    margin: 0 !important;
    transform: rotate(-2.2deg);
    box-shadow: none !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
}

.tmu-book-card:hover .tmu-book-cover-vector {
    transform: rotate(-0.8deg) translateY(-4px);
    box-shadow: none !important;
}

.tmu-cover-header-tag {
    font-family: var(--tmu-font-heading);
    font-size: 7.5px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.9;
    display: block;
    margin-bottom: auto;
}

.tmu-cover-title {
    font-family: var(--tmu-font-heading);
    font-size: 13.5px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin: auto 0 8px;
    word-break: break-word;
}

/* 7. Bottom Card Content Area */
.tmu-book-card-body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #ffffff;
}

/* Category Pill Badge */
.tmu-book-card-badge-wrap {
    margin-bottom: 12px;
}

.tmu-book-badge {
    display: inline-block;
    background-color: #e6f6f2;
    color: #0e6853;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 4px 10px;
    border-radius: 9999px;
    text-transform: capitalize;
    line-height: 1.2;
}

/* Title */
.tmu-book-card-title {
    font-family: var(--tmu-font-heading);
    font-size: 17.5px;
    font-weight: 800;
    color: #0f1c3d;
    line-height: 1.35;
    letter-spacing: -0.015em;
    margin: 0 0 18px;
}

.tmu-book-card-title a {
    color: #0f1c3d;
    text-decoration: none;
    transition: color 0.15s ease;
}

.tmu-book-card-title a:hover {
    color: #0e6853;
}

/* Pricing Row */
.tmu-book-card-pricing {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 18px;
    margin-top: auto;
    margin-bottom: 18px;
}

.tmu-pricing-col-member {
    display: flex;
    flex-direction: column;
}

.tmu-pricing-label-member {
    font-size: 10.5px;
    font-weight: 800;
    color: #0e6853;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.tmu-pricing-amount-member {
    font-family: var(--tmu-font-heading);
    font-size: 26px;
    font-weight: 800;
    color: #0f1c3d;
    line-height: 1;
    letter-spacing: -0.02em;
}

.tmu-pricing-col-regular {
    display: flex;
    flex-direction: column;
    margin-bottom: 3px;
}

.tmu-pricing-label-regular {
    font-size: 11.5px;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 2px;
}

.tmu-pricing-amount-regular {
    font-size: 15px;
    font-weight: 600;
    color: #64748b;
    line-height: 1;
}

/* Action Button: VIEW BOOK -> */
.tmu-book-card-action {
    width: 100%;
}

.tmu-book-view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 16px;
    background-color: transparent;
    border: 1.5px solid #283765;
    border-radius: 8px;
    color: #283765;
    font-family: var(--tmu-font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Active / Hover State: Solid Golden Amber (Exact Match to Card 2 in Screenshot) */
.tmu-book-card:hover .tmu-book-view-btn,
.tmu-book-view-btn:hover {
    background-color: #e59b24;
    border-color: #0f1c3d;
    color: #0f1c3d;
    box-shadow: 0 4px 14px rgba(229, 155, 36, 0.28);
}

/* 8. Classic Clean Smart Pagination */
.tmu-archive-pagination-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 44px 0 20px;
    padding: 0;
    clear: both;
}

.woocommerce nav.woocommerce-pagination,
.woocommerce-page nav.woocommerce-pagination,
nav.woocommerce-pagination,
.woocommerce-pagination {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    margin: 0 auto !important;
    position: relative !important;
    float: none !important;
    clear: both !important;
}

/* Classic Floating Capsule Bar */
.woocommerce nav.woocommerce-pagination ul,
.woocommerce-page nav.woocommerce-pagination ul,
.woocommerce-pagination ul.page-numbers,
nav.woocommerce-pagination ul.page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    list-style: none !important;
    margin: 0 auto !important;
    padding: 4px 6px !important;
    background: #ffffff !important;
    border: 1px solid var(--tmu-border, #e5e3dc) !important;
    border-radius: 9999px !important;
    box-shadow: none !important;
    clear: both !important;
    float: none !important;
    white-space: nowrap !important;
}

/* Reset default WooCommerce list item partition borders and float */
.woocommerce nav.woocommerce-pagination ul li,
.woocommerce-page nav.woocommerce-pagination ul li,
.woocommerce-pagination ul.page-numbers li,
nav.woocommerce-pagination ul.page-numbers li {
    float: none !important;
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-right: none !important;
    background: transparent !important;
    list-style: none !important;
}

/* Individual page chip buttons */
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span,
.woocommerce-page nav.woocommerce-pagination ul li a,
.woocommerce-page nav.woocommerce-pagination ul li span,
.woocommerce-pagination ul.page-numbers li a,
.woocommerce-pagination ul.page-numbers li span,
nav.woocommerce-pagination ul.page-numbers li a,
nav.woocommerce-pagination ul.page-numbers li span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 36px !important;
    height: 36px !important;
    padding: 0 10px !important;
    font-family: var(--tmu-font-heading, 'Bricolage Grotesque', sans-serif) !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    color: var(--tmu-text-main, #111827) !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 9999px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease !important;
    position: relative !important;
    user-select: none !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Hover state on page numbers (Clean soft grey, never black) */
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce-page nav.woocommerce-pagination ul li a:hover,
.woocommerce-pagination ul.page-numbers li a:hover,
nav.woocommerce-pagination ul.page-numbers li a:hover {
    background: #f3f4f6 !important;
    color: var(--tmu-deep-navy, #192766) !important;
    border-color: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Current / Active Page Pill (Solid TMU Navy, Zero extra shadow, Flat classic) */
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce-page nav.woocommerce-pagination ul li span.current,
.woocommerce-pagination ul.page-numbers li span.current,
nav.woocommerce-pagination ul.page-numbers li span.current {
    background: var(--tmu-deep-navy, #192766) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border: 1px solid var(--tmu-deep-navy, #192766) !important;
    box-shadow: none !important;
    transform: none !important;
    cursor: default !important;
    pointer-events: none !important;
}

/* Previous and Next Navigation Buttons */
.woocommerce nav.woocommerce-pagination ul li a.prev,
.woocommerce nav.woocommerce-pagination ul li a.next,
.woocommerce-page nav.woocommerce-pagination ul li a.prev,
.woocommerce-page nav.woocommerce-pagination ul li a.next,
.woocommerce-pagination ul.page-numbers li a.prev,
.woocommerce-pagination ul.page-numbers li a.next,
nav.woocommerce-pagination ul.page-numbers li a.prev,
nav.woocommerce-pagination ul.page-numbers li a.next {
    padding: 0 12px !important;
    gap: 5px !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    color: var(--tmu-text-main, #111827) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    box-shadow: none !important;
}

.woocommerce nav.woocommerce-pagination ul li a.prev .tmu-pagination-text,
.woocommerce nav.woocommerce-pagination ul li a.next .tmu-pagination-text,
.woocommerce-page nav.woocommerce-pagination ul li a.prev .tmu-pagination-text,
.woocommerce-page nav.woocommerce-pagination ul li a.next .tmu-pagination-text,
.woocommerce-pagination ul.page-numbers li a.prev .tmu-pagination-text,
.woocommerce-pagination ul.page-numbers li a.next .tmu-pagination-text {
    color: inherit !important;
}

.woocommerce nav.woocommerce-pagination ul li a.prev svg,
.woocommerce nav.woocommerce-pagination ul li a.next svg,
.woocommerce-page nav.woocommerce-pagination ul li a.prev svg,
.woocommerce-page nav.woocommerce-pagination ul li a.next svg,
.woocommerce-pagination ul.page-numbers li a.prev svg,
.woocommerce-pagination ul.page-numbers li a.next svg {
    flex-shrink: 0 !important;
    stroke: currentColor !important;
    transition: transform 0.15s ease !important;
}

/* Prev/Next Hover (Clean soft grey, never black) */
.woocommerce nav.woocommerce-pagination ul li a.prev:hover,
.woocommerce nav.woocommerce-pagination ul li a.next:hover,
.woocommerce-page nav.woocommerce-pagination ul li a.prev:hover,
.woocommerce-page nav.woocommerce-pagination ul li a.next:hover,
.woocommerce-pagination ul.page-numbers li a.prev:hover,
.woocommerce-pagination ul.page-numbers li a.next:hover {
    background: #f3f4f6 !important;
    color: var(--tmu-deep-navy, #192766) !important;
    border-color: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

.woocommerce nav.woocommerce-pagination ul li a.prev:hover svg,
.woocommerce-page nav.woocommerce-pagination ul li a.prev:hover svg,
.woocommerce-pagination ul.page-numbers li a.prev:hover svg {
    transform: translateX(-2px) !important;
}

.woocommerce nav.woocommerce-pagination ul li a.next:hover svg,
.woocommerce-page nav.woocommerce-pagination ul li a.next:hover svg,
.woocommerce-pagination ul.page-numbers li a.next:hover svg {
    transform: translateX(2px) !important;
}

/* Ellipsis Dots */
.woocommerce nav.woocommerce-pagination ul li span.dots,
.woocommerce-page nav.woocommerce-pagination ul li span.dots,
.woocommerce-pagination ul.page-numbers li span.dots,
nav.woocommerce-pagination ul.page-numbers li span.dots {
    min-width: 24px !important;
    color: var(--tmu-text-muted, #6b7280) !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
    .tmu-archive-pagination-wrap {
        margin: 32px 0 16px;
    }

    .woocommerce nav.woocommerce-pagination ul,
    .woocommerce-page nav.woocommerce-pagination ul,
    .woocommerce-pagination ul.page-numbers {
        gap: 3px !important;
        padding: 4px !important;
    }

    .woocommerce nav.woocommerce-pagination ul li a,
    .woocommerce nav.woocommerce-pagination ul li span,
    .woocommerce-page nav.woocommerce-pagination ul li a,
    .woocommerce-page nav.woocommerce-pagination ul li span,
    .woocommerce-pagination ul.page-numbers li a,
    .woocommerce-pagination ul.page-numbers li span {
        min-width: 32px !important;
        height: 32px !important;
        padding: 0 6px !important;
        font-size: 13px !important;
    }

    .tmu-pagination-text {
        display: none !important;
    }

    .woocommerce nav.woocommerce-pagination ul li a.prev,
    .woocommerce nav.woocommerce-pagination ul li a.next,
    .woocommerce-page nav.woocommerce-pagination ul li a.prev,
    .woocommerce-page nav.woocommerce-pagination ul li a.next,
    .woocommerce-pagination ul.page-numbers li a.prev,
    .woocommerce-pagination ul.page-numbers li a.next {
        padding: 0 8px !important;
        min-width: 32px !important;
    }
}



/* 9. Empty State */
.tmu-no-products-found {
    text-align: center;
    padding: 64px 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    margin: 30px 0;
}

.tmu-no-products-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: #f1f4f9;
    border-radius: 50%;
    color: #64748b;
    margin-bottom: 20px;
}

.tmu-no-products-title {
    font-family: var(--tmu-font-heading);
    font-size: 22px;
    font-weight: 800;
    color: #0f1c3d;
    margin: 0 0 10px;
}

.tmu-no-products-desc {
    font-size: 14.5px;
    color: #64748b;
    max-width: 480px;
    margin: 0 auto 24px;
    line-height: 1.5;
}

.tmu-btn-reset-filter {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background-color: #e6a52a;
    color: #0f1c3d;
    font-family: var(--tmu-font-heading);
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: 0.03em;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(230, 165, 42, 0.25);
    transition: all 0.15s ease;
}

.tmu-btn-reset-filter:hover {
    background-color: #d89619;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(230, 165, 42, 0.35);
}

/* ==========================================================================
   Responsive Breakpoints for Shop & Categories Grid
   ========================================================================== */
@media (max-width: 1200px) {

    .woocommerce ul.products,
    ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 22px !important;
    }
}

@media (max-width: 900px) {

    .woocommerce ul.products,
    ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    .tmu-archive-title {
        font-size: 28px;
    }
}

@media (max-width: 580px) {
    .tmu-woo-wrapper {
        padding: 30px 0 60px;
    }

    .woocommerce ul.products,
    ul.products {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .tmu-archive-title {
        font-size: 24px;
    }

    .tmu-archive-subtitle {
        font-size: 14px;
    }

    .tmu-archive-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .woocommerce-ordering {
        width: 100%;
    }

    .woocommerce-ordering select {
        width: 100%;
    }
}

/* ==========================================================================
   TMU Floating Bottom-Right Cart Launcher & Off-Canvas Mini Cart Drawer
   ========================================================================== */

/* 1. Floating Cart Button (Bottom-Right FAB) */
.tmu-floating-cart-wrapper {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9990;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.tmu-floating-cart-wrapper.is-empty {
    display: none !important;
}

.tmu-floating-cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #0f1c3d;
    color: #ffffff;
    border: 2px solid rgba(230, 165, 42, 0.45);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(15, 28, 61, 0.28), 0 2px 6px rgba(15, 28, 61, 0.12);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background-color 0.2s ease, border-color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.tmu-floating-cart-btn:hover {
    transform: translateY(-3px) scale(1.04);
    background-color: #0b1530;
    border-color: #e6a52a;
    box-shadow: 0 14px 32px rgba(15, 28, 61, 0.38), 0 4px 10px rgba(230, 165, 42, 0.2);
}

.tmu-floating-cart-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.tmu-floating-cart-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Cart Count Badge */
.tmu-cart-count-badge {
    position: absolute;
    top: -12px;
    right: -14px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background-color: #e6a52a;
    color: #0f1c3d;
    font-family: var(--tmu-font-heading);
    font-size: 11.5px;
    font-weight: 800;
    line-height: 22px;
    text-align: center;
    border-radius: 9999px;
    border: 2px solid #0f1c3d;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.tmu-cart-count-badge.is-empty {
    display: none;
}

/* Pulse animation when item added to cart */
@keyframes tmuCartPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.18); box-shadow: 0 0 25px rgba(230, 165, 42, 0.6); }
    100% { transform: scale(1); }
}

.tmu-floating-cart-btn.pulse-anim {
    animation: tmuCartPulse 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. Backdrop Blur Overlay */
.tmu-cart-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 28, 61, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.tmu-cart-drawer-backdrop.is-active {
    opacity: 1;
    pointer-events: auto;
}

body.tmu-cart-drawer-open {
    overflow: hidden;
    touch-action: none;
}

/* 3. Off-Canvas Mini Cart Drawer */
.tmu-mini-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(420px, 92vw);
    max-width: 100vw;
    background: #ffffff;
    z-index: 9999;
    transform: translateX(105%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.tmu-mini-cart-drawer.is-open {
    transform: translateX(0);
    box-shadow: -10px 0 45px rgba(15, 28, 61, 0.18);
}

/* Drawer Header */
.tmu-cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #ebe9e1;
    background: #fdfdfc;
    flex-shrink: 0;
}

.tmu-cart-header-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tmu-cart-header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0f1c3d;
}

.tmu-cart-header-title {
    font-family: var(--tmu-font-heading);
    font-size: 16px;
    font-weight: 800;
    color: #0f1c3d;
    margin: 0;
    letter-spacing: -0.01em;
}

.tmu-cart-header-count {
    font-size: 14px;
    font-weight: 700;
    color: #0e6853;
}

.tmu-cart-drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #f3f5f9;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.tmu-cart-drawer-close:hover {
    background: #e2e7f2;
    color: #0f1c3d;
    transform: rotate(90deg);
}

/* Drawer Body */
.tmu-cart-drawer-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.tmu-cart-drawer-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Cart Items List */
.tmu-cart-items-list {
    flex: 1;
    overflow-y: auto;
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tmu-mini-cart-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    background: #fafbfe;
    border: 1px solid #ebeef5;
    border-radius: 14px;
    transition: background-color 0.15s ease, border-color 0.15s ease;
    position: relative;
}

.tmu-mini-cart-item:hover {
    background: #f4f6fc;
    border-color: #dbe1ee;
}

.tmu-mini-cart-thumb {
    width: 58px;
    height: 74px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #eef2f8;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(15, 28, 61, 0.1);
}

.tmu-mini-cart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tmu-mini-cart-info {
    flex: 1;
    min-width: 0;
}

.tmu-mini-cart-item-title {
    font-family: var(--tmu-font-heading);
    font-size: 14px;
    font-weight: 700;
    color: #0f1c3d;
    line-height: 1.3;
    margin: 0 0 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tmu-mini-cart-item-title a {
    color: #0f1c3d;
    text-decoration: none;
    transition: color 0.15s ease;
}

.tmu-mini-cart-item-title a:hover {
    color: #0e6853;
}

.tmu-mini-cart-item-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}

.tmu-mini-cart-qty {
    color: #64748b;
    font-weight: 600;
}

.tmu-mini-cart-price {
    color: #0f1c3d;
    font-weight: 800;
}

.tmu-remove-cart-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.tmu-remove-cart-item:hover {
    background: #fee2e2;
    color: #dc2626;
}

/* Drawer Footer Summary */
.tmu-cart-drawer-summary {
    padding: 20px 22px;
    border-top: 1px solid #ebe9e1;
    background: #fafaf8;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-shrink: 0;
}

.tmu-cart-subtotal-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tmu-subtotal-label {
    font-family: var(--tmu-font-heading);
    font-size: 15px;
    font-weight: 700;
    color: #2b3655;
}

.tmu-subtotal-amount {
    font-family: var(--tmu-font-heading);
    font-size: 22px;
    font-weight: 800;
    color: #0f1c3d;
    letter-spacing: -0.01em;
}

.tmu-cart-badge-notice {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11.5px;
    font-weight: 600;
    color: #0e6853;
    background: #e6f6f2;
    padding: 7px 12px;
    border-radius: 6px;
}

.tmu-cart-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tmu-btn-cart-checkout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 20px;
    background-color: #e6a52a;
    color: #0f1c3d;
    font-family: var(--tmu-font-heading);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.03em;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(230, 165, 42, 0.28);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.tmu-btn-cart-checkout:hover {
    background-color: #d89619;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(230, 165, 42, 0.38);
}

.tmu-btn-cart-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 11px 20px;
    background-color: #ffffff;
    color: #0f1c3d;
    border: 1.5px solid #d5d8e2;
    font-family: var(--tmu-font-heading);
    font-size: 13.5px;
    font-weight: 700;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.tmu-btn-cart-view:hover {
    background-color: #f3f5f9;
    border-color: #b8bfd3;
}

/* Empty Cart State */
.tmu-cart-empty-state {
    padding: 48px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: auto 0;
}

.tmu-empty-cart-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: #f1f4f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.tmu-empty-cart-title {
    font-family: var(--tmu-font-heading);
    font-size: 18px;
    font-weight: 800;
    color: #0f1c3d;
    margin: 0 0 8px;
}

.tmu-empty-cart-desc {
    font-size: 13.5px;
    color: #64748b;
    max-width: 280px;
    line-height: 1.5;
    margin: 0 0 22px;
}

.tmu-btn-cart-explore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background-color: #0f1c3d;
    color: #ffffff;
    font-family: var(--tmu-font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(15, 28, 61, 0.2);
}

.tmu-btn-cart-explore:hover {
    background-color: #e6a52a;
    color: #0f1c3d;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(230, 165, 42, 0.3);
}

/* Mobile responsive for floating cart */
@media (max-width: 580px) {
    .tmu-floating-cart-wrapper {
        bottom: 20px;
        right: 20px;
    }

    .tmu-floating-cart-btn {
        width: 54px;
        height: 54px;
    }
}

/* ==========================================================================
   TMU Cart Page Design System (100% Pixel-Perfect TMU Integration)
   ========================================================================== */

/* Cart Page Wrapper & Typography */
.tmu-cart-page-wrapper {
    padding: 36px 0 80px;
    background-color: var(--tmu-bg-warm, #f7f6f2);
    min-height: 80vh;
    width: 100%;
}

.tmu-cart-page-wrapper .tmu-container {
    width: 100% !important;
    max-width: 1380px !important;
    margin: 0 auto !important;
    padding: 0 36px !important;
    box-sizing: border-box !important;
}

.tmu-cart-hero-header {
    margin-bottom: 24px;
}

.tmu-cart-page-title {
    font-family: var(--tmu-font-heading);
    font-size: 34px;
    font-weight: 800;
    color: #0f1c3d;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0;
}

/* Base Font Enforcement across Cart Blocks */
.wp-block-woocommerce-cart,
.wc-block-cart,
.wp-block-woocommerce-filled-cart-block,
.wp-block-woocommerce-cart-items-block,
.wp-block-woocommerce-cart-totals-block {
    font-family: var(--tmu-font-body) !important;
    color: var(--tmu-text-main, #2b3655) !important;
}

/* Ensure Cart Block containers span 100% of the 1380px layout container */
.tmu-cart-page-wrapper .tmu-page-main-content,
.wp-block-woocommerce-cart,
.wp-block-woocommerce-cart.alignwide,
.wp-block-woocommerce-cart.alignfull,
.wc-block-cart {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.wp-block-woocommerce-filled-cart-block {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 2-Column Responsive Cart Layout (Left Items 1fr + Right Totals 380px) */
.wc-block-components-sidebar-layout,
.wp-block-woocommerce-cart.is-loading .wp-block-woocommerce-filled-cart-block {
    display: grid !important;
    grid-template-columns: 1fr 380px !important;
    gap: 32px !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 10px !important;
    box-sizing: border-box !important;
}

/* Column Wrappers */
.wc-block-components-main,
.wc-block-cart__main,
.wp-block-woocommerce-cart-items-block {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.wc-block-components-sidebar,
.wc-block-cart__sidebar,
.wp-block-woocommerce-cart-totals-block {
    width: 100% !important;
    max-width: 380px !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

/* --------------------------------------------------------------------------
   Left Column: Cart Items Card (.wp-block-woocommerce-cart-items-block)
   -------------------------------------------------------------------------- */
.wp-block-woocommerce-cart-items-block,
.woocommerce-cart .woocommerce-cart-form {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 24px 28px !important;
    box-shadow: 0 4px 20px rgba(15, 28, 61, 0.04) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Line Items Table & Header */
.wp-block-woocommerce-cart-line-items-block table,
table.wc-block-cart-items,
.woocommerce-cart table.shop_table.cart {
    width: 100% !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    margin: 0 !important;
}

.wc-block-cart-items__header,
.wp-block-woocommerce-cart-line-items-block thead th,
.woocommerce-cart table.shop_table thead th {
    font-family: var(--tmu-font-heading) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    padding: 0 0 16px !important;
    border-bottom: 1.5px solid #ebeef5 !important;
    background: transparent !important;
}

.wc-block-cart-items__header-total,
.wp-block-woocommerce-cart-line-items-block thead th:last-child {
    text-align: right !important;
}

/* Cart Item Row */
.wc-block-cart-items__row,
.wp-block-woocommerce-cart-line-items-block tbody tr,
.woocommerce-cart table.shop_table tbody tr.cart_item {
    border-bottom: 1px solid #ebeef5 !important;
    background: transparent !important;
}

.wp-block-woocommerce-cart-line-items-block tbody tr:last-child,
.wc-block-cart-items__row:last-child {
    border-bottom: none !important;
}

/* 1. Product Thumbnail Cell (Fix: Remove extra border and box shadow from TD/container) */
.wc-block-cart-item__image,
td.wc-block-cart-item__image,
.woocommerce-cart table.shop_table td.product-thumbnail {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 16px 0 !important;
    width: 76px !important;
    max-width: 76px !important;
    min-width: 76px !important;
    vertical-align: top !important;
    overflow: visible !important;
}

/* The actual eBook thumbnail image card */
.wc-block-cart-item__image a,
.wc-block-cart-item__image .wc-block-components-product-image,
.woocommerce-cart table.shop_table td.product-thumbnail img {
    display: block !important;
    width: 76px !important;
    height: 106px !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    background: #eaedf6 !important;
    border: 1px solid rgba(15, 28, 61, 0.08) !important;
    box-shadow: 0 4px 12px rgba(15, 28, 61, 0.1) !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.wc-block-cart-item__image a:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(15, 28, 61, 0.16) !important;
}

.wc-block-cart-item__image img,
.wc-block-components-product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    display: block !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Skeleton Loading State for Thumbnail (Fix: no stretched border box) */
.wc-block-cart-item__image .wc-block-components-skeleton__element,
.wc-block-cart--is-loading .wc-block-cart-item__image>a {
    width: 76px !important;
    height: 106px !important;
    padding-bottom: 0 !important;
    border-radius: 6px !important;
    border: none !important;
    box-shadow: none !important;
    background: #eaedf6 !important;
    display: block !important;
}

/* 2. Product Name & Info Cell - Clean 28px Gap & Tight Vertical Rhythm */
.wc-block-cart-item__product,
td.wc-block-cart-item__product,
.woocommerce-cart table.shop_table td.product-name {
    padding: 16px 20px 16px 28px !important;
    vertical-align: top !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.wc-block-cart-item__wrap {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    align-items: flex-start !important;
    margin: 0 !important;
}

/* Product Title */
.wc-block-components-product-name,
.wc-block-cart-item__product .wc-block-components-product-name,
.woocommerce-cart table.shop_table .product-name a {
    font-family: var(--tmu-font-heading) !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #0f1c3d !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    display: inline-block !important;
    max-width: 100% !important;
    margin: 0 !important;
    transition: color 0.15s ease !important;
}

.wc-block-components-product-name:hover,
.woocommerce-cart table.shop_table .product-name a:hover {
    color: #0e6853 !important;
}

/* --------------------------------------------------------------------------
   CRITICAL FIX: Remove Extra Description Under Title (User explicitly requested)
   -------------------------------------------------------------------------- */
.wc-block-components-product-metadata,
.wc-block-components-product-metadata__description,
.wc-block-cart-item__product .wc-block-components-product-metadata,
.wc-block-cart-item__product .wc-block-components-product-metadata__description,
.wc-block-cart-item__description,
.wp-block-woocommerce-cart-line-items-block .wc-block-components-product-metadata {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Price Display inside Product cell */
.wc-block-cart-item__prices,
.wc-block-components-product-price {
    font-family: var(--tmu-font-heading) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #475569 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 0 4px !important;
}

.wc-block-components-product-price del {
    color: #94a3b8 !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    text-decoration: line-through !important;
}

/* Quantity Selector & Trash Row */
.wc-block-cart-item__quantity {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: 4px !important;
}

.wc-block-components-quantity-selector {
    border: 1.5px solid #d5d9e5 !important;
    border-radius: 7px !important;
    background: #ffffff !important;
    height: 33px !important;
    overflow: hidden !important;
    display: inline-flex !important;
    align-items: center !important;
    box-shadow: 0 1px 3px rgba(15, 28, 61, 0.04) !important;
}

.wc-block-components-quantity-selector__button {
    background: #f8fafc !important;
    border: none !important;
    color: #0f1c3d !important;
    font-weight: 700 !important;
    width: 30px !important;
    height: 33px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: background-color 0.15s ease !important;
}

.wc-block-components-quantity-selector__button:hover {
    background-color: #e2e8f0 !important;
}

.wc-block-components-quantity-selector__input {
    border: none !important;
    font-family: var(--tmu-font-heading) !important;
    font-weight: 800 !important;
    font-size: 13.5px !important;
    color: #0f1c3d !important;
    width: 38px !important;
    height: 33px !important;
    line-height: 33px !important;
    text-align: center !important;
    outline: none !important;
    padding: 0 !important;
}

/* Trash / Remove Icon */
.wc-block-cart-item__remove-link,
.woocommerce-cart table.shop_table a.remove {
    color: #94a3b8 !important;
    transition: all 0.15s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 33px !important;
    height: 33px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    background: transparent !important;
    border: none !important;
    text-decoration: none !important;
}

.wc-block-cart-item__remove-link:hover,
.woocommerce-cart table.shop_table a.remove:hover {
    background-color: #fee2e2 !important;
    color: #dc2626 !important;
}

/* 3. Total Cell (Right Side of Row) */
.wc-block-cart-item__total,
td.wc-block-cart-item__total {
    padding: 22px 0 !important;
    vertical-align: top !important;
    text-align: right !important;
    background: transparent !important;
    border: none !important;
}

.wc-block-cart-item__total-price-and-sale-badge-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 6px !important;
}

.wc-block-cart-item__total .wc-block-components-formatted-money-amount {
    font-family: var(--tmu-font-heading) !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    color: #0f1c3d !important;
    letter-spacing: -0.01em !important;
}

/* Green Savings Badge ("Save $18.00") */
.wc-block-components-sale-badge,
.wc-block-components-product-badge {
    display: inline-flex !important;
    align-items: center !important;
    background-color: #e6f6f2 !important;
    color: #0e6853 !important;
    font-family: var(--tmu-font-heading) !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    border-radius: 9999px !important;
    padding: 3px 10px !important;
    border: none !important;
    letter-spacing: 0.02em !important;
}

/* --------------------------------------------------------------------------
   Right Column: Order Summary / Cart Totals (.wp-block-woocommerce-cart-totals-block)
   -------------------------------------------------------------------------- */
.wp-block-woocommerce-cart-totals-block,
.woocommerce-cart .cart-collaterals .cart_totals {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 30px !important;
    box-shadow: 0 4px 20px rgba(15, 28, 61, 0.04) !important;
    position: sticky !important;
    top: 90px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Remove redundant internal borders */
.wp-block-woocommerce-cart-order-summary-block,
.wp-block-woocommerce-cart-order-summary-totals-block {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Card Heading ("CART TOTALS") */
.wc-block-cart__totals-title,
.wp-block-woocommerce-cart-order-summary-heading-block h2,
.woocommerce-cart .cart_totals h2 {
    font-family: var(--tmu-font-heading) !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0f1c3d !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    margin: 0 0 16px !important;
    padding-bottom: 14px !important;
    border-bottom: 1.5px solid #ebeef5 !important;
}

/* Coupon Box */
.wc-block-components-totals-coupon {
    margin-bottom: 16px !important;
    background: #f8fafc !important;
    border: 1px solid #ebeef5 !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
}

.wc-block-components-totals-coupon summary {
    font-family: var(--tmu-font-heading) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #2b3655 !important;
    cursor: pointer !important;
}

.wc-block-components-totals-coupon__button {
    background-color: #0f1c3d !important;
    color: #ffffff !important;
    font-family: var(--tmu-font-heading) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    padding: 9px 18px !important;
    border: none !important;
    cursor: pointer !important;
    transition: background-color 0.15s ease !important;
}

.wc-block-components-totals-coupon__button:hover {
    background-color: #e6a52a !important;
    color: #0f1c3d !important;
}

/* Subtotal / Line Items */
.wc-block-components-totals-item {
    font-size: 14.5px !important;
    color: #2b3655 !important;
    padding: 8px 0 !important;
    border: none !important;
}

/* Estimated Total Row */
.wc-block-components-totals-footer-item {
    border-top: 1.5px solid #ebeef5 !important;
    margin-top: 16px !important;
    padding-top: 18px !important;
    border-bottom: none !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.woocommerce-cart .cart_totals tr.order-total th {
    font-family: var(--tmu-font-heading) !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0f1c3d !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.woocommerce-cart .cart_totals tr.order-total td {
    font-family: var(--tmu-font-heading) !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #0f1c3d !important;
    letter-spacing: -0.02em !important;
}

/* PROCEED TO CHECKOUT BUTTON (TMU Signature Golden Amber) */
.wc-block-cart__submit-button,
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button,
.woocommerce-cart .checkout-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 16px 28px !important;
    background-color: #e6a52a !important;
    color: #0f1c3d !important;
    font-family: var(--tmu-font-heading) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em !important;
    border-radius: 9999px !important;
    text-decoration: none !important;
    text-align: center !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 16px rgba(230, 165, 42, 0.3) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    margin-top: 20px !important;
}

.wc-block-cart__submit-button:hover,
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button:hover,
.woocommerce-cart .checkout-button:hover {
    background-color: #d89619 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 24px rgba(230, 165, 42, 0.42) !important;
    color: #0f1c3d !important;
}

.wc-block-cart__submit-button:active,
.woocommerce-cart .checkout-button:active {
    transform: translateY(0) !important;
}

/* Hide unwanted redundant empty blocks */
.wp-block-woocommerce-cart-express-payment-block:empty,
.wp-block-woocommerce-cart-accepted-payment-methods-block:empty {
    display: none !important;
}

/* ==========================================================================
   SUPERIOR RESPONSIVE CART SYSTEM (Mobile & Tablet Perfection)
   ========================================================================== */

/* 1. Medium Screens / Laptops / Tablets (<= 1080px) */
@media (max-width: 1080px) {
    .wc-block-components-sidebar-layout,
    .wp-block-woocommerce-cart.is-loading .wp-block-woocommerce-filled-cart-block {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    .wc-block-components-sidebar,
    .wc-block-cart__sidebar,
    .wp-block-woocommerce-cart-totals-block,
    .woocommerce-cart .cart-collaterals .cart_totals {
        max-width: 100% !important;
        position: static !important;
    }
}

/* 2. Tablets & Large Phones (<= 768px) */
@media (max-width: 768px) {
    .tmu-cart-page-wrapper {
        padding: 24px 0 60px !important;
    }

    .tmu-cart-page-wrapper .tmu-container {
        padding: 0 20px !important;
    }

    .tmu-cart-page-title {
        font-size: 28px !important;
    }

    .wp-block-woocommerce-cart-items-block,
    .woocommerce-cart .woocommerce-cart-form {
        padding: 22px 20px !important;
        border-radius: 16px !important;
    }

    .wp-block-woocommerce-cart-totals-block,
    .woocommerce-cart .cart-collaterals .cart_totals {
        padding: 24px 20px !important;
        border-radius: 16px !important;
    }

    /* Hide table headers on mobile */
    .wc-block-cart-items__header,
    .wp-block-woocommerce-cart-line-items-block thead {
        display: none !important;
    }

    /* Convert row to responsive 2-column mobile card layout */
    .wp-block-woocommerce-cart-line-items-block table,
    table.wc-block-cart-items {
        display: block !important;
        width: 100% !important;
    }

    .wp-block-woocommerce-cart-line-items-block tbody,
    table.wc-block-cart-items tbody {
        display: block !important;
        width: 100% !important;
    }

    .wc-block-cart-items__row,
    .wp-block-woocommerce-cart-line-items-block tbody tr {
        display: grid !important;
        grid-template-columns: 76px 1fr !important;
        column-gap: 16px !important;
        row-gap: 12px !important;
        padding: 18px 0 !important;
        align-items: start !important;
    }

    .wc-block-cart-item__image,
    td.wc-block-cart-item__image {
        grid-column: 1 !important;
        grid-row: 1 / span 2 !important;
        padding: 0 !important;
        width: 76px !important;
        max-width: 76px !important;
        min-width: 76px !important;
    }

    .wc-block-cart-item__product,
    td.wc-block-cart-item__product {
        grid-column: 2 !important;
        grid-row: 1 !important;
        padding: 0 !important;
    }

    .wc-block-cart-item__total,
    td.wc-block-cart-item__total {
        grid-column: 2 !important;
        grid-row: 2 !important;
        padding: 0 !important;
        text-align: left !important;
    }

    .wc-block-cart-item__total-price-and-sale-badge-wrapper {
        flex-direction: row-reverse !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 10px !important;
    }

    .wc-block-components-product-name {
        font-size: 16px !important;
    }
}

/* 3. Small Mobile Devices (<= 480px) */
@media (max-width: 480px) {
    .tmu-cart-page-wrapper .tmu-container {
        padding: 0 16px !important;
    }

    .tmu-cart-page-wrapper {
        padding: 18px 0 48px !important;
    }

    .tmu-cart-hero-header {
        margin-bottom: 18px !important;
    }

    .tmu-cart-page-title {
        font-size: 24px !important;
    }

    .wp-block-woocommerce-cart-items-block,
    .woocommerce-cart .woocommerce-cart-form {
        padding: 16px !important;
        border-radius: 14px !important;
    }

    .wp-block-woocommerce-cart-totals-block,
    .woocommerce-cart .cart-collaterals .cart_totals {
        padding: 20px 16px !important;
        border-radius: 14px !important;
    }

    .wc-block-cart-items__row,
    .wp-block-woocommerce-cart-line-items-block tbody tr {
        grid-template-columns: 64px 1fr !important;
        column-gap: 14px !important;
        row-gap: 10px !important;
        padding: 16px 0 !important;
    }

    .wc-block-cart-item__image,
    td.wc-block-cart-item__image {
        width: 64px !important;
        max-width: 64px !important;
        min-width: 64px !important;
    }

    .wc-block-cart-item__image a,
    .wc-block-cart-item__image .wc-block-components-product-image,
    .wc-block-cart-item__image .wc-block-components-skeleton__element,
    .wc-block-cart--is-loading .wc-block-cart-item__image>a {
        width: 64px !important;
        height: 90px !important;
    }

    .wc-block-components-product-name {
        font-size: 15px !important;
        line-height: 1.3 !important;
    }

    .wc-block-cart-item__prices {
        font-size: 15px !important;
    }

    .wc-block-components-quantity-selector {
        height: 34px !important;
    }

    .wc-block-components-quantity-selector__button {
        width: 30px !important;
        height: 34px !important;
    }

    .wc-block-components-quantity-selector__input {
        width: 36px !important;
        font-size: 13px !important;
    }

    .wc-block-cart-item__remove-link {
        width: 32px !important;
        height: 32px !important;
    }

    .wc-block-cart-item__total .wc-block-components-formatted-money-amount {
        font-size: 17px !important;
    }

    .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
        font-size: 24px !important;
    }

    .wc-block-cart__submit-button {
        padding: 14px 20px !important;
        font-size: 14px !important;
    }
}

/* ==========================================================================
   TMU Checkout Page Design System (100% Matching TMU Design Language)
   ========================================================================== */

/* 1. Checkout Page Wrapper & Containers */
.tmu-checkout-page-wrapper {
    padding: 36px 0 80px;
    background-color: var(--tmu-bg-warm, #f7f6f2);
    min-height: 80vh;
    width: 100%;
}

.tmu-checkout-page-wrapper .tmu-container {
    width: 100% !important;
    max-width: 1380px !important;
    margin: 0 auto !important;
    padding: 0 36px !important;
    box-sizing: border-box !important;
}

.tmu-checkout-page-wrapper .tmu-cart-hero-header {
    margin-bottom: 24px;
}

.tmu-checkout-page-wrapper .tmu-cart-page-title {
    font-family: var(--tmu-font-heading);
    font-size: 34px;
    font-weight: 800;
    color: #0f1c3d;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0;
}

/* Base Font Enforcement */
.wp-block-woocommerce-checkout,
.wc-block-checkout,
.wp-block-woocommerce-checkout-fields-block,
.wp-block-woocommerce-checkout-totals-block,
.woocommerce-checkout {
    font-family: var(--tmu-font-body) !important;
    color: var(--tmu-text-main, #2b3655) !important;
}

/* Ensure Checkout Block container spans 100% */
.tmu-checkout-page-wrapper .tmu-page-main-content,
.wp-block-woocommerce-checkout,
.wp-block-woocommerce-checkout.alignwide,
.wp-block-woocommerce-checkout.alignfull,
.wc-block-checkout,
.woocommerce-checkout {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* 2. Two-Column Responsive Layout Grid (Left Form 1fr + Right Summary 400px) */
.wc-block-components-sidebar-layout:has(.wp-block-woocommerce-checkout-fields-block),
.wp-block-woocommerce-checkout.is-loading,
.woocommerce-checkout form.checkout {
    display: grid !important;
    grid-template-columns: 1fr 400px !important;
    gap: 36px !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 10px !important;
    box-sizing: border-box !important;
}

/* Column Orders: Form Always on Left, Summary Always on Right */
.wc-block-components-main:has(.wp-block-woocommerce-checkout-fields-block),
.wp-block-woocommerce-checkout-fields-block,
.wc-block-checkout__main,
.woocommerce-checkout #customer_details {
    order: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.wc-block-components-sidebar:has(.wp-block-woocommerce-checkout-totals-block),
.wp-block-woocommerce-checkout-totals-block,
.wc-block-checkout__sidebar,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
    order: 2 !important;
    width: 100% !important;
    max-width: 400px !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

/* --------------------------------------------------------------------------
   3. Left Column: Checkout Fields Card (.wp-block-woocommerce-checkout-fields-block)
   -------------------------------------------------------------------------- */
.wp-block-woocommerce-checkout-fields-block,
.woocommerce-checkout #customer_details {
    background: #ffffff !important;
    border: none !important;
    border-radius: 20px !important;
    padding: 36px !important;
    box-shadow: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Section Headings / Steps - Single clean bottom divider */
.wc-block-components-checkout-step__heading,
.wc-block-checkout__billing-fields > h2,
.wc-block-checkout__shipping-fields > h2,
.wc-block-checkout__payment-method > h2,
.woocommerce-checkout #customer_details h3 {
    margin: 0 0 20px !important;
    padding-bottom: 12px !important;
    border-bottom: 1.5px solid #ebeef5 !important;
}

.wc-block-components-title,
.wc-block-components-checkout-step__title {
    font-family: var(--tmu-font-heading) !important;
    font-size: 18.5px !important;
    font-weight: 800 !important;
    color: #0f1c3d !important;
    letter-spacing: -0.01em !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* Eliminate empty blocks, empty step descriptions, and double divider artifacts */
.wc-block-components-checkout-step__description:empty,
.wc-block-components-checkout-step__description-placeholder,
.wp-block-woocommerce-checkout-express-payment-block:empty,
.wc-block-checkout__shipping-fields:empty,
.wc-block-components-notices:empty,
.wc-block-components-address-card:empty,
.wc-block-checkout__form--with-step-numbers .wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__content:before,
.wc-block-checkout__form--with-step-numbers .wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__description:before {
    display: none !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Section Spacing & Dividers */
.wc-block-components-checkout-step,
.wp-block-woocommerce-checkout-contact-information-block,
.wp-block-woocommerce-checkout-billing-address-block,
.wp-block-woocommerce-checkout-shipping-address-block,
.wp-block-woocommerce-checkout-payment-block {
    margin-bottom: 30px !important;
}

.wp-block-woocommerce-checkout-payment-block {
    margin-bottom: 20px !important;
}

/* 4. Form Inputs, Selects & Floating Labels (Scoped strictly to TMU checkout container) */
.tmu-checkout-page-wrapper .tmu-page-main-content .wc-block-components-text-input,
.tmu-checkout-page-wrapper .tmu-page-main-content .wc-blocks-components-select {
    position: relative !important;
    margin-top: 14px !important;
}

.tmu-checkout-page-wrapper .tmu-page-main-content .wc-block-components-text-input input,
.tmu-checkout-page-wrapper .tmu-page-main-content .wc-blocks-components-select__select,
.tmu-checkout-page-wrapper .tmu-page-main-content input[type="text"],
.tmu-checkout-page-wrapper .tmu-page-main-content input[type="email"],
.tmu-checkout-page-wrapper .tmu-page-main-content input[type="tel"],
.tmu-checkout-page-wrapper .tmu-page-main-content select,
.tmu-checkout-page-wrapper .tmu-page-main-content textarea {
    background-color: #f8fafc !important;
    border: 1.5px solid #dbe1ee !important;
    border-radius: 10px !important;
    height: 54px !important;
    min-height: 54px !important;
    padding: 22px 14px 6px 14px !important;
    font-size: 14.5px !important;
    font-family: var(--tmu-font-body) !important;
    font-weight: 500 !important;
    color: #0f1c3d !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.tmu-checkout-page-wrapper .tmu-page-main-content textarea {
    height: auto !important;
    min-height: 96px !important;
    padding: 14px 14px !important;
}

/* Floating Label Positioning - Ensure ample separation so labels never touch input values */
.tmu-checkout-page-wrapper .tmu-page-main-content .wc-block-components-text-input label,
.tmu-checkout-page-wrapper .tmu-page-main-content .wc-blocks-components-select__label {
    position: absolute !important;
    left: 14px !important;
    top: 18px !important;
    font-family: var(--tmu-font-heading) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    pointer-events: none !important;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
    transform: none !important;
    z-index: 2 !important;
}

/* When input is filled, active or focused: label floats smoothly to the top */
.tmu-checkout-page-wrapper .tmu-page-main-content .wc-block-components-text-input.is-active label,
.tmu-checkout-page-wrapper .tmu-page-main-content .wc-block-components-text-input input:focus + label,
.tmu-checkout-page-wrapper .tmu-page-main-content .wc-block-components-text-input input:-webkit-autofill + label,
.tmu-checkout-page-wrapper .tmu-page-main-content .wc-blocks-components-select__label {
    top: 8px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    line-height: 1 !important;
    transform: none !important;
}

.tmu-checkout-page-wrapper .tmu-page-main-content .wc-block-components-text-input input:focus + label,
.tmu-checkout-page-wrapper .tmu-page-main-content .wc-blocks-components-select:focus-within .wc-blocks-components-select__label {
    color: #0f1c3d !important;
}

/* Focus States */
.tmu-checkout-page-wrapper .tmu-page-main-content .wc-block-components-text-input input:focus,
.tmu-checkout-page-wrapper .tmu-page-main-content .wc-blocks-components-select__select:focus,
.tmu-checkout-page-wrapper .tmu-page-main-content input[type="text"]:focus,
.tmu-checkout-page-wrapper .tmu-page-main-content input[type="email"]:focus,
.tmu-checkout-page-wrapper .tmu-page-main-content input[type="tel"]:focus,
.tmu-checkout-page-wrapper .tmu-page-main-content select:focus,
.tmu-checkout-page-wrapper .tmu-page-main-content textarea:focus {
    border-color: #0f1c3d !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(15, 28, 61, 0.08) !important;
}

/* WP Admin Bar Safety - Only ensure search input in admin bar maintains content-box */
#wpadminbar input[type="text"].adminbar-input {
    box-sizing: content-box;
    height: auto;
    width: auto;
}

/* Checkboxes */
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"],
.woocommerce-checkout input[type="checkbox"] {
    accent-color: #0f1c3d !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 4px !important;
    margin-right: 8px !important;
    cursor: pointer !important;
}

.wc-block-components-checkbox .wc-block-components-checkbox__label,
.woocommerce-checkout .checkbox span {
    font-size: 14px !important;
    color: #2b3655 !important;
    cursor: pointer !important;
}

/* 5. Payment Methods UI */
.wc-block-components-radio-control-accordion-option,
.wc-block-components-radio-control,
.woocommerce-checkout #payment ul.payment_methods li {
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 16px 20px !important;
    margin-bottom: 12px !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.wc-block-components-radio-control-accordion-option:has(input:checked),
.wc-block-components-radio-control:has(input:checked),
.woocommerce-checkout #payment ul.payment_methods li:has(input:checked) {
    background: #ffffff !important;
    border-color: #0f1c3d !important;
    box-shadow: 0 4px 16px rgba(15, 28, 61, 0.06) !important;
}

.wc-block-components-radio-control__input,
.woocommerce-checkout #payment input[type="radio"] {
    accent-color: #0f1c3d !important;
    cursor: pointer !important;
}

.wc-block-components-radio-control__label {
    font-family: var(--tmu-font-heading) !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    color: #0f1c3d !important;
}

/* --------------------------------------------------------------------------
   6. Right Column: Order Summary Card (.wp-block-woocommerce-checkout-totals-block)
   -------------------------------------------------------------------------- */
.wp-block-woocommerce-checkout-totals-block,
.woocommerce-checkout #order_review {
    background: #ffffff !important;
    border: none !important;
    border-radius: 20px !important;
    padding: 30px !important;
    box-shadow: none !important;
    position: sticky !important;
    top: 90px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Remove default WooCommerce inner block borders from Order Summary */
.wp-block-woocommerce-checkout-order-summary-block,
.wp-block-woocommerce-checkout-order-summary-block .checkout-order-summary-block-fill,
.wc-block-checkout__order-summary,
.wp-block-woocommerce-checkout-totals-block .wc-block-components-panel {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    background: transparent !important;
}

/* Order Summary Heading */
.wc-block-components-checkout-order-summary__title-text,
.woocommerce-checkout #order_review_heading {
    font-family: var(--tmu-font-heading) !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0f1c3d !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    margin: 0 0 16px !important;
    padding-bottom: 14px !important;
    border-bottom: 1.5px solid #ebeef5 !important;
}

/* Order Summary Items */
.wc-block-components-order-summary-item {
    display: flex !important;
    align-items: center !important;
    padding: 14px 0 !important;
    border-bottom: 1px solid #f1f4f9 !important;
    gap: 14px !important;
}

.wc-block-components-order-summary-item:last-child {
    border-bottom: none !important;
}

/* 3D Miniature E-Book Thumbnail */
.wc-block-components-order-summary-item__image {
    width: 52px !important;
    height: 72px !important;
    border-radius: 6px !important;
    overflow: visible !important;
    position: relative !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wc-block-components-order-summary-item__image img {
    width: 52px !important;
    height: 72px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    box-shadow: 0 3px 10px rgba(15, 28, 61, 0.12) !important;
    border: 1px solid rgba(15, 28, 61, 0.08) !important;
    display: block !important;
}

/* Quantity Badge Pill on Thumbnail */
.wc-block-components-order-summary-item__quantity {
    background-color: #0f1c3d !important;
    color: #ffffff !important;
    font-family: var(--tmu-font-heading) !important;
    font-weight: 800 !important;
    font-size: 11px !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 9999px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    top: -6px !important;
    right: -6px !important;
    z-index: 2 !important;
    box-shadow: 0 2px 6px rgba(15, 28, 61, 0.25) !important;
}

/* Product Name */
.wc-block-components-order-summary-item__description .wc-block-components-product-name {
    font-family: var(--tmu-font-heading) !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    color: #0f1c3d !important;
    line-height: 1.35 !important;
}

/* HIDE extra description under title in summary */
.wc-block-components-order-summary-item .wc-block-components-product-metadata,
.wc-block-components-order-summary-item .wc-block-components-product-metadata__description {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    visibility: hidden !important;
}

/* Product Item Total Price */
.wc-block-components-order-summary-item__total-price {
    font-family: var(--tmu-font-heading) !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0f1c3d !important;
    text-align: right !important;
    margin-left: auto !important;
}

/* Coupon Box in Checkout */
.wp-block-woocommerce-checkout-order-summary-coupon-form-block {
    margin-top: 14px !important;
}

/* Totals Rows */
.wp-block-woocommerce-checkout-order-summary-totals-block .wc-block-components-totals-item,
.woocommerce-checkout table.shop_table tbody td,
.woocommerce-checkout table.shop_table tfoot td,
.woocommerce-checkout table.shop_table tfoot th {
    font-size: 14.5px !important;
    color: #2b3655 !important;
    padding: 8px 0 !important;
    border: none !important;
}

/* Estimated / Order Total */
.wp-block-woocommerce-checkout-order-summary-totals-block .wc-block-components-totals-footer-item,
.woocommerce-checkout table.shop_table tfoot tr.order-total {
    border-top: 1.5px solid #ebeef5 !important;
    padding-top: 18px !important;
    margin-top: 16px !important;
    border-bottom: none !important;
}

.wp-block-woocommerce-checkout-order-summary-totals-block .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.woocommerce-checkout table.shop_table tfoot tr.order-total th {
    font-family: var(--tmu-font-heading) !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0f1c3d !important;
}

.wp-block-woocommerce-checkout-order-summary-totals-block .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.woocommerce-checkout table.shop_table tfoot tr.order-total td {
    font-family: var(--tmu-font-heading) !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #0f1c3d !important;
    letter-spacing: -0.02em !important;
}

/* 7. PLACE ORDER BUTTON (TMU Signature Golden Amber) */
.wc-block-components-checkout-place-order-button,
.wp-block-woocommerce-checkout-actions-block button,
.woocommerce-checkout #place_order {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 18px 32px !important;
    background-color: #e6a52a !important;
    color: #0f1c3d !important;
    font-family: var(--tmu-font-heading) !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    letter-spacing: 0.03em !important;
    border-radius: 9999px !important;
    text-decoration: none !important;
    text-align: center !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 16px rgba(230, 165, 42, 0.3) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    margin-top: 24px !important;
}

.wc-block-components-checkout-place-order-button:hover,
.wp-block-woocommerce-checkout-actions-block button:hover,
.woocommerce-checkout #place_order:hover {
    background-color: #d89619 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 24px rgba(230, 165, 42, 0.42) !important;
    color: #0f1c3d !important;
}

.wc-block-components-checkout-place-order-button:active,
.woocommerce-checkout #place_order:active {
    transform: translateY(0) !important;
}

/* Return to Cart Link */
.wc-block-components-checkout-return-to-cart-button {
    color: #64748b !important;
    font-family: var(--tmu-font-heading) !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
    text-decoration: none !important;
    transition: color 0.15s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-top: 14px !important;
}

.wc-block-components-checkout-return-to-cart-button:hover {
    color: #0f1c3d !important;
}

/* ==========================================================================
   Checkout Responsive Perfection (Mobile & Tablet)
   ========================================================================== */

/* 1. Medium Screens / Laptops / Tablets (<= 1080px) */
@media (max-width: 1080px) {
    .wc-block-components-sidebar-layout:has(.wp-block-woocommerce-checkout-fields-block),
    .wp-block-woocommerce-checkout.is-loading,
    .woocommerce-checkout form.checkout {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    .wc-block-components-sidebar:has(.wp-block-woocommerce-checkout-totals-block),
    .wp-block-woocommerce-checkout-totals-block,
    .wc-block-checkout__sidebar,
    .woocommerce-checkout #order_review {
        max-width: 100% !important;
        position: static !important;
    }
}

/* 2. Tablets & Large Phones (<= 768px) */
@media (max-width: 768px) {
    .tmu-checkout-page-wrapper {
        padding: 24px 0 60px !important;
    }

    .tmu-checkout-page-wrapper .tmu-container {
        padding: 0 20px !important;
    }

    .tmu-checkout-page-wrapper .tmu-cart-page-title {
        font-size: 28px !important;
    }

    .wp-block-woocommerce-checkout-fields-block,
    .woocommerce-checkout #customer_details {
        padding: 24px 20px !important;
        border-radius: 16px !important;
    }

    .wp-block-woocommerce-checkout-totals-block,
    .woocommerce-checkout #order_review {
        padding: 24px 20px !important;
        border-radius: 16px !important;
    }

    .tmu-checkout-page-wrapper .tmu-page-main-content .wc-block-components-text-input input,
    .tmu-checkout-page-wrapper .tmu-page-main-content .wc-blocks-components-select__select,
    .tmu-checkout-page-wrapper .tmu-page-main-content input[type="text"],
    .tmu-checkout-page-wrapper .tmu-page-main-content select {
        height: 50px !important;
        min-height: 50px !important;
        padding: 20px 14px 6px 14px !important;
    }

    .wc-block-components-checkout-place-order-button,
    .wp-block-woocommerce-checkout-actions-block button,
    .woocommerce-checkout #place_order {
        padding: 16px 24px !important;
        font-size: 15px !important;
    }
}

/* 3. Small Mobile Devices (<= 480px) */
@media (max-width: 480px) {
    .tmu-checkout-page-wrapper .tmu-container {
        padding: 0 16px !important;
    }

    .tmu-checkout-page-wrapper {
        padding: 18px 0 48px !important;
    }

    .tmu-checkout-page-wrapper .tmu-cart-hero-header {
        margin-bottom: 18px !important;
    }

    .tmu-checkout-page-wrapper .tmu-cart-page-title {
        font-size: 24px !important;
    }

    .wp-block-woocommerce-checkout-fields-block,
    .woocommerce-checkout #customer_details {
        padding: 18px 16px !important;
        border-radius: 14px !important;
    }

    .wp-block-woocommerce-checkout-totals-block,
    .woocommerce-checkout #order_review {
        padding: 20px 16px !important;
        border-radius: 14px !important;
    }

    .wc-block-components-title,
    .wc-block-components-checkout-step__heading {
        font-size: 16.5px !important;
    }

    .wp-block-woocommerce-checkout-order-summary-totals-block .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
    .woocommerce-checkout table.shop_table tfoot tr.order-total td {
        font-size: 24px !important;
    }

    .wc-block-components-checkout-place-order-button,
    .wp-block-woocommerce-checkout-actions-block button,
    .woocommerce-checkout #place_order {
        padding: 14px 20px !important;
        font-size: 14.5px !important;
    }
}

/* Always hide floating mini-cart button & drawer on Cart and Checkout pages */
body.woocommerce-cart .tmu-floating-cart-wrapper,
body.woocommerce-checkout .tmu-floating-cart-wrapper,
body.woocommerce-cart #tmu-floating-cart-btn,
body.woocommerce-checkout #tmu-floating-cart-btn,
body.woocommerce-cart .tmu-mini-cart-drawer,
body.woocommerce-checkout .tmu-mini-cart-drawer,
body.woocommerce-cart .tmu-cart-drawer-backdrop,
body.woocommerce-checkout .tmu-cart-drawer-backdrop {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* ==========================================================================
   TMU ORDER RECEIVED / THANK YOU PAGE (DESIGN SYSTEM OVERHAUL)
   ========================================================================== */

.tmu-thankyou-page-wrapper {
    background-color: #fbf8f2 !important;
    padding-top: 16px !important;
    padding-bottom: 70px !important;
}

.tmu-thankyou-breadcrumbs-header {
    margin-bottom: 22px !important;
}

.tmu-thankyou-container {
    width: 100% !important;
    max-width: 1380px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

/* 1. TOP CELEBRATION HERO BANNER */
.tmu-thankyou-hero-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 44px 40px;
    box-shadow: 0 4px 20px rgba(12, 24, 52, 0.04);
    margin-bottom: 26px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tmu-thankyou-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #c89334 0%, #10b981 50%, #c89334 100%);
}

.tmu-thankyou-badge-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #ecfdf5;
    border: 2px solid #a7f3d0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 6px 18px rgba(5, 150, 105, 0.12);
}

.tmu-thankyou-pre-title {
    display: block;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #c89334;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.tmu-thankyou-main-title {
    font-family: var(--tmu-font-heading, 'Bricolage Grotesque', sans-serif);
    font-size: 32px;
    font-weight: 800;
    color: #0c1834;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin: 0 0 10px 0;
}

.tmu-thankyou-main-desc {
    font-size: 15.5px;
    color: #475569;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto 18px auto;
}

.tmu-thankyou-email-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 7px 16px;
    border-radius: 99px;
    font-size: 13px;
    color: #334155;
    margin-bottom: 26px;
}

.tmu-thankyou-email-pill svg {
    color: #284b8c;
    flex-shrink: 0;
}

.tmu-thankyou-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.tmu-btn-thankyou-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #c89334;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 13px 26px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(200, 147, 52, 0.25);
}

.tmu-btn-thankyou-primary:hover {
    background-color: #b07d2b;
    transform: translateY(-1px);
    color: #ffffff !important;
}

.tmu-btn-thankyou-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #0c1834;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 13px 26px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.tmu-btn-thankyou-secondary:hover {
    background-color: #1a2a4f;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.tmu-btn-thankyou-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #f1f5f9;
    color: #334155 !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 13px 22px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: background-color 0.2s ease;
}

.tmu-btn-thankyou-ghost:hover {
    background-color: #e2e8f0;
    color: #0f172a !important;
}

/* 2. ORDER METRICS RIBBON (5 ITEMS) */
.tmu-thankyou-metrics-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-bottom: 26px;
}

.tmu-metric-box {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(12, 24, 52, 0.02);
}

.tmu-metric-label {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #64748b;
    text-transform: uppercase;
}

.tmu-metric-value {
    font-size: 15px;
    font-weight: 700;
    color: #0c1834;
    word-break: break-word;
}

.tmu-metric-total {
    font-size: 17px;
    font-weight: 800;
    color: #c89334;
}

.tmu-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 3.5px 10px;
    border-radius: 99px;
    width: fit-content;
}

.tmu-status-pill.is-processing {
    background: #eff6ff;
    color: #1e40af;
}

.tmu-status-pill.is-completed {
    background: #ecfdf5;
    color: #065f46;
}

.tmu-status-pill.is-pending {
    background: #fffbeb;
    color: #92400e;
}

.tmu-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

/* 3. TWO-COLUMN DETAILS GRID */
.tmu-thankyou-content-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    align-items: start;
}

.tmu-thankyou-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 26px;
    box-shadow: 0 2px 10px rgba(12, 24, 52, 0.03);
    margin-bottom: 22px;
}

.tmu-card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1.5px solid #f1f5f9;
}

.tmu-card-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tmu-card-heading {
    font-family: var(--tmu-font-heading, 'Bricolage Grotesque', sans-serif);
    font-size: 18.5px;
    font-weight: 800;
    color: #0c1834;
    margin: 0;
    letter-spacing: -0.01em;
}

.tmu-items-count-badge {
    background: #f1f5f9;
    color: #475569;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3.5px 10px;
    border-radius: 99px;
}

/* Items List */
.tmu-order-items-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 22px;
}

.tmu-order-item-card {
    display: flex;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    align-items: center;
}

.tmu-order-item-thumb {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tmu-order-item-thumb img,
.tmu-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tmu-item-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
}

.tmu-order-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.tmu-item-title-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

.tmu-order-item-name {
    font-size: 15px;
    font-weight: 700;
    color: #0c1834;
    margin: 0;
    line-height: 1.35;
}

.tmu-order-item-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

.tmu-order-item-name a:hover {
    color: #c89334;
}

.tmu-order-item-price {
    font-size: 15px;
    font-weight: 800;
    color: #0c1834;
    white-space: nowrap;
}

.tmu-order-item-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.tmu-qty-pill {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    padding: 2px 7px;
    border-radius: 5px;
}

.tmu-digital-tag {
    background: #ecfdf5;
    color: #047857;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 2px 7px;
    border-radius: 5px;
    text-transform: uppercase;
}

.tmu-membership-tag {
    background: #fef3c7;
    color: #b45309;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 2px 7px;
    border-radius: 5px;
    text-transform: uppercase;
}

.tmu-order-item-actions {
    margin-top: 2px;
}

.tmu-item-action-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    color: #284b8c;
    text-decoration: none;
}

.tmu-item-action-link:hover {
    color: #0c1834;
    text-decoration: underline;
}

/* Downloads Section */
.tmu-thankyou-downloads-section {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 22px;
}

.tmu-downloads-title {
    font-family: var(--tmu-font-heading, 'Bricolage Grotesque', sans-serif);
    font-size: 14px;
    font-weight: 800;
    color: #92400e;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.tmu-downloads-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tmu-download-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border: 1px solid #fef3c7;
    padding: 10px 14px;
    border-radius: 8px;
}

.tmu-download-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #0c1834;
}

.tmu-btn-download-file {
    background: #c89334;
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 6px 14px;
    border-radius: 6px;
    text-decoration: none !important;
}

/* Financial Totals Breakdown */
.tmu-order-totals-breakdown {
    border-top: 1.5px solid #f1f5f9;
    padding-top: 18px;
}

.tmu-totals-heading {
    font-family: var(--tmu-font-heading, 'Bricolage Grotesque', sans-serif);
    font-size: 15px;
    font-weight: 800;
    color: #0c1834;
    margin: 0 0 12px 0;
}

.tmu-totals-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.tmu-total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #475569;
}

.tmu-total-label {
    font-weight: 500;
}

.tmu-total-value {
    font-weight: 600;
    color: #0c1834;
}

.tmu-total-line.is-grand-total {
    border-top: 1.5px solid #e2e8f0;
    padding-top: 14px;
    margin-top: 4px;
    font-size: 17px;
    font-weight: 800;
    color: #0c1834;
}

.tmu-total-line.is-grand-total .tmu-total-label {
    font-weight: 800;
    color: #0c1834;
}

.tmu-total-line.is-grand-total .tmu-total-value {
    font-size: 19px;
    font-weight: 800;
    color: #c89334;
}

/* Right Column Cards */
.tmu-gateway-notice-card {
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
}

.tmu-gateway-instructions-body {
    font-size: 14px;
    color: #334155;
    line-height: 1.55;
    margin-top: 12px;
}

.tmu-gateway-instructions-body p {
    margin: 0 0 8px 0;
}

.tmu-gateway-instructions-body p:last-child {
    margin-bottom: 0;
}

.tmu-customer-meta-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 14px;
}

.tmu-customer-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 13.5px;
    gap: 12px;
}

.tmu-customer-row.is-address {
    flex-direction: column;
    gap: 4px;
}

.tmu-cust-label {
    font-weight: 600;
    color: #64748b;
    font-size: 13px;
}

.tmu-cust-val {
    font-weight: 600;
    color: #0c1834;
    text-align: right;
    word-break: break-word;
}

.tmu-cust-address {
    font-style: normal;
    font-size: 13.5px;
    line-height: 1.5;
    color: #1e293b;
    font-weight: 500;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 10px 14px;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
}

/* Guarantee Card */
.tmu-access-guarantee-card {
    background: linear-gradient(135deg, #0c1834 0%, #162a56 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 6px 20px rgba(12, 24, 52, 0.15);
}

.tmu-guarantee-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(200, 147, 52, 0.15);
    border: 1px solid rgba(200, 147, 52, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.tmu-guarantee-title {
    font-family: var(--tmu-font-heading, 'Bricolage Grotesque', sans-serif);
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.tmu-guarantee-desc {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.5;
    margin: 0 0 18px 0;
}

.tmu-btn-guarantee-dash {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: #c89334;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 11px 20px;
    border-radius: 6px;
    text-decoration: none !important;
    transition: background-color 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.tmu-btn-guarantee-dash:hover {
    background: #b07d2b;
}

/* Failed Order Card */
.tmu-thankyou-failed-card,
.tmu-thankyou-fallback-card {
    background: #ffffff;
    border: 1.5px solid #fee2e2;
    border-radius: 20px;
    padding: 44px 36px;
    text-align: center;
    max-width: 680px;
    margin: 30px auto;
    box-shadow: 0 4px 20px rgba(12, 24, 52, 0.05);
}

.tmu-thankyou-fallback-card {
    border-color: #e2e8f0;
}

.tmu-thankyou-failed-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #fef2f2;
    border: 2px solid #fecaca;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.tmu-thankyou-failed-title {
    font-family: var(--tmu-font-heading, 'Bricolage Grotesque', sans-serif);
    font-size: 28px;
    font-weight: 800;
    color: #be1e2d;
    margin: 0 0 10px 0;
}

.tmu-thankyou-failed-desc {
    font-size: 15px;
    color: #475569;
    line-height: 1.5;
    margin: 0 0 24px 0;
}

/* Responsive adjustments */
@media (max-width: 1080px) {
    .tmu-thankyou-metrics-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .tmu-thankyou-content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .tmu-thankyou-hero-card {
        padding: 28px 20px;
    }

    .tmu-thankyou-main-title {
        font-size: 24px;
    }

    .tmu-thankyou-metrics-grid {
        grid-template-columns: 1fr 1fr;
    }

    .tmu-thankyou-hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .tmu-btn-thankyou-primary,
    .tmu-btn-thankyou-secondary,
    .tmu-btn-thankyou-ghost {
        width: 100%;
        box-sizing: border-box;
    }

    .tmu-order-item-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .tmu-item-title-row {
        flex-direction: column;
        gap: 4px;
    }
}

@media (max-width: 480px) {
    .tmu-thankyou-metrics-grid {
        grid-template-columns: 1fr;
    }
}