/* TalaSamoa Lagoon: Dokan store pages, store list and vendor dashboard. */

/* Store page (Dokan's store.php calls get_header/get_footer) */
.dokan-store-wrap{max-width:var(--max);margin:0 auto;padding:28px var(--gutter) 64px;display:flex;gap:28px;align-items:flex-start}
.dokan-store-wrap #dokan-primary,.dokan-store-wrap .dokan-single-store{flex:1 1 auto;min-width:0;width:auto!important;float:none!important}
.dokan-store-wrap #dokan-secondary,.dokan-store-wrap .dokan-store-sidebar{flex:0 0 280px;width:280px!important;float:none!important;order:-1}
.dokan-store-sidebar .dokan-widget-area .widget,.dokan-store-widget{background:var(--white);border-radius:18px;padding:18px;margin-bottom:14px}
.dokan-store-sidebar .widget-title{font-size:18px}
.dokan-profile-frame-wrapper{border-radius:24px;overflow:hidden;margin-bottom:24px;background:var(--reef)}
.profile-frame .profile-info-box{border-radius:24px;overflow:hidden}
.profile-frame .profile-info-box .profile-info-img{object-fit:cover}
.profile-frame .profile-info-summery-wrapper .profile-info-summery{background:linear-gradient(0deg,rgba(10,53,65,.92),rgba(10,53,65,.55))!important}
.profile-frame .profile-info-summery .profile-img img{border-radius:50%!important;box-shadow:0 0 0 3px #fff,0 0 0 6px var(--lagoon)}
.profile-frame .store-name{font-family:var(--display)!important;font-weight:800!important;letter-spacing:-.02em;color:#fff!important}
.profile-frame ul.dokan-store-info li{color:#e3f2f0}
.dokan-store-tabs ul.dokan-list-inline{display:flex;gap:6px;flex-wrap:wrap;border:0!important;padding:0;margin:0 0 18px}
.dokan-store-tabs ul.dokan-list-inline li a{display:block;padding:10px 16px;border-radius:999px;background:var(--white);color:var(--reef);font-weight:700;text-decoration:none}
.dokan-store-tabs ul.dokan-list-inline li a:hover{background:var(--shallows)}
.dokan-store-products-filter-area{background:var(--white);border-radius:18px;padding:12px;margin-bottom:18px}
.dokan-store-products-filter-area input,.dokan-store-products-filter-area select{min-height:44px}
.dokan-store-products-filter-area .search-store-products{background:var(--lagoon);color:#fff;border:0;border-radius:12px;padding:0 16px;min-height:44px;font-weight:700}
.dokan-single-store .seller-items ul.products,.dokan-single-store ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}

/* Store list (/artist-list/) */
#dokan-seller-listing-wrap ul.dokan-seller-wrap{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:20px;margin:0;padding:0}
#dokan-seller-listing-wrap ul.dokan-seller-wrap li.dokan-single-seller{width:auto!important;float:none!important;padding:0!important;margin:0!important}
#dokan-seller-listing-wrap .store-wrapper{border-radius:20px!important;overflow:hidden;box-shadow:none!important;background:var(--white);transition:transform .2s var(--ease),box-shadow .2s}
@media (hover:hover) and (pointer:fine){#dokan-seller-listing-wrap .store-wrapper:hover{transform:translateY(-2px);box-shadow:0 26px 40px -24px rgba(10,53,65,.5)!important}}
#dokan-seller-listing-wrap .store-data h2,#dokan-seller-listing-wrap .store-data h2 a{font-family:var(--display);font-weight:800;color:#fff}
#dokan-seller-listing-wrap .dokan-btn-theme,#dokan-seller-listing-wrap .dokan-btn{background:var(--reef)!important;border-color:var(--reef)!important;border-radius:12px}
/* Store list layout (16 Nov): full width instead of the 760px text column, an even centred grid,
   no empty first cell (Dokan's clearfix ::before was a grid item), Lagoon cards */
.is-prose .entry:has(#dokan-seller-listing-wrap){max-width:none}
#dokan-seller-listing-wrap{max-width:1240px;margin-inline:auto}
#dokan-seller-listing-wrap ul.dokan-seller-wrap::before,#dokan-seller-listing-wrap ul.dokan-seller-wrap::after{content:none!important;display:none!important}
#dokan-seller-listing-wrap ul.dokan-seller-wrap{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:22px;list-style:none}
#dokan-seller-listing-wrap li.dokan-single-seller .store-wrapper{height:100%;display:flex;flex-direction:column;border:0!important}
#dokan-seller-listing-wrap .store-header,#dokan-seller-listing-wrap .store-banner{background:var(--reef)}
#dokan-seller-listing-wrap .store-banner img{width:100%;aspect-ratio:16/9;height:auto!important;object-fit:cover;display:block}
/* Dokan's grey placeholder banner: a plain lagoon panel instead */
#dokan-seller-listing-wrap .store-header:has(img[src*="default-store-banner"]),#dokan-seller-listing-wrap .store-banner:has(img[src*="default-store-banner"]){background:linear-gradient(135deg,var(--lagoon-ink),var(--reef))}
#dokan-seller-listing-wrap .store-banner img[src*="default-store-banner"]{opacity:0}
#dokan-seller-listing-wrap .store-content{flex:1 1 auto}
#dokan-seller-listing-wrap .store-data h2{font-size:clamp(19px,1.6vw,22px);line-height:1.15;text-wrap:balance}
#dokan-seller-listing-wrap .store-footer{background:var(--white)!important;border:0!important}
#dokan-seller-listing-wrap .seller-avatar img{background:#fff;object-fit:cover}
/* No photo: Dokan prints its grey "mystery person" (no filter reaches it). Its pixels are moved out of the box
   and the TalaSamoa bag mark is shown instead, on the store list and on the store page header. */
img[src*="dokan-lite/assets/images/mystery-person"]{object-position:-9999px 0;background:#fff url(../img/mark.webp) center/52% auto no-repeat!important}
#dokan-seller-listing-wrap #dokan-store-listing-filter-wrap,#dokan-store-listing-filter-wrap{background:var(--white);border-radius:18px;margin:0 0 20px!important;width:auto!important;max-width:none!important}
#dokan-seller-listing-wrap .dokan-pagination-container{margin-top:24px;text-align:center}
#dokan-seller-listing-wrap li.dokan-single-seller .store-wrapper:active{transform:scale(.98)}
@media (max-width:560px){
	#dokan-seller-listing-wrap ul.dokan-seller-wrap{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
	#dokan-seller-listing-wrap .store-data h2{font-size:16px}
}

/* Vendor dashboard (carried over from the old theme's Additional CSS, recoloured) */
.dokan-dashboard .dokan-dash-sidebar{background:var(--reef);border-radius:20px;overflow:hidden}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu{background:var(--reef);list-style:none;margin:0 0 20px;padding:0}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li a{color:#e3f2f0}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li:hover,.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.dokan-common-links a:hover{background:var(--lagoon)}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.active{position:relative;background:var(--lagoon)}
.dokan-dashboard .dokan-dashboard-content{min-width:0}
.dokan-dashboard .dokan-btn-theme,.dokan-dashboard .dokan-btn-success{background:var(--lagoon)!important;border-color:var(--lagoon)!important;border-radius:10px}
.dokan-dashboard .dokan-btn-theme:hover{background:var(--reef)!important;border-color:var(--reef)!important}
.dokan-dashboard .dokan-dashboard-content table{background:var(--white)}
/* Ebooks are always virtual on TalaSamoa: hide the "Virtual" checkbox (old theme's custom CSS) */
.product-edit-new-container .dokan-product-type-container .content-half-part.virtual-checkbox{padding-left:10px;display:none}
.dokan-alert{border-radius:12px}

@media (max-width:1040px){
	.dokan-store-wrap{flex-direction:column}
	.dokan-store-wrap #dokan-secondary,.dokan-store-wrap .dokan-store-sidebar{flex:none;width:100%!important;order:2}
	.dokan-single-store .seller-items ul.products,.dokan-single-store ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Dokan buttons anywhere (e.g. "Go to Vendor Dashboard" on My account) */
.dokan-btn-theme,a.dokan-btn-theme,input.dokan-btn-theme{background:var(--lagoon)!important;border-color:var(--lagoon)!important;color:#fff!important;border-radius:10px!important;font-weight:700}
.dokan-btn-theme:hover,a.dokan-btn-theme:hover{background:var(--reef)!important;border-color:var(--reef)!important}

/* Vendor dashboard on phones (16 Nov, vendor smoke test) */
/* Opened phone menu: Dokan paints it black (input:checked + ul); use the sidebar's reef instead */
body.dokan-dashboard .dokan-dash-sidebar #dokan-navigation>input:checked+ul.dokan-dashboard-menu{background:var(--reef)}
/* Orders: select2's hidden <select> kept its 100% width plus an offset, so the page was 18px wider than the phone */
.dokan-dashboard select.select2-hidden-accessible{width:1px!important;max-width:1px!important}
@media (max-width:767px){
	/* Store settings: the bottom "Update Settings" row kept Dokan's 24% left offset on top of full width */
	.dokan-dashboard .dokan-form-horizontal .dokan-w4.ajax_prev{margin-left:0!important;width:100%!important}
	/* Top "Update Settings" button sat in a right-floated box narrower than the button; put it on its own line */
	.dokan-dashboard .dokan-dashboard-header .dokan-update-setting-top{float:none!important;display:block;margin:10px 0 0}
}
