/* WooCommerce Custom Styles for Dolo in Motion */

/* ==========================================================================
   WORDPRESS ADMIN BAR NOTE
   The WP admin bar (black stripe at top) is only visible to logged-in admins.
   Regular site visitors will never see it. No CSS fix needed.
   ========================================================================== */

/* When admin bar is active, offset the auth page centering */
.admin-bar .woocommerce-account:not(.logged-in) .woocommerce-MyAccount-content {
    min-height: calc(100vh - 64px - 32px);
}

/* ==========================================================================
   HIDE WOOCOMMERCE DEMO STORE / COMING SOON NOTICE
   The "Store coming soon" mode renders p.demo_store on every page.
   This is only relevant to admins Ã¢â‚¬â€ hide it so it doesn't disrupt the layout.
   To toggle store visibility, use WP Admin Ã¢â€ â€™ WooCommerce Ã¢â€ â€™ Settings.
   ========================================================================== */
p.demo_store,
.woocommerce-store-notice,
.woocommerce-store-notice__dismiss-link,
[class*="woocommerce-coming-soon"],
.wc-coming-soon-store-notice {
    display: none !important;
}

/* ==========================================================================
   INPUT FIELD WIDTH FIX (WooCommerce wraps password in span.password-input)
   ========================================================================== */
.dolo-auth-page .password-input {
    display: block !important;
    width: 100% !important;
}

.dolo-auth-page .password-input .input-text {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* WooCommerce show/hide password toggle Ã¢â‚¬â€ position inside the input */
.dolo-auth-page .show-password-input {
    position: absolute !important;
    right: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    cursor: pointer !important;
    color: #4A5760 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    z-index: 2 !important;
}

/* Ensure ALL inputs in auth take full width consistently */
.dolo-auth-page .dolo-input-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.dolo-auth-page input.input-text,
.dolo-auth-page .input-text {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* ==========================================================================
   AUTH PAGE (Login / Register)
   ========================================================================== */

/* Hide the WooCommerce default page title ("My account") on the login page */
.woocommerce-account:not(.logged-in) .entry-title,
.woocommerce-account:not(.logged-in) h1.page-title {
    display: none !important;
}

/* ==========================================================================
   AUTH PAGE (Login / Register)
   ========================================================================== */

/* Hide the WooCommerce default page title ("My account") on the login page */
.woocommerce-account:not(.logged-in) .entry-title,
.woocommerce-account:not(.logged-in) h1.page-title {
    display: none !important;
}

/* On the login/register page, reset WooCommerce's flex/float layout so the card is centered */
.woocommerce-account:not(.logged-in) .woocommerce,
.woocommerce-account:not(.logged-in) .entry-content,
.woocommerce-account:not(.logged-in) article,
.woocommerce-account:not(.logged-in) .page-container {
    display: block !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    float: none !important;
    max-width: none !important;
}

/* Make the full page a centering container */
.woocommerce-account:not(.logged-in) .page-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: calc(100vh - 70px);
    padding: 40px 24px !important;
}

/* WooCommerce sets width:68% and float:right on this Ã¢â‚¬â€ reset it completely */
.woocommerce-account:not(.logged-in) .woocommerce-MyAccount-content {
    flex: none !important;
    float: none !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Full-screen auth page container */
.dolo-auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    width: 100%;
}

/* Two-column grid (login + register) */
.dolo-auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    width: 100%;
    max-width: 900px;
}

/* Single-card centered (login only) */
.dolo-auth-center {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* The card itself */
.dolo-auth-card {
    background: #0A0F11;
    border: 1px solid #1A2428;
    border-radius: 16px;
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
}

.dolo-auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(35, 240, 120, 0.3), transparent);
}

/* Solo/centered card gets a max-width */
.dolo-auth-card--solo {
    width: 100%;
    max-width: 440px;
}

/* Brand row */
.dolo-auth-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}

.dolo-auth-brand-name {
    font-size: 14px;
    font-weight: 700;
    color: #F4F7F7;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Badge (New Account) */
.dolo-auth-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(35, 240, 120, 0.1);
    border: 1px solid rgba(35, 240, 120, 0.25);
    color: #3ECF8E;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 20px;
}

/* Headings */
.dolo-auth-title {
    font-size: 24px;
    font-weight: 700;
    color: #F4F7F7;
    margin: 0 0 8px;
    line-height: 1.2;
}

.dolo-auth-subtitle {
    font-size: 14px;
    color: #66747A;
    margin: 0 0 32px;
    line-height: 1.5;
}

/* Form groups */
.dolo-form-group {
    margin-bottom: 20px;
}

.dolo-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #9BA8B0;
    margin-bottom: 8px;
}

/* Label row (label + forgot link side by side) */
.dolo-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.dolo-label-row label {
    margin-bottom: 0;
}

.dolo-forgot-link {
    font-size: 12px;
    color: #3ECF8E;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.dolo-forgot-link:hover {
    opacity: 0.7;
}

/* Input wrapper with icon */
.dolo-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.dolo-input-icon {
    position: absolute;
    left: 14px;
    color: #4A5760;
    pointer-events: none;
    flex-shrink: 0;
    z-index: 1;
}

.dolo-input-wrapper .input-text,
.dolo-auth-page input.input-text {
    width: 100%;
    height: 46px;
    padding: 0 16px 0 42px;
    background: #050B0D;
    border: 1px solid #1A2428;
    border-radius: 10px;
    color: #F4F7F7;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    box-sizing: border-box;
}

.dolo-input-wrapper .input-text:focus,
.dolo-auth-page input.input-text:focus {
    border-color: #3ECF8E;
    box-shadow: 0 0 0 3px rgba(35, 240, 120, 0.08);
}

.dolo-input-wrapper .input-text::placeholder {
    color: #3A4A52;
}

/* Remember me / custom checkbox */
.dolo-form-remember {
    margin: 24px 0;
}

.dolo-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: #66747A;
    user-select: none;
}

.dolo-checkbox-label input[type="checkbox"] {
    display: none;
}

.dolo-checkbox-custom {
    width: 18px;
    height: 18px;
    border: 1px solid #1A2428;
    border-radius: 5px;
    background: #050B0D;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.2s, background 0.2s;
}

.dolo-checkbox-label input:checked+.dolo-checkbox-custom {
    background: #3ECF8E;
    border-color: #3ECF8E;
}

.dolo-checkbox-label input:checked+.dolo-checkbox-custom::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: 2px solid #000;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

/* Main CTA button */
.dolo-auth-btn {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #3ECF8E;
    color: #000;
    border: none;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    margin-bottom: 24px;
}

.dolo-auth-btn:hover {
    background: #1dd669;
    transform: translateY(-1px);
}

.dolo-auth-btn:active {
    transform: translateY(0);
}

/* Outline variant for register */
.dolo-auth-btn--outline {
    background: transparent;
    color: #3ECF8E;
    border: 1px solid rgba(35, 240, 120, 0.4);
}

.dolo-auth-btn--outline:hover {
    background: rgba(35, 240, 120, 0.08);
    border-color: #3ECF8E;
}

/* Switch link ("Don't have an account?") */
.dolo-auth-switch {
    text-align: center;
    font-size: 13px;
    color: #4A5760;
    margin: 0;
}

.dolo-auth-switch a {
    color: #3ECF8E;
    text-decoration: none;
    font-weight: 600;
    margin-left: 4px;
}

.dolo-auth-switch a:hover {
    text-decoration: underline;
}

/* Auto-password note */
.dolo-auto-password-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #66747A;
    background: rgba(35, 240, 120, 0.05);
    border: 1px solid rgba(35, 240, 120, 0.15);
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 20px;
}

/* WooCommerce error/success notices inside auth */
.dolo-auth-page .woocommerce-notices-wrapper {
    position: fixed;
    top: 80px;
    right: 24px;
    width: 360px;
    z-index: 9999;
}

/* Responsive */
@media (max-width: 768px) {
    .dolo-auth-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
    }

    .dolo-auth-card {
        padding: 32px 24px;
    }
}

/* Reset some default WooCommerce styles */
.woocommerce form .form-row {
    padding: 0;
    margin: 0 0 20px;
}

.woocommerce form .form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-secondary);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    width: 100%;
    padding: 12px 16px;
    background: #0f1619;
    /* slightly lighter than main bg */
    border: 1px solid var(--border-inactive);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: all 0.2s ease;
    height: 44px;
    /* match select2 height */
    appearance: none;
    /* remove default browser arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    border-color: var(--accent-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.1);
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background: var(--accent-primary);
    color: #000;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    border-radius: 8px;
    padding: 12px 24px;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
    background: #20b85a;
    /* slightly darker green */
    color: #000;
}

/* Global Scrollbar Override */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #050B0D;
}

::-webkit-scrollbar-thumb {
    background: #202A2E;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #66747A;
}


/* ==========================================================================
   MY ACCOUNT Ã¢â‚¬â€ SaaS DASHBOARD LAYOUT
   ========================================================================== */

.woocommerce-account.logged-in .page-container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 48px 24px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.woocommerce-account.logged-in .woocommerce {
    display: block !important;
    float: none !important;
}

/* Two-column layout wrapper */
.dolo-account-wrapper {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    width: 100%;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ Sidebar Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.dolo-account-sidebar {
    flex: 0 0 230px;
    width: 230px;
    background: #0A0F11;
    border: 1px solid var(--border-inactive);
    border-radius: 14px;
    padding: 20px 0 12px;
    position: sticky;
    top: 90px;
    overflow: hidden;
}

.dolo-sidebar-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 18px 16px;
}

.dolo-sidebar-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3ECF8E 0%, #3ECF8E 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #050B0D;
    flex-shrink: 0;
    letter-spacing: 0.03em;
}

.dolo-sidebar-user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.dolo-sidebar-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dolo-sidebar-email {
    font-size: 11px;
    color: #4A5760;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dolo-sidebar-sep {
    height: 1px;
    background: var(--border-inactive);
    margin: 0 0 10px;
}

.dolo-sidebar-section-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #4A5760;
    padding: 0 18px;
    margin: 0 0 6px;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ Sidebar Nav Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.woocommerce-MyAccount-navigation {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    float: none !important;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-MyAccount-navigation ul li {
    border: none;
    float: none !important;
    display: block !important;
    width: 100%;
    box-sizing: border-box;
}

.woocommerce-MyAccount-navigation ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 10px;
    margin: 2px 8px;
    width: calc(100% - 16px);
    box-sizing: border-box;
    color: #7A909A;
    text-decoration: none;
    transition: all 0.18s ease;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
}

.woocommerce-MyAccount-navigation ul li a::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.65;
    transition: opacity 0.18s;
}

.woocommerce-MyAccount-navigation-link--dashboard a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237A909A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Crect x='14' y='3' width='7' height='7'/%3E%3Crect x='14' y='14' width='7' height='7'/%3E%3Crect x='3' y='14' width='7' height='7'/%3E%3C/svg%3E");
}

.woocommerce-MyAccount-navigation-link--orders a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237A909A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E");
}

.woocommerce-MyAccount-navigation-link--downloads a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237A909A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E");
}

.woocommerce-MyAccount-navigation-link--edit-address a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237A909A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.woocommerce-MyAccount-navigation-link--edit-account a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237A909A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M20 21a8 8 0 1 0-16 0'/%3E%3C/svg%3E");
}

.woocommerce-MyAccount-navigation-link--customer-logout a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23e05454' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpolyline points='16 17 21 12 16 7'/%3E%3Cline x1='21' y1='12' x2='9' y2='12'/%3E%3C/svg%3E");
    opacity: 0.8;
}

.woocommerce-MyAccount-navigation ul li a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.woocommerce-MyAccount-navigation ul li a:hover::before {
    opacity: 1;
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    background: rgba(35, 240, 120, 0.08);
    color: #3ECF8E;
}

.woocommerce-MyAccount-navigation ul li.is-active a::before {
    filter: brightness(0) saturate(100%) invert(73%) sepia(55%) saturate(551%) hue-rotate(92deg) brightness(107%) contrast(93%);
    opacity: 1;
}

.woocommerce-MyAccount-navigation-link--customer-logout {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-inactive);
}

.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #e05454;
}

.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
    background: rgba(224, 84, 84, 0.08);
    color: #e05454;
}

/* Main content area */
.dolo-account-main {
    flex: 1;
    min-width: 0;
    max-width: 900px;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-content {
    flex: none !important;
    float: none !important;
    width: 100% !important;
    background: #0A0F11;
    border: 1px solid var(--border-inactive);
    border-radius: 14px;
    padding: 32px;
    min-height: 250px;
    box-sizing: border-box;
}

/* Dashboard header */
.dolo-dashboard-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 16px;
}

.dolo-dashboard-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 6px;
    line-height: 1.2;
}

.dolo-dashboard-sub {
    font-size: 13px;
    color: #4A5760;
    margin: 0;
}

.dolo-dashboard-sub strong {
    color: #7A909A;
    font-weight: 600;
}

.dolo-dashboard-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #3ECF8E;
    color: #050B0D;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
    flex-shrink: 0;
    white-space: nowrap;
}

.dolo-dashboard-cta:hover {
    opacity: 0.88;
    color: #050B0D;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ Stats cards Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.dolo-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}

.dolo-stat-card {
    background: #0D1519;
    border: 1px solid var(--border-inactive);
    border-radius: 12px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.dolo-stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dolo-stat-icon--orders {
    background: rgba(35, 240, 120, 0.08);
    color: #3ECF8E;
}

.dolo-stat-icon--downloads {
    background: rgba(56, 182, 255, 0.08);
    color: #38B6FF;
}

.dolo-stat-icon--member {
    background: rgba(255, 188, 72, 0.08);
    color: #FFBC48;
}

.dolo-stat-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 3px;
    line-height: 1.1;
}

.dolo-stat-label {
    font-size: 12px;
    color: #4A5760;
    margin: 0;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ Quick links Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.dolo-dashboard-section {
    margin-top: 4px;
}

.dolo-section-title {
    font-size: 11px;
    font-weight: 700;
    color: #4A5760;
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.dolo-quick-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dolo-quick-link-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: #0D1519;
    border: 1px solid var(--border-inactive);
    border-radius: 10px;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}

.dolo-quick-link-card:hover {
    border-color: rgba(35, 240, 120, 0.25);
    background: rgba(35, 240, 120, 0.03);
}

.dolo-ql-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-inactive);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #7A909A;
}

.dolo-ql-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 2px;
}

.dolo-ql-sub {
    font-size: 12px;
    color: #4A5760;
    margin: 0;
}

.dolo-ql-arrow {
    margin-left: auto;
    color: #4A5760;
    flex-shrink: 0;
    transition: color 0.2s, transform 0.2s;
}

.dolo-quick-link-card:hover .dolo-ql-arrow {
    color: #3ECF8E;
    transform: translateX(3px);
}


/* Tables */
.woocommerce table.shop_table {
    border: 1px solid var(--border-inactive);
    border-radius: 8px;
    border-collapse: separate;
    margin: 0 0 24px;
    text-align: left;
    width: 100%;
}

.woocommerce table.shop_table th {
    font-weight: 600;
    padding: 16px;
    background: #0f1619;
    border-bottom: 1px solid var(--border-inactive);
    color: var(--text-secondary);
}

.woocommerce table.shop_table td {
    padding: 16px;
    border-top: 1px solid var(--border-inactive);
    background: transparent;
    color: var(--text-primary);
}

/* Notices */
.woocommerce-notices-wrapper {
    width: 100% !important;
    flex: 0 0 100% !important;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-notices-wrapper .woocommerce-error {
    background: #151a1e !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-inactive) !important;
    border-left: 4px solid var(--accent-primary) !important;
    padding: 16px 24px !important;
    margin-bottom: 24px !important;
    border-radius: 8px !important;
    list-style: none !important;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-error {
    border-left-color: #e24b4b !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    height: fit-content !important;
    width: 100% !important;
    flex: 0 0 100% !important;
}

/* Remove default WooCommerce icon pseudo-elements if they clash */
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    display: none !important;
}

/* Fix button alignment inside notices */
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
    background: transparent !important;
    border: 1px solid var(--accent-primary) !important;
    color: var(--accent-primary) !important;
    padding: 8px 16px !important;
    white-space: nowrap;
}

.woocommerce-message .button:hover,
.woocommerce-info .button:hover,
.woocommerce-error .button:hover {
    background: rgba(37, 211, 102, 0.1) !important;
}

/* Dashboard text styling */
.woocommerce-MyAccount-content p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

.woocommerce-MyAccount-content p a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
}

.woocommerce-MyAccount-content p a:hover {
    text-decoration: underline;
}

.woocommerce-MyAccount-content mark {
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
}

/* Custom Table Buttons */
.dolo-btn-primary {
    display: inline-block;
    background: linear-gradient(90deg, #3ECF8E, #3ECF8E);
    color: #000 !important;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
}

.dolo-btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    text-decoration: none;
}

.dolo-btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--accent-primary, #10b981) !important;
    padding: 8px 16px;
    border: 1px solid var(--accent-primary, #10b981);
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
}

.dolo-btn-outline:hover {
    background: rgba(35, 240, 120, 0.1);
    text-decoration: none;
}

/* Forms and Fieldsets (Account Details) */
.woocommerce form fieldset {
    border: none;
    padding: 0;
    margin: 40px 0 0 0;
    border-top: 1px solid var(--border-inactive);
    padding-top: 32px;
}

.woocommerce form fieldset legend {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
    padding: 0;
    width: 100%;
}

.woocommerce form em {
    font-style: normal;
    color: var(--text-secondary);
    font-size: 13px;
    margin-top: 4px;
    display: inline-block;
}

/* Form grid for first/last name */
.woocommerce form .form-row-first {
    float: left;
    width: 48%;
}

.woocommerce form .form-row-last {
    float: right;
    width: 48%;
}

.woocommerce form .clear {
    clear: both;
}

/* Address Cards Layout */
.woocommerce-Addresses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.woocommerce-Address {
    background: #0a1014;
    border: 1px solid var(--border-inactive);
    border-radius: 12px;
    padding: 24px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.woocommerce-Address-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-inactive);
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.woocommerce-Address-title h3 {
    margin: 0;
    font-size: 20px;
    color: var(--text-primary);
}

.woocommerce-Address-title a.edit {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.woocommerce-Address-title a.edit:hover {
    text-decoration: underline;
}

.woocommerce-Address address {
    font-style: normal;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Select2 (WooCommerce Dropdowns) Overrides */
.select2-container--default .select2-selection--single {
    background-color: #0f1619 !important;
    border: 1px solid var(--border-inactive) !important;
    border-radius: 8px !important;
    height: 44px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--text-primary) !important;
    line-height: normal !important;
    padding-left: 16px !important;
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: var(--text-secondary) !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 42px !important;
    right: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 16px !important;
}

/* Hide whatever default element Select2/SelectWoo uses for the arrow */
.select2-container--default .select2-selection--single .select2-selection__arrow * {
    display: none !important;
}

.select2-dropdown {
    background-color: #0a1014 !important;
    border: 1px solid var(--accent-primary) !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
}

.select2-search--dropdown .select2-search__field {
    background-color: #0f1619 !important;
    border: 1px solid var(--border-inactive) !important;
    color: var(--text-primary) !important;
    border-radius: 4px !important;
}

.select2-container--default .select2-results__option {
    color: var(--text-secondary) !important;
    padding: 10px 16px !important;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: rgba(37, 211, 102, 0.1) !important;
    color: var(--accent-primary) !important;
}









/* Force overrides for My Account Sidebar Menu */
.woocommerce-MyAccount-navigation {
    width: 250px !important;
    float: left !important;
}

.woocommerce-MyAccount-navigation ul {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.woocommerce-MyAccount-navigation ul li {
    width: 100% !important;
    display: block !important;
    margin-bottom: 4px !important;
}

.woocommerce-MyAccount-navigation ul li a {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px 16px !important;
    /* more padding */
    gap: 12px !important;
    margin: 0 !important;
    border-radius: 8px !important;
}






/* ==========================================================================
   MODERN CHECKOUT STYLES (Shopify Style)
   ========================================================================== */
/* Fix the wrapper, NOT the body tag (.woocommerce-checkout is on the body!) */
body.woocommerce-checkout .woocommerce {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    color: #fff;
}

form.modern-checkout {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: flex-start;
}

.modern-checkout-left {
    flex: 1;
    min-width: 320px;
}

.modern-checkout-right {
    width: 450px;
    position: sticky;
    top: 40px;
}

@media (max-width: 900px) {
    .modern-checkout-right {
        width: 100%;
        position: relative;
        top: 0;
        order: -1;
    }
}

body.woocommerce-checkout h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    margin-top: 40px;
    padding-bottom: 12px;
    border-bottom: 1px solid #222;
}

body.woocommerce-checkout h3:first-child {
    margin-top: 0;
}

/* Form Inputs styling to match dark theme correctly */
body.woocommerce-checkout .form-row {
    margin-bottom: 20px;
}

body.woocommerce-checkout .form-row label {
    display: block;
    margin-bottom: 8px;
    color: #b0b4b8;
    font-size: 13px;
    font-weight: 500;
}

body.woocommerce-checkout .form-row .required {
    color: #ff4d4d;
    text-decoration: none;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
    width: 100%;
    padding: 14px 16px;
    background-color: #1a1a1a !important;
    border: 1px solid #333 !important;
    border-radius: 8px !important;
    color: #fff !important;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.select2-container--default .select2-selection--single {
    height: 48px !important;
    background-color: #1a1a1a !important;
    border: 1px solid #333 !important;
    border-radius: 8px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #fff !important;
    line-height: 48px !important;
    padding-left: 16px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px !important;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #0bd166 !important;
    outline: none;
}

/* Summary Box */
.modern-checkout-summary-box {
    background: #161616;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 30px;
}

.modern-checkout-summary-box h3 {
    margin-top: 0;
    border-bottom: none;
    font-size: 20px;
}

/* Order Review Table */
body.woocommerce-checkout table.shop_table {
    width: 100%;
    border-collapse: collapse;
}

body.woocommerce-checkout table.shop_table th,
body.woocommerce-checkout table.shop_table td {
    padding: 16px 20px;
    border-bottom: 1px solid #2a2a2a;
    color: #fff;
    vertical-align: top;
    /* Align price with title */
}

body.woocommerce-checkout table.shop_table th {
    text-align: left;
    font-weight: 500;
    color: #888;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.woocommerce-checkout table.shop_table td {
    text-align: right;
    font-weight: 600;
}

body.woocommerce-checkout table.shop_table tbody td,
body.woocommerce-checkout table.shop_table tbody th {
    padding: 16px 20px;
}

/* Ensure the flex container in the product name cell stays aligned correctly */
body.woocommerce-checkout table.shop_table .product-name {
    text-align: left;
    font-size: 15px;
}

body.woocommerce-checkout table.shop_table .product-name>div {
    align-items: flex-start !important;
    /* Align thumbnail and text to top */
}

body.woocommerce-checkout table.shop_table .variation {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
    text-align: left;
}

body.woocommerce-checkout table.shop_table tr:last-child th,
body.woocommerce-checkout table.shop_table tr:last-child td {
    border-bottom: none;
}

/* Payment Section */
#payment {
    background: transparent;
    padding: 0;
}

#payment ul.payment_methods {
    list-style: none;
    margin: 0 0 24px 0;
    padding: 0;
    border: 1px solid #333;
    border-radius: 12px;
    overflow: hidden;
}

#payment ul.payment_methods li {
    padding: 16px 20px;
    border-bottom: 1px solid #333;
    background: #161616;
}

#payment ul.payment_methods li:last-child {
    border-bottom: none;
}

#payment ul.payment_methods label {
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
}

#payment div.payment_box {
    background: #1a1a1a;
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
    font-size: 13px;
    color: #b0b4b8;
}

#payment div.payment_box::before {
    display: none;
}

body.woocommerce-checkout #place_order {
    width: 100%;
    padding: 18px;
    background-color: #0bd166;
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    margin-top: 10px;
}

body.woocommerce-checkout #place_order:hover {
    background-color: #0ecc66;
    transform: translateY(-1px);
}

/* Two column structure for billing */
.woocommerce-billing-fields__field-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0 20px;
}

.woocommerce-billing-fields__field-wrapper .form-row {
    width: 100%;
}

.woocommerce-billing-fields__field-wrapper .form-row-first,
.woocommerce-billing-fields__field-wrapper .form-row-last {
    width: calc(50% - 10px);
}

/* Fix woo notices */
.woocommerce-NoticeGroup {
    width: 100% !important;
    grid-column: 1 / -1 !important;
    margin-bottom: 30px !important;
}



/* ==========================================================================
   NOTICE & COUPON LINK STYLES
   ========================================================================== */
.woocommerce-info a,
.woocommerce-message a,
.woocommerce-error a {
    color: #0bd166 !important;
    text-decoration: underline !important;
    font-weight: 600;
    transition: color 0.2s;
}

.woocommerce-info a:hover,
.woocommerce-message a:hover,
.woocommerce-error a:hover {
    color: #0ecc66 !important;
    text-decoration: none !important;
}

.woocommerce-info {
    background-color: #1a1a1a !important;
    border-top-color: #0bd166 !important;
    color: #fff !important;
    padding: 20px 24px !important;
    border-radius: 8px !important;
    border-left: 1px solid #333 !important;
    border-right: 1px solid #333 !important;
    border-bottom: 1px solid #333 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}


/* Force dark theme on payment description box */
body.woocommerce-checkout #payment div.payment_box,
body.woocommerce-checkout #payment div.payment_box * {
    background-color: #1a1a1a !important;
    color: #b0b4b8 !important;
}

body.woocommerce-checkout #payment div.payment_box {
    border: 1px solid #333 !important;
    border-radius: 8px !important;
    padding: 16px !important;
    margin-top: 16px !important;
}

body.woocommerce-checkout #payment div.payment_box::before,
body.woocommerce-checkout #payment div.payment_box::after {
    display: none !important;
}


/* Hide quantity entirely */
body.woocommerce-checkout .product-quantity {
    display: none !important;
}

/* Modernize the Summary Box */
.modern-checkout-summary-box {
    background: #1a1a1a !important;
    /* Slightly lighter than #161616 for contrast */
    border: 1px solid #2a2a2a !important;
    border-radius: 16px !important;
    /* Softer, larger radius */
    padding: 32px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4) !important;
    /* Premium shadow */
}

/* Remove default table borders to make it cleaner */
body.woocommerce-checkout table.shop_table th,
body.woocommerce-checkout table.shop_table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Make the product row look like a contained item */
body.woocommerce-checkout table.shop_table tbody tr.cart_item td {
    padding: 20px 0 !important;
}

/* Highlight the TOTAL row */
body.woocommerce-checkout table.shop_table tfoot tr.order-total th,
body.woocommerce-checkout table.shop_table tfoot tr.order-total td {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #fff !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding-top: 24px !important;
    border-bottom: none !important;
}

body.woocommerce-checkout table.shop_table tfoot tr.order-total td .amount {
    color: #0bd166 !important;
    /* Accent color for the final price */
}


/* Fix table background and radius */
body.woocommerce-checkout table.shop_table {
    background: transparent !important;
    border: none !important;
}

body.woocommerce-checkout table.shop_table th,
body.woocommerce-checkout table.shop_table td {
    background: transparent !important;
}

/* Fix product image breathing room */
body.woocommerce-checkout table.shop_table .product-name {
    padding-left: 0 !important;
    /* Ensure the td itself doesn't add weird spacing */
}

body.woocommerce-checkout table.shop_table .product-name>div {
    gap: 16px !important;
    /* Add space between image and text */
}

/* Add breathing room to the left of the image so it doesn't touch the edge */
body.woocommerce-checkout table.shop_table tbody td.product-name {
    padding-left: 10px !important;
}

body.woocommerce-checkout table.shop_table tbody td.product-name img {
    margin-left: 10px !important;
    border-radius: 6px !important;
}


/* ==========================================================================
   CART PAGE SPECIFIC STYLES
   ========================================================================== */
/* Hide Quantity column completely on Cart page */
.woocommerce-cart table.cart .product-quantity {
    display: none !important;
}

/* Fix Coupon Field Layout */
.woocommerce-cart table.cart .actions .coupon {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    float: left !important;
}

.woocommerce-cart table.cart .actions .coupon .input-text {
    width: 250px !important;
    margin: 0 !important;
    height: 48px !important;
    background-color: #1a1a1a !important;
    border: 1px solid #333 !important;
    border-radius: 8px !important;
    color: #fff !important;
    padding: 0 16px !important;
}

.woocommerce-cart table.cart .actions .coupon .button {
    height: 48px !important;
    background-color: #0bd166 !important;
    color: #000 !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    padding: 0 24px !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    transition: background-color 0.2s !important;
}

.woocommerce-cart table.cart .actions .coupon .button:hover {
    background-color: #0ecc66 !important;
}

/* Fix Update Cart button */
.woocommerce-cart table.cart .actions>.button {
    float: right !important;
    height: 48px !important;
    background-color: transparent !important;
    color: #fff !important;
    border: 1px solid #333 !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    padding: 0 24px !important;
    cursor: pointer !important;
    transition: border-color 0.2s !important;
}

.woocommerce-cart table.cart .actions>.button:hover {
    border-color: #0bd166 !important;
}

/* Cart Table Borders */
.woocommerce-cart table.cart {
    background: #1a1a1a !important;
    border: 1px solid #2a2a2a !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

.woocommerce-cart table.cart th,
.woocommerce-cart table.cart td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.woocommerce-cart table.cart tbody tr:last-child td {
    border-bottom: none !important;
}

/* Align Cart Thumbnail and Title with Wishlist */
.woocommerce-cart table.cart tr td.product-thumbnail {
    width: 200px !important;
}

.woocommerce-cart table.cart tr td.product-thumbnail a {
    max-width: 200px !important;
    width: 100% !important;
    display: block !important;
}

.woocommerce-cart table.cart tr td.product-thumbnail img,
.woocommerce-cart table.cart tr td.product-thumbnail video {
    width: 100% !important;
    max-width: 136px !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: cover !important;
    border-radius: 6px !important;
}

.woocommerce-cart table.cart td.product-name a {
    color: #3ECF8E !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

.woocommerce-cart table.cart td.product-name a:hover {
    text-decoration: underline !important;
}


/* Center the Cart page content */
body.woocommerce-cart .woocommerce {
    max-width: 1200px;
    margin: 60px auto !important;
    padding: 0 20px;
}

/* Force Cart Wrapper Alignment against AJAX updates */
body.woocommerce-cart .dolo-cart-wrapper,
body.woocommerce-cart .woocommerce-cart-form {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.woocommerce-cart .dolo-cart-header {
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Ensure the page takes up enough height to push the footer down (removes the grey gap at the bottom) */
body.woocommerce-cart {
    background-color: #000 !important;
    /* Ensure background is solid black */
}

body.woocommerce-cart main {
    min-height: calc(100vh - 100px);
}

/* Proceed to Checkout Button */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    background-color: #0bd166 !important;
    color: #000 !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    padding: 18px 24px !important;
    display: block !important;
    text-align: center !important;
    transition: background-color 0.2s, transform 0.1s !important;
    margin-top: 24px !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background-color: #0ecc66 !important;
    transform: translateY(-2px) !important;
}

/* Cart Totals section breathing room */
.woocommerce-cart .cart-collaterals {
    margin-top: 60px !important;
}

.woocommerce-cart .cart-collaterals .cart_totals h2 {
    font-size: 24px !important;
    margin-bottom: 24px !important;
    color: #fff !important;
}

.woocommerce-cart .cart-collaterals .cart_totals table.shop_table {
    background: #1a1a1a !important;
    border: 1px solid #2a2a2a !important;
    border-radius: 12px !important;
    margin-bottom: 20px !important;
}

.woocommerce-cart .cart-collaterals .cart_totals table.shop_table th,
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table td {
    padding: 20px 24px !important;
}


/* Fix the huge gap above the checkout button */
.woocommerce-cart .cart-collaterals .wc-proceed-to-checkout {
    padding-top: 0 !important;
    margin-top: 16px !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    margin-top: 0 !important;
}

/* --- Order Received / Thank You Page Styling --- */
.woocommerce-order {
    max-width: 800px !important;
    margin: 40px auto !important;
    padding: 30px !important;
    background: #10181B !important;
    border-radius: 12px !important;
    border: 1px solid #222C31 !important;
    color: #F4F7F7 !important;
}

.woocommerce-order p.woocommerce-notice {
    font-size: 1.2rem !important;
    color: #3ECF8E !important;
    font-weight: 600 !important;
    margin-bottom: 24px !important;
}

.woocommerce-order ul.woocommerce-order-overview {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    padding: 20px !important;
    background: #0F1619 !important;
    border-radius: 8px !important;
    border: 1px solid #273137 !important;
    margin-bottom: 30px !important;
}

.woocommerce-order ul.woocommerce-order-overview li {
    list-style: none !important;
    border: none !important;
    font-size: 0.9rem !important;
    color: #98A2A6 !important;
    text-transform: uppercase !important;
}

.woocommerce-order ul.woocommerce-order-overview li strong {
    display: block !important;
    font-size: 1.1rem !important;
    color: #F4F7F7 !important;
    margin-top: 4px !important;
    text-transform: none !important;
}

.woocommerce-order h2.woocommerce-order-details__title,
.woocommerce-order h2.woocommerce-column__title {
    font-size: 1.4rem !important;
    color: #F4F7F7 !important;
    margin-bottom: 20px !important;
    margin-top: 30px !important;
}

.woocommerce-order table.woocommerce-table--order-details {
    width: 100% !important;
    background: #0F1619 !important;
    border: 1px solid #273137 !important;
    border-radius: 8px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: hidden !important;
}

.woocommerce-order table.woocommerce-table--order-details th,
.woocommerce-order table.woocommerce-table--order-details td {
    padding: 16px 20px !important;
    border-bottom: 1px solid #273137 !important;
    text-align: left !important;
}

.woocommerce-order table.woocommerce-table--order-details th {
    background: #151C20 !important;
    color: #98A2A6 !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    font-size: 0.85rem !important;
}

.woocommerce-order table.woocommerce-table--order-details tbody td {
    color: #F4F7F7 !important;
}

.woocommerce-order table.woocommerce-table--order-details tfoot th,
.woocommerce-order table.woocommerce-table--order-details tfoot td {
    font-weight: 600 !important;
    color: #F4F7F7 !important;
}

.woocommerce-order table.woocommerce-table--order-details a {
    color: #3ECF8E !important;
    text-decoration: none !important;
}

.woocommerce-order table.woocommerce-table--order-details a:hover {
    text-decoration: underline !important;
}

.woocommerce-customer-details address {
    background: #0F1619 !important;
    padding: 20px !important;
    border: 1px solid #273137 !important;
    border-radius: 8px !important;
    color: #98A2A6 !important;
    line-height: 1.6 !important;
    font-style: normal !important;
}

/* Download buttons styling */
table.woocommerce-table--order-downloads .download-file a {
    display: inline-block !important;
    padding: 8px 16px !important;
    background: linear-gradient(90deg, #3ECF8E, #3ECF8E) !important;
    color: #000 !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
}

table.woocommerce-table--order-downloads .download-file a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(35, 240, 120, 0.3);
}

/* Fix margin for billing address title across all order pages */
h2.woocommerce-column__title {
    margin-bottom: 16px !important;
    padding-bottom: 0 !important;
}

address {
    margin-top: 16px !important;
}

.woocommerce-customer-details h2.woocommerce-column__title {
    margin-bottom: 16px !important;
}

/* Payment methods icon */
.woocommerce-MyAccount-navigation-link--payment-methods a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237A909A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='4' width='22' height='16' rx='2' ry='2'/%3E%3Cline x1='1' y1='10' x2='23' y2='10'/%3E%3C/svg%3E") !important;
}

/* Favourite Videos icon */
.woocommerce-MyAccount-navigation-link--favourite-videos a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237A909A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E") !important;
}

/* YITH Wishlist / Favourite Videos table styling */
.yith-wcwl-table,
.wishlist_table {
    width: 100% !important;
    background: #0F1619 !important;
    border: 1px solid #273137 !important;
    border-radius: 8px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: hidden !important;
    color: #F4F7F7 !important;
}

.yith-wcwl-table th,
.wishlist_table th {
    background: #151C20 !important;
    color: #98A2A6 !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    font-size: 0.85rem !important;
    padding: 16px 20px !important;
    border-bottom: 1px solid #273137 !important;
    text-align: left !important;
}

.yith-wcwl-table td,
.wishlist_table td {
    padding: 12px 7px !important;
    border-bottom: 1px solid #273137 !important;
    color: #F4F7F7 !important;
    background: #0F1619 !important;
}

.wishlist_table tr td.product-thumbnail a {
    max-width: 128px !important;
}

.product-thumbnail {
    width: 200px !important;
}

.yith-wcwl-table tr:last-child td,
.wishlist_table tr:last-child td {
    border-bottom: none !important;
}

.yith-wcwl-table td a,
.wishlist_table td a {
    color: #3ECF8E !important;
    text-decoration: none !important;
}

.yith-wcwl-table td a:hover,
.wishlist_table td a:hover {
    text-decoration: underline !important;
}

/* Force dashboard styling for guest wishlist */
.dolo-account-wrapper.dolo-dashboard-active .woocommerce-MyAccount-content {
    flex: none !important;
    float: none !important;
    width: 100% !important;
    background: #0A0F11 !important;
    border: 1px solid var(--border-inactive) !important;
    border-radius: 14px !important;
    padding: 32px !important;
    min-height: 250px;
    box-sizing: border-box;
}

/* --- FIXES --- */
.wishlist-title-container .show-title-form,
.wishlist-title:hover .show-title-form,
.wishlist-title a.show-title-form {
    display: none !important;
    visibility: hidden !important;
}

/* Guest dashboard hard override */
body .dolo-account-wrapper.dolo-dashboard-active .woocommerce-MyAccount-content {
    flex: none !important;
    float: none !important;
    width: 100% !important;
    background: #0A0F11 !important;
    border: 1px solid var(--border-inactive) !important;
    border-radius: 14px !important;
    padding: 32px !important;
    min-height: 250px;
    box-sizing: border-box;
}

/* --- FIXES --- */
.wishlist-title-container .show-title-form,
.wishlist-title:hover .show-title-form,
.wishlist-title a.show-title-form {
    display: none !important;
    visibility: hidden !important;
}

/* Guest dashboard hard override */
body .dolo-account-wrapper.dolo-dashboard-active .woocommerce-MyAccount-content {
    flex: none !important;
    float: none !important;
    width: 100% !important;
    background: #0A0F11 !important;
    border: 1px solid var(--border-inactive) !important;
    border-radius: 14px !important;
    padding: 32px !important;
    min-height: 250px;
    box-sizing: border-box;
}

/* --- YITH Wishlist alignment fix --- */
.woocommerce-MyAccount-content form#yith-wcwl-form,
.woocommerce-MyAccount-content .yith-wcwl-form,
.woocommerce-MyAccount-content .wishlist-title-container {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    text-align: left !important;
}

.wishlist_table {
    margin: 0 !important;
}

/* --- Center and move up --- */
.dolo-account-wrapper {
    justify-content: center !important;
}

body .page-container {
    padding-top: 30px !important;
}

/* Force table to stretch and align left */
.dolo-account-wrapper.dolo-dashboard-active .woocommerce-MyAccount-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
}

.dolo-account-wrapper.dolo-dashboard-active .woocommerce-MyAccount-content form,
.dolo-account-wrapper.dolo-dashboard-active .woocommerce-MyAccount-content>div {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.wishlist-title-container {
    margin-bottom: 20px !important;
}

h2,
.wishlist-title h2 {
    text-align: left !important;
}

/* Fix excessive vertical space and centering inside guest dashboard card */
.dolo-account-wrapper.dolo-dashboard-active .woocommerce-MyAccount-content {
    justify-content: flex-start !important;
    min-height: auto !important;
}

/* Fix YITH Wishlist title hover background */
.wishlist-title-container:hover,
.wishlist-title-container h2:hover,
.wishlist-title:hover,
.wishlist-title h2:hover {
    background: transparent !important;
    background-color: transparent !important;
}

/* Prevent YITH Wishlist title from triggering double-click edit mode */
.wishlist-title-container {
    pointer-events: none !important;
}

/* Hide mobile menu toggle on desktop */
.dolo-sidebar-menu-toggle {
    display: none;
}

/* Mobile responsive for my-account dashboard */
@media (max-width: 900px) {
    .dolo-account-wrapper {
        flex-direction: column !important;
        gap: 16px !important;
    }

    .dolo-account-sidebar {
        flex: none !important;
        width: 100% !important;
        position: relative !important;
        top: 0 !important;
    }

    .dolo-account-main {
        width: 100% !important;
        max-width: 100% !important;
    }

    .dolo-account-wrapper.dolo-dashboard-active .woocommerce-MyAccount-content {
        padding: 20px !important;
        min-height: auto !important;
    }

    /* Dashboard Tab: Make header text full width */
    .dolo-dashboard-header {
        flex-wrap: wrap;
    }

    .dolo-dashboard-header>div {
        display: contents;
    }

    .dolo-dashboard-title {
        order: 1;
    }

    .dolo-dashboard-cta {
        order: 2;
    }

    .dolo-dashboard-sub {
        order: 3;
        flex: 1 1 100%;
        margin-top: 12px;
    }

    /* Dashboard Tab: Hide icons */
    .dolo-stat-icon {
        display: none !important;
    }

    .dolo-stat-card {
        padding: 16px !important;
        justify-content: center !important;
        text-align: center !important;
    }

    /* Download Tab: Small font */
    table.woocommerce-table--order-downloads th,
    table.woocommerce-table--order-downloads td,
    .woocommerce-MyAccount-downloads th,
    .woocommerce-MyAccount-downloads td,
    .woocommerce-table--order-downloads strong {
        font-size: 13px !important;
    }

    table.woocommerce-table--order-downloads .download-file a,
    table.woocommerce-table--order-downloads .woocommerce-button {
        font-size: 12px !important;
        padding: 6px 12px !important;
    }

    /* Address Tab: H2 font size 16px */
    .woocommerce-MyAccount-content h2,
    .woocommerce-MyAccount-content h3,
    .woocommerce-Address-title h3,
    .woocommerce-Address-title h2 {
        font-size: 16px !important;
    }

    /* Account Details Tab: Field width 100% */
    .woocommerce form .form-row-first,
    .woocommerce form .form-row-last,
    .woocommerce-EditAccountForm .form-row-first,
    .woocommerce-EditAccountForm .form-row-last {
        width: 100% !important;
        float: none !important;
    }

    /* Favourite Videos (Wishlist) Table Responsive */
    .yith-wcwl-table,
    .wishlist_table,
    .wishlist-title-container+form {
        display: block !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        width: 100% !important;
    }

    .yith-wcwl-table th,
    .wishlist_table th,
    .yith-wcwl-table td,
    .wishlist_table td {
        padding: 10px 8px !important;
        font-size: 13px !important;
    }

    /* Hide specific columns on mobile to save space */
    .yith-wcwl-table th.product-stock-status,
    .wishlist_table th.product-stock-status,
    .yith-wcwl-table td.product-stock-status,
    .wishlist_table td.product-stock-status,
    .yith-wcwl-table th.product-add-to-cart,
    .wishlist_table th.product-add-to-cart,
    .yith-wcwl-table td.product-add-to-cart,
    .wishlist_table td.product-add-to-cart {
        display: none !important;
    }

    /* Make product name smaller and allow it to wrap */
    .yith-wcwl-table td.product-name,
    .wishlist_table td.product-name,
    .yith-wcwl-table td.product-name a,
    .wishlist_table td.product-name a {
        font-size: 12px !important;
        white-space: normal !important;
        min-width: 120px;
    }

    /* Single Product / Watch Clip Details Panel Stack */
    .details-panel {
        flex-direction: column !important;
        gap: 24px !important;
    }

    .details-panel>div:first-child,
    .details-panel>div:last-child {
        max-width: 100% !important;
        flex: 1 1 100% !important;
    }

    .details-panel>div:nth-child(2) {
        display: none !important;
    }

    /* --- Mobile Menu Toggle --- */
    .dolo-sidebar-user-card {
        justify-content: space-between;
        cursor: pointer;
    }

    .dolo-sidebar-menu-toggle {
        display: flex !important;
        align-items: center;
        gap: 6px;
        color: #e05454;
        /* Red color for Menu */
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
    }

    .dolo-sidebar-menu-toggle svg {
        transition: transform 0.3s ease;
    }

    .dolo-account-sidebar.menu-open .dolo-sidebar-menu-toggle svg {
        transform: rotate(180deg);
    }

    /* Hide the navigation list by default on mobile */
    .dolo-account-sidebar .woocommerce-MyAccount-navigation,
    .dolo-account-sidebar .dolo-sidebar-section-label {
        display: none !important;
    }

    /* Show when menu is open */
    .dolo-account-sidebar.menu-open .woocommerce-MyAccount-navigation {
        margin-bottom: 20px !important;
    }

    h2,
    .wishlist-title h2 {
        text-align: left !important;
    }

    /* Fix excessive vertical space and centering inside guest dashboard card */
    .dolo-account-wrapper.dolo-dashboard-active .woocommerce-MyAccount-content {
        justify-content: flex-start !important;
        min-height: auto !important;
    }

    /* Fix YITH Wishlist title hover background */
    .wishlist-title-container:hover,
    .wishlist-title-container h2:hover,
    .wishlist-title:hover,
    .wishlist-title h2:hover {
        background: transparent !important;
        background-color: transparent !important;
    }

    /* Prevent YITH Wishlist title from triggering double-click edit mode */
    .wishlist-title-container {
        pointer-events: none !important;
    }

    /* Hide mobile menu toggle on desktop */
    .dolo-sidebar-menu-toggle {
        display: none;
    }

    /* Mobile responsive for my-account dashboard */
    @media (max-width: 900px) {
        .dolo-account-wrapper {
            flex-direction: column !important;
            gap: 16px !important;
        }

        .dolo-account-sidebar {
            flex: none !important;
            width: 100% !important;
            position: relative !important;
            top: 0 !important;
        }

        .dolo-account-main {
            width: 100% !important;
            max-width: 100% !important;
        }

        .dolo-account-wrapper.dolo-dashboard-active .woocommerce-MyAccount-content {
            padding: 20px !important;
            min-height: auto !important;
        }

        /* Dashboard Tab: Make header text full width */
        .dolo-dashboard-header {
            flex-wrap: wrap;
        }

        .dolo-dashboard-header>div {
            display: contents;
        }

        .dolo-dashboard-title {
            order: 1;
        }

        .dolo-dashboard-cta {
            order: 2;
        }

        .dolo-dashboard-sub {
            order: 3;
            flex: 1 1 100%;
            margin-top: 12px;
        }

        /* Dashboard Tab: Hide icons */
        .dolo-stat-icon {
            display: none !important;
        }

        .dolo-stat-card {
            padding: 16px !important;
            justify-content: center !important;
            text-align: center !important;
        }

        /* Download Tab: Small font */
        table.woocommerce-table--order-downloads th,
        table.woocommerce-table--order-downloads td,
        .woocommerce-MyAccount-downloads th,
        .woocommerce-MyAccount-downloads td,
        .woocommerce-table--order-downloads strong {
            font-size: 13px !important;
        }

        table.woocommerce-table--order-downloads .download-file a,
        table.woocommerce-table--order-downloads .woocommerce-button {
            font-size: 12px !important;
            padding: 6px 12px !important;
        }

        /* Address Tab: H2 font size 16px */
        .woocommerce-MyAccount-content h2,
        .woocommerce-MyAccount-content h3,
        .woocommerce-Address-title h3,
        .woocommerce-Address-title h2 {
            font-size: 16px !important;
        }

        /* Account Details Tab: Field width 100% */
        .woocommerce form .form-row-first,
        .woocommerce form .form-row-last,
        .woocommerce-EditAccountForm .form-row-first,
        .woocommerce-EditAccountForm .form-row-last {
            width: 100% !important;
            float: none !important;
        }

        /* Favourite Videos (Wishlist) Table Responsive */
        .yith-wcwl-table,
        .wishlist_table,
        .wishlist-title-container+form {
            display: block !important;
            overflow-x: auto !important;
            white-space: nowrap !important;
            -webkit-overflow-scrolling: touch !important;
            width: 100% !important;
        }

        .yith-wcwl-table th,
        .wishlist_table th,
        .yith-wcwl-table td,
        .wishlist_table td {
            padding: 10px 8px !important;
            font-size: 13px !important;
        }

        /* Hide specific columns on mobile to save space */
        .yith-wcwl-table th.product-stock-status,
        .wishlist_table th.product-stock-status,
        .yith-wcwl-table td.product-stock-status,
        .wishlist_table td.product-stock-status,
        .yith-wcwl-table th.product-add-to-cart,
        .wishlist_table th.product-add-to-cart,
        .yith-wcwl-table td.product-add-to-cart,
        .wishlist_table td.product-add-to-cart {
            display: none !important;
        }

        /* Make product name smaller and allow it to wrap */
        .yith-wcwl-table td.product-name,
        .wishlist_table td.product-name,
        .yith-wcwl-table td.product-name a,
        .wishlist_table td.product-name a {
            font-size: 12px !important;
            white-space: normal !important;
            min-width: 120px;
        }

        /* Single Product / Watch Clip Details Panel Stack */
        .details-panel {
            flex-direction: column !important;
            gap: 24px !important;
        }

        .details-panel>div:first-child,
        .details-panel>div:last-child {
            max-width: 100% !important;
            flex: 1 1 100% !important;
        }

        .details-panel>div:nth-child(2) {
            display: none !important;
        }

        /* --- Mobile Menu Toggle --- */
        .dolo-sidebar-user-card {
            justify-content: space-between;
            cursor: pointer;
        }

        .dolo-sidebar-menu-toggle {
            display: flex !important;
            align-items: center;
            gap: 6px;
            color: #e05454;
            /* Red color for Menu */
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
        }

        .dolo-sidebar-menu-toggle svg {
            transition: transform 0.3s ease;
        }

        .dolo-account-sidebar.menu-open .dolo-sidebar-menu-toggle svg {
            transform: rotate(180deg);
        }

        /* Hide the navigation list by default on mobile */
        .dolo-account-sidebar .woocommerce-MyAccount-navigation,
        .dolo-account-sidebar .dolo-sidebar-section-label {
            display: none !important;
        }

        /* Show when menu is open */
        .dolo-account-sidebar.menu-open .woocommerce-MyAccount-navigation {
            display: block !important;
            margin-top: 10px !important;
        }
    }

    /* Wishlist Thumbnail Size Increase */
    .wishlist_table tr td.product-thumbnail,
    .yith-wcwl-table tr td.product-thumbnail {
        width: 136px !important;
    }

    .wishlist_table tr td.product-thumbnail a,
    .yith-wcwl-table tr td.product-thumbnail a {
        max-width: 136px !important;
        width: 100% !important;
        display: block !important;
    }

    .wishlist_table tr td.product-thumbnail img,
    .wishlist_table tr td.product-thumbnail video,
    .yith-wcwl-table tr td.product-thumbnail img,
    .yith-wcwl-table tr td.product-thumbnail video {
        width: 100% !important;
        max-width: 136px !important;
        height: auto !important;
        border-radius: 6px !important;
    }
}


/* Fix cramped buttons on Orders table */
td.woocommerce-orders-table__cell-order-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }



/* Fix full-width Add Payment Method button */
.woocommerce-MyAccount-paymentMethods .button, 
.woocommerce-MyAccount-content > a.button[href*="add-payment-method"] { 
    width: max-content !important; 
    display: inline-block !important; 
    padding-left: 24px !important; 
    padding-right: 24px !important; 
}

