/**
 * My Account — TeachAcademy
 *
 * Styles for the rebuilt account section:
 *   Layout, sidebar navigation, dashboard, orders, downloads, edit-account
 */

/* ===============================
   0. RESET / OVERRIDES
   =============================== */
.woocommerce-account .entry-header {
    display: none !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
    float: none !important;
    width: 100% !important;
}

.woocommerce-account .woocommerce {
    margin: 0 auto;
}

/* Page title inside content area */
.ta-page-title {
    font-size: 22px;
    font-weight: 700;
    color: #27282c;
    margin: 0 0 20px;
    line-height: 1.3;
    letter-spacing: -0.01em;
    padding-top: 20px;
}
/* Hide default WC notices styling in our sections */
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-error {
    border-radius: 8px;
    margin-bottom: 20px;
}

/* ===============================
   1. LAYOUT — sidebar + content
   =============================== */
.ta-account-layout {
    display: flex;
    gap: 40px;
    min-height: 600px;
}

.ta-account-sidebar {
    width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
    align-self: flex-start;
}

.ta-account-content {
    flex: 1;
    min-width: 0;
}

/* ===============================
   2. USER CARD
   =============================== */
.ta-account-user-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 16px;
    margin-bottom: 8px;
}

.ta-account-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.ta-account-user-info {
    min-width: 0;
}

.ta-account-user-name {
    font-weight: 600;
    font-size: 15px;
    color: #27282c;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ta-account-user-email {
    font-size: 13px;
    color: #71717a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===============================
   3. NAVIGATION
   =============================== */
.ta-account-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 8px;
}

.ta-account-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #52525b;
    text-decoration: none;
    transition: all 0.15s ease;
}

.ta-account-nav-item:hover {
    background: #f4f4f5;
    color: #27282c;
    text-decoration: none;
}

.ta-account-nav-item.is-active {
    background: #ecfdf9;
    color: #0d9488;
    font-weight: 600;
}

.ta-account-nav-item.is-active .ta-account-nav-icon {
    color: #0d9488;
}

.ta-account-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #a1a1aa;
}

.ta-account-nav-item:hover .ta-account-nav-icon {
    color: #52525b;
}

.ta-account-nav-label {
    flex: 1;
}

.ta-account-nav-arrow {
    color: #d4d4d8;
    flex-shrink: 0;
    transition: transform 0.15s ease;
}

.ta-account-nav-item:hover .ta-account-nav-arrow {
    color: #a1a1aa;
    transform: translateX(2px);
}

.ta-account-nav-item.is-active .ta-account-nav-arrow {
    color: #6CD3C2;
}

.ta-account-nav-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 8px 12px;
}

.ta-account-nav-item.is-logout {
    color: #71717a;
}

.ta-account-nav-item.is-logout:hover {
    background: #fef2f2;
    color: #222222;
}

.ta-account-nav-item.is-logout:hover .ta-account-nav-icon {
    color: #222222;
}

/* ===============================
   4. DASHBOARD
   =============================== */
.ta-dashboard {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-top: 20px;
}

/* Welcome */
.ta-dashboard-welcome {
    background: linear-gradient(135deg, #ecfdf9 0%, #f0fdf4 50%, #f0f9ff 100%);
    border-radius: 12px;
    padding: 28px 32px;
}

.ta-dashboard-welcome h2 {
    font-size: 22px;
    font-weight: 700;
    color: #27282c;
    margin: 0 0 6px;
}

.ta-dashboard-welcome p {
    font-size: 14px;
    color: #52525b;
    margin: 0;
    line-height: 1.6;
}

/* Stats */
.ta-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.ta-stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ta-stat-card:hover {
    border-color: #6CD3C2;
    box-shadow: 0 4px 12px rgba(108, 211, 194, 0.12);
    text-decoration: none;
    transform: translateY(-1px);
}

.ta-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    flex-shrink: 0;
}

.ta-stat-icon--orders {
    background: #ede9fe;
    color: #7c3aed;
}

.ta-stat-icon--downloads {
    background: #ecfdf5;
    color: #059669;
}

.ta-stat-icon--account {
    background: #eff6ff;
    color: #3b82f6;
}

.ta-stat-info {
    min-width: 0;
}

.ta-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #27282c;
    line-height: 1.2;
}

.ta-stat-label {
    font-size: 13px;
    color: #71717a;
    margin-top: 2px;
}

/* ── Dashboard: Vendor / Kreatör section ── */
.ta-dashboard-vendor {
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
}

.ta-dashboard-vendor-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #d97706;
    margin-bottom: 16px;
}

.ta-dashboard-vendor-header svg {
    color: #f59e0b;
}

.ta-dashboard-vendor-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.ta-vendor-stat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 14px 16px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ta-vendor-stat-card:hover {
    border-color: #6CD3C2;
    box-shadow: 0 2px 8px rgba(108, 211, 194, 0.1);
    text-decoration: none;
    transform: translateY(-1px);
}

.ta-vendor-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #ecfdf5;
    color: #059669;
    flex-shrink: 0;
}

.ta-vendor-stat-icon--tickets {
    background: #fef2f2;
    color: #ef4444;
}

.ta-vendor-stat-info {
    min-width: 0;
}

.ta-vendor-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: #27282c;
    line-height: 1.2;
}

.ta-vendor-stat-label {
    font-size: 12px;
    color: #71717a;
    margin-top: 1px;
}

.ta-dashboard-vendor-shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ta-vendor-shortcut {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 8px;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.ta-vendor-shortcut:hover {
    background: #fff;
    border-color: #6CD3C2;
    color: #27282c;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(108, 211, 194, 0.1);
}

.ta-vendor-shortcut--primary {
    background: #6CD3C2;
    color: #fff;
    border-color: #6CD3C2;
}

.ta-vendor-shortcut--primary:hover {
    background: #5ac4b3;
    color: #fff;
    border-color: #5ac4b3;
    box-shadow: 0 2px 8px rgba(108, 211, 194, 0.25);
}

/* Section */
.ta-dashboard-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ta-dashboard-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: #27282c;
    margin: 0;
}

.ta-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ta-section-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #27282c;
    margin: 0;
}

.ta-section-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 500;
    color: #6CD3C2;
    text-decoration: none;
}

.ta-section-link:hover {
    color: #0d9488;
    text-decoration: none;
}

/* Recent orders list (dashboard) */
.ta-orders-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ta-order-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px 20px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.ta-order-card:hover {
    border-color: #d4d4d8;
    background: #fafafa;
    text-decoration: none;
}

.ta-order-card-main {
    min-width: 0;
}

.ta-order-number {
    font-size: 14px;
    font-weight: 600;
    color: #27282c;
}

.ta-order-product {
    font-size: 13px;
    color: #71717a;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ta-order-date {
    font-size: 12px;
    color: #a1a1aa;
    margin-top: 4px;
}

.ta-order-card-end {
    text-align: right;
    flex-shrink: 0;
}

.ta-order-total {
    font-size: 14px;
    font-weight: 600;
    color: #27282c;
    margin-top: 4px;
}

/* Status badges */
.ta-order-status {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 3px 10px;
    border-radius: 20px;
    line-height: 1.4;
}

.ta-order-status--completed {
    background: #ecfdf5;
    color: #059669;
}

.ta-order-status--processing {
    background: #eff6ff;
    color: #2563eb;
}

.ta-order-status--on-hold {
    background: #fffbeb;
    color: #d97706;
}

.ta-order-status--pending {
    background: #fef3c7;
    color: #92400e;
}

.ta-order-status--cancelled,
.ta-order-status--refunded,
.ta-order-status--failed {
    background: #fef2f2;
    color: #dc2626;
}

/* Quick actions */
.ta-quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.ta-quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    text-decoration: none;
    color: #52525b;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    transition: all 0.15s ease;
}

.ta-quick-action:hover {
    border-color: #6CD3C2;
    color: #0d9488;
    text-decoration: none;
    transform: translateY(-1px);
}

.ta-quick-action svg {
    color: #a1a1aa;
    transition: color 0.15s ease;
}

.ta-quick-action:hover svg {
    color: #6CD3C2;
}

/* ===============================
   5. ORDERS (page)
   =============================== */
.ta-orders {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ta-order-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px 20px;
    transition: border-color 0.15s ease;
}

.ta-order-item:hover {
    border-color: #d4d4d8;
}

.ta-order-item-main {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    flex: 1;
}

.ta-order-thumb {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f4f4f5;
}

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

.ta-order-thumb--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4d4d8;
}

.ta-order-item-info {
    min-width: 0;
    flex: 1;
}

.ta-order-item-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.ta-order-item-number {
    font-size: 14px;
    font-weight: 600;
    color: #27282c;
    text-decoration: none;
}

.ta-order-item-number:hover {
    color: #6CD3C2;
    text-decoration: none;
}

.ta-order-item-product {
    font-size: 13px;
    color: #52525b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ta-order-item-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #a1a1aa;
    margin-top: 4px;
}

.ta-order-meta-sep {
    color: #d4d4d8;
}

.ta-order-item-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.ta-order-action {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.15s ease;
    color: #52525b;
    background: #f4f4f5;
}

.ta-order-action:hover {
    background: #e4e4e7;
    color: #27282c;
    text-decoration: none;
}

.ta-order-action--view {
    color: #0d9488;
    background: #ecfdf9;
}

.ta-order-action--view:hover {
    background: #ccfbf1;
    color: #0d9488;
}

.ta-order-action--pay {
    color: #fff;
    background: #6CD3C2;
}

.ta-order-action--pay:hover {
    background: #5bc4b3;
    color: #fff;
}

/* Pagination */
.ta-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.ta-pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #52525b;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.ta-pagination-btn:hover {
    border-color: #6CD3C2;
    color: #0d9488;
    text-decoration: none;
}

.ta-pagination-info {
    font-size: 13px;
    color: #71717a;
}

/* ===============================
   6. DOWNLOADS
   =============================== */
.ta-downloads {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Toolbar */
.ta-downloads-toolbar {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.ta-downloads-search {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 200px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0 14px;
    transition: border-color 0.15s ease;
}

.ta-downloads-search:focus-within {
    border-color: #6CD3C2;
    box-shadow: 0 0 0 3px rgba(108, 211, 194, 0.15);
}

.ta-downloads-search svg {
    color: #a1a1aa;
    flex-shrink: 0;
}

.ta-downloads-search input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 0;
    font-size: 14px;
    color: #27282c;
    background: transparent;
}

.ta-downloads-search input::placeholder {
    color: #a1a1aa;
}

/* Filter chips */
.ta-downloads-filters {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.ta-filter-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #71717a;
    cursor: pointer;
    transition: all 0.15s ease;
}

.ta-filter-chip:hover {
    border-color: #d4d4d8;
    color: #27282c;
}

.ta-filter-chip.is-active {
    background: #27282c;
    border-color: #27282c;
    color: #fff;
}

/* Downloads count */
.ta-downloads-count {
    font-size: 13px;
    color: #a1a1aa;
    white-space: nowrap;
}

/* Grid */
.ta-downloads-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Horizontal download row */
.ta-download-row {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px;
    transition: all 0.2s ease;
}

.ta-download-row:hover {
    border-color: #d4d4d8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Square thumbnail */
.ta-download-row-thumb {
    position: relative;
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f4f4f5;
}

.ta-download-row-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ta-download-row-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #d4d4d8;
}

.ta-download-row-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    padding: 2px 5px;
    font-size: 9px;
    font-weight: 700;
    color: #fff;
    border-radius: 3px;
    letter-spacing: 0.04em;
    line-height: 1.4;
}

/* Info block */
.ta-download-row-info {
    flex: 1;
    min-width: 0;
}

.ta-download-row-title {
    font-size: 14px;
    font-weight: 600;
    color: #27282c;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ta-download-row-title a {
    color: inherit;
    text-decoration: none;
}

.ta-download-row-title a:hover {
    color: #6CD3C2;
}

.ta-download-row-file {
    font-size: 12px;
    color: #71717a;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ta-download-row-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    font-size: 11px;
    color: #a1a1aa;
    margin-top: 4px;
}

.ta-download-row-meta span::before {
    content: '';
}

/* Download button */
.ta-download-row-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 600;
    color: #0d9488;
    background: #ecfdf9;
    border: 1px solid #d1fae5;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.ta-download-row-btn:hover {
    background: #ccfbf1;
    border-color: #a7f3d0;
    color: #0d9488;
    text-decoration: none;
}

/* No results */
.ta-downloads-no-results {
    text-align: center;
    padding: 40px 20px;
    color: #a1a1aa;
}

.ta-downloads-no-results svg {
    margin-bottom: 12px;
    opacity: 0.5;
}

.ta-downloads-no-results p {
    font-size: 14px;
    color: #71717a;
    margin: 0;
}

/* ===============================
   7. EDIT ACCOUNT FORM
   =============================== */
.ta-edit-account {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Override WooCommerce defaults */
.ta-edit-account .form-row,
.ta-edit-account p.form-row {
    padding: 0;
    margin: 0;
}

.ta-form-section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 24px;
}

.ta-form-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f4f4f5;
}

.ta-form-section-header svg {
    color: #6CD3C2;
    flex-shrink: 0;
}

.ta-form-section-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #27282c;
    margin: 0;
}

.ta-form-section-hint {
    font-size: 13px;
    color: #a1a1aa;
    margin-left: auto;
}

/* Rows */
.ta-form-row {
    margin-bottom: 16px;
}

.ta-form-row:last-child {
    margin-bottom: 0;
}

.ta-form-row--half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Fields */
.ta-form-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.ta-required {
    color: #ef4444;
}

.ta-form-field input[type="text"],
.ta-form-field input[type="email"],
.ta-form-field input[type="password"],
.ta-form-field input[type="tel"],
.ta-form-field select,
.ta-form-field textarea {
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    color: #27282c;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.15s ease;
    outline: none;
    box-sizing: border-box;
}

.ta-form-field input:focus,
.ta-form-field select:focus,
.ta-form-field textarea:focus {
    border-color: #6CD3C2;
    box-shadow: 0 0 0 3px rgba(108, 211, 194, 0.15);
}

.ta-form-hint {
    display: block;
    font-size: 12px;
    color: #a1a1aa;
    margin-top: 6px;
    line-height: 1.5;
}

/* Actions */
.ta-form-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ===============================
   8. EMPTY STATE
   =============================== */
.ta-empty-state {
    text-align: center;
    padding: 60px 20px;
}

.ta-empty-state-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #f4f4f5;
    color: #a1a1aa;
    margin-bottom: 20px;
}

.ta-empty-state h3 {
    font-size: 18px;
    font-weight: 600;
    color: #27282c;
    margin: 0 0 8px;
}

.ta-empty-state p {
    font-size: 14px;
    color: #71717a;
    margin: 0 0 24px;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ===============================
   9. BUTTONS
   =============================== */
.ta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease;
}

.ta-btn--primary {
    background: #6CD3C2;
    color: #fff;
}

.ta-btn--primary:hover {
    background: #5bc4b3;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(108, 211, 194, 0.3);
}

/* ===============================
   10. MOBILE NAV TOGGLE
   =============================== */
.ta-mobile-nav-toggle {
    display: none;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #27282c;
    cursor: pointer;
    margin-bottom: 16px;
}

.ta-mobile-nav-toggle svg {
    color: #71717a;
    transition: transform 0.2s ease;
}

.ta-mobile-nav-toggle.is-open svg {
    transform: rotate(180deg);
}

/* ===============================
   11. VIEW ORDER
   =============================== */
.ta-view-order {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Back link */
.ta-view-order-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #71717a;
    text-decoration: none;
    transition: color 0.15s ease;
    margin-bottom: -4px;
}

.ta-view-order-back:hover {
    color: #6CD3C2;
    text-decoration: none;
}

.ta-view-order-back:hover svg {
    transform: translateX(-2px);
}

.ta-view-order-back svg {
    transition: transform 0.15s ease;
}

/* Header card */
.ta-view-order-header {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
}

.ta-view-order-header-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f4f4f5;
}

.ta-view-order-title {
    font-size: 20px;
    font-weight: 700;
    color: #27282c;
    margin: 0 0 6px;
}

.ta-view-order-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #71717a;
}

.ta-view-order-date svg {
    color: #a1a1aa;
}

/* Meta row */
.ta-view-order-meta {
    display: flex;
    gap: 32px;
}

.ta-view-order-meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ta-view-order-meta-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #a1a1aa;
}

.ta-view-order-meta-value {
    font-size: 14px;
    font-weight: 600;
    color: #27282c;
}

.ta-view-order-meta-value--total {
    color: #0d9488;
    font-size: 15px;
}

/* Section (notes) */
.ta-view-order-section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
}

.ta-view-order-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f4f4f5;
}

.ta-view-order-section-header svg {
    color: #6CD3C2;
    flex-shrink: 0;
}

.ta-view-order-section-header h3 {
    font-size: 15px;
    font-weight: 600;
    color: #27282c;
    margin: 0;
}

/* Notes */
.ta-view-order-notes {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ta-view-order-note {
    padding: 14px 16px;
    background: #f9fafb;
    border-radius: 8px;
    border-left: 3px solid #6CD3C2;
}

.ta-view-order-note-date {
    font-size: 12px;
    font-weight: 600;
    color: #a1a1aa;
    margin-bottom: 6px;
}

.ta-view-order-note-text {
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
}

.ta-view-order-note-text p {
    margin: 0;
}

/* Details section — wraps the hooked order-details table */
.ta-view-order-details .woocommerce-order-details,
.ta-view-order-details .woocommerce-customer-details,
.ta-view-order-details .woocommerce-order-downloads {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
}

/* All tables inside view-order details */
.ta-view-order-details table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    border: 1px solid #f4f4f5;
    border-radius: 8px;
    overflow: hidden;
}

.ta-view-order-details table thead th {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #a1a1aa;
    padding: 10px 16px;
    border-bottom: 1px solid #e5e7eb;
    background: #fafafa;
}

.ta-view-order-details table thead th:last-child {
    text-align: right;
}

.ta-view-order-details table tbody td {
    padding: 14px 16px;
    font-size: 14px;
    color: #374151;
    border-bottom: 1px solid #f4f4f5;
    vertical-align: top;
}

.ta-view-order-details table tbody tr:last-child td {
    border-bottom: none;
}

.ta-view-order-details table tbody td:last-child {
    text-align: right;
}

.ta-view-order-details table tbody td a {
    color: #27282c;
    text-decoration: none;
    font-weight: 500;
}

.ta-view-order-details table tbody td a:hover {
    color: #6CD3C2;
}

.ta-view-order-details table tfoot th,
.ta-view-order-details table tfoot td {
    padding: 10px 16px;
    border-top: 1px solid #f4f4f5;
    border-bottom: none;
}

.ta-view-order-details table tfoot th {
    font-size: 13px;
    font-weight: 500;
    color: #71717a;
    text-align: left;
}

.ta-view-order-details table tfoot td {
    font-size: 14px;
    font-weight: 600;
    color: #27282c;
    text-align: right;
}

/* Hide the actions tfoot heading label */
.ta-view-order-details table tfoot .order-actions--heading {
    display: none;
}

/* Actions tfoot - make buttons inline */
.ta-view-order-details table tfoot td:has(.order-actions-button) {
    text-align: left;
    padding-top: 14px;
    padding-bottom: 14px;
}

/* Section titles inside view-order */
.ta-view-order-details .woocommerce-order-details__title,
.ta-view-order-details .woocommerce-column__title,
.ta-view-order-details .woocommerce-order-downloads h2,
.ta-view-order-details h2.woocommerce-order-downloads__title {
    font-size: 15px;
    font-weight: 600;
    color: #27282c;
    margin: 0 0 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f4f4f5;
}

/* Buttons area after table — flex row */
.ta-view-order-details .woocommerce-order-details > *:not(table):not(h2):not(.woocommerce-order-details__title) {
    display: inline-flex;
}

/* Shared button base for all action buttons in view-order */
.ta-view-order-details .order-actions-button,
.ta-view-order-details .order-again .button,
.ta-view-order-details tfoot .button,
.ta-view-order-details .woocommerce-button,
.ta-view-order-details .dokan-store-support-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 20px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.15s ease;
    border: 1px solid transparent;
    cursor: pointer;
    margin-right: 8px;
    margin-top: 12px;
    line-height: 1.4;
}

/* Primary style (Beställ igen, etc.) */
.ta-view-order-details .order-actions-button,
.ta-view-order-details .order-again .button,
.ta-view-order-details tfoot .button,
.ta-view-order-details .woocommerce-button {
    color: #fff;
    background: #6CD3C2;
    border-color: #6CD3C2;
}

.ta-view-order-details .order-actions-button:hover,
.ta-view-order-details .order-again .button:hover,
.ta-view-order-details tfoot .button:hover,
.ta-view-order-details .woocommerce-button:hover {
    background: #5bc4b3;
    border-color: #5bc4b3;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(108, 211, 194, 0.25);
}

/* Secondary style (Har du en fråga?) */
.ta-view-order-details .dokan-store-support-btn {
    color: #374151;
    background: #fff;
    border-color: #e5e7eb;
}

.ta-view-order-details .dokan-store-support-btn:hover {
    border-color: #6CD3C2;
    color: #0d9488;
    background: #ecfdf9;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Customer details section */
.ta-view-order-details .woocommerce-customer-details .woocommerce-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.ta-view-order-details .woocommerce-customer-details address {
    font-style: normal;
    font-size: 14px;
    color: #52525b;
    line-height: 1.7;
}

/* ---- View order fallback (also applies outside .ta-view-order) ---- */
.woocommerce-account .ta-account-content .woocommerce-order-details,
.woocommerce-account .ta-account-content .woocommerce-customer-details {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 16px;
}

.woocommerce-account .ta-account-content table {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce-account .ta-account-content table th,
.woocommerce-account .ta-account-content table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #f4f4f5;
    font-size: 14px;
}

.woocommerce-account .ta-account-content table th {
    font-weight: 600;
    color: #374151;
    font-size: 13px;
}

/* Edit address cards (default fallback) */
.woocommerce-account .ta-account-content .woocommerce-Addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.woocommerce-account .ta-account-content .woocommerce-Address {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 24px;
}

.woocommerce-account .ta-account-content .woocommerce-Address h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 12px;
    color: #27282c;
}

.woocommerce-account .ta-account-content .woocommerce-Address address {
    font-style: normal;
    font-size: 14px;
    color: #52525b;
    line-height: 1.7;
}

.woocommerce-account .ta-account-content .woocommerce-Address .edit {
    display: inline-flex;
    align-items: center;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 500;
    color: #6CD3C2;
    text-decoration: none;
}

.woocommerce-account .ta-account-content .woocommerce-Address .edit:hover {
    color: #0d9488;
}

/* Edit Address form override */
.woocommerce-account .ta-account-content .woocommerce-address-fields .form-row {
    margin-bottom: 16px;
}

.woocommerce-account .ta-account-content .woocommerce-address-fields label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.woocommerce-account .ta-account-content .woocommerce-address-fields input.input-text,
.woocommerce-account .ta-account-content .woocommerce-address-fields select {
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    color: #27282c;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.15s ease;
    outline: none;
}

.woocommerce-account .ta-account-content .woocommerce-address-fields input.input-text:focus,
.woocommerce-account .ta-account-content .woocommerce-address-fields select:focus {
    border-color: #6CD3C2;
    box-shadow: 0 0 0 3px rgba(108, 211, 194, 0.15);
}

.woocommerce-account .ta-account-content .woocommerce-address-fields button[type="submit"] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    background: #6CD3C2;
    color: #fff;
    cursor: pointer;
    transition: all 0.15s ease;
}

.woocommerce-account .ta-account-content .woocommerce-address-fields button[type="submit"]:hover {
    background: #5bc4b3;
}

/* ===============================
   12. RESPONSIVE
   =============================== */
@media (max-width: 991px) {
    .ta-account-layout {
        flex-direction: column;
        gap: 0;
    }

    .ta-account-sidebar {
        width: 100%;
        position: static;
        margin-bottom: 24px;
    }

    .ta-mobile-nav-toggle {
        display: flex;
    }

    .ta-account-nav {
        display: none;
        padding: 0 4px 8px;
    }

    .ta-account-nav.is-open {
        display: flex;
    }

    .ta-dashboard-stats {
        grid-template-columns: 1fr;
    }

    .ta-dashboard-vendor-stats {
        grid-template-columns: 1fr 1fr;
    }

    .ta-quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .ta-order-item-actions {
        width: 100%;
        padding-top: 12px;
        border-top: 1px solid #f4f4f5;
    }

    .ta-downloads-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .ta-download-row-btn-text {
        display: none;
    }
    .ta-download-row-btn {
        padding: 9px;
    }

    .ta-form-row--half {
        grid-template-columns: 1fr;
    }

    .woocommerce-account .ta-account-content .woocommerce-Addresses {
        grid-template-columns: 1fr;
    }

    .ta-view-order-header-top {
        flex-direction: column;
        gap: 12px;
    }

    .ta-view-order-meta {
        flex-wrap: wrap;
        gap: 16px;
    }

    .ta-view-order-details .woocommerce-customer-details .woocommerce-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .woocommerce-account .woocommerce {
        padding: 16px 12px;
    }

    .ta-dashboard-welcome {
        padding: 20px;
    }

    .ta-dashboard-welcome h2 {
        font-size: 18px;
    }

    .ta-quick-actions {
        grid-template-columns: 1fr 1fr;
    }

    .ta-order-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .ta-order-card-end {
        text-align: left;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .ta-download-row {
        flex-wrap: wrap;
        gap: 10px;
    }
    .ta-download-row-info {
        flex: 1 1 0;
        min-width: 120px;
    }
    .ta-download-row-thumb {
        width: 56px;
        height: 56px;
    }

    .ta-form-section {
        padding: 16px;
    }

    .ta-stat-card {
        padding: 16px;
    }

    .ta-view-order-header {
        padding: 16px;
    }

    .ta-view-order-section {
        padding: 16px;
    }

    .ta-view-order-details .woocommerce-order-details,
    .ta-view-order-details .woocommerce-customer-details,
    .ta-view-order-details .woocommerce-order-downloads {
        padding: 16px;
    }

    .ta-view-order-meta {
        gap: 12px;
    }
}

/* ===============================
   13. OFFCANVAS ACCOUNT
   Compact layout for Bootstrap offcanvas sidebar
   =============================== */
.my-offcanvas-account .woocommerce {
    max-width: none;
    padding: 0;
}

/* Stack layout vertically, no gap */
.my-offcanvas-account .ta-account-layout {
    flex-direction: column;
    gap: 0;
    min-height: auto;
}

/* Sidebar fills width, no sticky */
.my-offcanvas-account .ta-account-sidebar {
    width: 100%;
    position: static;
}

/* Compact user card */
.my-offcanvas-account .ta-account-user-card {
    padding: 4px 4px 16px;
    margin-bottom: 0;
    gap: 12px;
}

.my-offcanvas-account .ta-account-avatar {
    width: 44px;
    height: 44px;
}

.my-offcanvas-account .ta-account-user-name {
    font-size: 14px;
}

.my-offcanvas-account .ta-account-user-email {
    font-size: 12px;
}

/* Nav — always visible, clean list */
.my-offcanvas-account .ta-account-nav {
    display: flex !important;
    padding: 0;
    gap: 1px;
    border-top: 1px solid #f4f4f5;
}

.my-offcanvas-account .ta-account-nav-item {
    padding: 11px 8px;
    border-radius: 6px;
    font-size: 13.5px;
    gap: 10px;
}

.my-offcanvas-account .ta-account-nav-icon {
    width: 18px;
    height: 18px;
}

.my-offcanvas-account .ta-account-nav-icon svg {
    width: 18px;
    height: 18px;
}

.my-offcanvas-account .ta-account-nav-arrow {
    width: 14px;
    height: 14px;
}

.my-offcanvas-account .ta-account-nav-arrow svg {
    width: 14px;
    height: 14px;
}

.my-offcanvas-account .ta-account-nav-divider {
    margin: 4px 8px;
}

/* Hide mobile toggle inside offcanvas — nav is always visible */
.my-offcanvas-account .ta-mobile-nav-toggle {
    display: none !important;
}

/* ---- Content area: compact ---- */
.my-offcanvas-account .ta-account-content {
    padding-top: 16px;
    border-top: 1px solid #f4f4f5;
}

/* Dashboard — simplified for offcanvas */
.my-offcanvas-account .ta-dashboard {
    gap: 16px;
}

.my-offcanvas-account .ta-dashboard-welcome {
    padding: 16px 18px;
    border-radius: 8px;
}

.my-offcanvas-account .ta-dashboard-welcome h2 {
    font-size: 16px;
    margin-bottom: 4px;
}

.my-offcanvas-account .ta-dashboard-welcome p {
    font-size: 13px;
    display: none; /* hide description in offcanvas */
}

/* Stats — single column, smaller */
.my-offcanvas-account .ta-dashboard-stats {
    grid-template-columns: 1fr;
    gap: 8px;
}

.my-offcanvas-account .ta-stat-card {
    padding: 12px 14px;
    gap: 12px;
    border-radius: 8px;
}

.my-offcanvas-account .ta-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.my-offcanvas-account .ta-stat-icon svg {
    width: 18px;
    height: 18px;
}

.my-offcanvas-account .ta-stat-value {
    font-size: 18px;
}

.my-offcanvas-account .ta-stat-label {
    font-size: 12px;
}

/* Recent orders — compact */
.my-offcanvas-account .ta-section-header {
    margin-bottom: 0;
}

.my-offcanvas-account .ta-section-header h3 {
    font-size: 14px;
}

.my-offcanvas-account .ta-orders-list {
    gap: 6px;
}

.my-offcanvas-account .ta-order-card {
    padding: 12px 14px;
    border-radius: 8px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.my-offcanvas-account .ta-order-number {
    font-size: 13px;
}

.my-offcanvas-account .ta-order-product {
    font-size: 12px;
}

.my-offcanvas-account .ta-order-date {
    font-size: 11px;
}

.my-offcanvas-account .ta-order-card-end {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.my-offcanvas-account .ta-order-status {
    font-size: 10px;
    padding: 2px 8px;
}

.my-offcanvas-account .ta-order-total {
    font-size: 13px;
    margin-top: 0;
}

/* Quick actions — 2 col, compact */
.my-offcanvas-account .ta-quick-actions {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.my-offcanvas-account .ta-quick-action {
    padding: 14px 8px;
    border-radius: 8px;
    font-size: 12px;
    gap: 6px;
}

.my-offcanvas-account .ta-quick-action svg {
    width: 18px;
    height: 18px;
}

/* Orders page inside offcanvas */
.my-offcanvas-account .ta-orders {
    gap: 8px;
}

.my-offcanvas-account .ta-order-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: 8px;
}

.my-offcanvas-account .ta-order-thumb {
    width: 40px;
    height: 40px;
    border-radius: 6px;
}

.my-offcanvas-account .ta-order-item-actions {
    width: 100%;
    padding-top: 8px;
    border-top: 1px solid #f4f4f5;
}

/* Downloads inside offcanvas */
.my-offcanvas-account .ta-download-row {
    padding: 10px;
    gap: 10px;
}

.my-offcanvas-account .ta-download-row-thumb {
    width: 48px;
    height: 48px;
}

.my-offcanvas-account .ta-download-row-title {
    font-size: 13px;
}

.my-offcanvas-account .ta-download-btn {
    padding: 8px 12px;
    font-size: 12px;
}

/* Form sections inside offcanvas */
.my-offcanvas-account .ta-form-section {
    padding: 16px;
    border-radius: 8px;
}

.my-offcanvas-account .ta-form-row--half {
    grid-template-columns: 1fr;
}

/* Empty state — compact */
.my-offcanvas-account .ta-empty-state {
    padding: 30px 16px;
}

.my-offcanvas-account .ta-empty-state-icon {
    width: 60px;
    height: 60px;
}

.my-offcanvas-account .ta-empty-state h3 {
    font-size: 15px;
}

.my-offcanvas-account .ta-empty-state p {
    font-size: 13px;
}

/* Pagination compact */
.my-offcanvas-account .ta-pagination {
    margin-top: 16px;
    padding-top: 12px;
}

/* ===============================
   14. OFFCANVAS — Custom compact menu
   Purpose-built for #offcanvas-user
   =============================== */
.ta-oc-menu {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Greeting */
.ta-oc-greeting {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 4px 14px 16px;
    margin: -4px -14px 0;
    border-bottom: 1px solid #f0f0f1;
    background: linear-gradient(135deg, rgba(108,211,194,.06) 0%, rgba(108,211,194,.02) 100%);
    border-radius: 12px 12px 0 0;
}

.ta-oc-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #d5f5ef;
    box-shadow: 0 2px 8px rgba(108,211,194,.15);
}

.ta-oc-greeting-text {
    font-size: 16px;
    font-weight: 700;
    color: #27282c;
    line-height: 1.3;
}

.ta-oc-greeting-sub {
    font-size: 12px;
    color: #a1a1aa;
    margin-top: 2px;
}

/* Mini stats */
.ta-oc-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f1;
}

.ta-oc-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 14px 10px;
    background: #f9fafb;
    border: 1px solid #f0f0f1;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.18s ease;
}

.ta-oc-stat:hover {
    border-color: #6CD3C2;
    background: #ecfdf9;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(108,211,194,.12);
}

.ta-oc-stat-value {
    font-size: 22px;
    font-weight: 700;
    color: #27282c;
    line-height: 1.2;
}

.ta-oc-stat-label {
    font-size: 11px;
    font-weight: 500;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Nav */
.ta-oc-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 0;
}

.ta-oc-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 10px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: all 0.15s ease;
}

.ta-oc-nav-item:hover {
    background: #f4f4f5;
    color: #27282c;
    text-decoration: none;
}

.ta-oc-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    color: #a1a1aa;
    background: #f4f4f5;
    border-radius: 8px;
    transition: all 0.15s ease;
}

.ta-oc-nav-icon svg {
    width: 16px;
    height: 16px;
}

.ta-oc-nav-item:hover .ta-oc-nav-icon {
    color: #6CD3C2;
    background: #ecfdf9;
}

.ta-oc-nav-label {
    flex: 1;
}

.ta-oc-nav-arrow {
    color: #d4d4d8;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.ta-oc-nav-item:hover .ta-oc-nav-arrow {
    color: #a1a1aa;
    transform: translateX(2px);
}

/* Logout */
.ta-oc-logout {
    padding-top: 6px;
    margin-top: 2px;
    border-top: 1px solid #f0f0f1;
}

.ta-oc-nav-item--logout {
    color: #71717a;
}

.ta-oc-nav-item--logout:hover {
    background: #fef2f2;
    color: #ef4444;
}

.ta-oc-nav-item--logout:hover .ta-oc-nav-icon {
    color: #ef4444;
    background: #fef2f2;
}

/* Ticket badge */
.ta-oc-nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: #ef4444;
    border-radius: 10px;
    flex-shrink: 0;
}

/* ── Offcanvas Vendor / Kreatör section ── */
.ta-oc-vendor {
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f1;
    margin-bottom: 0;
}

.ta-oc-vendor-header {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    color: #92400e;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #fcd34d;
    border-radius: 20px;
    padding: 4px 12px;
    margin-bottom: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 1px 3px rgba(245,158,11,.12);
}

.ta-oc-vendor-header svg {
    color: #f59e0b;
    flex-shrink: 0;
}

.ta-oc-vendor-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.ta-oc-stat--vendor {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 14px;
    text-align: center;
}

.ta-oc-stat--vendor:hover {
    border-color: #6CD3C2;
    box-shadow: 0 3px 10px rgba(108, 211, 194, 0.12);
    transform: translateY(-1px);
}

.ta-oc-stat--vendor .ta-oc-stat-value {
    font-size: 20px;
    color: #27282c;
}

.ta-oc-stat--vendor .ta-oc-stat-label {
    color: #71717a;
    font-size: 10px;
    white-space: nowrap;
}

.ta-oc-vendor-shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ta-oc-shortcut {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.18s ease;
    white-space: nowrap;
}

.ta-oc-shortcut:hover {
    background: #fff;
    border-color: #6CD3C2;
    color: #27282c;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(108, 211, 194, 0.10);
}

.ta-oc-shortcut--primary {
    background: linear-gradient(135deg, #6CD3C2 0%, #5ac4b3 100%);
    color: #fff;
    border-color: #5ac4b3;
    box-shadow: 0 2px 6px rgba(108, 211, 194, 0.18);
}

.ta-oc-shortcut--primary:hover {
    background: linear-gradient(135deg, #5ac4b3 0%, #4db8a7 100%);
    color: #fff;
    border-color: #4db8a7;
    box-shadow: 0 3px 10px rgba(108, 211, 194, 0.28);
}


/* ===============================
   15. OFFCANVAS — Login / Register (logged-out)
   Branded form inside #offcanvas-user
   =============================== */
.ta-oc-login {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ---- Header / branding ---- */
.ta-oc-login-header {
    text-align: center;
    padding-bottom: 20px;
}

.ta-oc-login-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(108, 211, 194, 0.15) 0%, rgba(108, 211, 194, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    color: #6CD3C2;
}

.ta-oc-login-heading {
    font-size: 22px;
    font-weight: 700;
    color: #27282c;
    margin: 0 0 6px;
}

.ta-oc-login-sub {
    font-size: 13px;
    color: #71717a;
    margin: 0;
    line-height: 1.4;
}

/* ---- Tab switcher ---- */
.ta-oc-login-tabs {
    display: flex;
    background: #f4f4f5;
    border-radius: 8px;
    padding: 3px;
    margin-bottom: 20px;
    gap: 3px;
}

.ta-oc-login-tab {
    flex: 1;
    padding: 9px 0;
    border: none;
    background: transparent;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #71717a;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.ta-oc-login-tab:hover {
    color: #27282c;
}

.ta-oc-login-tab.active {
    background: #fff;
    color: #27282c;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* ---- Tab panels ---- */
.ta-oc-tab-panel {
    display: none;
}

.ta-oc-tab-panel.active {
    display: block;
}

/* ---- Form fields ---- */
.ta-oc-field {
    margin-bottom: 16px;
}

.ta-oc-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.ta-oc-label svg {
    color: #a1a1aa;
    flex-shrink: 0;
}

.ta-oc-input {
    width: 100%;
    padding: 10px 14px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    color: #27282c;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ta-oc-input::placeholder {
    color: #c4c4c4;
}

.ta-oc-input:focus {
    outline: none;
    border-color: #6CD3C2 !important;
    box-shadow: 0 0 0 3px rgba(108, 211, 194, 0.15) !important;
}

/* ---- Remember / Forgot row ---- */
.ta-oc-field-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.ta-oc-remember {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #71717a;
    cursor: pointer;
    margin: 0;
}

.ta-oc-remember input {
    margin: 0;
    accent-color: #6CD3C2;
}

.ta-oc-forgot {
    font-size: 13px;
    font-weight: 500;
    color: #6CD3C2;
    text-decoration: none;
    transition: color 0.15s ease;
}

.ta-oc-forgot:hover {
    color: #4db8a7;
    text-decoration: none;
}

/* ---- Submit button ---- */
.ta-oc-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px !important;
    background: #6CD3C2 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.ta-oc-submit:hover {
    background: #5ac4b3 !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.ta-oc-submit:active {
    transform: translateY(0);
}

.ta-oc-submit svg {
    flex-shrink: 0;
}

.ta-oc-submit--register {
    background: #27282c !important;
}

.ta-oc-submit--register:hover {
    background: #374151 !important;
}

/* ---- Info text (password link notice) ---- */
.ta-oc-info-text {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 12px;
    color: #71717a;
    background: #f8f9fa;
    border: 1px solid #f4f4f5;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 16px;
    line-height: 1.5;
}

.ta-oc-info-text svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: #6CD3C2;
}

/* ---- Trust badges ---- */
.ta-oc-trust {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #f4f4f5;
}

.ta-oc-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #71717a;
}

.ta-oc-trust-item svg {
    color: #6CD3C2;
    flex-shrink: 0;
}

/* ---- WooCommerce notices inside offcanvas login ---- */
.ta-oc-login .woocommerce-notices-wrapper .woocommerce-error,
.ta-oc-login .woocommerce-notices-wrapper .woocommerce-message {
    font-size: 13px;
    padding: 10px 14px !important;
    border-radius: 8px;
    margin-bottom: 16px;
    list-style: none !important;
    position: static !important;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

/* suppress WooCommerce's absolute-positioned ::before icon */
.ta-oc-login .woocommerce-notices-wrapper .woocommerce-error::before,
.ta-oc-login .woocommerce-notices-wrapper .woocommerce-error li::before,
.ta-oc-login .woocommerce-notices-wrapper .woocommerce-message::before {
    display: none !important;
    content: none !important;
}

.ta-oc-login .woocommerce-notices-wrapper .woocommerce-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.ta-oc-login .woocommerce-notices-wrapper .woocommerce-message {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

/* ---- Password toggle in offcanvas ---- */
.ta-oc-login .password-input {
    position: relative;
    display: block;
}

.ta-oc-login .password-input .show-password-input {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
}

/* ---- Dokan / WooCommerce injected registration fields ---- */

/* Dokan role selector (customer / vendor radio) */
.ta-oc-login .vendor-customer-registration {
    display: flex;
    gap: 16px;
    padding: 0;
    margin-bottom: 16px;
}

.ta-oc-login .vendor-customer-registration .radio {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    margin: 0;
}

.ta-oc-login .vendor-customer-registration .radio input[type="radio"] {
    accent-color: #6CD3C2;
    margin: 0;
}

.ta-oc-login .vendor-customer-registration br {
    display: none;
}

/* Dokan vendor fields (fname, lname, shop, phone etc.) */
.ta-oc-login .show_if_seller {
    margin-bottom: 8px;
}

.ta-oc-login .show_if_seller .form-row,
.ta-oc-login .show_if_seller .form-group {
    margin-bottom: 12px !important;
    padding: 0;
}

.ta-oc-login .show_if_seller label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.ta-oc-login .show_if_seller .required {
    color: #ef4444;
}

.ta-oc-login .show_if_seller input.input-text,
.ta-oc-login .show_if_seller input.form-control {
    width: 100%;
    padding: 10px 14px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    color: #27282c;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ta-oc-login .show_if_seller input.input-text:focus,
.ta-oc-login .show_if_seller input.form-control:focus {
    outline: none;
    border-color: #6CD3C2 !important;
    box-shadow: 0 0 0 3px rgba(108, 211, 194, 0.15) !important;
}

/* Dokan split row (fname + lname side by side) */
.ta-oc-login .split-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ta-oc-login .split-row .form-row {
    margin-bottom: 0 !important;
}

/* Shop URL small text */
.ta-oc-login .show_if_seller small {
    font-size: 11px;
    color: #71717a;
    margin-top: 4px;
    display: block;
}

/* Dokan terms checkbox */
.ta-oc-login .tc_check_box {
    accent-color: #6CD3C2;
}

/* WooCommerce privacy policy text */
.ta-oc-login .woocommerce-privacy-policy-text {
    font-size: 12px;
    color: #71717a;
    line-height: 1.5;
    margin-bottom: 16px;
}

.ta-oc-login .woocommerce-privacy-policy-text p {
    margin: 0;
}

.ta-oc-login .woocommerce-privacy-policy-text a {
    color: #6CD3C2;
}

/* Generic WooCommerce form rows inside offcanvas login */

/* Billing first/last name — side by side */
.ta-oc-login .woocommerce-form-register {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.ta-oc-login .woocommerce-form-register > .form-row-first,
.ta-oc-login .woocommerce-form-register > .form-row-last {
    width: calc(50% - 5px) !important;
    flex: 0 0 calc(50% - 5px) !important;
    float: none !important;
    margin-bottom: 12px;
    padding: 0 !important;
}

.ta-oc-login .woocommerce-form-register > .form-row-first {
    margin-right: 10px;
}

/* Everything else in the register form takes full width */
.ta-oc-login .woocommerce-form-register > * {
    flex: 0 0 100%;
    width: 100%;
}

.ta-oc-login .woocommerce-form-register > .clear {
    display: none;
}

.ta-oc-login .form-row label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.ta-oc-login .form-row label .required {
    color: #ef4444;
}

.ta-oc-login .form-row .input-text:not(.ta-oc-input) {
    width: 100%;
    padding: 10px 14px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    color: #27282c;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ta-oc-login .form-row .input-text:not(.ta-oc-input):focus {
    outline: none;
    border-color: #6CD3C2 !important;
    box-shadow: 0 0 0 3px rgba(108, 211, 194, 0.15) !important;
}

.ta-oc-login .woocommerce-form-row {
    margin-bottom: 12px;
    padding: 0;
}

.ta-oc-login .woocommerce-form-row label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.ta-oc-login .woocommerce-form-row .input-text:not(.ta-oc-input) {
    width: 100%;
    padding: 10px 14px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    color: #27282c;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ta-oc-login .woocommerce-form-row .input-text:not(.ta-oc-input):focus {
    outline: none;
    border-color: #6CD3C2 !important;
    box-shadow: 0 0 0 3px rgba(108, 211, 194, 0.15) !important;
}


/* ===============================
   16. OFFCANVAS CART — Styled to match account offcanvas
   Branded cart panel inside #offcanvas-cart
   =============================== */

/* ── Header ── */
.ta-oc-cart-header {
    border-bottom: 1px solid #f4f4f5;
    padding: 18px 20px !important;
}

.ta-oc-cart-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ta-oc-cart-title-wrap svg {
    color: #6CD3C2;
    flex-shrink: 0;
}

#offcanvas-cart .offcanvas-title {
    font-size: 16px;
    font-weight: 700;
    color: #27282c;
    margin: 0;
}

/* ── Cart list layout ── */
#offcanvas-cart .cart-list {
    height: 100%;
}

#offcanvas-cart .widget_shopping_cart_content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

#offcanvas-cart .woocommerce-mini-cart {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* ── Cart item ── */
#offcanvas-cart .woocommerce-mini-cart-item {
    border: none !important;
    border-bottom: 1px solid #f4f4f5 !important;
    padding: 16px 20px !important;
    transition: background 0.15s ease;
    background: transparent;
}

#offcanvas-cart .woocommerce-mini-cart-item:hover {
    background: #f9fafb;
}

#offcanvas-cart .woocommerce-mini-cart-item:last-child {
    border-bottom: none !important;
}

/* Product image */
#offcanvas-cart .item-image img {
    border-radius: 10px !important;
    border: 1px solid #f4f4f5;
    width: 100%;
    height: auto;
}

/* Product title */
#offcanvas-cart .cart-product-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #27282c !important;
    transition: color 0.15s ease;
    line-height: 1.3;
}

#offcanvas-cart .cart-product-title:hover {
    color: #6CD3C2 !important;
}

/* Product excerpt */
#offcanvas-cart .cart-product-excerpt {
    font-size: 12px !important;
    color: #a1a1aa !important;
    line-height: 1.4;
}

/* Quantity × price */
#offcanvas-cart span.quantity {
    font-size: 13px;
    color: #71717a;
    font-weight: 500;
    display: block;
    margin-top: 6px !important;
    margin-bottom: 0 !important;
}

#offcanvas-cart span.quantity .qty_text {
    color: #6CD3C2;
    font-weight: 700;
}

/* Variation data */
#offcanvas-cart dl.variation {
    font-size: 12px;
    color: #a1a1aa;
}

/* Subtotal per item */
#offcanvas-cart .bootscore-custom-render-total {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #27282c !important;
    margin-bottom: 12px !important;
}

/* Low stock badge */
#offcanvas-cart .cart-badge .badge {
    font-size: 11px;
    font-weight: 600;
    border-radius: 6px;
    padding: 4px 8px;
}

/* Remove button */
#offcanvas-cart .remove_from_cart_button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f9fafb;
    border: 1px solid #f4f4f5;
    color: #a1a1aa !important;
    transition: all 0.15s ease;
    text-decoration: none !important;
    text-indent: 0;
    font-size: 14px;
}

#offcanvas-cart .remove_from_cart_button:hover {
    background: #fef2f2;
    border-color: #fecaca;
    color: #ef4444 !important;
    transform: translateY(-1px);
}

/* ── Compact quantity controls ── */
#offcanvas-cart .item-quantity .quantity {
    margin-top: 4px;
}

#offcanvas-cart .item-quantity .input-group {
    max-width: 100px !important;
    width: 100px !important;
    border: 1px solid #d4d4d8 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #fafafa !important;
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    height: 32px !important;
    align-items: stretch !important;
}

#offcanvas-cart .item-quantity .input-group-text {
    padding: 0 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    flex: 0 0 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    color: #52525b !important;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

#offcanvas-cart .item-quantity .input-group-text:hover {
    background: #f0f0f0 !important;
    color: #18181b !important;
}

#offcanvas-cart .item-quantity .input-group-text:active {
    background: #e4e4e7 !important;
}

#offcanvas-cart .item-quantity .qty {
    padding: 0 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    height: 100% !important;
    text-align: center !important;
    border: none !important;
    border-left: 1px solid #d4d4d8 !important;
    border-right: 1px solid #d4d4d8 !important;
    background: #fff !important;
    border-radius: 0 !important;
    min-width: 0 !important;
    width: 40px !important;
    max-width: 40px !important;
    flex: 0 0 40px !important;
    -moz-appearance: textfield;
    color: #27282c !important;
    box-shadow: none !important;
}

#offcanvas-cart .item-quantity .qty:focus {
    outline: none !important;
    box-shadow: none !important;
}

#offcanvas-cart .item-quantity .qty::-webkit-outer-spin-button,
#offcanvas-cart .item-quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Smaller remove icon */
#offcanvas-cart .remove_from_cart_button {
    width: 28px !important;
    height: 28px !important;
    font-size: 12px !important;
}

/* Tighter item subtotal */
#offcanvas-cart .bootscore-custom-render-total {
    margin-bottom: 8px !important;
    font-size: 13px !important;
}

/* Slightly less vertical padding on items */
#offcanvas-cart .woocommerce-mini-cart-item {
    padding: 12px 20px !important;
}

/* ── Cart footer ── */
#offcanvas-cart .cart-footer {
    background: #f9fafb !important;
    border-top: 1px solid #f4f4f5;
    padding: 18px 20px !important;
}

/* Total row */
#offcanvas-cart .woocommerce-mini-cart__total {
    font-size: 15px !important;
    font-weight: 600;
    color: #374151;
    margin-bottom: 16px !important;
    padding-bottom: 14px;
    border-bottom: 1px solid #e5e7eb;
}

#offcanvas-cart .woocommerce-mini-cart__total strong {
    font-weight: 600;
    color: #374151;
}

#offcanvas-cart .woocommerce-mini-cart__total .woocommerce-Price-amount {
    font-weight: 700;
    color: #27282c;
}

/* Buttons container */
#offcanvas-cart .woocommerce-mini-cart__buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#offcanvas-cart .woocommerce-mini-cart__buttons .button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
    border: none !important;
}

/* View Cart button */
#offcanvas-cart .woocommerce-mini-cart__buttons .button:not(.checkout) {
    background: #f4f4f5 !important;
    color: #374151 !important;
}

#offcanvas-cart .woocommerce-mini-cart__buttons .button:not(.checkout):hover {
    background: #e5e7eb !important;
    color: #27282c !important;
}

/* Checkout button */
#offcanvas-cart .woocommerce-mini-cart__buttons .button.checkout {
    background: #6CD3C2 !important;
    color: #fff !important;
}

#offcanvas-cart .woocommerce-mini-cart__buttons .button.checkout:hover {
    background: #5ac4b3 !important;
    transform: translateY(-1px);
}

/* ── Empty cart state ── */
.ta-oc-cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 30px;
    flex: 1;
}

.ta-oc-cart-empty-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(108, 211, 194, 0.15) 0%, rgba(108, 211, 194, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: #6CD3C2;
}

.ta-oc-cart-empty-title {
    font-size: 16px;
    font-weight: 700;
    color: #27282c;
    margin: 0 0 6px;
}

.ta-oc-cart-empty-sub {
    font-size: 13px;
    color: #71717a;
    margin: 0 0 22px;
    line-height: 1.4;
}

.ta-oc-cart-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #6CD3C2;
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
}

.ta-oc-cart-empty-btn:hover {
    background: #5ac4b3;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.ta-oc-cart-empty-btn svg {
    flex-shrink: 0;
}

/* ── Messages inside cart offcanvas ── */
#offcanvas-cart .woocommerce-message,
#offcanvas-cart .woocommerce-error,
#offcanvas-cart .woocommerce-info {
    font-size: 13px;
    padding: 10px 14px 10px 2.75rem;
    border-radius: 8px;
    margin: 12px 20px !important;
}

#offcanvas-cart .woocommerce-message::before,
#offcanvas-cart .woocommerce-error::before,
#offcanvas-cart .woocommerce-info::before {
    left: 0.85rem;
    mask-size: 14px;
    -webkit-mask-size: 14px;
    width: 14px;
    height: 14px;
}

#offcanvas-cart .woocommerce-message {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

#offcanvas-cart .woocommerce-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}


/* ===============================
   17. FOOTER — TeachAcademy branded footer
   =============================== */

/* ── CTA Banner ── */
.ta-footer-cta {
    background: linear-gradient(135deg, #27282c 0%, #2d5f57 60%, #3d8b80 100%);
    padding: 48px 0;
    position: relative;
    overflow: hidden;
}

.ta-footer-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(108, 211, 194, 0.08);
    pointer-events: none;
}

.ta-footer-cta::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -5%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(108, 211, 194, 0.05);
    pointer-events: none;
}

.ta-footer-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.ta-footer-cta-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
}

.ta-footer-cta-sub {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.5;
}

.ta-footer-cta-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.ta-footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.ta-footer-cta-btn--primary {
    background: #6CD3C2;
    color: #fff;
}

.ta-footer-cta-btn--primary:hover {
    background: #5ac4b3;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(108, 211, 194, 0.35);
}

.ta-footer-cta-btn--outline {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.ta-footer-cta-btn--outline:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.ta-footer-cta-btn svg {
    flex-shrink: 0;
}

@media (max-width: 767.98px) {
    .ta-footer-cta {
        padding: 36px 0;
    }
    .ta-footer-cta-inner {
        flex-direction: column;
        text-align: center;
    }
    .ta-footer-cta-title {
        font-size: 20px;
    }
    .ta-footer-cta-actions {
        flex-direction: column;
        width: 100%;
    }
    .ta-footer-cta-btn {
        justify-content: center;
    }
}

/* ── Main footer ── */
.ta-footer-main {
    background: #1e1f23;
    padding: 56px 0 48px;
}

/* Brand column */
.ta-footer-logo {
    max-width: 160px;
    height: auto;
    margin-bottom: 18px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.ta-footer-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 340px;
}

/* Social */
.ta-footer-social {
    display: flex;
    gap: 10px;
}

.ta-footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.2s ease;
    text-decoration: none;
}

.ta-footer-social-link:hover {
    background: rgba(108, 211, 194, 0.15);
    color: #6CD3C2;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Nav headings */
.ta-footer-heading {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 20px;
}

/* Nav links */
.ta-footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ta-footer-nav li {
    margin-bottom: 12px;
}

.ta-footer-nav a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.ta-footer-nav a:hover {
    color: #6CD3C2;
    text-decoration: none;
    padding-left: 4px;
}

/* Contact */
.ta-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.ta-footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s ease;
}

a.ta-footer-contact-item:hover {
    color: #6CD3C2;
    text-decoration: none;
}

.ta-footer-contact-item svg {
    color: #6CD3C2;
    flex-shrink: 0;
    opacity: 0.8;
}

/* Trust badges */
.ta-footer-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ta-footer-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}

.ta-footer-trust-item svg {
    color: #6CD3C2;
    flex-shrink: 0;
    opacity: 0.7;
}

/* ── Bottom bar ── */
.ta-footer-bottom {
    background: #18191d;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ta-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.ta-footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
}

/* Payment methods */
.ta-footer-payments {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ta-footer-payment-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
    white-space: nowrap;
}

.ta-footer-payment-icons {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ta-footer-payment-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    padding: 0 2px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.ta-footer-payment-badge--text {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    padding: 0 8px;
    letter-spacing: 0.02em;
}

/* Legal links */
.ta-footer-legal {
    display: flex;
    gap: 16px;
}

.ta-footer-legal a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    transition: color 0.2s ease;
}

.ta-footer-legal a:hover {
    color: #6CD3C2;
    text-decoration: none;
}

@media (max-width: 767.98px) {
    .ta-footer-main {
        padding: 40px 0 36px;
    }
    .ta-footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    .ta-footer-payments {
        flex-direction: column;
        gap: 6px;
    }
    .ta-footer-legal {
        justify-content: center;
    }
    .ta-footer-trust {
        justify-content: flex-start;
    }
}

/* ===============================
   /konto/ — Logged-out Login/Register Page
   =============================== */

/* ── Page wrapper ── */
.ta-lp {
    padding: 48px 24px 40px;
    max-width: 640px;
    margin: 0 auto;
}

/* ── Hero: avatar + heading ── */
.ta-lp__hero {
    text-align: center;
    margin-bottom: 28px;
}

.ta-lp__avatar {
    width: 68px;
    height: 68px;
    background: #e8f7f4;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #4db8a7;
    margin-bottom: 20px;
}

.ta-lp__title {
    font-size: 26px;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}

.ta-lp__sub {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* ── Card ── */
.ta-lp__card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 6px 24px 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
    margin-bottom: 20px;
}

/* ── Tab switcher ── */
.ta-lp__tabs {
    display: flex;
    background: #f3f4f6;
    border-radius: 10px;
    padding: 4px;
    gap: 4px;
    margin-bottom: 22px;
    margin-top: 18px;
}

.ta-lp__tab {
    flex: 1;
    padding: 9px 12px;
    border: none;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    background: transparent;
    cursor: pointer;
    transition: background .15s, color .15s, box-shadow .15s;
    line-height: 1;
}

.ta-lp__tab.is-active {
    background: #fff;
    color: #1f2937;
    box-shadow: 0 1px 4px rgba(0,0,0,.1);
}

/* ── Panels ── */
.ta-lp__panel {
    display: none;
}

.ta-lp__panel.is-active {
    display: block;
}

/* ── Form fields ── */
.ta-lp__field {
    margin-bottom: 14px;
}

.ta-lp__label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    display: block;
    margin-bottom: 6px;
}

.ta-lp__label .required {
    color: #ef4444;
}

.ta-lp__input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.ta-lp__input-icon {
    position: absolute;
    left: 13px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    pointer-events: none;
    z-index: 1;
}

.ta-lp__input {
    width: 100% !important;
    padding: 10px 42px 10px 40px !important;
    border: 1.5px solid #e5e7eb !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    color: #1f2937 !important;
    background: #fff !important;
    box-shadow: none !important;
    outline: none !important;
    transition: border-color .15s !important;
    box-sizing: border-box !important;
}

.ta-lp__input:focus {
    border-color: #6CD3C2 !important;
    box-shadow: 0 0 0 3px rgba(108, 211, 194, .12) !important;
}

/* No icon — remove left padding (used only when icon is absent) */
.ta-lp__input-wrap:not(:has(.ta-lp__input-icon)) .ta-lp__input {
    padding-left: 14px !important;
}

/* Password show/hide toggle */
.ta-lp__pw-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #9ca3af;
    display: flex;
    align-items: center;
    transition: color .15s;
    line-height: 1;
}

.ta-lp__pw-toggle:hover {
    color: #6b7280;
}

/* ── Remember row ── */
.ta-lp__remember-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.ta-lp__checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6b7280;
    cursor: pointer;
    user-select: none;
}

.ta-lp__checkbox-label input[type="checkbox"] {
    accent-color: #6CD3C2;
    width: 15px;
    height: 15px;
    cursor: pointer;
    flex-shrink: 0;
    margin: 0;
}

.ta-lp__forgot {
    font-size: 12px;
    color: #6CD3C2;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
}

.ta-lp__forgot:hover {
    color: #4db8a7;
    text-decoration: underline;
}

/* ── Submit button ── */
.ta-lp__submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 20px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s, transform .1s;
    background: #6CD3C2;
    color: #fff;
}

.ta-lp__submit:hover {
    background: #5ac4b3;
    transform: translateY(-1px);
}

.ta-lp__submit--teal {
    background: #6CD3C2;
}

.ta-lp__submit--teal:hover {
    background: #5ac4b3;
}

/* ── Info text (password email note) ── */
.ta-lp__info-text {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 13px;
    color: #6b7280;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 16px;
    line-height: 1.5;
}

.ta-lp__info-text svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: #9ca3af;
}

/* ── Trust badges ── */
.ta-lp__trust {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 24px;
    margin: 20px 0 32px;
    flex-wrap: wrap;
}

.ta-lp__trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6b7280;
}

.ta-lp__trust-item svg {
    color: #6CD3C2;
    flex-shrink: 0;
}

/* Kreator CTA Banner */
.ta-login-kreator-cta {
    background: linear-gradient(135deg, #27282c 0%, #2d5f57 65%, #3d8b80 100%);
    border-radius: 20px;
    padding: 36px 40px;
    margin-top: 8px;
}

.ta-login-kreator-cta__inner {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.ta-login-kreator-cta__left {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex: 1;
    min-width: 260px;
}

.ta-login-kreator-cta__star {
    width: 52px;
    height: 52px;
    background: rgba(108, 211, 194, .15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6CD3C2;
    flex-shrink: 0;
}

.ta-login-kreator-cta__title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.3;
}

.ta-login-kreator-cta__text {
    font-size: 14px;
    color: rgba(255,255,255,.7);
    margin: 0 0 14px;
    line-height: 1.6;
    max-width: 480px;
}

.ta-login-kreator-cta__perks {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ta-login-kreator-perk {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 500;
    color: #6CD3C2;
}

.ta-login-kreator-perk svg {
    flex-shrink: 0;
}

.ta-login-kreator-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #6CD3C2;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s, transform .1s;
    flex-shrink: 0;
}

.ta-login-kreator-cta__btn:hover {
    background: #5ac4b3;
    color: #fff;
    transform: translateY(-1px);
    text-decoration: none;
}

@media (max-width: 768px) {
    .ta-lp {
        padding: 28px 16px 24px;
    }
    .ta-lp__title {
        font-size: 22px;
    }
    .ta-lp__trust {
        gap: 16px;
    }
    .ta-login-kreator-cta {
        padding: 28px 22px;
    }
    .ta-login-kreator-cta__inner {
        flex-direction: column;
        gap: 24px;
    }
    .ta-login-kreator-cta__btn {
        width: 100%;
        justify-content: center;
    }
}
