/**
 * Custom Overrides
 *
 * Migrated from WordPress Customizer > Additional CSS.
 * Organized by component for maintainability.
 */

/* ===================================================================
   Simple Banner
   =================================================================== */

.page-id-4435 #simple-banner {
    display: none !important;
}

/* ===================================================================
   Paid Member Subscriptions (PMS) — Form Buttons
   =================================================================== */

#pms_register-form input.pms-form-submit,
#pms_login input#pms_login,
#pms_recover_password_form input[type="submit"],
#pms_edit-profile-form input[type="submit"] {
    background-color: #072A58 !important;
    border: 2px solid #072A58 !important;
    color: #ffffff !important;
    border-radius: 25px;
    padding: 8px 40px;
}

#pms_register-form input.pms-form-submit:hover,
#pms_login input#pms_login:hover,
#pms_recover_password_form input[type="submit"]:hover,
#pms_edit-profile-form input[type="submit"]:hover {
    background-color: #A9002C !important;
    border-color: #A9002C !important;
}

/* ===================================================================
   Dokan — Vendor Dashboard
   =================================================================== */

.dokan-dashboard-content {
    padding-right: 25px !important;
    padding-bottom: 40px !important;
}

#dokan-secondary {
    display: none;
}

.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.navigation-submenu li:hover,
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.navigation-submenu li.current {
    background-color: #B22222 !important;
}

.dokan-dashboard .dokan-dashboard-content ul li {
    margin-right: 8px;
    margin-top: 8px;
}

.dokan-dashboard .dokan-dashboard-content .welcome-message-wrapper a {
    text-decoration: underline;
}

.welcome-message-wrapper {
    text-align: left;
    max-width: 510px;
}

.dokan-product-category-modal .dokan-product-category-modal-content {
    height: 600px;
}

select.dokan-form-control {
    height: auto;
    padding: 16px;
    font-size: 16px;
}

.dokan-range-slider-value > span {
    margin-right: 0.3em;
}

.dokan-form-group input[type="checkbox"]:not([type="button"]):not([type="submit"]) {
    background-color: #ccc;
}

/* ===================================================================
   Dokan — Vendor Dashboard Buttons & Tabs
   =================================================================== */

.dokan-dashboard-wrap .dokan-form-group #insert-media-button:hover,
input[type="submit"].dokan-btn-theme:hover,
a.dokan-btn-theme:hover,
.dokan-btn-theme:hover {
    background-color: #A9002C !important;
    border-color: #A9002C !important;
}

input[type="submit"].dokan-btn-theme,
.dokan-btn-theme {
    margin-left: 15px;
}

.dokan-single-store .dokan-store-tabs ul.dokan-modules-button {
    justify-content: flex-start;
}

/* ===================================================================
   Dokan — Vendor Setup Wizard
   =================================================================== */

.dokan-vendor-setup-wizard .wizard-field-toggle {
    display: none;
}

/* ===================================================================
   Dokan — Store Listing (Grid View)
   =================================================================== */

#dokan-seller-listing-wrap.grid-view .store-content {
    background: black !important;
}

#dokan-seller-listing-wrap.grid-view .store-content a {
    color: white !important;
}

#dokan-seller-listing-wrap.grid-view .store-content a:hover {
    color: #ff6161 !important;
}

/* ===================================================================
   Dokan — Store Banner
   =================================================================== */

.vendor-store-banner img {
    max-height: 300px;
    max-width: 100%;
    width: auto;
    object-fit: cover;
    object-position: top;
}

/* ===================================================================
   Dokan — Store Listing Filters
   =================================================================== */

#dokan-store-listing-filter-form-wrap .store-lists-other-filter-wrap .item.featured {
    margin-right: 126px;
}

#dokan-store-listing-filter-form-wrap .apply-filter {
    margin-top: -42px;
}

.dokan-store-products-filter-area .orderby-search {
    margin-top: 15px;
}

/* ===================================================================
   Dokan — Single Store Profile
   =================================================================== */

.dokan-single-store .profile-frame .profile-info-box .profile-info-summery-wrapper .profile-info-summery .profile-info ul.store-social i.fab {
    color: white !important;
}

.dokan-follow-store-button,
.open-now.item {
    display: none !important;
}

/* ===================================================================
   Dokan — Geolocation Map
   =================================================================== */

#dokan-geolocation-locations-map .contains-eight,
#dokan-geolocation-locations-map .gm-svpc {
    display: none;
}

/* ===================================================================
   Dokan — Dashboard Alerts (warning banners)
   =================================================================== */

.bg-yellow-50.dokan-alert-warning p.text-yellow-800 {
    color: #082a58;
}

.bg-yellow-50.dokan-alert-warning .text-sm.mt-1.font-light {
    color: #2a3645;
}

.bg-yellow-50.dokan-alert-warning a.dokan-link {
    color: #195594 !important;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.bg-yellow-50.dokan-alert-warning a.dokan-link:hover {
    color: #082a58 !important;
}

.bg-yellow-50.dokan-alert-warning a.dokan-link:visited {
    color: #a9002c !important;
}

/* ===================================================================
   Dokan — Profile Picture Upload
   =================================================================== */

#dokan-profile-picture-wrapper .dokan-pro-gravatar-drag.dokan-btn.dokan-btn-default,
#menu-item-upload {
    background-color: #195594 !important;
}

#menu-item-upload.media-menu-item:hover {
    background-color: #fff !important;
}

/* ===================================================================
   Dokan — Admin Product Edit (business description table)
   =================================================================== */

.add-business-desc th {
    border-left: 4px solid #2271b1 !important;
    padding-left: 8px !important;
}

.add-business-desc th::first-letter {
    font-size: 1.3em;
    font-weight: bold;
    color: #a9002c;
    text-transform: uppercase;
}

/* ===================================================================
   Dokan — TinyMCE Editor Fix
   =================================================================== */

.mce-tinymce .mce-container-body .mce-widget button {
    background-color: #fff;
}

.mce-tinymce .mce-container-body .mce-widget button:hover {
    color: #000;
}

/* ===================================================================
   Dokan — Subscription Packs
   =================================================================== */

.product_pack_item:has(a[href*="grace-period"]),
.product_pack_item:has(a[href*="product_id=2935"]) {
    display: none;
}

/* ===================================================================
   Essential Addons — Flip Box
   =================================================================== */

.eael-elements-flip-box-front-container .eael-elements-slider-display-table {
    background: black !important;
}

/* ===================================================================
   Advanced Woo Search — Result Excerpts
   =================================================================== */

.aws-search-result .aws_result_excerpt,
.aws-search-result .aws_result_term {
    display: none;
}

/* ===================================================================
   WooCommerce — Product Listings
   =================================================================== */

.woocommerce ul.products li.product .dokan-vendor-name a {
    font-size: 13px;
    color: black;
}

.woocommerce ul.products li.product .onsale {
    background-color: #A9002C !important;
}

.woocommerce .products .product .woocommerce-LoopProduct-link .woocommerce-loop-product__title,
.woocommerce .products .product .woocommerce-LoopProduct-link .price {
    color: #195594;
}

.woocommerce .products .product .button {
    color: #fff;
    background-color: #195594;
}

.woocommerce .products .product .button:hover {
    background-color: #A9002C;
}

/* ===================================================================
   WooCommerce — My Account Orders
   =================================================================== */

.woocommerce .woocommerce-MyAccount-content .order a {
    color: #195594 !important;
    border-color: #195594 !important;
}

.woocommerce .woocommerce-MyAccount-content .order a:hover {
    color: #A9002C !important;
    border-color: #A9002C !important;
    background-color: transparent !important;
}

/* ===================================================================
   WooCommerce — Info Notice
   =================================================================== */

body.e-wc-info-notice .woocommerce-info .button:hover {
    color: #B22222 !important;
}

/* ===================================================================
   MailPoet — Forms & Buttons
   =================================================================== */

.mailpoet_text_label {
    padding-bottom: 5px;
}

.mailpoet_form .mailpoet_submit {
    background-color: #195594 !important;
    padding: 10px 120px;
    font-size: 16px;
    border-radius: 25px;
    color: white;
}

form.mailpoet-manage-subscription .mailpoet_submit {
    background-color: #195594 !important;
}

form.mailpoet-manage-subscription .mailpoet_submit:hover {
    background-color: #A9002C !important;
}

/* ===================================================================
   jsSocials — Google & Apple Sign-In Buttons
   =================================================================== */

.jssocials-share-google .jssocials-share-link {
    background: #fff;
    border: 1px solid #747775;
    border-radius: 8px;
}

.jssocials-share-google .jssocials-share-link .jssocials-share-logo {
    color: #1f1f1f;
}

.jssocials-share-google .jssocials-share-link:hover {
    background: #f7f7f7;
}

.jssocials-share-apple .jssocials-share-link {
    background: #fff;
    border: 1px solid #747775;
    border-radius: 8px;
}

.jssocials-share-apple .jssocials-share-link .jssocials-share-logo {
    color: #000;
}

.jssocials-share-apple .jssocials-share-link:hover {
    background: #f5f5f7;
}

/* ===================================================================
   Print Styles
   =================================================================== */

@media print {
    .no-print {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
    }

    .highlight {
        background-color: #fff;
        color: #000;
    }

    a {
        text-decoration: none;
        color: inherit;
    }

    a[href]:after {
        content: none !important;
    }

    .page-break {
        page-break-before: always;
    }
}
