/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos and James Wasson
 Author URI:   http://xtemos.com & https://github.com/james-wasson
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* Unknown */

.wd-sticky-btn-container.container .store_divv {
    display: none !important;
}

/* END: Unknown */

/* Main Header */

.hero-section-products .box-icon-wrapper .info-box-icon img {
    border-radius: 30px;
}

.whb-main-header .wd-header-search-form .wd-search-cat-btn {
	border-right: none;
	text-transform: capitalize;
}

/* END: Main Header */

/* Home Page First Line (carrosel + links) */

body[data-elementor-device-mode="mobile"] .container.wd-slide-container.content-fixed,
body.home div#slide-400 .container.wd-slide-container.content-fixed {
    background: linear-gradient(to left, transparent, rgba(0, 0, 0, 0.8));
}
body.home .promo-banner .wrapper-content-banner.wd-fill.wd-items-top.wd-justify-center {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
}

/* END: Home Page First Line */

/* About Us Page */

/* Make CEO img circle */
body.page-id-15 .elementor-element.elementor-element-87d75d9.elementor-widget.elementor-widget-wd_marquee img,
body.page-id-15 .elementor-element.elementor-element-720ff0a.elementor-widget.elementor-widget-wd_infobox img {
    border-radius: 50%;
}

/* END: About Us Page */

/* Join The Team invite banner */

body #join-the-team-button {
    line-height: 24px !important;
    max-height: 48px !important;
}

body #join-the-team-button .elementor-button-icon {
	font-size: 36px;
	position: relative;
	top: -6px;
	font-weight: bold;
}

/* END: Join The Team invite banner */


/* Dokan Dashboard Main */

body.dokan-dashboard.dokan-theme-woodmart {
	margin-left: 0 !important;
}

body.dokan-dashboard .dokan-announcement-widget .list-unstyled {
	padding-left: 0 !important;
}

@media screen and (max-width: 768px) {
    body.dokan-dashboard #dokan-dashboard-fullwidth-wrapper .dokan-dashboard-wrap .dokan-dashboard-content {
        padding: 10px;
    }
	
	body.dokan-dashboard .dokan-product-listing-area #dokan-bulk-action-selector,
	body.dokan-dashboard .dokan-product-listing-area #dokan-bulk-action-submit {
		margin-top: 15px;
	}
}
/* END: Dokan Dashboard Main */

/* Market Ship */

.marketship-table-wrapper:has(.marketship-box-table)::after {
	content: "By default, MarketShip will only use 85% of a box’s inner volume for packing. This is to account for extra space occupied by packing materials, instruction manuals, etc.";
	display: block;
	margin-top: 18px;
}

.marketship-box-table tbody tr.not-sortable::before {
	content: "No Boxes Found";
	text-align: center;
	font-style: italic;
	width: 500%;
	line-height: 3.2rem;
	display: block;
}
.marketship-box-table tbody tr.not-sortable td {
	display: none !important;
}

#marketship_shipping_profiles_table tbody tr.not-sortable::before {
	content: "No Profiles Found";
	text-align: center;
	font-style: italic;
	width: 400%;
	line-height: 3.2rem;
	display: block;
}
#marketship_shipping_profiles_table tbody tr.not-sortable td {
	display: none !important;
}

/* END: Market Ship */

/* Dokan Create Product */

.dokan-dashboard .dokan-product-edit-form .dokan-form-group:has( #product_brand ),
.dokan-dashboard .dokan-product-edit-form .dokan-form-group:has( #product_tag_edit ){
	display: none !important;
}

body.dokan-dashboard .dokan-product-edit .dokan-product-description {
	display: none !important;
}

body.dokan-dashboard .dokan-product-edit .dokan-attribute-variation-options {
	display: none !important;
}

body.dokan-dashboard .dokan-product-edit .marketship-method-list input[type="checkbox"] {
	margin-right: 7px;
	margin-top: 3px;
}

/* END: Dokan Create Product */


/* Checkout Page */

body.woocommerce-checkout .woocommerce-shipping-methods input.shipping_method {
    border: 1px solid #005a53 !important;
}

body.woocommerce-checkout .select2-container--open .select2-dropdown {
	margin-top: 0px !important;
}

body.woocommerce-checkout #ship-to-different-address-checkbox {
	border: 1px solid #767676;
	border-radius: 4px;
	margin-bottom: 2px;
}

/* END: Checkout Page */

/* Account Signup/Login Page */

body.woocommerce-account a.btn.wd-switch-to-register {
    background: #005a53;
    color: #fff;
}

body.woocommerce-account .woocommerce-form-register {
	display: flex;
	flex-direction: column;
}

body.woocommerce-account .woocommerce-form-register .user-role.vendor-customer-registration {
	order: -1;
}

/* Subscription Pack Mods */

body.woocommerce-account .woocommerce-form-register .dps-pack-wrappper {
	border: none !important;
}

body.woocommerce-account .woocommerce-form-register .dps-pack-wrappper .dps-pack {
	position: relative;
	left: -10px;
	width: calc(100% + 20px);
	padding: 15px;
	padding-bottom: 0px;
	border-radius: 15px;
	margin-bottom: 10px;
}

body.woocommerce-account .woocommerce-form-register .dps-pack-wrappper .dps-pack .dps-pack-price {
	margin-bottom: 10px;
}

body.woocommerce-account .woocommerce-form-register .dps-pack-wrappper .dps-pack .pack_content {
	display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

body.woocommerce-account .woocommerce-form-register .dps-pack-wrappper .dps-pack .pack_content b {
	font-size: 20px;
    margin-bottom: 10px;
}

body.woocommerce-account .woocommerce-form-register .dps-pack-wrappper .dps-pack .pack_content p {
	text-align: center !important;
	margin-bottom: 20px;
}

body.woocommerce-account .woocommerce-form-register .dps-pack-wrappper .dps-pack .pack_content li {
	font-weight: bold;
}

/* END: Account Signup/Login Page */


/* Dokan Subscriptions */

/* ===============================
   GLOBAL WRAPPER
================================= */

body.dokan-dashboard #tab-panel-0-packs-view {
    max-width: 1400px;
    margin: 0 auto;
}

/* ===============================
   SECTION BOX (shared styling)
================================= */

body.dokan-dashboard #tab-panel-0-packs-view .dokan-layout > div {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
    overflow: hidden;
    background: #fff;
}

/* Section headers */
body.dokan-dashboard #tab-panel-0-packs-view h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111827;
}

/* ===============================
   CURRENT SUBSCRIPTION BOX
================================= */

/* Main content spacing */
body.dokan-dashboard #tab-panel-0-packs-view .dokan-layout:first-child .p-6 {
    padding: 24px !important;
}


/* Intro text */
body.dokan-dashboard #tab-panel-0-packs-view .dokan-layout:first-child .mb-2\.5 {
    font-size: 0.95rem;
    color: #374151;
}

/* Highlight plan name */
body.dokan-dashboard #tab-panel-0-packs-view .text-dokan-primary {
    color: #7c3aed !important;
    font-weight: 600;
}

/* Feature list */
body.dokan-dashboard #tab-panel-0-packs-view ul {
    margin-top: 12px;
    padding-left: 18px;
}

body.dokan-dashboard #tab-panel-0-packs-view ul li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #4b5563;
}

/* Info box (cancel section) */
body.dokan-dashboard #tab-panel-0-packs-view .flex.items-center.justify-between {
    background: #f9fafb;
    border-radius: 10px;
    padding: 14px 16px;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

/* Cancel text */
body.dokan-dashboard #tab-panel-0-packs-view .flex.items-center.justify-between > div {
    font-size: 0.9rem;
    color: #374151;
}

/* Cancel button */
body.dokan-dashboard #tab-panel-0-packs-view .dokan-btn-danger {
    background: #ef4444;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 600;
    transition: 0.2s ease;
}

body.dokan-dashboard #tab-panel-0-packs-view .dokan-btn-danger:hover {
    background: #dc2626;
}

/* ===============================
   PRICING GRID (existing improved)
================================= */

body.dokan-dashboard #tab-panel-0-packs-view .dokan-layout .grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 20px !important;
}

/* Cards */
body.dokan-dashboard #tab-panel-0-packs-view .dokan-layout .grid > div {
    display: flex !important;
    flex-direction: column !important;
    justify-content: start !important;
    border-radius: 12px !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05) !important;
    transition: all 0.25s ease;
    background: #fff;
    position: relative;
}

/* Hover */
body.dokan-dashboard #tab-panel-0-packs-view .dokan-layout .grid > div:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

/* Title */
body.dokan-dashboard #tab-panel-0-packs-view h3 {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Price */
body.dokan-dashboard #tab-panel-0-packs-view .text-4xl {
    font-size: 2.4rem !important;
    font-weight: 700;
}

body.dokan-dashboard #tab-panel-0-packs-view .text-4xl div {
    display: inline;
}

/* Lists */
body.dokan-dashboard #tab-panel-0-packs-view ul {
    padding-left: 18px;
}

body.dokan-dashboard #tab-panel-0-packs-view ul li {
    margin-bottom: 6px;
}

/* Buttons */
body.dokan-dashboard #tab-panel-0-packs-view .dokan-btn {
    width: 100%;
    border-radius: 8px;
    padding: 10px;
    font-weight: 600;
    text-align: center;
}

/* Primary */
body.dokan-dashboard #tab-panel-0-packs-view .dokan-btn:not(.dokan-btn-secondary) {
    background: #7c3aed;
    color: #fff;
}

body.dokan-dashboard #tab-panel-0-packs-view .dokan-btn:not(.dokan-btn-secondary):hover {
    background: #6d28d9;
}

/* Secondary */
body.dokan-dashboard #tab-panel-0-packs-view .dokan-btn-secondary {
    background: #ede9fe;
    color: #6d28d9;
}

/* Active card */
body.dokan-dashboard #tab-panel-0-packs-view .border-dokan-btn {
    border: 2px solid #7c3aed !important;
    box-shadow: 0 8px 24px rgba(124,58,237,0.15);
}

/* Badge */
body.dokan-dashboard #tab-panel-0-packs-view .border-dokan-btn::before {
    content: "Current Plan";
    position: absolute;
    top: 12px;
    right: 12px;
    background: #7c3aed;
    color: #fff;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 20px;
}

/* ===============================
   REMOVE UGLY EMPTY DESCRIPTIONS
================================= */

body.dokan-dashboard #tab-panel-0-packs-view .prose.text-sm {
    display: none !important;
}

/* ===============================
   FIX TAILWIND JUNK
================================= */

body.dokan-dashboard #tab-panel-0-packs-view .min-w-full {
    min-width: unset !important;
	margin-bottom: 5px !important;
}

/* ===============================
   RESPONSIVE
================================= */

@media (max-width: 768px) {
    body.dokan-dashboard #tab-panel-0-packs-view {
        padding: 0 10px;
    }

    body.dokan-dashboard #tab-panel-0-packs-view .text-4xl {
        font-size: 2rem !important;
    }

    body.dokan-dashboard #tab-panel-0-packs-view h3 {
        font-size: 1.1rem;
    }

    body.dokan-dashboard #tab-panel-0-packs-view .flex.items-center.justify-between {
        flex-direction: column;
        align-items: flex-start;
    }

    body.dokan-dashboard #tab-panel-0-packs-view .dokan-btn-danger {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    body.dokan-dashboard #tab-panel-0-packs-view .grid {
        grid-template-columns: 1fr !important;
    }
}

/* ===============================
   FINAL ALIGNMENT POLISH
================================= */

/* Normalize text block spacing */
body.dokan-dashboard #tab-panel-0-packs-view .prose {
    margin: 0;
	margin-top: 10px !important;
    margin-bottom: 0 !important;
	padding-top: 10px !important;
	color: black;
}

/* Ensure consistent bottom anchor behavior */
body.dokan-dashboard #tab-panel-0-packs-view .grid > div {
    height: 100%;
}

/* Keep footer (description) as the only flexible area */
body.dokan-dashboard #tab-panel-0-packs-view .grid > div .prose:last-child {
    flex-grow: 1;
	align-items: flex-start;
}

/* ===============================
   FEATURED PLAN (Dealer)
================================= */

/* Featured card */
body.dokan-dashboard #tab-panel-0-packs-view .dokan-layout .grid > div.most-popular {
    border: 2px solid #d3af37 !important;
    box-shadow: 0 0px 10px 5px rgba(211, 175, 55, 0.3) !important;
    transform: scale(1.02);
    z-index: 2;
}

/* Hover */
body.dokan-dashboard #tab-panel-0-packs-view .dokan-layout .grid > div.most-popular:hover {
    transform: scale(1.03) translateY(-4px);
}

/* Badge */
body.dokan-dashboard #tab-panel-0-packs-view .dokan-layout .grid > div.most-popular::before {
    content: "Most Popular";
    position: absolute;
    top: 14px;
    right: 14px;
    background: #d3af37;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 20px;
}

/* Button emphasis */
body.dokan-dashboard #tab-panel-0-packs-view .dokan-layout .grid > div.most-popular .dokan-btn {
    background: #7c3aed;
    color: #fff;
}

/* END: Dokan Subscriptions */

/* Vendor Shipping Page */

body.dokan-dashboard #vendor-shipping-zones table tbody td:nth-of-type(3) > div {
	max-width: unset !important;
}

/* END: Vendor Shipping Page */

form.woocommerce-ResetPassword.lost_reset_password {
    display: flex;
    flex-direction: column;
}

