/*
 * Spotmart Store Page Styles
 * Modern redesign for Dokan store pages using Spotmart theme colors
 */

/* ============================================
   WISHLIST BUTTONS - ENABLED ON PRODUCT CARDS
   ============================================ */

/* Wishlist buttons are now visible on product cards */
/* Only hide wishlist icons in non-product areas if needed */

/* Ensure wishlist buttons are visible on all product cards */
.store-products-grid .yith-add-to-wishlist-button-block,
.store-products-grid .yith-add-to-wishlist-button-block--initialized,
.spotmart-store-content-wrapper .yith-add-to-wishlist-button-block,
.spotmart-store-content-wrapper .yith-add-to-wishlist-button-block--initialized,
.store-products-grid li.product .yith-add-to-wishlist-button-block,
.spotmart-store-content-wrapper li.product .yith-add-to-wishlist-button-block {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	position: relative !important;
	width: max-content !important;
	visibility: visible !important;
	opacity: 1 !important;
	pointer-events: auto !important;
	overflow: visible !important;
}

/* General wishlist button elements visibility */
.store-products-grid .yith-wcwl-add-to-wishlist-button,
.store-products-grid .yith-wcwl-add-to-wishlist-button--anchor,
.store-products-grid .yith-wcwl-icon,
.store-products-grid .yith-wcwl-add-to-wishlist-button-icon,
.store-products-grid .yith-wcwl-add-to-wishlist-button__label,
.spotmart-store-content-wrapper .yith-wcwl-add-to-wishlist-button,
.spotmart-store-content-wrapper .yith-wcwl-add-to-wishlist-button--anchor,
.spotmart-store-content-wrapper .yith-wcwl-icon,
.spotmart-store-content-wrapper .yith-wcwl-add-to-wishlist-button-icon,
.spotmart-store-content-wrapper .yith-wcwl-add-to-wishlist-button__label,
.store-products-grid li.product .yith-wcwl-add-to-wishlist-button,
.spotmart-store-content-wrapper li.product .yith-wcwl-add-to-wishlist-button {
	visibility: visible !important;
	opacity: 1 !important;
	pointer-events: auto !important;
}

/* Ensure wishlist anchor links are visible */
.store-products-grid .yith-wcwl-add-to-wishlist-button--anchor,
.spotmart-store-content-wrapper .yith-wcwl-add-to-wishlist-button--anchor {
	display: inline-flex !important;
	align-items: center !important;
	gap: 0.5rem !important;
	text-decoration: none !important;
	cursor: pointer !important;
}

/* Ensure wishlist SVG icons are visible */
.store-products-grid .yith-wcwl-icon,
.store-products-grid .yith-wcwl-add-to-wishlist-button-icon,
.spotmart-store-content-wrapper .yith-wcwl-icon,
.spotmart-store-content-wrapper .yith-wcwl-add-to-wishlist-button-icon {
	display: inline-block !important;
	width: 20px !important;
	height: 20px !important;
	visibility: visible !important;
	opacity: 1 !important;
}

/* Hide wishlist labels - show only icon */
.store-products-grid .yith-wcwl-add-to-wishlist-button__label,
.spotmart-store-content-wrapper .yith-wcwl-add-to-wishlist-button__label,
.site-main ul.products li.product .yith-wcwl-add-to-wishlist-button__label {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	width: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Additional selectors for wishlist buttons inside thumbnail wraps */
/* Position wishlist button in top-right corner of thumbnail */
.store-products-grid .astra-shop-thumbnail-wrap .yith-add-to-wishlist-button-block,
.store-products-grid li.product .astra-shop-thumbnail-wrap .yith-add-to-wishlist-button-block,
.spotmart-store-content-wrapper .astra-shop-thumbnail-wrap .yith-add-to-wishlist-button-block,
.spotmart-store-content-wrapper li.product .astra-shop-thumbnail-wrap .yith-add-to-wishlist-button-block,
.site-main ul.products li.product .astra-shop-thumbnail-wrap .yith-add-to-wishlist-button-block {
	background: #fff !important;
	padding: 4px !important;
	border-radius: 6px !important;
	position: absolute !important;
	top: 0.6em !important;
	right: 1em !important;
	z-index: 5 !important;
	cursor: pointer !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: max-content !important;
	margin: 0 !important;
	visibility: visible !important;
	opacity: 1 !important;
}

/* Ensure thumbnail wrap has relative positioning for absolute child */
.store-products-grid .astra-shop-thumbnail-wrap,
.spotmart-store-content-wrapper .astra-shop-thumbnail-wrap,
.site-main ul.products li.product .astra-shop-thumbnail-wrap {
	position: relative !important;
}

/* Ensure product link has relative positioning for Secret Sale badge */
.store-products-grid .woocommerce ul.products li.product .woocommerce-loop-product__link,
.store-products-grid ul.products li.product .woocommerce-loop-product__link,
.spotmart-store-content-wrapper .woocommerce ul.products li.product .woocommerce-loop-product__link,
.spotmart-store-content-wrapper ul.products li.product .woocommerce-loop-product__link,
.site-main ul.products li.product .woocommerce-loop-product__link {
	position: relative !important;
	display: block !important;
}

/* Secret Sale Badge - Ensure it displays on top-left of product image */
.store-products-grid .secret-sale-badge,
.store-products-grid .secret-sale-badge-shop,
.spotmart-store-content-wrapper .secret-sale-badge,
.spotmart-store-content-wrapper .secret-sale-badge-shop,
.site-main ul.products li.product .secret-sale-badge,
.site-main ul.products li.product .secret-sale-badge-shop {
	position: absolute !important;
	top: 6px !important;
	left: 10px !important;
	right: auto !important;
	z-index: 4 !important; /* Below wishlist button (z-index: 5) but above image */
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 0 !important;
	padding: 4px 10px !important;
	background: #fff !important;
	border: 1px solid rgba(0, 0, 0, 0.1) !important;
	border-radius: 999px !important;
	color: #111 !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
	letter-spacing: 0.02em !important;
	transition: all 0.2s ease !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	line-height: 1.1 !important;
	text-transform: uppercase !important;
}

.store-products-grid .secret-sale-badge:hover,
.spotmart-store-content-wrapper .secret-sale-badge:hover,
.site-main ul.products li.product .secret-sale-badge:hover {
	background: #f2f2f2 !important;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2) !important;
}

.store-products-grid .secret-sale-badge-label,
.spotmart-store-content-wrapper .secret-sale-badge-label,
.site-main ul.products li.product .secret-sale-badge-label {
	font-size: 11px !important;
	font-weight: 600 !important;
	line-height: 1.1 !important;
	text-transform: uppercase !important;
	color: inherit !important;
}

/* Responsive adjustments for Secret Sale badge */
@media (max-width: 768px) {
	.store-products-grid .secret-sale-badge,
	.store-products-grid .secret-sale-badge-shop,
	.spotmart-store-content-wrapper .secret-sale-badge,
	.spotmart-store-content-wrapper .secret-sale-badge-shop,
	.site-main ul.products li.product .secret-sale-badge,
	.site-main ul.products li.product .secret-sale-badge-shop {
		padding: 3px 8px !important;
		top: 8px !important;
		left: 8px !important;
		font-size: 10px !important;
	}
	
	.store-products-grid .secret-sale-badge-label,
	.spotmart-store-content-wrapper .secret-sale-badge-label,
	.site-main ul.products li.product .secret-sale-badge-label {
		font-size: 10px !important;
	}
}

/* ============================================
   HIDE SALE BADGE
   ============================================ */

/* Hide "Sale!" badge on product cards */
.store-products-grid .ast-onsale-card,
.store-products-grid .ast-on-card-button.ast-onsale-card,
.spotmart-store-content-wrapper .ast-onsale-card,
.spotmart-store-content-wrapper .ast-on-card-button.ast-onsale-card {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
	width: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* ============================================
   STORE WRAPPER & LAYOUT
   ============================================ */

.dokan-store-wrap {
	margin: 0 auto;
	padding: 0 20px;
}

.dokan-store-wrap.spotmart-two-column-layout {
	display: grid;
	grid-template-columns: 350px 1fr;
	gap: 2rem;
	padding: 2rem 20px;
	align-items: start;
}

.dokan-single-store {
	width: 100%;
}

.store-page-wrap {
	padding: 0;
}

/* ============================================
   LEFT SIDEBAR (STATIC)
   ============================================ */

.spotmart-store-sidebar-wrapper {
	position: sticky;
	top: 100px;
	height: fit-content;
	max-height: calc(100vh - 120px);
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: var(--spotmart-color-primary) var(--spotmart-color-secondary);
}

.spotmart-store-sidebar-wrapper::-webkit-scrollbar {
	width: 6px;
}

.spotmart-store-sidebar-wrapper::-webkit-scrollbar-track {
	background: transparent;
}

.spotmart-store-sidebar-wrapper::-webkit-scrollbar-thumb {
	background: var(--spotmart-color-primary);
	border-radius: var(--spotmart-radius-pill);
}

.spotmart-store-sidebar-wrapper::-webkit-scrollbar-thumb:hover {
	background: var(--spotmart-color-primary-dark);
}

.spotmart-store-sidebar {
	background: #ffffff;
	border-radius: var(--spotmart-radius-md);
	box-shadow: var(--spotmart-shadow-sm);
	border: 1px solid var(--spotmart-color-border);
	overflow: hidden;
}

/* Banner Image */
.store-sidebar-banner {
	width: 100%;
	position: relative;
}

.store-banner-img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
}

.store-banner-img.dummy-banner {
	background: linear-gradient(135deg, var(--spotmart-color-primary) 0%, var(--spotmart-color-accent) 100%);
	height: 200px;
}

/* Profile Image (Round) */
.store-sidebar-profile {
	display: flex;
	justify-content: center;
	margin-top: -60px;
	margin-bottom: 0.5rem;
	position: relative;
	z-index: 10;
}

.store-profile-img-wrapper {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	border: 4px solid #ffffff;
	box-shadow: var(--spotmart-shadow-md);
	overflow: hidden;
	background: #ffffff;
}

.store-profile-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Store Name Section */
.store-sidebar-name {
	padding: 0 1rem 0.75rem;
	text-align: center;
}

.store-sidebar-name .store-name-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
}

.store-sidebar-name .store-name {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--spotmart-color-heading);
	margin: 0;
	line-height: 1.2;
}

/* Rating Section */
.store-sidebar-rating {
	padding: 0 1rem 0.75rem;
	text-align: center;
}

.store-rating-display {
	font-size: 1rem;
	color: var(--spotmart-color-text);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
}

.store-rating-display .star-rating {
	margin: 0;
	color: #ffa500;
}

.store-rating-display .star-rating::before {
	color: #ffa500;
}

.store-rating-display .woocommerce-product-rating {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
}

.store-rating-value {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
	font-size: 1.25rem;
}

.store-rating-value strong {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--spotmart-color-heading);
}

.store-rating-count {
	font-size: 0.9rem;
	color: var(--spotmart-color-muted);
}

.store-rating-stars {
	color: #ffa500;
	font-size: 1.1rem;
}

/* Badges Section */
.store-sidebar-badges {
	padding: 0 1rem 0.75rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.store-badge {
	display: inline-block;
	padding: 0.5rem 1rem;
	border-radius: var(--spotmart-radius-sm);
	font-size: 0.85rem;
	font-weight: 600;
	text-align: center;
	background: var(--spotmart-color-secondary);
	color: var(--spotmart-color-primary);
	border: 1px solid var(--spotmart-color-border);
}

.store-badge-premium {
	background: rgba(255, 193, 7, 0.15);
	color: #856404;
	border-color: rgba(255, 193, 7, 0.3);
}

.store-badge-iso {
	background: rgba(0, 123, 255, 0.15);
	color: #004085;
	border-color: rgba(0, 123, 255, 0.3);
}

/* Contact Information */
.store-sidebar-contact {
	padding: 1rem 1rem 1rem;
	border-top: 1px solid var(--spotmart-color-border);
}

.store-contact-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.store-contact-item {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
	font-size: 0.9rem;
	color: var(--spotmart-color-text);
}

.store-contact-item:last-child {
	margin-bottom: 0;
}

.store-contact-item i {
	color: var(--spotmart-color-primary);
	font-size: 1rem;
	margin-top: 0.2rem;
	flex-shrink: 0;
}

.store-contact-item a {
	color: var(--spotmart-color-text);
	text-decoration: none;
	transition: color 0.2s ease;
	word-break: break-word;
}

.store-contact-item a:hover {
	color: var(--spotmart-color-primary);
}

.store-contact-item span {
	word-break: break-word;
	line-height: 1.5;
}

/* Action Buttons */
.store-sidebar-actions {
	padding: 1rem;
	border-top: 1px solid var(--spotmart-color-border);
}

.store-action-buttons {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.store-action-btn {
	width: 100%;
	padding: 0.75rem 1.5rem;
	border-radius: var(--spotmart-radius-pill);
	font-weight: 600;
	font-size: 0.95rem;
	border: 1px solid var(--spotmart-color-primary);
	background: var(--spotmart-color-secondary);
	color: var(--spotmart-color-primary);
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}

.store-action-btn:hover {
	background: var(--spotmart-color-primary);
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: var(--spotmart-shadow-sm);
}

.store-share-btn {
	background: linear-gradient(125deg, var(--spotmart-color-accent) 0%, var(--spotmart-color-primary) 100%);
	color: #ffffff;
	border-color: var(--spotmart-color-primary);
}

.store-share-btn:hover {
	background: linear-gradient(125deg, #16bb5c 0%, var(--spotmart-color-primary-dark) 100%);
}

/* ============================================
   RIGHT CONTENT AREA (DYNAMIC)
   ============================================ */

.spotmart-store-content-wrapper {
	background: transparent;
}

.spotmart-store-content {
	background: #ffffff;
	border-radius: var(--spotmart-radius-md);
	box-shadow: var(--spotmart-shadow-sm);
	border: 1px solid var(--spotmart-color-border);
	overflow: hidden;
}

/* Tabs Navigation */
.store-content-tabs {
	border-bottom: 2px solid var(--spotmart-color-border);
	background: var(--spotmart-color-secondary);
}

.store-tabs-nav {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	gap: 0;
}

.store-tab-item {
	margin: 0;
	flex: 1;
}

.store-tab-link {
	display: block;
	padding: 1rem 1.5rem;
	text-align: center;
	text-decoration: none;
	color: var(--spotmart-color-text);
	font-weight: 600;
	font-size: 1rem;
	transition: all 0.2s ease;
	border-bottom: 3px solid transparent;
	background: transparent;
}

.store-tab-item.active .store-tab-link,
.store-tab-link:hover {
	color: var(--spotmart-color-primary);
	background: #ffffff;
	border-bottom-color: var(--spotmart-color-primary);
}

/* Tab Content */
.store-tab-content-wrapper {
	position: relative;
	min-height: 400px;
}

.store-tab-content {
	display: none;
	padding: 2rem;
}

/* Filter Area Styles */
.dokan-store-products-filter-area {
	width: 100%;
	margin-bottom: 1.5rem;
}

.dokan-store-products-ordeby {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
	width: 100%;
}

.dokan-store-products-filter-search,
.product-name-search {
	flex: 1;
	min-width: 200px;
	padding: 0.75rem 1.2rem;
	border: 1px solid var(--spotmart-color-border);
	border-radius: var(--spotmart-radius-pill);
	font-size: 0.95rem;
	font-family: var(--spotmart-font-family);
	transition: all 0.2s ease;
}

.dokan-store-products-filter-search:focus,
.product-name-search:focus {
	outline: none;
	border-color: var(--spotmart-color-primary);
	box-shadow: 0 0 0 3px rgba(12, 165, 60, 0.1);
}

.dokan-store-products-filter-area .orderby,
.dokan-store-products-filter-area .orderby-search {
	padding: 0.75rem 1.2rem;
	border: 1px solid var(--spotmart-color-border);
	border-radius: var(--spotmart-radius-pill);
	font-size: 0.95rem;
	font-family: var(--spotmart-font-family);
	background: #ffffff;
	cursor: pointer;
	transition: all 0.2s ease;
	min-width: 180px;
}

.dokan-store-products-filter-area .orderby:focus,
.dokan-store-products-filter-area .orderby-search:focus {
	outline: none;
	border-color: var(--spotmart-color-primary);
	box-shadow: 0 0 0 3px rgba(12, 165, 60, 0.1);
}

.dokan-store-products-filter-area .search-store-products,
.dokan-store-products-filter-area .dokan-btn-theme {
	padding: 0.75rem 1.5rem;
	background: linear-gradient(125deg, var(--spotmart-color-accent) 0%, var(--spotmart-color-primary) 100%);
	color: #ffffff;
	border: none;
	border-radius: var(--spotmart-radius-pill);
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	box-shadow: var(--spotmart-shadow-sm);
	white-space: nowrap;
	text-align: center;
	line-height: normal;
}

.dokan-store-products-filter-area .search-store-products:hover,
.dokan-store-products-filter-area .dokan-btn-theme:hover {
	transform: translateY(-2px);
	box-shadow: var(--spotmart-shadow-md);
	background: linear-gradient(125deg, #16bb5c 0%, var(--spotmart-color-primary-dark) 100%);
}

#dokan-store-products-search-result {
	width: 100%;
	margin-top: 0.5rem;
}

.store-tab-content.active {
	display: block;
}

/* Products Section */
.store-products-section {
	width: 100%;
}

.store-products-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1.5rem;
	margin-bottom: 2rem;
	flex-wrap: wrap;
}

.store-product-search-form {
	display: flex;
	gap: 0.5rem;
	flex: 1;
	min-width: 250px;
}

.store-product-search-form .search-field {
	flex: 1;
	padding: 0.75rem 1.2rem;
	border: 1px solid var(--spotmart-color-border);
	border-radius: var(--spotmart-radius-pill);
	font-size: 0.95rem;
	font-family: var(--spotmart-font-family);
	transition: all 0.2s ease;
}

.store-product-search-form .search-field:focus {
	outline: none;
	border-color: var(--spotmart-color-primary);
	box-shadow: 0 0 0 3px rgba(12, 165, 60, 0.1);
}

.store-product-search-form .search-submit {
	padding: 0.75rem 1.5rem;
	background: linear-gradient(125deg, var(--spotmart-color-accent) 0%, var(--spotmart-color-primary) 100%);
	color: #ffffff;
	border: none;
	border-radius: var(--spotmart-radius-pill);
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	box-shadow: var(--spotmart-shadow-sm);
	display: flex;
	align-items: center;
	justify-content: center;
}

.store-product-search-form .search-submit:hover {
	transform: translateY(-2px);
	box-shadow: var(--spotmart-shadow-md);
}

.store-products-orderby-form {
	display: inline-block;
}

.store-products-orderby-form select {
	padding: 0.75rem 1.2rem;
	border: 1px solid var(--spotmart-color-border);
	border-radius: var(--spotmart-radius-pill);
	font-size: 0.95rem;
	font-family: var(--spotmart-font-family);
	background: #ffffff;
	cursor: pointer;
	transition: all 0.2s ease;
}

.store-products-orderby-form select:focus {
	outline: none;
	border-color: var(--spotmart-color-primary);
	box-shadow: 0 0 0 3px rgba(12, 165, 60, 0.1);
}

.store-products-grid-wrapper {
	max-height: calc(100vh - 400px);
	overflow-y: auto;
	padding-right: 0.5rem;
	scrollbar-width: thin;
	scrollbar-color: var(--spotmart-color-primary) var(--spotmart-color-secondary);
	width: 100%;
	box-sizing: border-box;
}

.store-products-grid-wrapper::-webkit-scrollbar {
	width: 8px;
}

.store-products-grid-wrapper::-webkit-scrollbar-track {
	background: var(--spotmart-color-secondary);
	border-radius: var(--spotmart-radius-pill);
}

.store-products-grid-wrapper::-webkit-scrollbar-thumb {
	background: var(--spotmart-color-primary);
	border-radius: var(--spotmart-radius-pill);
}

.store-products-grid-wrapper::-webkit-scrollbar-thumb:hover {
	background: var(--spotmart-color-primary-dark);
}

.store-products-grid {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 1.5rem;
	width: 100%;
}

/* Ensure all product cards display in grid with 3 columns - override WooCommerce defaults */
.store-products-grid .woocommerce ul.products,
.store-products-grid ul.products,
.seller-items ul.products {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 1.5rem !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	align-items: stretch !important;
}

/* Override WooCommerce auto-fill grid */
.spotmart-store-content-wrapper .woocommerce ul.products,
.spotmart-store-content-wrapper ul.products {
	grid-template-columns: repeat(3, 1fr) !important;
	display: grid !important;
	gap: 1.5rem !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	align-items: stretch !important;
}

/* Override WooCommerce columns-4 class to force 3 columns */
.store-products-grid ul.products.columns-4,
.store-products-grid .woocommerce ul.products.columns-4,
.spotmart-store-content-wrapper ul.products.columns-4,
.spotmart-store-content-wrapper .woocommerce ul.products.columns-4 {
	grid-template-columns: repeat(3, 1fr) !important;
	display: grid !important;
}

/* Override any WooCommerce column classes in store products */
.store-products-grid ul.products[class*="columns-"],
.store-products-grid .woocommerce ul.products[class*="columns-"],
.spotmart-store-content-wrapper ul.products[class*="columns-"],
.spotmart-store-content-wrapper .woocommerce ul.products[class*="columns-"] {
	grid-template-columns: repeat(3, 1fr) !important;
	display: grid !important;
}

/* Product Card Styling - Match Shop Page (from woocommerce.css and user requirements) */
.store-products-grid .woocommerce ul.products li.product,
.store-products-grid ul.products li.product,
.spotmart-store-content-wrapper .woocommerce ul.products li.product,
.spotmart-store-content-wrapper ul.products li.product,
.site-main ul.products li.product {
	background: #ffffff !important;
	border: 1px solid #E0E0E0 !important;
	border-radius: 12px !important;
	overflow: hidden !important;
	display: flex !important;
	flex-direction: column !important;
	padding: 18px !important;
	box-shadow: var(--spotmart-shadow-sm, 0 10px 24px rgba(12, 102, 42, 0.08)) !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease !important;
	position: relative !important;
	width: 100% !important;
	margin: 0 !important;
	margin-bottom: 0 !important;
	text-align: left !important;
	box-sizing: border-box !important;
	min-width: 0 !important;
	height: 100% !important;
	justify-content: flex-start !important;
}

/* Group buttons at bottom of product card - Handle buttons both inside and outside summary wrap */
.store-products-grid .woocommerce ul.products li.product > .button.add_to_cart_button,
.store-products-grid ul.products li.product > .button.add_to_cart_button,
.spotmart-store-content-wrapper .woocommerce ul.products li.product > .button.add_to_cart_button,
.spotmart-store-content-wrapper ul.products li.product > .button.add_to_cart_button,
.site-main ul.products li.product > .button.add_to_cart_button,
.store-products-grid .woocommerce ul.products li.product .astra-shop-summary-wrap .button.add_to_cart_button,
.store-products-grid ul.products li.product .astra-shop-summary-wrap .button.add_to_cart_button,
.spotmart-store-content-wrapper .woocommerce ul.products li.product .astra-shop-summary-wrap .button.add_to_cart_button,
.spotmart-store-content-wrapper ul.products li.product .astra-shop-summary-wrap .button.add_to_cart_button,
.site-main ul.products li.product .astra-shop-summary-wrap .button.add_to_cart_button {
	margin-top: auto !important;
	margin-bottom: 0.5em !important;
}

.store-products-grid .woocommerce ul.products li.product > .button.dokan_request_button,
.store-products-grid ul.products li.product > .button.dokan_request_button,
.spotmart-store-content-wrapper .woocommerce ul.products li.product > .button.dokan_request_button,
.spotmart-store-content-wrapper ul.products li.product > .button.dokan_request_button,
.site-main ul.products li.product > .button.dokan_request_button,
.store-products-grid .woocommerce ul.products li.product .astra-shop-summary-wrap .button.dokan_request_button,
.store-products-grid ul.products li.product .astra-shop-summary-wrap .button.dokan_request_button,
.spotmart-store-content-wrapper .woocommerce ul.products li.product .astra-shop-summary-wrap .button.dokan_request_button,
.spotmart-store-content-wrapper ul.products li.product .astra-shop-summary-wrap .button.dokan_request_button,
.site-main ul.products li.product .astra-shop-summary-wrap .button.dokan_request_button {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

/* Ensure buttons container is at bottom */
.store-products-grid .woocommerce ul.products li.product .astra-shop-summary-wrap:has(.button),
.store-products-grid ul.products li.product .astra-shop-summary-wrap:has(.button),
.spotmart-store-content-wrapper .woocommerce ul.products li.product .astra-shop-summary-wrap:has(.button),
.spotmart-store-content-wrapper ul.products li.product .astra-shop-summary-wrap:has(.button),
.site-main ul.products li.product .astra-shop-summary-wrap:has(.button) {
	display: flex !important;
	flex-direction: column !important;
}

/* Push button group to bottom using flexbox */
.store-products-grid .woocommerce ul.products li.product .astra-shop-summary-wrap .button:first-of-type,
.store-products-grid ul.products li.product .astra-shop-summary-wrap .button:first-of-type,
.spotmart-store-content-wrapper .woocommerce ul.products li.product .astra-shop-summary-wrap .button:first-of-type,
.spotmart-store-content-wrapper ul.products li.product .astra-shop-summary-wrap .button:first-of-type,
.site-main ul.products li.product .astra-shop-summary-wrap .button:first-of-type {
	margin-top: auto !important;
}

/* Product card hover effect - Match Shop Page */
.store-products-grid .woocommerce ul.products li.product:hover,
.store-products-grid ul.products li.product:hover,
.spotmart-store-content-wrapper .woocommerce ul.products li.product:hover,
.spotmart-store-content-wrapper ul.products li.product:hover,
.site-main ul.products li.product:hover {
	transform: translateY(-4px) !important;
	box-shadow: var(--spotmart-shadow-md, 0 18px 38px rgba(12, 102, 42, 0.12)) !important;
}

/* Center alignment for desktop-align-center class */
.store-products-grid .woocommerce ul.products li.product.desktop-align-center,
.store-products-grid ul.products li.product.desktop-align-center,
.spotmart-store-content-wrapper .woocommerce ul.products li.product.desktop-align-center,
.spotmart-store-content-wrapper ul.products li.product.desktop-align-center,
.site-main ul.products li.product.desktop-align-center {
	text-align: center !important;
}

/* Product Title Styling - Match Shop Page */
.store-products-grid .woocommerce ul.products li.product .woocommerce-loop-product__title,
.store-products-grid ul.products li.product .woocommerce-loop-product__title,
.spotmart-store-content-wrapper .woocommerce ul.products li.product .woocommerce-loop-product__title,
.spotmart-store-content-wrapper ul.products li.product .woocommerce-loop-product__title,
.site-main ul.products li.product .woocommerce-loop-product__title {
	font-size: 1rem !important;
	font-weight: 600 !important;
	color: var(--spotmart-color-heading, #142914) !important;
	line-height: 1.4 !important;
}

/* Product Price Styling - Match Shop Page */
.store-products-grid .woocommerce ul.products li.product .price,
.store-products-grid ul.products li.product .price,
.spotmart-store-content-wrapper .woocommerce ul.products li.product .price,
.spotmart-store-content-wrapper ul.products li.product .price,
.site-main ul.products li.product .price {
	font-weight: 700 !important;
	color: var(--spotmart-color-primary-dark, #06772a) !important;
}

/* Product Summary Wrap - Match Shop Page */
.store-products-grid .woocommerce ul.products li.product .astra-shop-summary-wrap,
.store-products-grid ul.products li.product .astra-shop-summary-wrap,
.spotmart-store-content-wrapper .woocommerce ul.products li.product .astra-shop-summary-wrap,
.spotmart-store-content-wrapper ul.products li.product .astra-shop-summary-wrap,
.site-main ul.products li.product .astra-shop-summary-wrap {
	flex: 1 1 auto !important;
	display: flex !important;
	flex-direction: column !important;
	min-height: 0 !important;
}

/* Ensure price has consistent bottom margin */
.store-products-grid .woocommerce ul.products li.product .price,
.store-products-grid ul.products li.product .price,
.spotmart-store-content-wrapper .woocommerce ul.products li.product .price,
.spotmart-store-content-wrapper ul.products li.product .price,
.site-main ul.products li.product .price {
	margin-bottom: 1em !important;
	margin-top: 0.5em !important;
}

/* Ensure title has consistent bottom margin */
.store-products-grid .woocommerce ul.products li.product .woocommerce-loop-product__title,
.store-products-grid ul.products li.product .woocommerce-loop-product__title,
.spotmart-store-content-wrapper .woocommerce ul.products li.product .woocommerce-loop-product__title,
.spotmart-store-content-wrapper ul.products li.product .woocommerce-loop-product__title,
.site-main ul.products li.product .woocommerce-loop-product__title {
	margin-bottom: 0.5em !important;
	margin-top: 0.5em !important;
}

/* Product Button Styling - Match Shop Page (from woocommerce.css) */
.store-products-grid .woocommerce ul.products li.product .button,
.store-products-grid ul.products li.product .button,
.spotmart-store-content-wrapper .woocommerce ul.products li.product .button,
.spotmart-store-content-wrapper ul.products li.product .button,
.site-main ul.products li.product .button {
	border-radius: var(--spotmart-radius-pill, 999px) !important;
	background: var(--spotmart-color-primary, #0ca53c) !important;
	color: #ffffff !important;
	border: none !important;
	box-shadow: var(--spotmart-shadow-sm, 0 10px 24px rgba(12, 102, 42, 0.08)) !important;
	font-weight: 600 !important;
	width: 80% !important;
	margin-left: auto !important;
	margin-right: auto !important;
	white-space: normal !important;
	position: relative !important;
	overflow: visible !important;
	left: auto !important;
	display: block !important;
	text-align: center !important;
	background-image: none !important;
	text-shadow: none !important;
}

/* First button (Add to cart) - Push to bottom, minimal top margin */
.store-products-grid .woocommerce ul.products li.product .button.add_to_cart_button:first-of-type,
.store-products-grid ul.products li.product .button.add_to_cart_button:first-of-type,
.spotmart-store-content-wrapper .woocommerce ul.products li.product .button.add_to_cart_button:first-of-type,
.spotmart-store-content-wrapper ul.products li.product .button.add_to_cart_button:first-of-type,
.site-main ul.products li.product .button.add_to_cart_button:first-of-type {
	margin-top: auto !important;
	margin-bottom: 0.5em !important;
}

/* Request a Quote button - Right after Add to cart, no top margin */
.store-products-grid .woocommerce ul.products li.product .button.dokan_request_button,
.store-products-grid ul.products li.product .button.dokan_request_button,
.spotmart-store-content-wrapper .woocommerce ul.products li.product .button.dokan_request_button,
.spotmart-store-content-wrapper ul.products li.product .button.dokan_request_button,
.site-main ul.products li.product .button.dokan_request_button {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	order: 1000 !important;
}

/* Button hover effect - Match Shop Page */
.store-products-grid .woocommerce ul.products li.product .button:hover,
.store-products-grid ul.products li.product .button:hover,
.spotmart-store-content-wrapper .woocommerce ul.products li.product .button:hover,
.spotmart-store-content-wrapper ul.products li.product .button:hover,
.site-main ul.products li.product .button:hover {
	background: var(--spotmart-color-primary-dark, #06772a) !important;
}

/* Button positioning for simple and variable products - Push to bottom */
.store-products-grid .woocommerce ul.products li.product .astra-shop-summary-wrap .product_type_simple,
.store-products-grid .woocommerce ul.products li.product .astra-shop-summary-wrap .product_type_variable,
.store-products-grid ul.products li.product .astra-shop-summary-wrap .product_type_simple,
.store-products-grid ul.products li.product .astra-shop-summary-wrap .product_type_variable,
.spotmart-store-content-wrapper .woocommerce ul.products li.product .astra-shop-summary-wrap .product_type_simple,
.spotmart-store-content-wrapper .woocommerce ul.products li.product .astra-shop-summary-wrap .product_type_variable,
.spotmart-store-content-wrapper ul.products li.product .astra-shop-summary-wrap .product_type_simple,
.spotmart-store-content-wrapper ul.products li.product .astra-shop-summary-wrap .product_type_variable,
.site-main ul.products li.product .astra-shop-summary-wrap .product_type_simple,
.site-main ul.products li.product .astra-shop-summary-wrap .product_type_variable {
	margin-top: auto !important;
	margin-bottom: 0.5em !important;
	margin-left: auto !important;
	margin-right: auto !important;
	order: 999 !important;
	align-self: center !important;
}

/* Center align all buttons in product summary */
.store-products-grid .woocommerce ul.products li.product .astra-shop-summary-wrap .button,
.store-products-grid ul.products li.product .astra-shop-summary-wrap .button,
.spotmart-store-content-wrapper .woocommerce ul.products li.product .astra-shop-summary-wrap .button,
.spotmart-store-content-wrapper ul.products li.product .astra-shop-summary-wrap .button,
.site-main ul.products li.product .astra-shop-summary-wrap .button {
	margin-left: auto !important;
	margin-right: auto !important;
	text-align: center !important;
	display: block !important;
}

/* Center align "Add to cart" and "Read more" buttons for simple products */
.store-products-grid .woocommerce ul.products li.product .button.product_type_simple,
.store-products-grid ul.products li.product .button.product_type_simple,
.spotmart-store-content-wrapper .woocommerce ul.products li.product .button.product_type_simple,
.spotmart-store-content-wrapper ul.products li.product .button.product_type_simple,
.site-main ul.products li.product .button.product_type_simple,
.store-products-grid .woocommerce ul.products li.product .add_to_cart_button.product_type_simple,
.store-products-grid ul.products li.product .add_to_cart_button.product_type_simple,
.spotmart-store-content-wrapper .woocommerce ul.products li.product .add_to_cart_button.product_type_simple,
.spotmart-store-content-wrapper ul.products li.product .add_to_cart_button.product_type_simple,
.site-main ul.products li.product .add_to_cart_button.product_type_simple,
.store-products-grid .woocommerce ul.products li.product .ajax_add_to_cart,
.store-products-grid ul.products li.product .ajax_add_to_cart,
.spotmart-store-content-wrapper .woocommerce ul.products li.product .ajax_add_to_cart,
.spotmart-store-content-wrapper ul.products li.product .ajax_add_to_cart,
.site-main ul.products li.product .ajax_add_to_cart {
	margin-left: auto !important;
	margin-right: auto !important;
	text-align: center !important;
	display: block !important;
	align-self: center !important;
}

/* Review Rating - Center Align */
.store-products-grid .review-rating,
.store-products-grid .woocommerce ul.products li.product .review-rating,
.store-products-grid ul.products li.product .review-rating,
.spotmart-store-content-wrapper .review-rating,
.spotmart-store-content-wrapper .woocommerce ul.products li.product .review-rating,
.spotmart-store-content-wrapper ul.products li.product .review-rating,
.site-main ul.products li.product .review-rating {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	text-align: center !important;
	margin-top: 0.5em !important;
	margin-bottom: 0.5em !important;
}

.store-products-grid .review-rating .star-rating,
.store-products-grid .woocommerce ul.products li.product .review-rating .star-rating,
.store-products-grid ul.products li.product .review-rating .star-rating,
.spotmart-store-content-wrapper .review-rating .star-rating,
.spotmart-store-content-wrapper .woocommerce ul.products li.product .review-rating .star-rating,
.spotmart-store-content-wrapper ul.products li.product .review-rating .star-rating,
.site-main ul.products li.product .review-rating .star-rating {
	margin: 0 auto !important;
	float: none !important;
	display: inline-block !important;
	text-align: center !important;
}

.store-products-grid .review-rating .review-count,
.store-products-grid .woocommerce ul.products li.product .review-rating .review-count,
.store-products-grid ul.products li.product .review-rating .review-count,
.spotmart-store-content-wrapper .review-rating .review-count,
.spotmart-store-content-wrapper .woocommerce ul.products li.product .review-rating .review-count,
.spotmart-store-content-wrapper ul.products li.product .review-rating .review-count,
.site-main ul.products li.product .review-rating .review-count {
	font-size: 0.85em !important;
	color: var(--spotmart-color-muted) !important;
	text-align: center !important;
}

.store-products-load-more {
	text-align: center;
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid var(--spotmart-color-border);
}

.store-load-more-btn {
	padding: 0.75rem 2rem;
	background: linear-gradient(125deg, var(--spotmart-color-accent) 0%, var(--spotmart-color-primary) 100%);
	color: #ffffff;
	border: none;
	border-radius: var(--spotmart-radius-pill);
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	box-shadow: var(--spotmart-shadow-sm);
}

.store-load-more-btn:hover {
	transform: translateY(-2px);
	box-shadow: var(--spotmart-shadow-md);
	background: linear-gradient(125deg, #16bb5c 0%, var(--spotmart-color-primary-dark) 100%);
}

.store-load-more-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

/* Biography Content */
.store-biography-content {
	line-height: 1.8;
	color: var(--spotmart-color-text);
}

.store-biography-content .headline {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--spotmart-color-heading);
	margin-bottom: 1.5rem;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid var(--spotmart-color-border);
}

.store-biography-content p {
	margin-bottom: 1rem;
}

/* Reviews Tab Content */
.store-tab-content[data-tab-content="reviews"] {
	padding: 2rem;
}

.store-tab-content[data-tab-content="reviews"] .headline {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--spotmart-color-heading);
	margin-bottom: 1.5rem;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid var(--spotmart-color-border);
}

/* Reviews Content Area */
.store-reviews-content {
	padding: 0;
}

.store-reviews-content #reviews {
	margin-top: 0;
}

.store-reviews-content #comments {
	margin: 0;
}

.store-reviews-content .commentlist {
	list-style: none;
	padding: 0;
	margin: 0;
}

.store-reviews-content .commentlist li {
	margin-bottom: 2rem;
	padding: 1.5rem;
	background: #ffffff;
	border-radius: var(--spotmart-radius-md);
	box-shadow: var(--spotmart-shadow-sm);
	border: 1px solid var(--spotmart-color-border);
}

.store-reviews-content .commentlist li:last-child {
	margin-bottom: 0;
}

.store-reviews-content .comment-meta {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
}

.store-reviews-content .comment-author {
	font-weight: 600;
	color: var(--spotmart-color-heading);
	font-size: 1rem;
}

.store-reviews-content .comment-date {
	color: var(--spotmart-color-muted);
	font-size: 0.875rem;
}

.store-reviews-content .comment-text {
	color: var(--spotmart-color-text);
	line-height: 1.7;
	margin-top: 0.75rem;
}

.store-reviews-content .star-rating {
	margin: 0.5rem 0;
}

/* Biography Content Area */
.store-biography-content {
	padding: 2rem;
	background: #ffffff;
	border-radius: var(--spotmart-radius-md);
	box-shadow: var(--spotmart-shadow-sm);
	border: 1px solid var(--spotmart-color-border);
}

.store-biography-content #vendor-biography {
	margin: 0;
}

.store-biography-content #comments {
	margin: 0;
}

/* ============================================
   STORE HERO SECTION
   ============================================ */

.dokan-profile-frame-wrapper {
	margin-bottom: 3rem;
	position: relative;
}

.profile-frame {
	position: relative;
	border-radius: var(--spotmart-radius-lg);
	overflow: hidden;
	box-shadow: var(--spotmart-shadow-md);
	margin-bottom: 1.5rem;
}

.profile-frame.profile-frame-no-banner {
	background: linear-gradient(135deg, var(--spotmart-color-primary) 0%, var(--spotmart-color-accent) 100%);
	padding: 2rem;
}

.profile-info-box {
	position: relative;
	background: #ffffff;
}

/* Banner Image */
.profile-info-img {
	width: 100%;
	height: 320px;
	object-fit: cover;
	display: block;
	position: relative;
}

.profile-info-img.dummy-image {
	background: linear-gradient(135deg, var(--spotmart-color-primary) 0%, var(--spotmart-color-accent) 100%);
}

/* Profile Card - Floating over Banner */
.profile-info-summery-wrapper {
	position: relative;
	margin-top: -80px;
	padding: 0 2rem 2rem;
	z-index: 10;
}

.profile-info-summery {
	background: #ffffff;
	border-radius: var(--spotmart-radius-md);
	padding: 2rem;
	box-shadow: var(--spotmart-shadow-md);
	border: 1px solid var(--spotmart-color-border);
	max-width: 1200px;
	margin: 0 auto;
}

.profile-info-head {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	margin-bottom: 1.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--spotmart-color-border);
}

.store-name-wrapper {
	flex: 1;
}

.profile-img {
	width: 120px;
	height: 120px;
	border-radius: var(--spotmart-radius-md);
	overflow: hidden;
	border: 4px solid #ffffff;
	box-shadow: var(--spotmart-shadow-sm);
	flex-shrink: 0;
}

.profile-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.profile-img-circle {
	border-radius: 50%;
}

.profile-img-square {
	border-radius: var(--spotmart-radius-md);
}

.store-name-container {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.store-name {
	font-size: 2rem;
	font-weight: 700;
	color: var(--spotmart-color-heading);
	margin: 0;
	line-height: 1.2;
}

.store-badge-container {
	display: inline-flex;
	align-items: center;
}

/* Verified Badge Styling - Keep original Dokan colors */
.store-name-container .tips,
.store-badge-container .tips {
	display: inline-flex !important;
	align-items: center;
	gap: 0.4rem;
	margin: 0 !important;
	vertical-align: middle;
	line-height: 1;
	position: relative;
	top: auto !important;
	left: auto !important;
	right: auto !important;
	bottom: auto !important;
	/* Remove custom background/color to use Dokan defaults */
}

.store-name-container .tips i,
.store-badge-container .tips i {
	margin: 0 !important;
	display: inline-block;
	/* Remove custom color to use Dokan defaults */
}

.store-name-container .tips svg,
.store-badge-container .tips svg {
	width: 16px !important;
	height: 16px !important;
	flex-shrink: 0;
	display: inline-block;
	vertical-align: middle;
	/* Remove custom fill to use Dokan defaults */
}

/* Override any inline styles from Dokan - but keep original colors */
.store-name-container .tips[style],
.store-badge-container .tips[style] {
	display: inline-flex !important;
}

/* Store Info List */
.dokan-store-info {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem 2rem;
}

.dokan-store-info li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--spotmart-color-text);
	font-size: 0.95rem;
}

.dokan-store-info li i {
	color: var(--spotmart-color-primary);
	font-size: 1rem;
}

.dokan-store-info li a {
	color: var(--spotmart-color-text);
	text-decoration: none;
	transition: color 0.2s ease;
}

.dokan-store-info li a:hover {
	color: var(--spotmart-color-primary);
}

.dokan-store-rating {
	color: #ffa500;
}

.dokan-store-rating i {
	color: #ffa500;
}

/* Store Open/Close Status */
.dokan-store-open-close {
	position: relative;
}

.store-open-close-notice {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	cursor: pointer;
}

.store-notice {
	padding: 0.35rem 0.9rem;
	border-radius: var(--spotmart-radius-pill);
	font-size: 0.85rem;
	font-weight: 600;
	background: rgba(28, 200, 106, 0.15);
	color: #0d7a38;
}

.store-notice.store-closed {
	background: rgba(220, 68, 45, 0.18);
	color: #9d1d0a;
}

/* Social Icons */
.store-social-wrapper {
	padding: 1rem 0;
	border-top: 1px solid var(--spotmart-color-border);
}

.store-social {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	justify-content: center;
	gap: 0.75rem;
}

.store-social li a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--spotmart-color-secondary);
	color: var(--spotmart-color-primary);
	text-decoration: none;
	transition: all 0.2s ease;
}

.store-social li a:hover {
	background: var(--spotmart-color-primary);
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: var(--spotmart-shadow-sm);
}

/* ============================================
   STORE TABS (Sticky Navigation)
   ============================================ */

.dokan-store-tabs {
	background: #ffffff;
	border-radius: var(--spotmart-radius-md);
	padding: 1rem 2rem;
	margin-bottom: 2rem;
	box-shadow: var(--spotmart-shadow-sm);
	border: 1px solid var(--spotmart-color-border);
	position: sticky;
	top: 80px;
	z-index: 100;
}

.dokan-store-tabs ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 2rem;
	flex-wrap: wrap;
}

.dokan-store-tabs ul.dokan-modules-button {
	margin-bottom: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--spotmart-color-border);
}

.dokan-store-tabs ul.dokan-list-inline li {
	margin: 0;
}

.dokan-store-tabs ul.dokan-list-inline li a {
	display: inline-block;
	padding: 0.65rem 1.2rem;
	border-radius: var(--spotmart-radius-pill);
	color: var(--spotmart-color-text);
	text-decoration: none;
	font-weight: 500;
	font-size: 0.95rem;
	transition: all 0.2s ease;
	position: relative;
}

.dokan-store-tabs ul.dokan-list-inline li a:hover {
	color: var(--spotmart-color-primary);
	background: var(--spotmart-color-secondary);
}

.dokan-store-tabs ul.dokan-list-inline li a.active,
.dokan-store-tabs ul.dokan-list-inline li.current_page_item a {
	color: #ffffff;
	background: linear-gradient(125deg, var(--spotmart-color-accent) 0%, var(--spotmart-color-primary) 100%);
	box-shadow: var(--spotmart-shadow-sm);
}

.dokan-store-tabs ul.dokan-modules-button li button {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.65rem 1.4rem;
	border-radius: var(--spotmart-radius-pill);
	font-weight: 600;
	border: 1px solid var(--spotmart-color-primary);
	background: var(--spotmart-color-secondary);
	color: var(--spotmart-color-primary);
	cursor: pointer;
	transition: all 0.2s ease;
	font-size: 0.95rem;
}

.dokan-store-tabs ul.dokan-modules-button li button:hover {
	background: var(--spotmart-color-primary);
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: var(--spotmart-shadow-sm);
}

/* ============================================
   PRODUCT SECTIONS
   ============================================ */

.seller-items {
	margin-top: 2rem;
}

/* Ensure seller-items products use 3 columns */
.seller-items ul.products {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 1.5rem;
	width: 100%;
}

/* Section Headings */
.store-page-wrap h2,
.store-page-wrap .dokan-section-title,
.dokan-section-title {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--spotmart-color-heading);
	margin-bottom: 1.5rem;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid var(--spotmart-color-border);
}

/* Product Sections Container */
.dokan-product-section {
	margin-bottom: 3rem;
}

.dokan-product-section:last-child {
	margin-bottom: 0;
}

/* ============================================
   SEARCH & SORT BAR
   ============================================ */

.store-page-wrap .woocommerce-products-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1.5rem;
	margin-bottom: 2rem;
	flex-wrap: wrap;
}

.store-page-wrap .woocommerce-products-header form {
	display: flex;
	gap: 1rem;
	flex: 1;
	min-width: 300px;
}

.store-page-wrap .woocommerce-products-header input[type="text"],
.store-page-wrap .woocommerce-products-header input[type="search"] {
	flex: 1;
	padding: 0.75rem 1.2rem;
	border: 1px solid var(--spotmart-color-border);
	border-radius: var(--spotmart-radius-pill);
	font-size: 0.95rem;
	font-family: var(--spotmart-font-family);
	transition: all 0.2s ease;
}

.store-page-wrap .woocommerce-products-header input[type="text"]:focus,
.store-page-wrap .woocommerce-products-header input[type="search"]:focus {
	outline: none;
	border-color: var(--spotmart-color-primary);
	box-shadow: 0 0 0 3px rgba(12, 165, 60, 0.1);
}

.store-page-wrap .woocommerce-products-header button[type="submit"] {
	padding: 0.75rem 1.5rem;
	background: linear-gradient(125deg, var(--spotmart-color-accent) 0%, var(--spotmart-color-primary) 100%);
	color: #ffffff;
	border: none;
	border-radius: var(--spotmart-radius-pill);
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	box-shadow: var(--spotmart-shadow-sm);
}

.store-page-wrap .woocommerce-products-header button[type="submit"]:hover {
	transform: translateY(-2px);
	box-shadow: var(--spotmart-shadow-md);
}

.store-page-wrap .woocommerce-ordering select {
	padding: 0.75rem 1.2rem;
	border: 1px solid var(--spotmart-color-border);
	border-radius: var(--spotmart-radius-pill);
	font-size: 0.95rem;
	font-family: var(--spotmart-font-family);
	background: #ffffff;
	cursor: pointer;
	transition: all 0.2s ease;
}

.store-page-wrap .woocommerce-ordering select:focus {
	outline: none;
	border-color: var(--spotmart-color-primary);
	box-shadow: 0 0 0 3px rgba(12, 165, 60, 0.1);
}

/* ============================================
   PAGINATION
   ============================================ */

.woocommerce-pagination {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--spotmart-color-border);
}

.woocommerce-pagination ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.woocommerce-pagination ul li {
	margin: 0;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
	display: inline-block;
	padding: 0.65rem 1rem;
	border-radius: var(--spotmart-radius-sm);
	text-decoration: none;
	color: var(--spotmart-color-text);
	border: 1px solid var(--spotmart-color-border);
	transition: all 0.2s ease;
	min-width: 40px;
	text-align: center;
}

.woocommerce-pagination ul li a:hover {
	background: var(--spotmart-color-secondary);
	border-color: var(--spotmart-color-primary);
	color: var(--spotmart-color-primary);
}

.woocommerce-pagination ul li span.current {
	background: linear-gradient(125deg, var(--spotmart-color-accent) 0%, var(--spotmart-color-primary) 100%);
	color: #ffffff;
	border-color: var(--spotmart-color-primary);
	box-shadow: var(--spotmart-shadow-sm);
}

/* ============================================
   EMPTY STATE
   ============================================ */

.dokan-info {
	text-align: center;
	padding: 3rem 2rem;
	background: var(--spotmart-color-secondary);
	border-radius: var(--spotmart-radius-md);
	color: var(--spotmart-color-muted);
	font-size: 1.1rem;
}

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

@media (max-width: 1024px) {
	.dokan-store-wrap {
		padding: 0 15px;
	}

	.dokan-store-wrap.spotmart-two-column-layout {
		grid-template-columns: 300px 1fr;
		gap: 1.5rem;
		padding: 1.5rem 15px;
	}

	.spotmart-store-sidebar-wrapper {
		top: 80px;
	}

	.store-tab-content {
		padding: 1.5rem;
	}

	.dokan-store-products-filter-area {
		margin-bottom: 1.25rem;
	}

	.dokan-store-products-ordeby {
		gap: 0.5rem;
	}

	.dokan-store-products-filter-search,
	.product-name-search {
		min-width: 180px;
		font-size: 0.9rem;
	}

	.dokan-store-products-filter-area .orderby,
	.dokan-store-products-filter-area .orderby-search {
		min-width: 160px;
		font-size: 0.9rem;
	}

	.store-products-grid {
		grid-template-columns: repeat(1, 1fr) !important;
		gap: 1.25rem;
	}
	
	.store-products-grid .woocommerce ul.products,
	.store-products-grid ul.products,
	.seller-items ul.products,
	.spotmart-store-content-wrapper .woocommerce ul.products,
	.spotmart-store-content-wrapper ul.products {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 1.25rem !important;
		margin: 0 !important;
		padding: 0 !important;
		list-style: none !important;
		align-items: stretch !important;
	}

	.store-products-load-more {
		margin-top: 1.5rem;
		padding-top: 1.5rem;
	}

	.store-load-more-btn {
		padding: 0.65rem 1.75rem;
		font-size: 0.9rem;
	}

	.profile-info-summery {
		padding: 1.5rem;
	}

	.profile-info-head {
		flex-direction: column;
		text-align: center;
	}

	.store-name-container {
		justify-content: center;
	}

	.store-name {
		font-size: 1.75rem;
	}

	.dokan-store-info {
		justify-content: center;
	}
}

@media (max-width: 768px) {
	.dokan-store-wrap.spotmart-two-column-layout {
		grid-template-columns: 1fr;
		gap: 2rem;
		padding: 1rem 15px;
	}

	.spotmart-store-sidebar-wrapper {
		position: relative;
		top: 0;
		max-height: none;
	}

	.store-sidebar-profile {
		margin-top: -50px;
	}

	.store-profile-img-wrapper {
		width: 100px;
		height: 100px;
	}

	.store-sidebar-name .store-name {
		font-size: 1.25rem;
	}

	.store-tab-content {
		padding: 1rem;
	}

	/* Filter Area - Mobile Stacked Layout */
	.dokan-store-products-filter-area {
		margin-bottom: 1rem;
	}

	.dokan-store-products-ordeby {
		flex-direction: column;
		gap: 0.75rem;
		align-items: stretch;
	}

	.dokan-store-products-filter-search,
	.product-name-search {
		width: 100%;
		min-width: unset;
		font-size: 0.9rem;
		padding: 0.7rem 1rem;
	}

	.dokan-store-products-filter-area .orderby,
	.dokan-store-products-filter-area .orderby-search {
		width: 100%;
		min-width: unset;
		font-size: 0.9rem;
		padding: 0.7rem 1rem;
	}

	.dokan-store-products-filter-area .search-store-products,
	.dokan-store-products-filter-area .dokan-btn-theme {
		width: 100%;
		padding: 0.7rem 1.5rem;
		font-size: 0.9rem;
	}

	/* Product Grid - Mobile Single Column */
	.store-products-grid {
		grid-template-columns: 1fr !important;
		gap: 1rem;
	}
	
	.store-products-grid .woocommerce ul.products,
	.store-products-grid ul.products,
	.seller-items ul.products,
	.spotmart-store-content-wrapper .woocommerce ul.products,
	.spotmart-store-content-wrapper ul.products {
		grid-template-columns: 1fr !important;
		gap: 1rem !important;
	}

	/* Override all column classes for mobile - force single column */
	.store-products-grid ul.products.columns-4,
	.store-products-grid .woocommerce ul.products.columns-4,
	.spotmart-store-content-wrapper ul.products.columns-4,
	.spotmart-store-content-wrapper .woocommerce ul.products.columns-4,
	.store-products-grid ul.products[class*="columns-"],
	.store-products-grid .woocommerce ul.products[class*="columns-"],
	.spotmart-store-content-wrapper ul.products[class*="columns-"],
	.spotmart-store-content-wrapper .woocommerce ul.products[class*="columns-"],
	.store-products-grid #store-products-container ul.products,
	.store-products-grid #store-products-container .woocommerce ul.products,
	.store-products-section ul.products,
	.store-products-section .woocommerce ul.products {
		grid-template-columns: 1fr !important;
		display: grid !important;
		max-width: 100% !important;
	}

	.store-products-grid-wrapper {
		max-height: none;
		overflow-y: visible;
		padding-right: 0;
	}

	/* Ensure product items take full width on mobile */
	.store-products-grid .woocommerce ul.products li.product,
	.store-products-grid ul.products li.product,
	.spotmart-store-content-wrapper .woocommerce ul.products li.product,
	.spotmart-store-content-wrapper ul.products li.product {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		flex: 0 0 100% !important;
	}

	.store-products-load-more {
		margin-top: 1.25rem;
		padding-top: 1.25rem;
	}

	.store-load-more-btn {
		width: 100%;
		padding: 0.75rem 1.5rem;
		font-size: 0.9rem;
	}

	.store-tabs-nav {
		flex-wrap: wrap;
	}

	.store-tab-link {
		padding: 0.75rem 1rem;
		font-size: 0.9rem;
	}

	.profile-info-img {
		height: 240px;
	}

	.profile-info-summery-wrapper {
		margin-top: -60px;
		padding: 0 1rem 1.5rem;
	}

	.profile-info-summery {
		padding: 1.25rem;
	}

	.profile-img {
		width: 100px;
		height: 100px;
	}

	.store-name-container {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}

	.store-name {
		font-size: 1.5rem;
	}

	.store-badge-container .tips {
		font-size: 0.7rem;
		padding: 0.35rem 0.75rem;
	}

	.dokan-store-info {
		flex-direction: column;
		gap: 1rem;
		align-items: flex-start;
	}

	.dokan-store-tabs {
		padding: 1rem;
		position: relative;
		top: 0;
	}

	.dokan-store-tabs ul {
		flex-direction: column;
		gap: 0.75rem;
	}

	.dokan-store-tabs ul.dokan-list-inline li {
		width: 100%;
	}

	.dokan-store-tabs ul.dokan-list-inline li a {
		display: block;
		width: 100%;
		text-align: center;
	}

	.store-page-wrap .woocommerce-products-header {
		flex-direction: column;
	}

	.store-page-wrap .woocommerce-products-header form {
		width: 100%;
		min-width: unset;
	}
}

@media (max-width: 480px) {
	.dokan-store-wrap {
		padding: 0 10px;
	}

	.dokan-store-wrap.spotmart-two-column-layout {
		padding: 0.75rem 10px;
		gap: 1.5rem;
	}

	.store-tab-content {
		padding: 0.75rem;
	}

	.dokan-store-products-filter-area {
		margin-bottom: 0.75rem;
	}

	.dokan-store-products-ordeby {
		gap: 0.5rem;
	}

	.dokan-store-products-filter-search,
	.product-name-search {
		font-size: 0.85rem;
		padding: 0.65rem 0.9rem;
	}

	.dokan-store-products-filter-area .orderby,
	.dokan-store-products-filter-area .orderby-search {
		font-size: 0.85rem;
		padding: 0.65rem 0.9rem;
	}

	.dokan-store-products-filter-area .search-store-products,
	.dokan-store-products-filter-area .dokan-btn-theme {
		font-size: 0.85rem;
		padding: 0.65rem 1.25rem;
	}

	.store-products-grid {
		grid-template-columns: 1fr !important;
		gap: 0.75rem;
	}

	.store-products-grid .woocommerce ul.products,
	.store-products-grid ul.products,
	.seller-items ul.products,
	.spotmart-store-content-wrapper .woocommerce ul.products,
	.spotmart-store-content-wrapper ul.products {
		grid-template-columns: 1fr !important;
		gap: 0.75rem !important;
	}

	/* Override all column classes for small mobile - force single column */
	.store-products-grid ul.products.columns-4,
	.store-products-grid .woocommerce ul.products.columns-4,
	.spotmart-store-content-wrapper ul.products.columns-4,
	.spotmart-store-content-wrapper .woocommerce ul.products.columns-4,
	.store-products-grid ul.products[class*="columns-"],
	.store-products-grid .woocommerce ul.products[class*="columns-"],
	.spotmart-store-content-wrapper ul.products[class*="columns-"],
	.spotmart-store-content-wrapper .woocommerce ul.products[class*="columns-"],
	.store-products-grid #store-products-container ul.products,
	.store-products-grid #store-products-container .woocommerce ul.products,
	.store-products-section ul.products,
	.store-products-section .woocommerce ul.products {
		grid-template-columns: 1fr !important;
		display: grid !important;
		max-width: 100% !important;
	}

	.store-products-load-more {
		margin-top: 1rem;
		padding-top: 1rem;
	}

	.store-load-more-btn {
		padding: 0.65rem 1.25rem;
		font-size: 0.85rem;
	}

	/* Ensure product items take full width on small mobile */
	.store-products-grid .woocommerce ul.products li.product,
	.store-products-grid ul.products li.product,
	.spotmart-store-content-wrapper .woocommerce ul.products li.product,
	.spotmart-store-content-wrapper ul.products li.product {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		flex: 0 0 100% !important;
	}

	.store-tab-link {
		padding: 0.65rem 0.75rem;
		font-size: 0.85rem;
	}

	.profile-info-img {
		height: 200px;
	}

	.profile-info-summery-wrapper {
		margin-top: -50px;
		padding: 0 0.75rem 1rem;
	}

	.profile-info-summery {
		padding: 1rem;
	}

	.profile-img {
		width: 80px;
		height: 80px;
	}

	.store-name-container {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}

	.store-name {
		font-size: 1.25rem;
	}

	.store-badge-container .tips {
		font-size: 0.65rem;
		padding: 0.3rem 0.65rem;
	}
}

