/* ==========================================================================
   TSS LUXURY SUITE - MY ACCOUNT LUXURY STYLESHEET
   Strictly Scoped: Outfit Typography, Luxury #0f0d1a palette
   Clean Flexbox Layout, Zero Footer Overlap, Fully Responsive Mobile Pills
   ========================================================================== */

/* ==========================================================================
   1. PAGE CONTAINER & LAYOUT RESETS
   ========================================================================== */

/* Main site content wrapper — guaranteed bottom clearance from footer */
body.tss-luxury-myaccount-active .site-content {
    background: #ffffff !important;
    padding-bottom: 90px !important;
    min-height: calc(100vh - 400px) !important;
    overflow-x: clip !important;
}

body.tss-luxury-myaccount-active .site-content > .ast-container,
body.tss-luxury-myaccount-active .site-content #primary,
body.tss-luxury-myaccount-active .site-content #main,
body.tss-luxury-myaccount-active .site-content article.page {
    max-width: 1240px !important;
    margin: 0 auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow-x: clip !important;
}

body.tss-luxury-myaccount-active .site-content .entry-content {
    margin: 0 !important;
}

/* Hide default Astra page title / header ONLY inside site-content (never touch site header or masthead) */
body.tss-luxury-myaccount-active .site-content .entry-header,
body.tss-luxury-myaccount-active .site-content .page-header {
    display: none !important;
}

/* Base Font & Color for WooCommerce account strictly within content area */
body.tss-luxury-myaccount-active .site-content .entry-content > .woocommerce,
body.tss-luxury-myaccount-active .site-content .woocommerce-MyAccount-content {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    color: #0f0d1a !important;
    box-sizing: border-box !important;
}

/* Hide default raw unstyled WooCommerce dashboard paragraphs */
body.tss-luxury-myaccount-active .site-content .woocommerce-MyAccount-content > p:not(.tss-preserve):not(.woocommerce-noreviews) {
    margin-bottom: 18px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    color: #4b5563;
    line-height: 1.6;
}

/* ==========================================================================
   2. MAIN ACCOUNT TWO-COLUMN FLEXBOX LAYOUT (DESKTOP)
   STRICTLY SCOPED: Only applies to the account container inside .site-content
   ========================================================================== */

body.tss-luxury-myaccount-active .site-content .entry-content > .woocommerce,
body.tss-luxury-myaccount-active .site-content .woocommerce:has(.woocommerce-MyAccount-navigation) {
    display: flex !important;
    flex-direction: row !important;
    gap: 36px !important;
    align-items: flex-start !important;
    margin: 30px auto 80px !important;
    width: 100% !important;
    clear: both !important;
}

/* Reset default WooCommerce floats */
body.tss-luxury-myaccount-active .site-content .woocommerce-MyAccount-navigation,
body.tss-luxury-myaccount-active .site-content .woocommerce-MyAccount-content {
    float: none !important;
    box-sizing: border-box !important;
}

/* Left Sidebar Navigation Container */
body.tss-luxury-myaccount-active .site-content .woocommerce-MyAccount-navigation {
    flex: 0 0 270px !important;
    width: 270px !important;
    margin: 0 !important;
    position: sticky !important;
    top: 110px !important;
    align-self: flex-start !important;
    z-index: 20;
}

/* Right Content Area */
body.tss-luxury-myaccount-active .site-content .woocommerce-MyAccount-content {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    width: auto !important;
    margin: 0 !important;
}

/* ==========================================================================
   3. LUXURY SIDEBAR NAVIGATION CARD
   ========================================================================== */

.tss-luxury-sidebar-nav {
    background: #ffffff !important;
    border: 1px solid #eef0f3 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(15, 13, 26, 0.03) !important;
    overflow: hidden !important;
    padding: 0 !important;
}

/* Sidebar Header — Single clean title, no subtitle to prevent overlap */
.tss-sidebar-nav-header {
    padding: 22px 22px 18px !important;
    border-bottom: 1px solid #f0f0f4 !important;
    background: #ffffff !important;
}

.tss-nav-header-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #0f0d1a !important;
    letter-spacing: -0.2px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    display: block !important;
}

/* Navigation Menu List */
.tss-sidebar-nav-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 8px !important;
}

.tss-sidebar-nav-list li {
    margin: 0 0 3px 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 8px !important;
    overflow: hidden;
    transition: all 0.2s ease;
}

.tss-sidebar-nav-list li a {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 13px 18px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #4b5563 !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    line-height: 1.2 !important;
}

/* Icon in Nav */
.tss-nav-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0 !important;
    color: #6b7280 !important;
    transition: color 0.2s ease !important;
}

.tss-nav-label {
    flex: 1 !important;
}

/* Arrow in Nav */
.tss-nav-arrow {
    display: inline-flex !important;
    align-items: center !important;
    color: #d1d5db !important;
    opacity: 0 !important;
    transform: translateX(-4px) !important;
    transition: all 0.2s ease !important;
}

/* Hover State */
.tss-sidebar-nav-list li:not(.is-active) a:hover {
    background: #f8f9fa !important;
    color: #0f0d1a !important;
    padding-left: 20px !important;
}

.tss-sidebar-nav-list li:not(.is-active) a:hover .tss-nav-icon {
    color: #0f0d1a !important;
}

.tss-sidebar-nav-list li:not(.is-active) a:hover .tss-nav-arrow {
    opacity: 1 !important;
    transform: translateX(0) !important;
    color: #9ca3af !important;
}

/* Active State */
.tss-sidebar-nav-list li.is-active a,
.tss-sidebar-nav-list li.active a {
    background: #0f0d1a !important;
    color: #ffffff !important;
    font-weight: 500 !important;
}

.tss-sidebar-nav-list li.is-active .tss-nav-icon,
.tss-sidebar-nav-list li.active .tss-nav-icon {
    color: #ffffff !important;
}

.tss-sidebar-nav-list li.is-active .tss-nav-arrow,
.tss-sidebar-nav-list li.active .tss-nav-arrow {
    opacity: 1 !important;
    transform: translateX(0) !important;
    color: #ffffff !important;
}

/* Logout Button — Dedicated separator */
.tss-sidebar-nav-list li.woocommerce-MyAccount-navigation-link--customer-logout {
    margin-top: 8px !important;
    border-top: 1px solid #f0f0f4 !important;
    padding-top: 8px !important;
}

.tss-sidebar-nav-list li.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #6b7280 !important;
}

.tss-sidebar-nav-list li.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
    background: #fef2f2 !important;
    color: #ef4444 !important;
}

.tss-sidebar-nav-list li.woocommerce-MyAccount-navigation-link--customer-logout a:hover .tss-nav-icon {
    color: #ef4444 !important;
}

/* ==========================================================================
   4. LUXURY DASHBOARD WELCOME HERO (REFINED SPACING)
   ========================================================================== */

.tss-account-welcome-hero {
    background: #0f0d1a !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    padding: 32px 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-shadow: 0 8px 30px rgba(15, 13, 26, 0.08) !important;
    margin-bottom: 36px !important;
    position: relative !important;
    overflow: hidden !important;
}

.tss-welcome-hero-left {
    display: flex !important;
    align-items: center !important;
    gap: 22px !important;
}

.tss-welcome-avatar {
    width: 58px !important;
    height: 58px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: #0f0d1a !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    flex-shrink: 0 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
}

.tss-welcome-details {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.tss-welcome-tag {
    font-family: 'Outfit', sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    color: rgba(255, 255, 255, 0.55) !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    display: block !important;
}

.tss-welcome-name {
    font-family: 'Outfit', sans-serif !important;
    font-size: 24px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    margin: 0 !important;
    letter-spacing: -0.3px !important;
    line-height: 1.2 !important;
    display: block !important;
}

.tss-welcome-email {
    font-family: 'Outfit', sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.7) !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    display: block !important;
}

.tss-welcome-hero-right {
    flex-shrink: 0 !important;
}

.tss-welcome-logout-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    height: 40px !important;
    padding: 0 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 6px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    letter-spacing: 0.3px !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.tss-welcome-logout-btn:hover {
    background: #ffffff !important;
    color: #0f0d1a !important;
    border-color: #ffffff !important;
    transform: translateY(-1px) !important;
}

/* ==========================================================================
   5. DASHBOARD QUICK-ACTION CARDS (SPACING & TYPOGRAPHY)
   ========================================================================== */

.tss-dashboard-section-header {
    margin: 36px 0 20px !important;
}

.tss-dashboard-section-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #0f0d1a !important;
    margin: 0 0 6px !important;
    letter-spacing: -0.2px !important;
    line-height: 1.2 !important;
}

.tss-dashboard-section-desc {
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    color: #71717a !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

.tss-dashboard-cards-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    margin-bottom: 36px !important;
}

.tss-dash-card {
    background: #ffffff !important;
    border: 1px solid #eef0f3 !important;
    border-radius: 12px !important;
    padding: 24px 22px !important;
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    text-decoration: none !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative !important;
    overflow: hidden !important;
}

.tss-dash-card:hover {
    border-color: #0f0d1a !important;
    box-shadow: 0 12px 30px rgba(15, 13, 26, 0.08) !important;
    transform: translateY(-3px) !important;
}

.tss-dash-card-icon {
    width: 50px !important;
    height: 50px !important;
    border-radius: 10px !important;
    background: #f4f4f6 !important;
    color: #0f0d1a !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease !important;
}

.tss-dash-card:hover .tss-dash-card-icon {
    background: #0f0d1a !important;
    color: #ffffff !important;
}

.tss-dash-card-content {
    flex: 1 !important;
    min-width: 0 !important;
}

.tss-dash-card-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #0f0d1a !important;
    margin: 0 0 4px !important;
    line-height: 1.2 !important;
}

.tss-dash-card-desc {
    font-family: 'Outfit', sans-serif !important;
    font-size: 13px !important;
    color: #71717a !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

.tss-dash-card-arrow {
    color: #9ca3af !important;
    display: flex !important;
    align-items: center !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
}

.tss-dash-card:hover .tss-dash-card-arrow {
    color: #0f0d1a !important;
    transform: translateX(4px) !important;
}

/* ==========================================================================
   6. LUXURY CONCIERGE HELP BANNER (REFINED BROWSE BUTTON)
   ========================================================================== */

.tss-dashboard-help-banner {
    background: #fafafa !important;
    border: 1px solid #eef0f3 !important;
    border-radius: 12px !important;
    padding: 24px 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    margin-top: 10px !important;
}

.tss-help-banner-icon {
    width: 48px !important;
    height: 48px !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    color: #0f0d1a !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.tss-help-banner-text {
    flex: 1 !important;
    min-width: 0 !important;
}

.tss-help-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #0f0d1a !important;
    margin: 0 0 4px !important;
    line-height: 1.2 !important;
}

.tss-help-desc {
    font-family: 'Outfit', sans-serif !important;
    font-size: 13px !important;
    color: #6b7280 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

.tss-help-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 44px !important;
    padding: 0 24px !important;
    background: #0f0d1a !important;
    color: #ffffff !important;
    border: 1px solid #0f0d1a !important;
    border-radius: 6px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 8px rgba(15, 13, 26, 0.1) !important;
    box-sizing: border-box !important;
}

.tss-help-btn:hover {
    background: #ffffff !important;
    color: #0f0d1a !important;
    border-color: #0f0d1a !important;
    transform: translateY(-1px) !important;
}

/* ==========================================================================
   7. SECTION HEADERS (Orders, Addresses, Account)
   ========================================================================== */

.tss-account-section-header {
    margin-bottom: 28px !important;
    padding-bottom: 18px !important;
    border-bottom: 1px solid #f0f0f4 !important;
}

.tss-section-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 24px !important;
    font-weight: 600 !important;
    color: #0f0d1a !important;
    margin: 0 0 4px !important;
    letter-spacing: -0.3px !important;
    line-height: 1.2 !important;
}

.tss-section-subtitle {
    font-family: 'Outfit', sans-serif !important;
    font-size: 13px !important;
    color: #6b7280 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

/* ==========================================================================
   8. ORDERS TABLE & EMPTY STATE
   ========================================================================== */

.tss-orders-table-wrapper {
    background: #ffffff !important;
    border: 1px solid #eef0f3 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02) !important;
}

body.tss-luxury-myaccount-active .tss-orders-table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 0 !important;
}

body.tss-luxury-myaccount-active .tss-orders-table thead th {
    background: #fafafa !important;
    padding: 14px 18px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: #6b7280 !important;
    border-bottom: 1px solid #eef0f3 !important;
    border-top: none !important;
}

body.tss-luxury-myaccount-active .tss-orders-table tbody tr {
    border-bottom: 1px solid #f5f6f8 !important;
    transition: background-color 0.15s ease;
}

body.tss-luxury-myaccount-active .tss-orders-table tbody tr:last-child {
    border-bottom: none !important;
}

body.tss-luxury-myaccount-active .tss-orders-table tbody tr:hover {
    background-color: #fbfcfd;
}

body.tss-luxury-myaccount-active .tss-orders-table tbody td,
body.tss-luxury-myaccount-active .tss-orders-table tbody th {
    padding: 16px 18px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    color: #374151 !important;
    vertical-align: middle !important;
    border: none !important;
}

.tss-order-number-link {
    font-weight: 600 !important;
    color: #0f0d1a !important;
    text-decoration: none !important;
}

.tss-order-number-link:hover {
    text-decoration: underline !important;
}

/* Status Badges */
.tss-status-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

.tss-status-dot {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
}

.tss-status-completed {
    background: #ecfdf5 !important;
    color: #059669 !important;
}
.tss-status-completed .tss-status-dot {
    background: #10b981 !important;
}

.tss-status-processing {
    background: #eff6ff !important;
    color: #2563eb !important;
}
.tss-status-processing .tss-status-dot {
    background: #3b82f6 !important;
}

.tss-status-dispatched {
    background: #e0f2fe !important;
    color: #0369a1 !important;
}
.tss-status-dispatched .tss-status-dot {
    background: #0284c7 !important;
}

.tss-status-on-hold {
    background: #fffbeb !important;
    color: #d97706 !important;
}
.tss-status-on-hold .tss-status-dot {
    background: #f59e0b !important;
}

.tss-status-cancelled,
.tss-status-failed {
    background: #fef2f2 !important;
    color: #dc2626 !important;
}
.tss-status-cancelled .tss-status-dot,
.tss-status-failed .tss-status-dot {
    background: #ef4444 !important;
}

/* View order button */
.tss-btn-view-order {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 36px !important;
    padding: 0 16px !important;
    border: 1px solid #0f0d1a !important;
    border-radius: 6px !important;
    background: transparent !important;
    color: #0f0d1a !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.tss-btn-view-order:hover {
    background: #0f0d1a !important;
    color: #ffffff !important;
}

/* Empty State Card (Orders & Downloads) */
.tss-empty-state-card {
    background: #ffffff !important;
    border: 1px solid #eef0f3 !important;
    border-radius: 12px !important;
    padding: 64px 32px !important;
    text-align: center !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.02) !important;
}

.tss-empty-state-icon {
    width: 76px !important;
    height: 76px !important;
    border-radius: 50% !important;
    background: #f8f9fa !important;
    color: #0f0d1a !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 22px !important;
}

.tss-empty-state-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #0f0d1a !important;
    margin: 0 0 8px !important;
    line-height: 1.2 !important;
}

.tss-empty-state-desc {
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    color: #71717a !important;
    max-width: 420px !important;
    margin: 0 auto 28px !important;
    line-height: 1.6 !important;
}

.tss-empty-state-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 46px !important;
    padding: 0 32px !important;
    background: #0f0d1a !important;
    color: #ffffff !important;
    border: 1px solid #0f0d1a !important;
    border-radius: 6px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.tss-empty-state-btn:hover {
    background: #ffffff !important;
    color: #0f0d1a !important;
    border-color: #0f0d1a !important;
    transform: translateY(-1px) !important;
}

/* ==========================================================================
   9. ADDRESSES SECTION
   ========================================================================== */

body.tss-luxury-myaccount-active .woocommerce-Addresses {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
}

body.tss-luxury-myaccount-active .woocommerce-Addresses > .woocommerce-Address {
    width: 100% !important;
    float: none !important;
}

body.tss-luxury-myaccount-active .woocommerce-Address {
    background: #ffffff !important;
    border: 1px solid #eef0f3 !important;
    border-radius: 12px !important;
    padding: 26px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.25s ease !important;
}

body.tss-luxury-myaccount-active .woocommerce-Address:hover {
    border-color: #0f0d1a !important;
    box-shadow: 0 8px 24px rgba(15, 13, 26, 0.06) !important;
}

.tss-address-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 18px !important;
    padding-bottom: 14px !important;
    border-bottom: 1px solid #f2f3f5 !important;
}

.tss-address-title-row {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.tss-address-type-icon {
    display: inline-flex !important;
    align-items: center !important;
    color: #0f0d1a !important;
}

.tss-address-name {
    font-family: 'Outfit', sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #0f0d1a !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

.tss-address-edit-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 34px !important;
    padding: 0 16px !important;
    border: 1px solid #0f0d1a !important;
    border-radius: 6px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: #0f0d1a !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.tss-address-edit-btn:hover {
    background: #0f0d1a !important;
    color: #ffffff !important;
}

body.tss-luxury-myaccount-active .site-content .woocommerce-Address address {
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    color: #4b5563 !important;
    line-height: 1.8 !important;
    font-style: normal !important;
}

.tss-no-address-text {
    font-size: 13px !important;
    color: #9ca3af !important;
    margin: 0 !important;
}

/* Edit Account & Address Form Cards */
.tss-edit-account-wrapper,
.tss-edit-address-wrapper {
    width: 100% !important;
    max-width: 720px !important;
    box-sizing: border-box !important;
}

.tss-form-card,
.tss-edit-address-form,
body.tss-luxury-myaccount-active .site-content .woocommerce-EditAccountForm,
body.tss-luxury-myaccount-active .site-content .woocommerce-EditAddressForm {
    background: #ffffff !important;
    border: 1px solid #eef0f3 !important;
    border-radius: 12px !important;
    padding: 36px 32px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02) !important;
    max-width: 720px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Ensure woocommerce-address-fields is completely neutral with zero borders or paddings */
body.tss-luxury-myaccount-active .site-content .woocommerce-address-fields {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Address Form Fields Wrapper */
body.tss-luxury-myaccount-active .site-content .woocommerce-address-fields__field-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    display: block !important;
}

body.tss-luxury-myaccount-active .site-content .woocommerce-address-fields__field-wrapper::after {
    content: "" !important;
    display: table !important;
    clear: both !important;
}

body.tss-luxury-myaccount-active .site-content .woocommerce-address-fields__field-wrapper .form-row {
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    position: relative !important;
}

/* Two-column pairs on desktop (min-width: 769px) */
@media (min-width: 769px) {
    body.tss-luxury-myaccount-active .site-content .woocommerce-address-fields__field-wrapper .form-row-first {
        width: calc(50% - 10px) !important;
        float: left !important;
        clear: left !important;
        margin-right: 20px !important;
        margin-left: 0 !important;
        box-sizing: border-box !important;
    }

    body.tss-luxury-myaccount-active .site-content .woocommerce-address-fields__field-wrapper .form-row-last {
        width: calc(50% - 10px) !important;
        float: right !important;
        clear: right !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        box-sizing: border-box !important;
    }

    body.tss-luxury-myaccount-active .site-content .woocommerce-address-fields__field-wrapper .form-row-wide {
        width: 100% !important;
        clear: both !important;
        float: none !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        box-sizing: border-box !important;
    }
}

/* Submit row inside address form */
.tss-edit-address-form .tss-submit-row,
body.tss-luxury-myaccount-active .site-content .woocommerce-EditAddressForm .tss-submit-row,
body.tss-luxury-myaccount-active .site-content .woocommerce-address-fields p:last-child {
    margin-top: 24px !important;
    margin-bottom: 0 !important;
    width: 100% !important;
    clear: both !important;
}

.tss-form-row-split {
    display: flex !important;
    gap: 20px !important;
    width: 100% !important;
}

.tss-form-row-split .form-row {
    flex: 1 !important;
    margin-bottom: 20px !important;
}

body.tss-luxury-myaccount-active .woocommerce-MyAccount-content .form-row label {
    font-family: 'Outfit', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #0f0d1a !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    margin-bottom: 6px !important;
    display: block !important;
}

body.tss-luxury-myaccount-active .woocommerce-MyAccount-content .form-row label .required {
    color: #ef4444 !important;
}

body.tss-luxury-myaccount-active .woocommerce-MyAccount-content .woocommerce-Input,
body.tss-luxury-myaccount-active .woocommerce-MyAccount-content .input-text,
body.tss-luxury-myaccount-active .woocommerce-MyAccount-content select {
    width: 100% !important;
    height: 48px !important;
    padding: 0 16px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    color: #0f0d1a !important;
    background: #fafafa !important;
    border: 1px solid #e2e4e8 !important;
    border-radius: 6px !important;
    outline: none !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

body.tss-luxury-myaccount-active .woocommerce-MyAccount-content .woocommerce-Input:focus,
body.tss-luxury-myaccount-active .woocommerce-MyAccount-content .input-text:focus,
body.tss-luxury-myaccount-active .woocommerce-MyAccount-content select:focus {
    border-color: #0f0d1a !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 2px rgba(15, 13, 26, 0.08) !important;
}

/* Display name hint & general form field hints (Explicit line-height to eliminate text collision) */
.tss-field-hint,
#account_display_name_description,
body.tss-luxury-myaccount-active .site-content .tss-field-hint,
body.tss-luxury-myaccount-active .site-content #account_display_name_description,
body.tss-luxury-myaccount-active .site-content .woocommerce-MyAccount-content .form-row .tss-field-hint,
body.tss-luxury-myaccount-active .site-content .woocommerce-MyAccount-content .form-row #account_display_name_description,
body.tss-luxury-myaccount-active .site-content .woocommerce-MyAccount-content .form-row span.tss-field-hint,
body.tss-luxury-myaccount-active .site-content .woocommerce-MyAccount-content .form-row em,
body.tss-luxury-myaccount-active .site-content .woocommerce-MyAccount-content .form-row .description {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
    color: #8b92a0 !important;
    margin-top: 8px !important;
    margin-bottom: 4px !important;
    display: block !important;
    clear: both !important;
    float: none !important;
    position: static !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    letter-spacing: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    font-style: normal !important;
    font-weight: 400 !important;
}

/* Password Fieldset */
.tss-password-fieldset {
    border: none !important;
    padding: 0 !important;
    margin: 32px 0 0 !important;
}

.tss-password-fieldset legend {
    font-family: 'Outfit', sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #0f0d1a !important;
    padding-bottom: 14px !important;
    margin-bottom: 20px !important;
    border-bottom: 1px solid #f2f3f5 !important;
    width: 100% !important;
}

/* Save / Submit Button */
.tss-save-changes-btn,
body.tss-luxury-myaccount-active .woocommerce-MyAccount-content .woocommerce-Button,
body.tss-luxury-myaccount-active .woocommerce-MyAccount-content button[type="submit"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 48px !important;
    padding: 0 36px !important;
    background: #0f0d1a !important;
    color: #ffffff !important;
    border: 1px solid #0f0d1a !important;
    border-radius: 6px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.tss-save-changes-btn:hover,
body.tss-luxury-myaccount-active .woocommerce-MyAccount-content .woocommerce-Button:hover,
body.tss-luxury-myaccount-active .woocommerce-MyAccount-content button[type="submit"]:hover {
    background: #ffffff !important;
    color: #0f0d1a !important;
    border-color: #0f0d1a !important;
    transform: translateY(-1px) !important;
}

/* ==========================================================================
   11. WOOCOMMERCE NOTICES & MESSAGES (FIX MISSING GLYPH / BLUE SQUARE)
   ========================================================================== */

/* Completely hide WooCommerce's broken icon font glyphs (fixes blue missing glyph square) */
body.tss-luxury-myaccount-active .site-content .woocommerce-message::before,
body.tss-luxury-myaccount-active .site-content .woocommerce-info::before,
body.tss-luxury-myaccount-active .site-content .woocommerce-error::before {
    display: none !important;
    content: none !important;
}

body.tss-luxury-myaccount-active .site-content .woocommerce-message,
body.tss-luxury-myaccount-active .site-content .woocommerce-info,
body.tss-luxury-myaccount-active .site-content .woocommerce-error {
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    padding: 18px 24px !important;
    border-radius: 8px !important;
    margin-bottom: 28px !important;
    line-height: 1.5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
    list-style: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
}

body.tss-luxury-myaccount-active .site-content .woocommerce-message {
    background: #ecfdf5 !important;
    border-left: 4px solid #10b981 !important;
    color: #065f46 !important;
}

body.tss-luxury-myaccount-active .site-content .woocommerce-info {
    background: #f8f9fc !important;
    border: 1px solid #e9ecf2 !important;
    border-left: 4px solid #0f0d1a !important;
    color: #374151 !important;
}

body.tss-luxury-myaccount-active .site-content .woocommerce-error {
    background: #fef2f2 !important;
    border-left: 4px solid #ef4444 !important;
    color: #991b1b !important;
}

/* Notice Action Buttons (e.g. Confirm email address, Browse products) */
body.tss-luxury-myaccount-active .site-content .woocommerce-info .button,
body.tss-luxury-myaccount-active .site-content .woocommerce-info .wc-forward,
body.tss-luxury-myaccount-active .site-content .woocommerce-message .button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 38px !important;
    padding: 0 18px !important;
    background: #0f0d1a !important;
    color: #ffffff !important;
    border: 1px solid #0f0d1a !important;
    border-radius: 6px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    text-decoration: none !important;
    margin: 0 !important;
    order: 2 !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

body.tss-luxury-myaccount-active .site-content .woocommerce-info .button:hover,
body.tss-luxury-myaccount-active .site-content .woocommerce-info .wc-forward:hover,
body.tss-luxury-myaccount-active .site-content .woocommerce-message .button:hover {
    background: #ffffff !important;
    color: #0f0d1a !important;
    border-color: #0f0d1a !important;
}

/* ==========================================================================
   12. SELECT2 LUXURY DROPDOWN OVERRIDES (STATE / REGION DROPDOWNS)
   Fixes squished options, missing line-height, and ugly default blue highlight
   ========================================================================== */

/* Select2 Input Box Container inside My Account Content */
body.tss-luxury-myaccount-active .site-content .select2-container {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

body.tss-luxury-myaccount-active .site-content .select2-container--default .select2-selection--single {
    height: 48px !important;
    border: 1px solid #e2e4e8 !important;
    border-radius: 6px !important;
    background-color: #fafafa !important;
    display: flex !important;
    align-items: center !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

body.tss-luxury-myaccount-active .site-content .select2-container--default .select2-selection--single:focus,
body.tss-luxury-myaccount-active .site-content .select2-container--default.select2-container--focus .select2-selection--single,
body.tss-luxury-myaccount-active .site-content .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #0f0d1a !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 2px rgba(15, 13, 26, 0.08) !important;
    outline: none !important;
}

body.tss-luxury-myaccount-active .site-content .select2-container--default .select2-selection--single .select2-selection__rendered {
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #0f0d1a !important;
    padding-left: 16px !important;
    padding-right: 36px !important;
    line-height: 46px !important;
}

body.tss-luxury-myaccount-active .site-content .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #9ca3af !important;
}

body.tss-luxury-myaccount-active .site-content .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px !important;
    right: 12px !important;
    width: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.tss-luxury-myaccount-active .site-content .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #6b7280 transparent transparent transparent !important;
    border-width: 5px 4px 0 4px !important;
}

body.tss-luxury-myaccount-active .site-content .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #0f0d1a transparent !important;
    border-width: 0 4px 5px 4px !important;
}

/* Select2 Floating Dropdown Menu (Appended to body) */
body.tss-luxury-myaccount-active .select2-container--default .select2-dropdown {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(15, 13, 26, 0.1) !important;
    overflow: hidden !important;
    z-index: 999999 !important;
    margin-top: 4px !important;
    box-sizing: border-box !important;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

body.tss-luxury-myaccount-active .select2-container--default.select2-container--open.select2-container--below .select2-dropdown {
    border-top: 1px solid #e5e7eb !important;
    border-radius: 0 0 8px 8px !important;
}

body.tss-luxury-myaccount-active .select2-container--default.select2-container--open.select2-container--above .select2-dropdown {
    border-bottom: 1px solid #e5e7eb !important;
    border-radius: 8px 8px 0 0 !important;
    margin-top: 0 !important;
    margin-bottom: 4px !important;
}

/* Search Box Inside Select2 Dropdown */
body.tss-luxury-myaccount-active .select2-container--default .select2-search--dropdown {
    padding: 10px 12px !important;
    background: #fafafa !important;
    border-bottom: 1px solid #f0f0f4 !important;
    box-sizing: border-box !important;
}

body.tss-luxury-myaccount-active .select2-container--default .select2-search--dropdown .select2-search__field {
    width: 100% !important;
    height: 38px !important;
    padding: 0 12px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 13.5px !important;
    color: #0f0d1a !important;
    outline: none !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

body.tss-luxury-myaccount-active .select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: #0f0d1a !important;
    box-shadow: 0 0 0 1px #0f0d1a !important;
}

/* Options List Container */
body.tss-luxury-myaccount-active .select2-container--default .select2-results {
    padding: 0 !important;
    margin: 0 !important;
}

body.tss-luxury-myaccount-active .select2-container--default .select2-results__options {
    max-height: 260px !important;
    padding: 6px 0 !important;
    margin: 0 !important;
    list-style: none !important;
    scrollbar-width: thin !important;
    scrollbar-color: #d1d5db transparent !important;
}

body.tss-luxury-myaccount-active .select2-container--default .select2-results__options::-webkit-scrollbar {
    width: 6px !important;
}

body.tss-luxury-myaccount-active .select2-container--default .select2-results__options::-webkit-scrollbar-track {
    background: transparent !important;
}

body.tss-luxury-myaccount-active .select2-container--default .select2-results__options::-webkit-scrollbar-thumb {
    background: #d1d5db !important;
    border-radius: 4px !important;
}

/* Individual Option Spacing & Typography (FIXES SQUISHED SPACING & COLLAPSED LINE HEIGHT) */
body.tss-luxury-myaccount-active .select2-container--default .select2-results__option {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    min-height: 42px !important;
    padding: 11px 16px !important;
    color: #0f0d1a !important;
    background: transparent !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    transition: background-color 0.15s ease, color 0.15s ease !important;
}

/* Neutral Hover / Highlight State (Eliminates Ugly Default Blue Highlight) */
body.tss-luxury-myaccount-active .select2-container--default .select2-results__option--highlighted[aria-selected],
body.tss-luxury-myaccount-active .select2-container--default .select2-results__option:hover {
    background-color: #f4f5f7 !important;
    color: #0f0d1a !important;
}

/* Selected State */
body.tss-luxury-myaccount-active .select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: #f0f1f4 !important;
    font-weight: 600 !important;
    color: #0f0d1a !important;
}

body.tss-luxury-myaccount-active .select2-container--default .select2-results__option[aria-selected="true"].select2-results__option--highlighted {
    background-color: #e5e7eb !important;
    color: #0f0d1a !important;
}

/* Select2 No Results Message */
body.tss-luxury-myaccount-active .select2-container--default .select2-results__message {
    padding: 14px 16px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 13px !important;
    color: #6b7280 !important;
    line-height: 1.4 !important;
}

/* ==========================================================================
   13. LOGIN & REGISTRATION CARD (LUXURY TABBED VIEW)
   ========================================================================== */

.tss-login-wrapper {
    max-width: 480px;
    margin: 40px auto 70px;
    padding: 0 16px;
    box-sizing: border-box;
    width: 100%;
}

.tss-login-brand {
    text-align: center;
    margin-bottom: 24px;
}

.tss-login-badge {
    font-family: 'Outfit', sans-serif;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #9ca3af;
    display: block;
    margin-bottom: 6px;
}

.tss-login-title {
    font-family: 'Outfit', sans-serif;
    font-size: 30px;
    font-weight: 600;
    color: #0f0d1a;
    margin: 0 0 6px;
    letter-spacing: -0.5px;
    transition: all 0.2s ease;
}

.tss-login-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 13.5px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
    transition: all 0.2s ease;
}

.tss-login-wrapper h2 {
    display: none !important;
}

/* Reset default WooCommerce 2-column floats */
.tss-login-wrapper .u-columns.col2-set,
.tss-login-wrapper #customer_login,
.tss-login-wrapper .col2-set {
    display: block !important;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.tss-login-wrapper .u-column1,
.tss-login-wrapper .u-column2,
.tss-login-wrapper .col-1,
.tss-login-wrapper .col-2 {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}

/* Main Luxury Auth Card */
.tss-auth-card-container {
    background: #ffffff;
    border: 1px solid #eef0f3;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 10px 40px rgba(15, 13, 26, 0.05);
    box-sizing: border-box;
    width: 100%;
}

/* Segmented Switcher (Tab Buttons) */
.tss-auth-switcher-wrap {
    margin-bottom: 24px;
}

.tss-auth-switcher {
    display: flex;
    background: #f4f5f7;
    padding: 4px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    gap: 4px;
    box-sizing: border-box;
}

.tss-auth-tab-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    border: none;
    background: transparent;
    color: #6b7280;
    font-family: 'Outfit', sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    user-select: none;
    box-sizing: border-box;
}

.tss-auth-tab-btn:hover:not(.is-active) {
    color: #0f0d1a;
    background: rgba(255, 255, 255, 0.6);
}

.tss-auth-tab-btn.is-active {
    background: #0f0d1a !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(15, 13, 26, 0.15) !important;
}

.tss-tab-icon {
    display: inline-block;
    flex-shrink: 0;
}

/* Tab Panes & Smooth Animations */
.tss-auth-pane {
    width: 100%;
    box-sizing: border-box;
}

.tss-auth-pane.is-active {
    animation: tssAuthPaneFade 0.25s ease-out;
}

@keyframes tssAuthPaneFade {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Forms inside Auth Card */
.tss-auth-form {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.tss-form-field {
    margin-bottom: 18px !important;
    padding: 0 !important;
    clear: both !important;
    width: 100% !important;
}

.tss-form-field label {
    font-family: 'Outfit', sans-serif !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    color: #0f0d1a !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    margin-bottom: 6px !important;
    display: block !important;
}

.tss-form-field .required {
    color: #ef4444 !important;
}

.tss-input,
.tss-login-wrapper .woocommerce-Input,
.tss-login-wrapper .input-text {
    width: 100% !important;
    height: 48px !important;
    padding: 0 16px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    color: #0f0d1a !important;
    background: #fafafa !important;
    border: 1px solid #e2e4e8 !important;
    border-radius: 8px !important;
    outline: none !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.tss-input:focus,
.tss-login-wrapper .woocommerce-Input:focus,
.tss-login-wrapper .input-text:focus {
    border-color: #0f0d1a !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(15, 13, 26, 0.08) !important;
}

/* Login Options: Remember Me & Lost Password */
.tss-auth-login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 14px 0 20px;
    gap: 12px;
}

.tss-checkbox-label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    margin: 0 !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 13px !important;
    color: #4b5563 !important;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.tss-checkbox {
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    accent-color: #0f0d1a !important;
    cursor: pointer !important;
}

.tss-lost-password {
    margin: 0 !important;
    text-align: right !important;
}

.tss-lost-password a {
    font-family: 'Outfit', sans-serif !important;
    font-size: 13px !important;
    color: #6b7280 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: color 0.2s ease !important;
}

.tss-lost-password a:hover {
    color: #0f0d1a !important;
    text-decoration: underline !important;
}

/* Submit Buttons */
.tss-submit-row {
    margin: 20px 0 0 !important;
    padding: 0 !important;
}

.tss-auth-submit-btn,
.tss-login-wrapper .woocommerce-form-login__submit,
.tss-login-wrapper .woocommerce-form-register__submit {
    width: 100% !important;
    height: 48px !important;
    background: #0f0d1a !important;
    color: #ffffff !important;
    border: 1px solid #0f0d1a !important;
    border-radius: 8px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 4px 14px rgba(15, 13, 26, 0.12) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.tss-auth-submit-btn:hover,
.tss-login-wrapper .woocommerce-form-login__submit:hover,
.tss-login-wrapper .woocommerce-form-register__submit:hover {
    background: #ffffff !important;
    color: #0f0d1a !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(15, 13, 26, 0.18) !important;
}

/* Registration Notice: Link sent to email */
.tss-auth-reg-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #f9fafb;
    border: 1px solid #eef0f3;
    border-radius: 8px;
    padding: 12px 14px;
    margin: 14px 0 16px;
    box-sizing: border-box;
}

.tss-auth-reg-notice svg {
    color: #0f0d1a;
    flex-shrink: 0;
    margin-top: 2px;
}

.tss-auth-reg-notice p {
    margin: 0 !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 12.5px !important;
    color: #4b5563 !important;
    line-height: 1.5 !important;
}

/* Privacy Policy Text Overlap Fix */
.tss-login-wrapper .woocommerce-privacy-policy-text {
    display: block !important;
    position: static !important;
    float: none !important;
    clear: both !important;
    margin: 16px 0 !important;
    padding: 0 !important;
    line-height: 1.6 !important;
}

.tss-login-wrapper .woocommerce-privacy-policy-text p {
    display: block !important;
    position: static !important;
    float: none !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 12.5px !important;
    color: #6b7280 !important;
    line-height: 1.6 !important;
    margin: 0 0 10px !important;
}

.tss-login-wrapper .woocommerce-privacy-policy-text a {
    color: #0f0d1a !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
}

/* Switch Hint at Bottom */
.tss-auth-switch-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #f0f0f4;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    color: #6b7280;
    text-align: center;
}

.tss-auth-inline-switch {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #0f0d1a !important;
    text-decoration: underline !important;
    cursor: pointer !important;
    transition: opacity 0.2s ease !important;
}

.tss-auth-inline-switch:hover {
    opacity: 0.75 !important;
}

/* ==========================================================================
   13. TABLET OPTIMIZATION (< 960px)
   ========================================================================== */

@media (max-width: 960px) {
    /* Reset intermediate Astra theme wrappers inside .site-content */
    body.tss-luxury-myaccount-active .site-content #primary,
    body.tss-luxury-myaccount-active .site-content #main,
    body.tss-luxury-myaccount-active .site-content article.page,
    body.tss-luxury-myaccount-active .site-content .ast-article-single,
    body.tss-luxury-myaccount-active .site-content .ast-article-inner,
    body.tss-luxury-myaccount-active .site-content .entry-content {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    body.tss-luxury-myaccount-active .site-content > .ast-container {
        padding-left: 20px !important;
        padding-right: 20px !important;
        padding-top: 15px !important;
        padding-bottom: 60px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Stack two-column into vertical flow */
    body.tss-luxury-myaccount-active .site-content .entry-content > .woocommerce,
    body.tss-luxury-myaccount-active .site-content .woocommerce:has(.woocommerce-MyAccount-navigation) {
        flex-direction: column !important;
        gap: 24px !important;
    }

    /* Transform Sidebar into horizontal scrollable app-like tab pills */
    body.tss-luxury-myaccount-active .site-content .woocommerce-MyAccount-navigation {
        flex: none !important;
        width: 100% !important;
        position: static !important;
        border-radius: 10px !important;
        box-shadow: none !important;
        background: transparent !important;
        border: none !important;
    }

    /* Hide sidebar title header on tablet/mobile */
    .tss-sidebar-nav-header {
        display: none !important;
    }

    /* Scrollable pill bar */
    .tss-sidebar-nav-list {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        padding: 4px 2px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }

    .tss-sidebar-nav-list::-webkit-scrollbar {
        display: none !important;
    }

    .tss-sidebar-nav-list li {
        flex: 0 0 auto !important;
        margin: 0 !important;
        border: none !important;
        padding: 0 !important;
    }

    .tss-sidebar-nav-list li a {
        padding: 10px 18px !important;
        border-radius: 30px !important;
        background: #f4f5f7 !important;
        color: #4b5563 !important;
        font-size: 13px !important;
        white-space: nowrap !important;
        gap: 8px !important;
    }

    .tss-sidebar-nav-list li a:hover {
        background: #eef0f4 !important;
        padding-left: 18px !important;
    }

    /* Active pill on tablet/mobile */
    .tss-sidebar-nav-list li.is-active a,
    .tss-sidebar-nav-list li.active a {
        background: #0f0d1a !important;
        color: #ffffff !important;
    }

    .tss-sidebar-nav-list li.is-active a .tss-nav-icon,
    .tss-sidebar-nav-list li.active a .tss-nav-icon {
        color: #ffffff !important;
    }

    /* Hide arrow inside pill tabs */
    .tss-nav-arrow {
        display: none !important;
    }

    /* Remove top border on logout on tablet/mobile */
    .tss-sidebar-nav-list li.woocommerce-MyAccount-navigation-link--customer-logout {
        border-top: none !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* Addresses stack */
    body.tss-luxury-myaccount-active .site-content .woocommerce-Addresses {
        grid-template-columns: 1fr !important;
    }

    /* Form fields stack */
    .tss-form-row-split {
        flex-direction: column !important;
        gap: 0 !important;
    }

    body.tss-luxury-myaccount-active .site-content .woocommerce-MyAccount-content .form-row-first,
    body.tss-luxury-myaccount-active .site-content .woocommerce-MyAccount-content .form-row-last {
        width: 100% !important;
        float: none !important;
    }
}

/* ==========================================================================
   14. TABLET PORTRAIT OPTIMIZATION (< 768px)
   ========================================================================== */

@media (max-width: 768px) {
    body.tss-luxury-myaccount-active .site-content > .ast-container {
        padding-left: 14px !important;
        padding-right: 14px !important;
        padding-top: 10px !important;
        padding-bottom: 50px !important;
    }

    body.tss-luxury-myaccount-active .site-content #primary,
    body.tss-luxury-myaccount-active .site-content #main,
    body.tss-luxury-myaccount-active .site-content article.page,
    body.tss-luxury-myaccount-active .site-content .ast-article-single,
    body.tss-luxury-myaccount-active .site-content .ast-article-inner,
    body.tss-luxury-myaccount-active .site-content .entry-content {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    body.tss-luxury-myaccount-active .site-content .entry-content > .woocommerce,
    body.tss-luxury-myaccount-active .site-content .woocommerce:has(.woocommerce-MyAccount-navigation) {
        gap: 18px !important;
        margin: 12px auto 40px !important;
    }

    /* Address fields full width on tablet portrait */
    body.tss-luxury-myaccount-active .site-content .woocommerce-address-fields__field-wrapper .form-row,
    body.tss-luxury-myaccount-active .site-content .woocommerce-address-fields__field-wrapper .form-row-first,
    body.tss-luxury-myaccount-active .site-content .woocommerce-address-fields__field-wrapper .form-row-last,
    body.tss-luxury-myaccount-active .site-content .woocommerce-address-fields__field-wrapper .form-row-wide {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        clear: both !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 16px !important;
        box-sizing: border-box !important;
    }

    .tss-form-card,
    .tss-edit-address-form,
    body.tss-luxury-myaccount-active .site-content .woocommerce-EditAccountForm,
    body.tss-luxury-myaccount-active .site-content .woocommerce-EditAddressForm {
        padding: 24px 18px !important;
        border-radius: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* ==========================================================================
   15. MOBILE OPTIMIZATION (< 640px)
   ========================================================================== */

@media (max-width: 640px) {
    body.tss-luxury-myaccount-active .site-content > .ast-container {
        padding-left: 10px !important;
        padding-right: 10px !important;
        padding-top: 8px !important;
        padding-bottom: 40px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    body.tss-luxury-myaccount-active .site-content #primary,
    body.tss-luxury-myaccount-active .site-content #main,
    body.tss-luxury-myaccount-active .site-content article.page,
    body.tss-luxury-myaccount-active .site-content .ast-article-single,
    body.tss-luxury-myaccount-active .site-content .ast-article-inner,
    body.tss-luxury-myaccount-active .site-content .entry-content {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    body.tss-luxury-myaccount-active .site-content .entry-content > .woocommerce,
    body.tss-luxury-myaccount-active .site-content .woocommerce:has(.woocommerce-MyAccount-navigation) {
        margin: 8px auto 30px !important;
        gap: 16px !important;
        width: 100% !important;
    }

    /* Welcome Hero stacks on mobile */
    .tss-account-welcome-hero {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 18px !important;
        padding: 20px 16px !important;
        border-radius: 10px !important;
    }

    .tss-welcome-hero-left {
        gap: 14px !important;
    }

    .tss-welcome-avatar {
        width: 44px !important;
        height: 44px !important;
        font-size: 16px !important;
    }

    .tss-welcome-name {
        font-size: 19px !important;
    }

    .tss-welcome-hero-right {
        width: 100% !important;
    }

    .tss-welcome-logout-btn {
        width: 100% !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    /* Dashboard cards stack to 1 column on mobile */
    .tss-dashboard-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .tss-dash-card {
        padding: 16px 14px !important;
        border-radius: 10px !important;
    }

    /* Concierge help banner */
    .tss-dashboard-help-banner {
        flex-direction: column !important;
        text-align: center !important;
        padding: 18px 14px !important;
        gap: 14px !important;
        border-radius: 10px !important;
    }

    .tss-help-btn {
        width: 100% !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    /* Responsive Orders Table -> Card transformation */
    body.tss-luxury-myaccount-active .tss-orders-table thead {
        display: none !important;
    }

    body.tss-luxury-myaccount-active .tss-orders-table tbody tr {
        display: block !important;
        padding: 14px !important;
        margin-bottom: 12px !important;
        border: 1px solid #eef0f3 !important;
        border-radius: 10px !important;
        background: #ffffff !important;
    }

    body.tss-luxury-myaccount-active .tss-orders-table tbody td,
    body.tss-luxury-myaccount-active .tss-orders-table tbody th {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 7px 0 !important;
        border: none !important;
        font-size: 13px !important;
    }

    body.tss-luxury-myaccount-active .tss-orders-table tbody td::before,
    body.tss-luxury-myaccount-active .tss-orders-table tbody th::before {
        content: attr(data-title) !important;
        font-weight: 600 !important;
        color: #9ca3af !important;
        font-size: 11px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
    }

    /* Forms - edge-to-edge comfortable spacious width */
    .tss-form-card,
    .tss-edit-address-form,
    body.tss-luxury-myaccount-active .site-content .woocommerce-EditAccountForm,
    body.tss-luxury-myaccount-active .site-content .woocommerce-EditAddressForm {
        padding: 20px 14px !important;
        border-radius: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    body.tss-luxury-myaccount-active .woocommerce-MyAccount-content .form-row,
    body.tss-luxury-myaccount-active .site-content .woocommerce-address-fields__field-wrapper .form-row,
    body.tss-luxury-myaccount-active .site-content .woocommerce-address-fields__field-wrapper .form-row-first,
    body.tss-luxury-myaccount-active .site-content .woocommerce-address-fields__field-wrapper .form-row-last,
    body.tss-luxury-myaccount-active .site-content .woocommerce-address-fields__field-wrapper .form-row-wide {
        margin-bottom: 16px !important;
        width: 100% !important;
        float: none !important;
    }

    body.tss-luxury-myaccount-active .woocommerce-MyAccount-content .woocommerce-Input,
    body.tss-luxury-myaccount-active .woocommerce-MyAccount-content .input-text,
    body.tss-luxury-myaccount-active .woocommerce-MyAccount-content select {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        height: 46px !important;
        padding: 0 12px !important;
        font-size: 14px !important;
    }

    .tss-save-changes-btn,
    body.tss-luxury-myaccount-active .woocommerce-MyAccount-content .woocommerce-Button,
    body.tss-luxury-myaccount-active .woocommerce-MyAccount-content button[type="submit"] {
        width: 100% !important;
        height: 46px !important;
    }

    /* Addresses list */
    body.tss-luxury-myaccount-active .woocommerce-Address {
        padding: 18px 14px !important;
        border-radius: 10px !important;
    }

    /* Login wrapper & Auth card */
    .tss-login-wrapper {
        margin: 16px auto 30px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .tss-auth-card-container {
        padding: 24px 18px !important;
        border-radius: 12px !important;
        box-sizing: border-box !important;
    }

    .tss-login-title {
        font-size: 24px !important;
    }

    .tss-auth-switcher {
        padding: 3px !important;
    }

    .tss-auth-tab-btn {
        height: 38px !important;
        font-size: 13px !important;
    }
}

/* ==========================================================================
   16. SMALL SCREEN MOBILE OPTIMIZATION (< 480px)
   ========================================================================== */

@media (max-width: 480px) {
    body.tss-luxury-myaccount-active .site-content > .ast-container {
        padding-left: 8px !important;
        padding-right: 8px !important;
        padding-top: 6px !important;
        padding-bottom: 30px !important;
    }

    .tss-form-card,
    .tss-edit-address-form,
    body.tss-luxury-myaccount-active .site-content .woocommerce-EditAccountForm,
    body.tss-luxury-myaccount-active .site-content .woocommerce-EditAddressForm {
        padding: 16px 12px !important;
    }

    .tss-account-welcome-hero {
        padding: 16px 12px !important;
    }

    .tss-dash-card {
        padding: 14px 12px !important;
    }

    .tss-auth-card-container {
        padding: 20px 14px !important;
        border-radius: 10px !important;
    }
}
