/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* Custom styling to stack and align Technical Parameters to the left */
.technical-parameters-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    width: 100% !important;
    margin-top: 30px !important;
}

.technical-parameters-wrapper .technical-parameters-title {
    width: 100% !important;
    text-align: left !important;
    margin-bottom: 15px !important;
    float: none !important;
}

.technical-parameters-wrapper .shop_attributes {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    float: none !important;
}

.technical-parameters-wrapper .shop_attributes tr {
    justify-content: flex-start !important;
}

.technical-parameters-wrapper .shop_attributes th {
    width: 250px !important;
    min-width: 250px !important;
    text-align: left !important;
    padding-left: 0 !important;
}

.technical-parameters-wrapper .shop_attributes td {
    text-align: left !important;
    padding-left: 0 !important;
}

/* Left-align product tabs container */
.wd-nav-tabs-wrapper.text-center {
    text-align: left !important;
}

.wd-nav-tabs {
    justify-content: flex-start !important;
    padding-left: 0 !important;
}

/* Custom WhatsApp Order Button Style */
.custom-whatsapp-btn {
    background-color: #c00000 !important; /* Darker red background */
    color: #ffffff !important; /* White text/logo */
    border: 2px solid #c00000 !important; /* Darker red border */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 20px !important;
    font-weight: bold !important;
    font-size: 14px !important;
    border-radius: 4px !important;
    transition: all 0.3s ease-in-out !important;
    margin-top: 15px !important;
    margin-bottom: 15px !important;
    height: 42px !important;
    clear: both !important;
    width: fit-content !important;
}

.custom-whatsapp-btn:hover {
    background-color: #000000 !important; /* Black background on hover */
    color: #ffffff !important; /* White text/logo on hover */
    border-color: #000000 !important; /* Black border on hover */
}

.custom-whatsapp-btn svg.whatsapp-icon {
    fill: currentColor !important;
}

/* ─── Woodmart-Aligned Login & Registration Page (/hesabim/) ─── */
.caspian-auth-page-wrapper {
    margin: 20px auto 50px;
    max-width: 1040px;
    width: 100%;
}

/* Tabs switcher for mobile & tablet (< 992px) */
.caspian-auth-tabs-bar {
    display: none;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
}

@media (max-width: 991px) {
    .caspian-auth-tabs-bar {
        display: flex;
    }
}

.caspian-auth-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1.5px solid #edeef3;
    background: #ffffff;
    font-size: 13.5px;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
}

.caspian-auth-tab-btn.active {
    background: #c00000;
    border-color: #c00000;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(192, 0, 0, 0.25);
}

.caspian-auth-grid {
    display: flex;
    gap: 30px;
}

@media (max-width: 991px) {
    .caspian-auth-grid {
        flex-direction: column;
    }
    .caspian-auth-col {
        display: none !important;
    }
    .caspian-auth-col.active {
        display: block !important;
    }
}

.caspian-auth-col {
    border: none !important;
    border-inline-start: none !important;
}

@media (min-width: 992px) {
    .caspian-auth-col {
        flex: 1 1 50%;
        max-width: 50%;
        display: block !important;
    }
}

.caspian-auth-card {
    background: #ffffff;
    border: 1px solid #edeef3;
    border-radius: 12px;
    padding: 36px 32px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.caspian-card-header {
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1.5px solid #f1f5f9;
}

.caspian-card-header .wd-login-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.caspian-card-subtitle {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.caspian-phone-field-wrap {
    display: flex;
    align-items: center;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
    transition: all 0.2s ease;
}

.caspian-phone-field-wrap:focus-within {
    border-color: #c00000;
    box-shadow: 0 0 0 2px rgba(192, 0, 0, 0.12);
}

.caspian-phone-field-wrap .phone-prefix {
    padding: 0 14px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    font-size: 14px;
    font-weight: 700;
    color: #334155;
    user-select: none;
}

.caspian-phone-field-wrap input.phone-input {
    border: none !important;
    background: transparent !important;
    padding: 0 14px !important;
    height: 46px !important;
    font-size: 15px !important;
    color: #0f172a !important;
    box-shadow: none !important;
    outline: none !important;
    flex: 1;
}

.caspian-field-hint {
    display: block;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
}

.custom-otp-form .woocommerce-form-row {
    margin-bottom: 16px;
}

.custom-otp-form label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
    display: block;
}

.custom-otp-form input.input-text:not(.phone-input) {
    width: 100%;
    height: 46px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 0 14px !important;
    font-size: 14.5px !important;
    color: #0f172a !important;
    background: #ffffff !important;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.custom-otp-form input.input-text:not(.phone-input):focus {
    border-color: #c00000 !important;
    box-shadow: 0 0 0 2px rgba(192, 0, 0, 0.12) !important;
    outline: none !important;
}

.otp-submit-btn,
.otp-verify-btn {
    width: 100% !important;
    height: 48px !important;
    background: #c00000 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(192, 0, 0, 0.25) !important;
}

.otp-submit-btn:hover,
.otp-verify-btn:hover {
    background: #a00000 !important;
    box-shadow: 0 6px 16px rgba(160, 0, 0, 0.35) !important;
}

.otp-submit-btn:disabled,
.otp-verify-btn:disabled {
    background: #cbd5e1 !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
}

.terms-text {
    font-size: 12.5px;
    color: #64748b;
    margin-top: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.terms-text a {
    color: #c00000;
    font-weight: 600;
    text-decoration: underline;
}

.terms-text a:hover {
    color: #a00000;
}

.otp-status-msg {
    display: none;
    margin-bottom: 15px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    text-align: center;
    line-height: 1.45;
    box-sizing: border-box;
}

.otp-status-msg.success {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.otp-status-msg.error {
    background-color: #fef2f2;
    color: #c00000;
    border: 1px solid #fecaca;
}

.resend-container {
    text-align: center;
    margin-top: 15px;
    font-size: 13.5px;
}

.resend-countdown {
    color: #64748b;
}

.resend-otp-link {
    color: #c00000;
    font-weight: 700;
    text-decoration: none;
}

.resend-otp-link:hover {
    text-decoration: underline;
}


/* Custom About Us Page Statistics */
@media (max-width: 768px) {
    .custom-about-stats > div {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .custom-about-stats > div:last-child {
        border-bottom: none !important;
    }
}

/* Disable scrollbar on shop filter widgets and show full lists */
.widget_product_categories .wd-scroll-content,
.widget_layered_nav .wd-scroll-content,
.wd-widget-layered-nav .wd-scroll-content,
.wd-filter-list .wd-scroll-content,
.wd-scroll-content,
.wd-scroll,
.wd-scroll-content.wd-scroll {
    max-height: none !important;
    overflow-y: visible !important;
}

/* Hide perfect scrollbar rails inside filter widgets */
.wd-scroll-content + .ps__rail-x,
.wd-scroll-content + .ps__rail-y,
.wd-scroll-content .ps__rail-x,
.wd-scroll-content .ps__rail-y,
.ps__rail-x,
.ps__rail-y {
    display: none !important;
}

/* Footer social buttons — plain icons, no border */
.footer-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 0;
    background: none;
    color: #c00000;
    transition: color 0.2s ease, opacity 0.2s ease;
    margin-right: 6px;
    margin-bottom: 0;
    padding: 0;
    text-decoration: none;
}
.footer-social-btn:hover {
    color: #a00000;
    opacity: .8;
    background: none !important;
}
.footer-social-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Magicshow style product grid */
.product-grid-item {
    background: #ffffff !important;
    border: 1px solid #eaeaea !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    padding-bottom: 15px !important;
    margin-bottom: 30px !important;
    display: flex !important;
    flex-direction: column !important;
    height: calc(100% - 30px) !important; /* Adjust for margin-bottom */
}

.product-grid-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.06) !important;
    transform: translateY(-4px) !important;
}

.product-grid-item .product-wrapper {
    background: transparent !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.product-grid-item .wd-product-wrapper {
    background: #ffffff !important;
    border: 1px solid #eaeaea !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}

.product-grid-item .wd-product-wrapper:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06) !important;
    border-color: #dcdcdc !important;
}

.product-grid-item .wd-product-thumb {
    padding: 16px !important;
    background: #ffffff !important;
    border-bottom: 1px solid #f0f0f0 !important;
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
}

.product-grid-item .wd-product-thumb a.product-image-link,
.product-grid-item .wd-product-thumb .hover-img {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.product-grid-item .wd-product-thumb img {
    border-radius: 6px !important;
    max-height: 190px !important;
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    background-color: #ffffff !important;
    transition: transform 0.3s ease !important;
}

.product-grid-item .wd-product-thumb .hover-img img {
    border-radius: 6px !important;
    max-height: 190px !important;
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    background-color: #ffffff !important;
    transition: transform 0.3s ease !important;
}

.product-grid-item .wd-entities-title {
    margin-top: 14px !important;
    padding: 0 16px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    height: 40px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    white-space: normal !important;
    text-align: left !important;
}

.product-grid-item .wd-entities-title a {
    color: #1a1a1a !important;
}

.product-grid-item .wd-product-cats {
    padding: 0 16px !important;
    font-size: 12px !important;
    margin-top: 2px !important;
    margin-bottom: 8px !important;
    text-align: left !important;
}

.product-grid-item .wd-product-cats a {
    color: #888888 !important;
}

.product-grid-item .product-sku-grid {
    margin: 0 16px 14px !important;
    padding: 3px 8px !important;
    background-color: #edeef3 !important;
    border-radius: 6px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #555555 !important;
    display: inline-block !important;
    width: fit-content !important;
    letter-spacing: 0.3px !important;
    text-align: left !important;
}

.product-grid-item .price {
    padding: 0 16px 16px !important;
    display: block !important;
    text-align: left !important;
    margin-top: auto !important; /* Push cleanly to bottom */
}

.product-grid-item .price .amount {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #c00d1e !important;
}

/* Hide Woodmart hover icon clutter if any */
.product-grid-item .wd-buttons {
    display: none !important;
}

/* Hide default WoodMart copyright (we injected our own at the absolute bottom of the global footer) */
.wd-copyrights {
    display: none !important;
}

/* ==========================================================================
   Caspian Lighting - Simple OTP User Dashboard (Hesabım)
   ========================================================================== */

/* Hide unwanted default links in Woodmart dashboard */
.woocommerce-MyAccount-content > p:first-of-type,
.woocommerce-MyAccount-content > p:nth-of-type(2),
.woocommerce-MyAccount-content > .wd-my-account-links {
    display: none !important;
}

/* Sidebar Navigation Card (Woodmart Left Column) */
.woocommerce-MyAccount-navigation {
    background: #ffffff;
    border: 1px solid #edeef3;
    border-radius: 12px;
    padding: 18px 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    margin-bottom: 24px;
}

.woocommerce-MyAccount-navigation .wd-nav-my-acc {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.woocommerce-MyAccount-navigation .wd-nav-my-acc li a {
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 12px 14px !important;
    border-radius: 8px !important;
    color: #334155 !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.woocommerce-MyAccount-navigation .wd-nav-my-acc li:hover a {
    background-color: #f8fafc !important;
    color: #0f172a !important;
}

.woocommerce-MyAccount-navigation .wd-nav-my-acc li.wd-active a,
.woocommerce-MyAccount-navigation .wd-nav-my-acc li.is-active a {
    background-color: #fef2f2 !important;
    color: #c00000 !important;
    font-weight: 700 !important;
}

/* 3D Models Sidebar Icon */
.woocommerce-MyAccount-navigation .wd-my-acc-3d-models a::before {
    content: "▣";
    font-size: 16px;
    color: #c00000;
    margin-right: 6px;
}

/* Dashboard Wrapper */
.caspian-otp-dashboard-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* 1. Profile Banner Card (Woodmart Clean Layout) */
.caspian-dashboard-profile-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #edeef3;
    border-radius: 12px;
    padding: 24px 28px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.caspian-dashboard-user-info {
    display: flex;
    align-items: center;
    gap: 18px;
}

.caspian-dashboard-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #c00000;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(192, 0, 0, 0.25);
    flex-shrink: 0;
}

.caspian-dashboard-greeting {
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.caspian-dashboard-name {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
    line-height: 1.25;
}

.caspian-dashboard-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.caspian-dash-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

.caspian-dash-badge.phone-badge {
    background: #f8fafc;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.caspian-dash-badge.verified-badge {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.caspian-dash-logout-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.caspian-dash-logout-btn:hover {
    background: #c00000;
    border-color: #c00000;
    color: #ffffff;
}

/* 2. Quick Access Grid */
.caspian-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 991px) {
    .caspian-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.caspian-dash-card {
    background: #ffffff;
    border: 1px solid #edeef3;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.caspian-dash-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

.caspian-dash-card.card-3d {
    border-top: 3px solid #c00000;
}

.caspian-dash-card.card-shop {
    border-top: 3px solid #0f172a;
}

.caspian-dash-card.card-profile {
    border-top: 3px solid #64748b;
}

.caspian-dash-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    margin-bottom: 16px;
}

.caspian-dash-card.card-3d .caspian-dash-card-icon {
    color: #c00000;
    background: #fef2f2;
    border-color: #fecaca;
}

.caspian-dash-card-tag {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.caspian-dash-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.caspian-dash-card-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.45;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.caspian-dash-card-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 10px 16px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.caspian-dash-card-btn.btn-red {
    background-color: #c00000 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 10px rgba(192, 0, 0, 0.2) !important;
}

.caspian-dash-card-btn.btn-red:hover {
    background-color: #a00000 !important;
    box-shadow: 0 6px 14px rgba(192, 0, 0, 0.3) !important;
}

.caspian-dash-card-btn.btn-outline {
    background-color: #ffffff !important;
    color: #0f172a !important;
    border: 1.5px solid #cbd5e1 !important;
}

.caspian-dash-card-btn.btn-outline:hover {
    background-color: #0f172a !important;
    color: #ffffff !important;
    border-color: #0f172a !important;
}

/* 3. WhatsApp Help Banner */
.caspian-dashboard-help-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 20px 24px;
    gap: 20px;
}

.caspian-help-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.caspian-help-text {
    flex-grow: 1;
}

.caspian-help-text h4 {
    font-size: 15px;
    font-weight: 700;
    color: #14532d;
    margin: 0 0 4px 0;
}

.caspian-help-text p {
    font-size: 13px;
    color: #166534;
    margin: 0;
    line-height: 1.4;
}

.caspian-help-whatsapp-btn {
    background-color: #25d366 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    border: none !important;
    font-size: 13px !important;
    white-space: nowrap !important;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.25) !important;
    transition: background-color 0.2s !important;
}

.caspian-help-whatsapp-btn:hover {
    background-color: #1ea952 !important;
    color: #ffffff !important;
}

/* ==========================================================================
   Edit Account Form (Simple & Passwordless for OTP Users)
   ========================================================================== */
.caspian-otp-edit-account-wrap {
    background: #ffffff;
    border: 1px solid #edeef3;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.caspian-edit-account-intro {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.caspian-edit-account-heading {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px 0;
}

.caspian-edit-account-subheading {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.caspian-form-row-phone {
    margin-bottom: 20px;
}

.caspian-form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.caspian-phone-readonly-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    padding: 12px 16px;
}

.phone-display-value {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #0f172a;
}

.phone-display-value svg {
    color: #64748b;
}

.verified-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #059669;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 3px 8px;
    border-radius: 12px;
}

.caspian-form-hint {
    display: block;
    font-size: 11.5px;
    color: #94a3b8;
    margin-top: 5px;
}

.caspian-form-row-flex {
    display: flex;
    gap: 16px;
}

.caspian-form-row-flex .form-row {
    flex: 1;
    margin-bottom: 18px;
}

.caspian-clean-form .input-text {
    width: 100% !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    padding: 12px 14px !important;
    font-size: 15px !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}

.caspian-clean-form .input-text:focus {
    border-color: #c00000 !important;
    box-shadow: 0 0 0 3px rgba(192, 0, 0, 0.12) !important;
    outline: none !important;
}

.caspian-submit-wrap {
    margin-top: 24px;
    margin-bottom: 0;
}

.caspian-save-profile-btn {
    background-color: #c00000 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    padding: 13px 28px !important;
    border-radius: 10px !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(192, 0, 0, 0.25) !important;
    transition: background-color 0.2s, transform 0.1s !important;
}

.caspian-save-profile-btn:hover {
    background-color: #a00000 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* ==========================================================================
   Responsive Styles for Dashboard
   ========================================================================== */
@media (max-width: 991px) {
    .caspian-dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .caspian-dashboard-profile-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px;
    }

    .caspian-dashboard-logout-action {
        width: 100%;
    }

    .caspian-dash-logout-btn {
        width: 100%;
        justify-content: center;
    }

    .caspian-dashboard-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .caspian-dashboard-help-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px;
    }

    .caspian-help-action {
        width: 100%;
    }

    .caspian-help-whatsapp-btn {
        width: 100% !important;
        text-align: center !important;
    }

    .caspian-form-row-flex {
        flex-direction: column;
        gap: 0;
    }

    .caspian-save-profile-btn {
        width: 100% !important;
    }
}

/* ==========================================================================
   Caspian Lighting - Modern Category & Shop Sidebar Filter
   Matches https://caspianlighting.az/az/categories/cilciraqlar
   Compatible with native Woodmart Dashboard Widgets & Off-canvas
   ========================================================================== */

/* 1. Global Price Suppression: Hide Prices Across All Products and Pages */
.price,
span.price,
p.price,
.product-price,
.woocommerce-Price-amount,
.woocommerce-Price-currencySymbol,
.woocommerce-loop-product__price,
.wd-price,
.price-row,
.price-filter,
.widget_price_filter,
.caspian-price-slider-box {
    display: none !important;
}

/* 2. Shop Sidebar Card Styling */
.wd-sidebar .widget-area {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #edeef3;
    padding: 22px 20px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Top Header Bar inside Sidebar */
.caspian-sidebar-top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1.5px solid #f1f5f9;
}

.caspian-sidebar-top-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #0f172a;
}

.caspian-sidebar-top-header .btn-filter-reset {
    font-size: 13px;
    font-weight: 600;
    color: #c00000;
    text-decoration: none;
    padding: 5px 12px;
    border-radius: 6px;
    background: #fef2f2;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.caspian-sidebar-top-header .btn-filter-reset:hover {
    background: #fee2e2;
    color: #a00000;
}

/* 3. Sidebar Widgets (Collapsible Accordion Sections) */
.wd-sidebar .widget {
    border-bottom: 1px solid #edeef3 !important;
    padding-bottom: 16px !important;
    margin-bottom: 16px !important;
    background: transparent !important;
    box-shadow: none !important;
}

.wd-sidebar .widget:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Widget Headings / Titles */
.wd-sidebar .widget .widget-title,
.wd-sidebar .widget-title {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    cursor: pointer !important;
    user-select: none !important;
    padding: 6px 0 !important;
    margin-bottom: 12px !important;
    color: #c00000 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    transition: color 0.2s ease !important;
    border: none !important;
}

.wd-sidebar .widget .widget-title:hover {
    color: #a00000 !important;
}

/* Hide +/- Toggle Icons completely per client requirement */
.wd-sidebar .widget-title .plus-btn,
.caspian-toggle-indicator,
.widget-title .plus-btn {
    display: none !important;
    visibility: hidden !important;
}

/* 4. Quick Search inside Filter Widgets */
.caspian-quick-filter-search {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 8px 12px !important;
    font-size: 12.5px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 6px !important;
    background: #f8fafc !important;
    color: #0f172a !important;
    outline: none !important;
    margin-bottom: 12px !important;
    transition: all 0.2s ease !important;
}

.caspian-quick-filter-search:focus {
    background: #ffffff !important;
    border-color: #c00000 !important;
    box-shadow: 0 0 0 2px rgba(192, 0, 0, 0.1) !important;
}

/* 5. Clean, Scrollable Filter Option Lists for Long Lists (Show ~6-7 items, remainder scrollable) */
.wd-sidebar .wd-scroll {
    max-height: none !important;
    overflow: visible !important;
    width: 100% !important;
}

.wd-sidebar .wd-scroll-content,
.wd-sidebar .product-categories,
.wd-sidebar ul.product-categories {
    max-height: 245px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    padding-left: 4px !important;
    padding-right: 8px !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    margin: 0 !important;
    list-style: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Elegant, thin vertical scrollbar */
.wd-sidebar .wd-scroll-content::-webkit-scrollbar,
.wd-sidebar .product-categories::-webkit-scrollbar {
    width: 4px !important;
}

.wd-sidebar .wd-scroll-content::-webkit-scrollbar-track,
.wd-sidebar .product-categories::-webkit-scrollbar-track {
    background: #f1f5f9 !important;
    border-radius: 4px !important;
}

.wd-sidebar .wd-scroll-content::-webkit-scrollbar-thumb,
.wd-sidebar .product-categories::-webkit-scrollbar-thumb {
    background: #cbd5e1 !important;
    border-radius: 4px !important;
}

.wd-sidebar .wd-scroll-content::-webkit-scrollbar-thumb:hover,
.wd-sidebar .product-categories::-webkit-scrollbar-thumb:hover {
    background: #94a3b8 !important;
}

/* 6. Filter Option List Items & Custom Checkboxes */
.wd-sidebar .wc-layered-nav-term,
.wd-sidebar .product-categories li,
.wd-sidebar .widget_product_categories li {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 8px !important;
    padding: 3px 0 !important;
    font-size: 13.5px !important;
    line-height: 1.4 !important;
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.wd-sidebar .wc-layered-nav-term:last-child,
.wd-sidebar .product-categories li:last-child {
    margin-bottom: 0 !important;
}

/* Term Link */
.wd-sidebar .wc-layered-nav-term > a,
.wd-sidebar .product-categories li > a,
.wd-sidebar .widget_product_categories li > a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    color: #334155 !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: color 0.15s ease !important;
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: calc(100% - 38px) !important;
    padding: 0 !important;
}

.wd-sidebar .wc-layered-nav-term > a:hover,
.wd-sidebar .product-categories li > a:hover,
.wd-sidebar .widget_product_categories li > a:hover {
    color: #c00000 !important;
}

/* Custom Checkbox Square before Label */
.wd-sidebar .wc-layered-nav-term > a::before,
.wd-sidebar .product-categories li > a::before,
.wd-sidebar .widget_product_categories li > a::before {
    content: "" !important;
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 4px !important;
    background-color: #ffffff !important;
    box-sizing: border-box !important;
    transition: all 0.18s ease !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    position: static !important;
}

.wd-sidebar .wc-layered-nav-term > a:hover::before,
.wd-sidebar .product-categories li > a:hover::before,
.wd-sidebar .widget_product_categories li > a:hover::before {
    border-color: #c00000 !important;
}

/* Active / Checked State */
.wd-sidebar .wc-layered-nav-term.wd-active > a,
.wd-sidebar .wc-layered-nav-term.chosen > a,
.wd-sidebar .product-categories li.current-cat > a,
.wd-sidebar .product-categories li.current-cat-parent > a,
.wd-sidebar .widget_product_categories li.current-cat > a {
    color: #c00000 !important;
    font-weight: 700 !important;
}

.wd-sidebar .wc-layered-nav-term.wd-active > a::before,
.wd-sidebar .wc-layered-nav-term.chosen > a::before,
.wd-sidebar .product-categories li.current-cat > a::before,
.wd-sidebar .product-categories li.current-cat-parent > a::before,
.wd-sidebar .widget_product_categories li.current-cat > a::before {
    background-color: #c00000 !important;
    border-color: #c00000 !important;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2.5-2.5a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z' fill='white'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 12px !important;
}

/* Hide Woodmart's default color swatch bullets or circle frames */
.wd-sidebar .wd-swatches-filter .wd-swatch {
    display: none !important;
}

/* Count Badge styling */
.wd-sidebar .count {
    min-width: unset !important;
    height: auto !important;
    border: none !important;
    border-radius: 0 !important;
    font-size: 11.5px !important;
    color: #94a3b8 !important;
    line-height: normal !important;
    background: transparent !important;
    transition: none !important;
    padding: 0 !important;
    margin-left: 6px !important;
    font-weight: 400 !important;
}

.wd-sidebar .wc-layered-nav-term a:hover + .count,
.wd-sidebar .wc-layered-nav-term.wd-active .count,
.wd-sidebar .product-categories li a:hover + .count,
.wd-sidebar .product-categories li.current-cat > .count {
    color: #c00000 !important;
    background: transparent !important;
    border-color: transparent !important;
}

/* Category children dropdown hierarchy */
.wd-sidebar .product-categories ul.children {
    padding-left: 24px !important;
    margin-top: 6px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* 7. Mobile Filter Trigger Button & Toolbar Layout */
.caspian-mobile-filter-trigger-bar {
    display: none;
    margin: 0;
    width: auto;
}

.caspian-btn-open-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1.5px solid #edeef3;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.caspian-btn-open-filter:hover {
    border-color: #c00000;
    color: #c00000;
}

.caspian-btn-open-filter svg {
    color: #0f172a;
    transition: color 0.2s ease;
}

.caspian-btn-open-filter:hover svg {
    color: #c00000;
}

/* Hide default Woodmart "Show sidebar" button on mobile */
.wd-show-sidebar-btn {
    display: none !important;
}

/* 8. Mobile Single Line Toolbar & Off-Canvas Responsive Styles */
@media (max-width: 1024px) {
    /* Shop loop toolbar: Filter on Left, Sort on Right IN 1 CLEAN LINE */
    .shop-loop-head {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
        margin-bottom: 16px !important;
    }

    .shop-loop-head > .wd-shop-tools:first-child {
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        width: 100% !important;
    }

    .shop-loop-head > .wd-shop-tools:last-child {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        margin-top: 0 !important;
    }

    /* Hide grid view icons on mobile so filter and sort sit on 1 line cleanly */
    .wd-products-shop-view {
        display: none !important;
    }

    /* Swap positions on mobile & tablet: Sorting to Left, Filter to Right */
    .woocommerce-ordering {
        order: 1 !important;
        margin: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        flex: 0 0 auto !important;
    }

    .caspian-mobile-filter-trigger-bar {
        order: 2 !important;
        display: inline-flex !important;
        align-items: center !important;
        margin: 0 !important;
        width: auto !important;
        flex: 0 0 auto !important;
    }

    /* Off-Canvas Side Panel on Mobile: Slides in from Right to Left */
    .wd-sidebar.wd-side-hidden,
    .wd-sidebar.wd-side-hidden.wd-left {
        left: auto !important;
        right: 0 !important;
        transform: translate3d(100%, 0, 0) !important;
        max-width: 340px !important;
        width: 85vw !important;
        background: #ffffff !important;
        z-index: 100050 !important;
        overflow-y: auto !important;
        transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1) !important;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12) !important;
    }

    .wd-sidebar.wd-side-hidden.wd-opened,
    .wd-sidebar.wd-side-hidden.wd-left.wd-opened {
        left: auto !important;
        right: 0 !important;
        transform: translate3d(0, 0, 0) !important;
    }

    .wd-sidebar.wd-side-hidden .wd-heading {
        display: flex !important;
        justify-content: flex-end !important;
        padding: 12px 18px !important;
        border-bottom: 1px solid #f1f5f9 !important;
    }

    .wd-sidebar.wd-side-hidden .widget-area {
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 20px !important;
        min-height: 100% !important;
    }

    .close-side-widget a {
        color: #64748b !important;
        font-weight: 600 !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
    }

    .close-side-widget a:hover {
        color: #c00000 !important;
    }
}

/* Loading state */
.products.caspian-loading {
    opacity: 0.45;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

/* ============================================================
   CASPIAN AUTH POPUP — Red / White / Light Grey  (#c00000)
   ============================================================ */


/* ── Backdrop: always centered ──────────────────────────────── */
.caspian-auth-popup-backdrop {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0,0,0,0.48);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}
.caspian-auth-popup-backdrop.open {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

/* ── Modal ──────────────────────────────────────────────────── */
.caspian-auth-popup-modal {
    position: relative;
    background: #fff;
    border-radius: 14px;
    width: 100%;
    max-width: 440px;
    max-height: 88vh;
    overflow-y: auto;
    box-shadow: 0 16px 48px rgba(0,0,0,0.28);
    opacity: 0;
    transform: translateY(18px) scale(0.98);
    animation: caspianAuthIn 0.24s 0.04s ease forwards;
}
@keyframes caspianAuthIn {
    to { opacity:1; transform:translateY(0) scale(1); }
}

/* ── Close ✕ top-right ──────────────────────────────────────── */
button.caspian-auth-popup-close,
.caspian-auth-popup-close {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    z-index: 20 !important;
    background: #f1f5f9 !important;
    border: none !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    aspect-ratio: 1 / 1 !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    color: #475569 !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    transition: background 0.18s ease, color 0.18s ease !important;
}
button.caspian-auth-popup-close:hover,
.caspian-auth-popup-close:hover {
    background: #fee2e2 !important;
    color: #c00000 !important;
}
button.caspian-auth-popup-close svg,
.caspian-auth-popup-close svg {
    display: block !important;
    margin: auto !important;
    width: 14px !important;
    height: 14px !important;
    flex-shrink: 0 !important;
}

/* ── Body ───────────────────────────────────────────────────── */
.caspian-auth-popup-body {
    padding: 26px 22px 22px;
}

/* ── Tabs ───────────────────────────────────────────────────── */
.caspian-auth-popup-tabs {
    display: flex;
    border-bottom: 2px solid #e8e8e8;
    margin-bottom: 18px;
    padding-right: 36px;
}
.caspian-auth-tab {
    flex: 1;
    padding: 9px 8px;
    border: none;
    background: transparent;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    cursor: pointer;
    color: #bbb;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.18s, border-color 0.18s;
    text-transform: uppercase;
}
.caspian-auth-tab.active   { color: #c00000; border-bottom-color: #c00000; }
.caspian-auth-tab:hover:not(.active) { color: #555; }

/* ── Panes ──────────────────────────────────────────────────── */
.caspian-auth-tab-pane         { display: none; }
.caspian-auth-tab-pane.active  { display: block; }

/* ── Form fields ────────────────────────────────────────────── */
.caspian-auth-popup-modal .form-row { margin-bottom: 11px; }
.caspian-auth-popup-modal .form-row label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #666;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.caspian-auth-popup-modal .required { color: #c00000; }
.caspian-auth-popup-modal .input-text {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #e2e2e2;
    border-radius: 7px;
    font-size: 14px;
    background: #f6f6f6;
    box-sizing: border-box;
    transition: border-color 0.18s, background 0.18s;
    outline: none;
    color: #222;
}
.caspian-auth-popup-modal .input-text:focus {
    border-color: #c00000;
    background: #fff;
}
.caspian-auth-popup-modal .phone-input-container {
    display: flex;
    align-items: center;
    border: 1.5px solid #e2e2e2;
    border-radius: 7px;
    background: #f6f6f6;
    overflow: hidden;
    transition: border-color 0.18s;
}
.caspian-auth-popup-modal .phone-input-container:focus-within {
    border-color: #c00000;
    background: #fff;
}
.caspian-auth-popup-modal .phone-prefix {
    padding: 10px 10px 10px 12px;
    font-size: 14px;
    color: #444;
    font-weight: 700;
    border-right: 1px solid #e2e2e2;
    background: #ececec;
    white-space: nowrap;
    min-width: 50px;
    text-align: center;
}
.caspian-auth-popup-modal .phone-input-container .input-text {
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    flex: 1;
    padding-left: 10px;
}

/* ── Submit / Verify buttons ────────────────────────────────── */
.caspian-auth-popup-modal .otp-submit-btn,
.caspian-auth-popup-modal .otp-verify-btn {
    display: block;
    width: 100%;
    padding: 13px 18px;
    background: #c00000;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.07em;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
    transition: background 0.18s, opacity 0.18s;
    margin-top: 8px;
}
.caspian-auth-popup-modal .otp-submit-btn:hover,
.caspian-auth-popup-modal .otp-verify-btn:hover { background: #a30000; }
.caspian-auth-popup-modal .otp-submit-btn:disabled,
.caspian-auth-popup-modal .otp-verify-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #999;
}

/* ── Terms checkbox row ─────────────────────────────────────── */
.caspian-terms-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
    padding: 10px 12px;
    background: #f6f6f6;
    border-radius: 7px;
    border: 1px solid #e8e8e8;
}
.caspian-terms-checkbox {
    width: 17px;
    height: 17px;
    min-width: 17px;
    accent-color: #c00000;
    cursor: pointer;
    margin-top: 2px;
}
.caspian-terms-label {
    font-size: 12px;
    color: #555;
    line-height: 1.5;
    cursor: pointer;
}
.caspian-terms-label a {
    color: #c00000;
    text-decoration: underline;
    font-weight: 600;
}

/* ── Status messages ────────────────────────────────────────── */
.caspian-auth-popup-modal .otp-status-msg {
    display: none;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: 14px;
    text-align: center;
    box-sizing: border-box;
}
.caspian-auth-popup-modal .otp-status-msg.success { background:#ecfdf5; color:#065f46; border: 1px solid #a7f3d0; }
.caspian-auth-popup-modal .otp-status-msg.error   { background:#fef2f2; color:#c00000; border: 1px solid #fecaca; }
.caspian-auth-popup-modal .resend-container {
    text-align: center;
    margin-top: 8px;
    font-size: 12px;
    color: #999;
}
.caspian-auth-popup-modal .resend-otp-link { color:#c00000; text-decoration:underline; cursor:pointer; }

/* ── Terms full-content popup ───────────────────────────────── */
.caspian-terms-popup-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9999999;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}
.caspian-terms-popup-backdrop.open {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}
.caspian-terms-popup-modal {
    background: #fff;
    border-radius: 14px;
    width: 100%;
    max-width: 620px;
    height: 82vh;
    max-height: 640px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 65px -12px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.caspian-terms-popup-backdrop.open .caspian-terms-popup-modal {
    transform: scale(1);
}
.caspian-terms-popup-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: #c00000;
    flex-shrink: 0;
}
.caspian-terms-popup-head h3 {
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
button.caspian-terms-popup-close,
.caspian-terms-popup-close {
    background: rgba(255,255,255,0.2) !important;
    border: none !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    aspect-ratio: 1 / 1 !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    color: #fff !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    transition: background 0.18s ease !important;
}
button.caspian-terms-popup-close:hover,
.caspian-terms-popup-close:hover {
    background: rgba(0,0,0,0.35) !important;
    color: #fff !important;
}
button.caspian-terms-popup-close svg,
.caspian-terms-popup-close svg {
    display: block !important;
    margin: auto !important;
    width: 14px !important;
    height: 14px !important;
    flex-shrink: 0 !important;
}
.caspian-terms-popup-body {
    overflow-y: auto;
    padding: 24px 28px 26px;
    flex: 1;
    font-size: 14px;
    line-height: 1.7;
    color: #334155;
    scroll-behavior: smooth;
}
.caspian-terms-popup-body::-webkit-scrollbar {
    width: 6px;
}
.caspian-terms-popup-body::-webkit-scrollbar-track {
    background: #f8fafc;
}
.caspian-terms-popup-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.caspian-terms-popup-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
.caspian-terms-popup-body p,
.caspian-terms-popup-body li { margin-bottom: 12px; }
.caspian-terms-popup-body h2,
.caspian-terms-popup-body h3,
.caspian-terms-popup-body h4 {
    color: #c00000 !important;
    margin: 20px 0 8px !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
}
.caspian-terms-popup-body h4:first-child {
    margin-top: 0 !important;
}
.caspian-terms-popup-body strong {
    color: #0f172a;
    font-weight: 700;
}

/* ── Terms Scroll-End Confirmation Box ──────────────────────── */
.caspian-terms-scroll-end-box {
    margin-top: 24px;
    padding: 16px 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.caspian-terms-modal-checkbox-label {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    cursor: pointer !important;
    user-select: none !important;
    margin: 0 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    line-height: 1.4 !important;
}

.caspian-terms-modal-checkbox {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer !important;
    accent-color: #c00000 !important;
    flex-shrink: 0 !important;
}

.caspian-terms-modal-checkbox-text {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    line-height: 1.4 !important;
}

button.caspian-terms-modal-confirm-btn,
.caspian-terms-modal-confirm-btn {
    width: 100% !important;
    min-height: 44px !important;
    height: 44px !important;
    background: #c00000 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 16px !important;
    transition: background 0.18s ease, transform 0.1s ease !important;
    box-shadow: 0 2px 8px rgba(192, 0, 0, 0.25) !important;
}

button.caspian-terms-modal-confirm-btn:hover,
.caspian-terms-modal-confirm-btn:hover {
    background: #a00000 !important;
    color: #ffffff !important;
}

button.caspian-terms-modal-confirm-btn:active,
.caspian-terms-modal-confirm-btn:active {
    transform: scale(0.99) !important;
}

/* ── Profile icon (hidden) ───────────────────────────────────────────── */
.caspian-header-profile-icon {
    display: none !important;
}

/* ── Mobile: still centered ─────────────────────────────────── */
@media (max-width: 600px) {
    .caspian-auth-popup-backdrop { padding: 10px; }
    .caspian-auth-popup-modal { max-width: 100%; max-height: 90vh; }
    .caspian-auth-popup-body { padding: 20px 16px 18px; }
    .caspian-header-profile-icon { top: 12px; right: 55px; }
    .caspian-profile-avatar-link { width: 32px; height: 32px; }
    .caspian-terms-popup-modal { max-height: 88vh; }
}

.woocommerce-result-count { display: none !important; }

/* ============================================================
   CASPIAN LIGHTING BILINGUAL LANGUAGE SWITCHER (AZ & RU)
   Desktop Header Dropdown & Mobile Side Drawer
   ============================================================ */

/* ── Flag SVG ──────────────────────────────────────────────── */
.caspian-flag-svg {
    display: inline-block;
    vertical-align: middle;
    width: 22px;
    height: 15px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

/* ── Desktop Header Language Dropdown ──────────────────────── */
.caspian-lang-menu-item {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    margin-left: 10px !important;
}

.caspian-lang-toggle {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    letter-spacing: 0.5px !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
}

.caspian-lang-menu-item > a::after {
    display: none !important;
    content: none !important;
}

.caspian-lang-toggle:hover,
.caspian-lang-menu-item.wd-opened .caspian-lang-toggle {
    background: #ffffff !important;
    border-color: #c00000 !important;
    color: #c00000 !important;
    box-shadow: 0 2px 8px rgba(192, 0, 0, 0.12) !important;
}

.caspian-lang-code {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

.caspian-lang-chevron {
    transition: transform 0.2s ease;
    opacity: 0.7;
}

.caspian-lang-menu-item:hover .caspian-lang-chevron,
.caspian-lang-menu-item.wd-opened .caspian-lang-chevron {
    transform: rotate(180deg);
    color: #c00000;
}

.caspian-lang-dropdown {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    min-width: 100px !important;
    width: auto !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    padding: 6px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid #edf2f7 !important;
    z-index: 1000 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(6px) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    pointer-events: none !important;
}

.caspian-lang-menu-item:hover .caspian-lang-dropdown,
.caspian-lang-menu-item.wd-opened .caspian-lang-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(2px) !important;
    pointer-events: all !important;
}

.caspian-lang-dropdown ul.sub-menu {
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
}

.caspian-lang-dropdown li.caspian-lang-option {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.caspian-lang-dropdown li.caspian-lang-option::marker,
.caspian-lang-dropdown li.caspian-lang-option::before {
    display: none !important;
    content: none !important;
}

.caspian-lang-dropdown li.caspian-lang-option a {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 7px 10px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #334155 !important;
    text-decoration: none !important;
    transition: all 0.15s ease !important;
    background: transparent !important;
}

.caspian-lang-dropdown li.caspian-lang-option a:hover {
    background: #fef2f2 !important;
    color: #c00000 !important;
}

.caspian-lang-dropdown li.caspian-lang-option.active a {
    background: #fef2f2 !important;
    color: #c00000 !important;
}

.caspian-lang-opt-name {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

/* Prevent right column social icons from ever wrapping vertically */
.whb-column10 {
    flex-shrink: 0 !important;
}

.whb-column10 .wd-social-icons {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    align-items: center !important;
}

/* ── Hide LinkedIn, Pinterest, YouTube from Header only (remain in footer) ── */
.whb-header .wd-social-icon.social-linkedin,
.whb-header .wd-social-icon.social-pinterest,
.whb-header .wd-social-icon.social-youtube,
.whb-sticky-header .wd-social-icon.social-linkedin,
.whb-sticky-header .wd-social-icon.social-pinterest,
.whb-sticky-header .wd-social-icon.social-youtube,
.whb-clone .wd-social-icon.social-linkedin,
.whb-clone .wd-social-icon.social-pinterest,
.whb-clone .wd-social-icon.social-youtube {
    display: none !important;
}

/* ── Header Profile Icon: Only show when user is signed in (hide in normal guest case) ── */
body:not(.logged-in) .wd-header-my-account {
    display: none !important;
}

body.logged-in .wd-header-my-account {
    display: inline-flex !important;
}

/* ── Mobile Side Menu (Drawer) Language Switcher ───────────── */
li.caspian-side-lang-item,
.caspian-side-lang-item {
    margin: 10px 14px !important;
    padding: 0 !important;
    list-style: none !important;
    width: auto !important;
}

.caspian-side-lang-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 8px 12px !important;
    background: #ffffff !important;
    border-radius: 10px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03) !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.caspian-side-lang-label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #1e293b !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}

.caspian-side-lang-icon {
    width: 16px !important;
    height: 16px !important;
    color: #c00000 !important;
    flex-shrink: 0 !important;
    stroke: #c00000 !important;
}

.caspian-side-lang-title {
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    color: #334155 !important;
    line-height: 1 !important;
}

.caspian-side-lang-badges {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    background: #f1f5f9 !important;
    padding: 3px !important;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    flex-shrink: 0 !important;
}

.caspian-side-lang-badges .caspian-lang-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 4px 8px !important;
    min-height: 26px !important;
    height: 26px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em !important;
    line-height: 1 !important;
    color: #64748b !important;
    background: transparent !important;
    border: 1.5px solid transparent !important;
    box-shadow: none !important;
    transition: all 0.18s ease !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
}

.caspian-side-lang-badges .caspian-lang-pill:hover {
    background: rgba(255, 255, 255, 0.6) !important;
    color: #0f172a !important;
}

/* In mobile: Active pill is white background with red line border */
.caspian-side-lang-badges .caspian-lang-pill.active,
.caspian-side-lang-item .caspian-lang-pill.active {
    background: #ffffff !important;
    border: 1.5px solid #c00000 !important;
    color: #c00000 !important;
    box-shadow: 0 1px 3px rgba(192, 0, 0, 0.12) !important;
}

.caspian-side-lang-badges .caspian-lang-flag-svg,
.caspian-side-lang-badges .caspian-flag-svg {
    width: 17px !important;
    height: 12px !important;
    border-radius: 2px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15) !important;
}

.caspian-side-lang-badges .caspian-lang-code {
    font-family: inherit !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    line-height: 1 !important;
}

.caspian-side-lang-badges .caspian-lang-divider {
    width: 1px !important;
    height: 12px !important;
    background: #cbd5e1 !important;
    display: inline-block !important;
    margin: 0 1px !important;
    flex-shrink: 0 !important;
}

/* ── Mobile Navigation Drawer: Open from RIGHT not Left ─────── */
.mobile-nav.wd-side-hidden,
.mobile-nav.wd-side-hidden.wd-left {
    left: auto !important;
    right: 0 !important;
    transform: translate3d(100%, 0, 0) !important;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1) !important;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15) !important;
}

.mobile-nav.wd-side-hidden.wd-opened,
.mobile-nav.wd-side-hidden.wd-left.wd-opened {
    left: auto !important;
    right: 0 !important;
    transform: translate3d(0, 0, 0) !important;
}

.mobile-nav .wd-heading {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 18px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    min-height: 48px !important;
    box-sizing: border-box !important;
}

.mobile-nav .wd-heading::before {
    content: "Menu" !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    color: #1e293b !important;
    line-height: 1 !important;
}

html[lang*="ru"] .mobile-nav .wd-heading::before {
    content: "Меню" !important;
}

/* ── Floating WhatsApp Icon on Right (above Tawk.to red chat button) ─ */
.caspian-floating-whatsapp {
    position: fixed;
    right: 24px;
    bottom: 96px;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
    text-decoration: none !important;
}

.caspian-floating-whatsapp:hover {
    background-color: #20ba59;
    transform: scale(1.06);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: #ffffff !important;
}

.caspian-floating-whatsapp svg {
    fill: #ffffff !important;
    width: 32px;
    height: 32px;
}

/* Position Back to Top button neatly above WhatsApp button */
.scrollToTop {
    bottom: 172px !important;
    right: 29px !important;
    inset-inline-end: 29px !important;
}

@media (max-width: 1024px) {
    .caspian-floating-whatsapp {
        right: 20px;
        bottom: 90px;
        width: 52px;
        height: 52px;
    }
    .caspian-floating-whatsapp svg {
        width: 28px;
        height: 28px;
    }
    .scrollToTop {
        bottom: 156px !important;
        right: 21px !important;
        inset-inline-end: 21px !important;
    }
}


/* ── 3D Catalog Page Layout (Two Columns like /shop/) ───────── */
@media (min-width: 1025px) {
    .caspian-3d-catalog-wrapper {
        display: grid !important;
        grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
        gap: 30px !important;
        align-items: start !important;
        width: 100% !important;
        margin-top: 10px !important;
        box-sizing: border-box !important;
    }

    .caspian-3d-catalog-wrapper .wd-sidebar {
        grid-column: span 3 !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        padding: 0 !important;
        margin: 0 !important;
        position: static !important;
        display: block !important;
        transform: none !important;
        box-shadow: none !important;
        overflow: visible !important;
        height: auto !important;
        max-height: none !important;
        inset: auto !important;
        background-color: transparent !important;
        z-index: 10 !important;
    }

    .caspian-3d-catalog-wrapper .wd-sidebar .wd-heading {
        display: none !important;
    }

    .caspian-3d-catalog-wrapper .caspian-3d-content-area {
        grid-column: span 9 !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 1024px) {
    .caspian-3d-catalog-wrapper {
        display: block !important;
        width: 100% !important;
    }

    .caspian-3d-catalog-wrapper .wd-sidebar {
        position: fixed !important;
        top: 0 !important;
        bottom: 0 !important;
        left: auto !important;
        right: 0 !important;
        transform: translate3d(100%, 0, 0) !important;
        max-width: 340px !important;
        width: 85vw !important;
        background: #ffffff !important;
        z-index: 100050 !important;
        overflow-y: auto !important;
        transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1) !important;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12) !important;
        padding: 0 !important;
        display: block !important;
    }

    .caspian-3d-catalog-wrapper .wd-sidebar.wd-opened {
        transform: translate3d(0, 0, 0) !important;
    }

    .caspian-3d-catalog-wrapper .caspian-3d-content-area {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* ── Caspian Account Downloads ────────────────────────────────────── */
.caspian-downloads-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.caspian-downloads-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #edeef3;
    border-radius: 12px;
    padding: 22px 26px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    gap: 16px;
    flex-wrap: wrap;
}

.caspian-downloads-header-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.caspian-downloads-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: #fef2f2;
    color: #c00000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.caspian-downloads-header-text h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px 0;
}

.caspian-downloads-header-text p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.caspian-downloads-catalog-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #f8fafc;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.caspian-downloads-catalog-btn:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

.caspian-downloads-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.caspian-download-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #edeef3;
    border-radius: 10px;
    padding: 16px 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    gap: 16px;
}

.caspian-download-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.caspian-download-main {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.caspian-download-thumb {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.caspian-download-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.caspian-download-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.caspian-download-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.15s ease;
}

.caspian-download-title:hover {
    color: #c00000;
}

.caspian-download-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.caspian-download-badge {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    line-height: 1;
}

.caspian-download-badge.format {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #dbeafe;
}

.caspian-download-badge.size {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.caspian-download-badge.sku {
    background: #f1f5f9;
    color: #334155;
}

.caspian-download-badge.free {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #d1fae5;
}

.caspian-download-action {
    flex-shrink: 0;
}

.caspian-dash-download-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 20px !important;
    background: #c00000 !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border: none !important;
    box-shadow: 0 3px 10px rgba(192, 0, 0, 0.22) !important;
    transition: all 0.2s ease !important;
}

.caspian-dash-download-btn:hover {
    background: #a00000 !important;
    box-shadow: 0 4px 14px rgba(192, 0, 0, 0.35) !important;
    transform: translateY(-1px) !important;
}

@media (max-width: 640px) {
    .caspian-download-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .caspian-download-action {
        width: 100%;
    }
    .caspian-dash-download-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Completely disable & hide promo popup */
.wd-promo-popup,
.wd-promo-popup-wrap,
#popup-legacy,
.mfp-bg.wd-mfp-popup-bg-legacy {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ─── Caspian Lighting Modern Filter Sidebar (User Screenshot Match) ─── */
.area-sidebar-shop,
.sidebar-container {
    background: #ffffff !important;
    border: 1px solid #edeef3 !important;
    border-radius: 16px !important;
    padding: 24px 20px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

.caspian-shop-filters-header {
    display: none !important;
}

.caspian-filters-title {
    font-size: 19px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
}

.caspian-filters-reset-btn {
    display: inline-block !important;
    background: #fdf2f2 !important;
    color: #c00000 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 6px 14px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    border: 1px solid #fee2e2 !important;
}

.caspian-filters-reset-btn:hover {
    background: #c00000 !important;
    color: #ffffff !important;
}

/* Widget Title (Category / Attribute header) */
.area-sidebar-shop .widget .widget-title,
.sidebar-container .widget .widget-title {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #c00000 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 14px !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}

.area-sidebar-shop .widget,
.sidebar-container .widget {
    margin-bottom: 12px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.area-sidebar-shop .widget:last-child,
.sidebar-container .widget:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.caspian-toggle-indicator {
    display: none !important;
}

/* Modern Right-Aligned Toggle Button (+ / −) */
.caspian-toggle-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    background: #f8fafc !important;
    color: #64748b !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    margin-left: auto !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
    user-select: none !important;
}

.caspian-toggle-btn:hover,
.widget-title:hover .caspian-toggle-btn {
    background: #fee2e2 !important;
    color: #c00000 !important;
}

.caspian-toggle-btn.is-open {
    background: #fef2f2 !important;
    color: #c00000 !important;
}

/* Optimized compact spacing when widget is collapsed */
.caspian-widget-collapsed {
    margin-bottom: 6px !important;
    padding-bottom: 8px !important;
}

.caspian-widget-collapsed .widget-title {
    margin-bottom: 0 !important;
    padding: 3px 0 !important;
}

.caspian-widget-collapsed > *:not(.widget-title) {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Explicitly show when open */
.caspian-widget-open > *:not(.widget-title) {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;
}

.caspian-widget-open .product-categories li,
.caspian-widget-open .wd-swatches-filter li {
    display: flex !important;
}

/* Checkbox Style for List Items */
.area-sidebar-shop .product-categories li,
.area-sidebar-shop .wd-swatches-filter li {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 6px 0 !important;
}

.area-sidebar-shop .product-categories li a,
.area-sidebar-shop .wd-swatches-filter li a {
    font-size: 13.5px !important;
    color: #334155 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

.area-sidebar-shop .product-categories li a::before,
.area-sidebar-shop .wd-swatches-filter li:not(.wd-active) a::before {
    content: '' !important;
    display: inline-block !important;
    width: 17px !important;
    height: 17px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    flex-shrink: 0 !important;
}

.area-sidebar-shop .wd-swatches-filter li.wd-active a::before,
.area-sidebar-shop .product-categories li.current-cat a::before {
    content: '✓' !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 17px !important;
    height: 17px !important;
    border: 1.5px solid #c00000 !important;
    background: #c00000 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    border-radius: 4px !important;
    flex-shrink: 0 !important;
}

/* Hide amounts / product counts from filter options */
.area-sidebar-shop .wd-swatches-filter .count,
.area-sidebar-shop .product-categories .count,
.sidebar-container .wd-swatches-filter .count,
.sidebar-container .product-categories .count,
.widget_product_categories .count,
.woodmart-woocommerce-layered-nav .count,
.woocommerce-widget-layered-nav .count {
    display: none !important;
    visibility: hidden !important;
}
/* Ensure all filter lists are visible, clean and scrollable */
.area-sidebar-shop .woodmart-woocommerce-layered-nav .wd-scroll,
.sidebar-container .woodmart-woocommerce-layered-nav .wd-scroll,
.area-sidebar-shop .widget_product_categories ul,
.sidebar-container .widget_product_categories ul {
    max-height: 220px !important;
    overflow-y: auto !important;
    padding-right: 6px !important;
}

/* Elegant scrollbar for filter widgets */
.area-sidebar-shop .woodmart-woocommerce-layered-nav .wd-scroll::-webkit-scrollbar,
.sidebar-container .woodmart-woocommerce-layered-nav .wd-scroll::-webkit-scrollbar,
.area-sidebar-shop .widget_product_categories ul::-webkit-scrollbar,
.sidebar-container .widget_product_categories ul::-webkit-scrollbar {
    width: 4px !important;
}

.area-sidebar-shop .woodmart-woocommerce-layered-nav .wd-scroll::-webkit-scrollbar-thumb,
.sidebar-container .woodmart-woocommerce-layered-nav .wd-scroll::-webkit-scrollbar-thumb,
.area-sidebar-shop .widget_product_categories ul::-webkit-scrollbar-thumb,
.sidebar-container .widget_product_categories ul::-webkit-scrollbar-thumb {
    background: #cbd5e1 !important;
    border-radius: 4px !important;
}

