.rich-stores-stock-container {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.rich-stores-text strong {
    color: #28a745;
    font-weight: 500 !important;
}

.rich-stores-modal-trigger {
    background: none;
    border: 1px solid #7f54b3;
    color: #7f54b3;
    padding: 4px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.rich-stores-modal-trigger:hover {
    background: #7f54b3;
    color: #fff;
}

/* Modal Styles */
.rich-stores-modal {
    display: none; 
    position: fixed; 
    z-index: 99999; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.6); 
}

.rich-stores-modal-content {
    background-color: #fefefe;
    margin: 15% auto; 
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
}

.rich-stores-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.rich-stores-close:hover,
.rich-stores-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.rich-stores-list {
    margin-top: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.rich-store-item {
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

.rich-store-item:last-child {
    border-bottom: none;
}

.rich-store-name {
    font-weight: bold;
    display: block;
    margin-bottom: 4px;
}

.rich-store-address {
    color: #666;
    font-size: 0.9em;
}

.loading {
    color: #999;
    text-align: center;
    padding: 20px;
}
.rich-stores-list-container {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	padding: 20px;
}

.rich-stores-list-container .rich-store-item {
	box-sizing: border-box;
	position: relative;
	background: #fff;
	padding: 15px;
	border: 1px solid #eee;
	border-radius: 4px;
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
}

.rich-stores-list-container .rich-store-icon {
	flex-shrink: 0;
	color: #666;
	line-height: 1;
}

.rich-stores-list-container .rich-store-icon .dashicons {
	font-size: 24px;
	width: 24px;
	height: 24px;
}

.rich-stores-list-container .rich-store-details {
	flex-grow: 1;
}

.rich-stores-list-container .rich-store-name {
	margin: 0 0 5px;
	font-size: 16px;
	font-weight: 600;
	color: #333;
}

.rich-stores-list-container .rich-store-address {
	margin: 0;
	font-size: 12px;
	line-height: 1.3;
	color: #666;
}

/* Style: List */
.rich-stores-list-container.style-list .rich-store-item {
	width: 100%;
	border: none;
	border-bottom: 1px solid #eee;
	padding: 10px 0;
	border-radius: 0;
	background: transparent;
}

.rich-stores-list-container.style-list .rich-store-item:last-child {
	border-bottom: none;
}

/* Style: Grid */
.rich-stores-list-container.style-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.rich-stores-list-container.style-grid .rich-store-item {
	flex-direction: column;
	text-align: center;
	padding: 12px;
	border: 1px solid #ddd;
}

.rich-stores-list-container.style-grid .rich-store-icon {
	margin-bottom: 0;
}

/* Style: Cards */
.rich-stores-list-container.style-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 20px;
}

.rich-stores-list-container.style-cards .rich-store-item {
	flex-direction: column;
	align-items: flex-start;
	padding: 20px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rich-stores-list-container.style-cards .rich-store-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.rich-stores-list-container.style-cards .rich-store-icon {
	background: #f0f0f0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 15px;
	color: #333;
}

.rich-stores-list-container.style-cards .rich-store-link {
	margin-top: 15px;
	font-size: 13px;
	color: #007cba;
	text-decoration: none;
	font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
	.rich-stores-list-container.style-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
.rich-stores-text-no-stock { color: #6c757d; font-weight: 500; }

@media (max-width: 480px) {
	.rich-stores-list-container .rich-store-address {
		font-size: 11px;
	}

	.rich-stores-list-container .rich-store-name {
		font-size: 14px;
	}
}
