:root {
    --primary: #ff6a00;
    --primary-gradient: linear-gradient(45deg, #ff6a00, #ff9900);
    --bg: #f4f6fb;
    --card-bg: #ffffff;
    --text-main: #222222;
    --text-muted: #777777;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 24px rgba(255, 106, 0, 0.12);
    --radius: 20px;
}
body {
    padding: 0;
    margin: 0;
    background: var(--bg);
    color: var(--text-main);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 16px;
}
@media (max-width: 768px) {
    .container { padding: 15px 10px; }
}
.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 25px;
    text-align: center;
}

/* Header and Search Bar Styles (moved from inline in index.view.php and refined) */
.header-wrapper {
    background: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-container { 
    flex: 1;
    position: relative;
    max-width: 600px;
}

/* INPUT */
.search-bar {
    width: 100%;
    margin: 0;
    border-radius: 12px;
    background: #f0f2f5;
    border: 1px solid transparent;

    padding: 14px 24px;
    padding-right: 160px; /* Consistent padding to accommodate location display */

    font-size: 15px;
    transition: all 0.3s ease;
    outline: none;
    display: block;
}

.search-bar:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.1);
}

/* RIGHT SIDE (location container) */
.search-right-elements {
    position: absolute;
    top: 50%;
    right: 15px; /* Aligns flush to the interior right of the search bar */
    transform: translateY(-50%);
    
    display: flex;
    align-items: center;
    justify-content: flex-end;

    pointer-events: none;
}

/* LOCATION */
.location-display {
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    transition: opacity 0.2s ease, transform 0.2s ease;

    display: flex;
    align-items: center;
    gap: 2px; /* Eliminates space between icon and text */

    pointer-events: auto;
    white-space: nowrap;

    width: fit-content; /* ✅ shrink to content */
    max-width: none; /* ✅ remove forced width */
}

.location-display:hover {
    opacity: 0.7;
}

/* SELECT */
.location-display select {
    background: transparent;
    border: none;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    font-family: inherit;
    cursor: pointer;
    outline: none;
    padding: 0;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    width: auto; /* Width will be managed by JS for precision */
    text-align: right;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Back navigation styling */
.back-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 20px;
    transition: color 0.2s;
}
.back-nav:hover { color: var(--primary); }

.sticky {
	position: sticky;
	top: 0;
	background: #f4f6fb;
	z-index: 100;
}

.stores-grid {
	display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    width: 100%;
    justify-content: center;
}

@media (max-width: 768px) {
	.stores-grid {
		grid-template-columns: 1fr;
	}
}

/* Product Card Modern Design */
.product-card {
	background: var(--card-bg);
	border: 1px solid #edf0f4;
	border-radius: 18px;
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	position: relative;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-3px);
}
.product-card .product-image {
	width: 100%;
	aspect-ratio: 4/3;
	object-fit: cover;
	border-top-left-radius: 18px;
	border-top-right-radius: 18px;
	background: #f4f6fb;
	display: block;
}
.product-card .fav-btn {
	position: absolute;
	top: 14px;
	right: 14px;
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 2px 8px rgba(255,106,0,0.10);
	border: none;
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ff6a00;
	font-size: 20px;
	cursor: pointer;
	z-index: 1;
	transition: background 0.2s;
}
.product-card .fav-btn.active,
.product-card .fav-btn:hover {
	background: #ff6a00;
	color: #fff;
}
.product-card .product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1; /* Occupy all available vertical space */
    gap: 8px;
}
.product-card .product-title {
	font-size: 15px;
	font-weight: 600;
	color: #222;
	margin-bottom: 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit title to 2 lines for consistency */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card .product-price {
	font-size: 17px;
	font-weight: 700;
	color: #ff6a00;
}
.product-rating-summary {
	display: flex;
	align-items: center;
	gap: 6px;
	min-height: 18px;
	color: #737373;
	font-size: 11px;
	text-decoration: none;
}
.product-rating-summary:hover { color: #333; }
.product-rating-stars { color: #f5a623; letter-spacing: 1px; white-space: nowrap; }
.product-rating-value { color: #333; font-weight: 600; }
.product-card .product-actions {
	width: 100%;
    margin-top: auto; /* Push actions to the bottom of the flex container */
    padding-top: 12px;
    display: flex;
}
.product-card .product-actions form {
    width: 100%;
}
.product-card .view-btn {
	background: linear-gradient(45deg,#ff6a00,#ff9900);
	margin-top: auto;
	width: 100%;
	text-align: center;
	color: #fff;
	border: none;
	border-radius: 20px;
	padding: 8px 18px;
	font-size: 12px;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.2s;
	text-decoration: none;
}
.product-card .view-btn:hover {
	background: linear-gradient(45deg,#ff9900,#ff6a00);
}

/* Store Card Design (Store List) */
.store-list-card {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 24px;
	box-shadow: var(--shadow-sm);
	padding: 20px;
	display: flex;
	align-items: center;
	gap: 18px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.store-list-card:hover {
	box-shadow: 0 10px 25px rgba(255, 106, 0, 0.08);
	border-color: #ff6a00;
	transform: translateY(-3px);
}
.store-list-card .store-avatar {
	width: 64px;
	height: 64px;
	border-radius: 16px;
	background: #fff6f0;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #ffe6d5;
    overflow: hidden;
    color: #ff6a00;
    font-size: 24px;
}
.store-list-card .store-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.store-list-card .store-info {
	flex: 1;
}
.store-list-card .store-name {
	font-size: 18px;
	font-weight: 700;
	color: #222;
}
.store-list-card .store-domain {
	font-size: 12px;
	color: #777;
	margin-top: 4px;
}
.store-list-card .view-btn {
	background: #ff6a00;
	color: #fff;
	border: none;
	border-radius: 20px;
	padding: 8px 16px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	margin-left: 12px;
}
.store-list-card .view-btn:hover {
	background: #ff9900;
}
/* Visually hidden for accessibility */
.visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* Enhanced Dashboard Stats Styles */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 30px;
    }
}
.stat-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    padding: 28px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid #e9ecef;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.stat-card:hover::before {
    transform: scaleX(1);
}
.stat-card.pending:hover { 
    box-shadow: 0 12px 40px rgba(253, 126, 20, 0.2);
}
.stat-card.products:hover {
    box-shadow: 0 12px 40px rgba(34, 139, 230, 0.2);
}
.stat-card.earnings:hover {
    box-shadow: 0 12px 40px rgba(64, 192, 87, 0.2);
}
.stat-card.rate:hover {
    box-shadow: 0 12px 40px rgba(121, 80, 242, 0.2);
}
.stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
.stat-icon.pending { background: linear-gradient(135deg, #fff4e6 0%, #ffe8cc 100%); color: #fd7e14; box-shadow: 0 4px 15px rgba(253, 126, 20, 0.2); }
.stat-icon.products { background: linear-gradient(135deg, #e7f5ff 0%, #cceeff 100%); color: #228be6; box-shadow: 0 4px 15px rgba(34, 139, 230, 0.2); }
.stat-icon.earnings { background: linear-gradient(135deg, #ebfbee 0%, #d4edda 100%); color: #40c057; box-shadow: 0 4px 15px rgba(64, 192, 87, 0.2); }
.stat-icon.rate { background: linear-gradient(135deg, #f3f0ff 0%, #e7e3ff 100%); color: #7950f2; box-shadow: 0 4px 15px rgba(121, 80, 242, 0.2); }

.stat-content .stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
    line-height: 1.2;
}
.stat-content .stat-label {
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Store Management Items */
.store-mgmt-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #fff;
    margin-bottom: 16px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eee;
    transition: border-color 0.2s;
}
@media (max-width: 768px) {
    .store-mgmt-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .store-mgmt-card > div:first-child { width: 100%; }
    .store-mgmt-card > div:last-child {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 8px;
    }
    .store-mgmt-card > div:last-child .view-btn { flex: 1 1 auto; min-width: 100px; }
}

.store-mgmt-card:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.filter-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.filter-select {
    padding: 10px 15px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-size: 14px;
    outline: none;
    background: #fff;
}

/* Responsive adjustments for tables and forms */
@media (max-width: 768px) {
    /* Stock Management Table */
    .stock-table th:nth-child(1), .stock-table td:nth-child(1) { width: 60%; }
    .stock-table th:nth-child(3), .stock-table td:nth-child(3) { display: none; } /* Hide current stock display */
    .stock-table th:nth-child(4), .stock-table td:nth-child(4) { width: 40%; }
    .stock-input-group {
        flex-wrap: wrap;
        justify-content: center;
    }
    .stock-input {
        width: 100%;
        margin-top: 5px;
        margin-bottom: 5px;
    }
    .btn-adj { flex-grow: 1; }

    /* Order Item Details (for orders.view.php) */
    .order-item-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .order-item-details > div:last-child { text-align: left; }

    /* Order Actions (for orders.view.php) */
    .order-actions { flex-direction: column; }
    .order-actions .action-btn { width: 100%; }

    /* Order Tabs (for orders.view.php) */
    .order-tabs { justify-content: flex-start; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 5px; }
    .order-tabs .tab-btn { flex-shrink: 0; }
}

/* Product Attribute Input Rows (for add/edit product forms) */
@media (max-width: 600px) {
    .attribute-input-row { flex-direction: column; align-items: stretch; gap: 5px; }
    .attribute-input-row > div, .attribute-input-row button { width: 100%; }
}

/* Main Styles for UcuzAl */
*{margin:0;padding:0;box-sizing:border-box;font-family:'Poppins',sans-serif;}
body{background:#f4f6fb;color:#222;padding-bottom:100px;}
.logo{text-align:center;padding:10px 0 10px;}
.logo img{height:30px;}
.bottomnav-page-brand {
    display: block;
    padding: 20px 0 0;
    text-align: center;
}
.bottomnav-page-brand img {
    display: block;
    width: auto;
    height: 30px;
    margin: 0 auto;
}
@media screen and (max-width: 768px) {
	.logo img {
		height: 30px;
	}
	
}
.hero{text-align:center;padding:20px;}
.hero h1{font-size:28px;font-weight:700;color:#ff6a00;}
.hero p{margin-top:10px;color:#666;font-size:15px;}
.hero button{margin-top:20px;padding:14px 30px;border:none;border-radius:30px;background:linear-gradient(45deg,#ff6a00,#ff9900);color:#fff;font-weight:600;cursor:pointer;transition:.3s;}
.hero button:hover{transform:scale(1.05);}
.features{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;padding:30px;}
.card{background:#fff;padding:25px;border-radius:18px;box-shadow:0 10px 25px rgba(0,0,0,.05);text-align:center;transition:.3s;}
.card:hover{transform:translateY(-5px);}
.card i{font-size:28px;color:#ff6a00;margin-bottom:15px;}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
    gap: 16px;
    justify-content: center;
}
@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .product-card { border-radius: 14px; }
    .product-card .product-image { border-radius: 14px 14px 0 0; aspect-ratio: 1/1; }
    .product-card .product-info { padding: 11px; gap: 6px; }
    .product-card .product-title { font-size: 13px; }
    .product-card .product-price { font-size: 15px; }
    .product-card .fav-btn { width: 32px; height: 32px; top: 8px; right: 8px; font-size: 16px; }
    .product-card .view-btn { padding: 9px 7px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
	.product-card { transition: none; }
	.product-card:hover { transform: none; }
}
.store-card{background:#fff;padding:20px;border-radius:20px;box-shadow:0 15px 35px rgba(0,0,0,.06);transition:.3s;}
.store-card:hover{transform:translateY(-8px);box-shadow:0 20px 45px rgba(0,0,0,.1);}
.store-header{display:flex;align-items:center;margin-bottom:15px;}
.store-avatar{width:60px;height:60px;border-radius:15px;background:linear-gradient(45deg,#ff6a00,#ff9900);display:flex;align-items:center;justify-content:center;color:#fff;font-size:22px;font-weight:600;margin-right:15px;}
.store-name{font-size:18px;font-weight:600;}
.store-domain{font-size:13px;color:#888;}
.badges{margin:10px 0;}
.badge{display:inline-block;padding:5px 10px;border-radius:20px;background:#f1f1f1;font-size:12px;margin:3px 5px 0 0;}
.store-meta{display:flex;justify-content:space-between;align-items:center;margin-top:15px;}
.products-count{font-size:14px;color:#666;}
.view-btn{padding:8px 15px;border-radius:20px;background:#ff6a00;color:#fff;text-decoration:none;font-size:11px;}
.add-store-btn{margin-top:40px;padding:15px 35px;border:none;border-radius:30px;background:linear-gradient(45deg,#ff6a00,#ff9900);color:#fff;font-weight:600;cursor:pointer;}
.bottomnav{position:fixed;bottom:0;left:0;width:100%;background:#fff;display:flex;justify-content:space-around;padding:12px 0;box-shadow:0 -5px 15px rgba(0,0,0,.05);z-index:1000;}
.navitem{text-align:center;color:#888;font-size:11px;cursor:pointer;position:relative;flex:1;white-space:nowrap;}
.navitem i{display:block;font-size:20px;margin-bottom:5px;}
.navitem.active{color:#ff6a00;}

#wizard{position:fixed;top:0;left:0;width:100%;height:100%;background:#f4f6fb;display:none;overflow:auto;padding:30px 20px;z-index:999;}
.wizard-box{max-width:500px;margin:40px auto;background:#fff;padding:30px;border-radius:20px;box-shadow:0 10px 30px rgba(0,0,0,.08);}
.wizard-box input,.wizard-box select{width:100%;padding:12px;margin-bottom:15px;border-radius:10px;border:1px solid #ddd;}
.wizard-box button{padding:12px 20px;border:none;border-radius:20px;background:#ff6a00;color:#fff;cursor:pointer;}
.close-btn{text-align:right;margin-bottom:10px;cursor:pointer;color:#888;}
/* Premium Badge for Stores */
.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(45deg, #FFD700, #FFA500); /* Golden gradient */
    color: #333; /* Dark text for contrast */
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    margin-left: 8px;
    box-shadow: 0 2px 6px rgba(255, 215, 0, 0.3);
    text-transform: uppercase;
}
.premium-badge i {
    font-size: 9px;
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 10px;
        padding: 0 10px; /* Adjust padding for smaller screens */
    }
    .search-container {
        width: 100%; /* Ensure search container takes full width on mobile */
        max-width: none; /* Remove max-width constraint on mobile */
    }
    .search-bar {
        padding-right: 130px; /* Refined for mobile */
        font-size: 14px;
        border-radius: 12px;
    }
    .search-right-elements {
        right: 12px;
        gap: 6px;
    }
    .location-display {
        font-size: 10px;
        max-width: 95px;
    }
    .header-container .logo img { /* From previous inline style in index.view.php */
        height: 30px !important;
    }
}

/* Refine premium-lock-tag for consistency */
.premium-lock-tag {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #333;
    box-shadow: 0 2px 6px rgba(255, 215, 0, 0.3);
}

/* Store profile */
.store-hero {
    height: 180px;
    margin-bottom: -58px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 20%, rgba(255,255,255,.22), transparent 25%),
        radial-gradient(circle at 10% 100%, rgba(255,255,255,.14), transparent 30%),
        var(--primary-gradient);
}
.store-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: .13;
    background-image: radial-gradient(rgba(255,255,255,.8) 1px, transparent 1px);
    background-size: 20px 20px;
}
.store-profile-header {
    position: relative;
    z-index: 1;
    display: block;
    margin-bottom: 38px;
    padding: 28px;
    text-align: left;
    border: 1px solid #edf0f4;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(28, 39, 60, .08);
}
.store-profile-main {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.store-profile-avatar {
    flex: 0 0 88px;
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #ffe3d0;
    border-radius: 22px;
    background: #fff7f1;
    color: var(--primary);
    font-size: 32px;
}
.store-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.store-profile-info {
    flex: 1;
    min-width: 0;
}
.store-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.store-title-row h1 {
    margin: 0;
    color: #202631;
    font-size: clamp(22px, 3vw, 30px);
    line-height: 1.2;
    overflow-wrap: anywhere;
}
.store-title-row .premium-badge { margin-left: 0; }
.store-location-line {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    color: #737d8b;
    font-size: 14px;
}
.store-location-line i { color: var(--primary); }
.store-description {
    margin: 16px 0 0;
    color: #626d7a;
    font-size: 14px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}
.share-store-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid #e7eaf0;
    border-radius: 12px;
    background: #fff;
    color: #4c5665;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, border-color .2s, color .2s;
}
.share-store-btn:hover {
    border-color: #ffd5bd;
    background: #fff7f1;
    color: var(--primary);
}
.store-contact-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}
.store-contact-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 18px;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: transform .2s, box-shadow .2s;
}
.store-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 16px rgba(0,0,0,.12);
}
.store-call-btn { background: var(--primary-gradient); }
.store-whatsapp-btn { background: #1fae62; }
.store-map-btn { background: #26364a; }
.store-social-link {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e7eaf0;
    border-radius: 12px;
    background: #fff;
    color: #475467;
    font-size: 17px;
    text-decoration: none;
    transition: border-color .2s, color .2s, background .2s;
}
.store-social-link:hover {
    border-color: #ffd5bd;
    background: #fff7f1;
    color: var(--primary);
}
.store-address-card {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid #edf0f4;
    border-radius: 15px;
    background: #f9fafc;
    color: inherit;
    text-decoration: none;
    transition: border-color .2s, background .2s;
}
.store-address-card:hover {
    border-color: #ffd5bd;
    background: #fffaf7;
}
.store-address-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #fff0e6;
    color: var(--primary);
}
.store-address-copy {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.store-address-copy strong { font-size: 13px; }
.store-address-copy span { color: #697586; font-size: 13px; overflow-wrap: anywhere; }
.store-address-link {
    flex: 0 0 auto;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
}
.store-address-link i { margin-left: 4px; }
.store-profile-stats {
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid #f0f1f4;
    color: #697586;
    font-size: 13px;
}
.store-profile-stats i { margin-right: 6px; color: var(--primary); }
.store-search-bar {
    display: flex;
    align-items: center;
    padding: 5px 5px 5px 16px;
    border: 1px solid #e9edf2;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,.03);
}
.store-search-bar input {
    min-width: 0;
    padding: 10px;
    flex: 1;
    border: 0;
    outline: none;
    font: inherit;
    font-size: 14px;
}
.store-search-bar i { color: #8993a1; }
@media (max-width: 768px) {
    .store-hero { height: 130px; margin-bottom: -44px; border-radius: 18px; }
    .store-profile-header { padding: 20px; margin-bottom: 30px; border-radius: 19px; }
    .store-profile-main { gap: 14px; }
    .store-profile-avatar { flex-basis: 64px; width: 64px; height: 64px; border-radius: 17px; font-size: 25px; }
    .share-store-btn { padding: 9px 11px; }
}
@media (max-width: 520px) {
    .store-profile-main { flex-wrap: wrap; }
    .store-profile-info { flex-basis: calc(100% - 82px); }
    .share-store-btn { margin-left: auto; }
    .store-contact-row { gap: 8px; }
    .store-contact-btn { min-height: 42px; padding: 0 13px; font-size: 13px; }
    .store-social-link { width: 40px; height: 40px; }
    .store-address-card { align-items: flex-start; padding: 12px; }
    .store-address-link { display: none; }
    .store-search-bar { min-width: 100% !important; }
}
@media (prefers-reduced-motion: reduce) {
    .store-contact-btn, .store-social-link, .store-address-card, .share-store-btn { transition: none; }
    .store-contact-btn:hover { transform: none; }
}

/* Storefront profile */
.store-hero { display: none; }
.store-page { padding-bottom: 24px; }
.store-page .container { padding-top: 10px; padding-bottom: 30px; }
.store-page-appbar {
    min-height: 58px;
    display: grid;
    grid-template-columns: minmax(34px, 1fr) auto minmax(34px, 1fr);
    align-items: center;
    gap: 10px;
    padding: 0 22px;
    border-bottom: 1px solid #edf0f4;
    background: #fff;
    color: #262626;
    font-size: 16px;
    font-weight: 600;
}
.store-page-back {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    border: 0;
    border-radius: 10px;
    color: #4b5563;
    background: #f4f6f9;
    font-size: 16px;
    text-decoration: none;
    transition: background .15s, border-color .15s, color .15s;
}
.store-page-appbar h1 {
    min-width: 0;
    max-width: min(60vw, 600px);
    margin: 0;
    color: inherit;
    font-size: 16px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.store-appbar-title {
    min-width: 0;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}
.store-verified-badge {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #3897f0;
    color: #fff;
    font-size: 10px;
    line-height: 1;
    clip-path: polygon(
        50% 0%, 61% 7%, 74% 3%, 81% 15%, 95% 20%, 93% 35%,
        100% 50%, 93% 64%, 96% 78%, 82% 84%, 76% 97%, 62% 93%,
        50% 100%, 38% 93%, 24% 97%, 18% 84%, 4% 78%, 7% 64%,
        0% 50%, 7% 36%, 4% 21%, 18% 16%, 25% 3%, 39% 7%
    );
}
.store-page-back:hover {
    background: #fff7f1;
    color: var(--primary);
}
.store-profile-header {
    display: block;
    max-width: 980px;
    margin: 0 auto 30px;
    padding: 0 0 22px;
    text-align: left;
    border: 1px solid #e9edf2;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(31, 41, 55, .045);
    overflow: hidden;
}
.store-profile-main {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    align-items: center;
    gap: 30px;
    padding: 28px 32px 22px;
}
.store-profile-avatar {
    width: 132px;
    height: 132px;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    overflow: hidden;
    border: 1px solid #f0e9e4;
    border-radius: 26px;
    background: #fff7f1;
    color: var(--primary);
    font-size: 54px;
}
.store-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.store-profile-info { min-width: 0; }
.share-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    background: #efefef;
    color: #262626;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.store-page-appbar .share-store-btn { justify-self: end; }
.share-store-btn:hover { background: #e4e4e4; }
.store-profile-stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 26px;
    margin: 0 0 16px;
    color: #262626;
    font-size: 15px;
}
.store-profile-stats > span,
.store-profile-stats > a {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    color: #262626;
    text-decoration: none;
}
.store-profile-stats strong { font-size: 17px; font-weight: 700; }
.store-profile-stats small { color: #626d7a; font-size: 13px; }
.store-profile-stats i { align-self: center; color: var(--primary); font-size: 13px; }
.store-profile-stats a small {
    max-width: min(48vw, 360px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.store-profile-stats a:hover small { color: var(--primary); text-decoration: underline; }
.store-description {
    color: #262626;
    font-size: 14px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}
.store-description p { margin: 0; color: #505967; }
.store-profile-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0 32px 0;
}
.store-social-link {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbdbdb;
    border-radius: 50%;
    background: #fff;
    color: #262626;
    font-size: 14px;
    text-decoration: none;
}
.store-social-link.is-unavailable {
    border-color: #e9edf2;
    background: #f7f8fa;
    color: #a0a7b2;
}
.store-social-link:hover { border-color: #a8a8a8; background: #fafafa; }
.store-contact-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 32px 16px;
}
.store-contact-btn {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #fff;
    background: var(--primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: background .15s, box-shadow .15s;
}
.store-contact-btn:hover { box-shadow: 0 4px 10px rgba(31,41,55,.12); }
.store-whatsapp-btn { background: #16894e; }
.store-whatsapp-btn:hover { background: #117542; }
.store-profile-links:empty { display: none; }
.store-social-link { border-radius: 9px; }
.store-search-bar {
    display: flex;
    align-items: center;
    padding: 5px 5px 5px 16px;
    border: 1px solid #dbdbdb;
    border-radius: 8px;
    background: #fff;
}
.store-search-bar input {
    min-width: 0;
    padding: 10px;
    flex: 1;
    border: 0;
    outline: none;
    font: inherit;
    font-size: 14px;
}
.store-search-bar i { color: #737373; }
.store-products-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 auto 18px;
    max-width: 980px;
}
.store-products-heading h2 {
    margin: 0;
    color: #252a31;
    font-size: 19px;
    font-weight: 700;
}
.store-products-heading .store-search-bar {
    min-width: 280px;
    margin: 0;
}
@media (max-width: 768px) {
    .store-profile-header {
        display: block;
        flex-direction: initial;
        margin: 0 auto 20px;
        padding: 0 0 18px;
        text-align: left;
    }
    .store-page-appbar { padding: 0 16px; }
    .store-profile-main { grid-template-columns: 110px minmax(0, 1fr); gap: 20px; padding: 22px 20px 18px; }
    .store-profile-avatar { width: 100px; height: 100px; border-radius: 21px; font-size: 38px; }
    .store-profile-stats { gap: 18px; margin: 0 0 12px; }
    .store-contact-row { margin-right: 20px; margin-left: 20px; }
    .store-profile-links { margin-right: 20px; margin-left: 20px; }
    .store-products-heading { margin-bottom: 14px; }
}
@media (max-width: 520px) {
    .store-profile-header { margin-top: 0; padding-bottom: 16px; border-radius: 13px; }
    .store-page-appbar { min-height: 52px; padding: 0 12px; gap: 6px; }
    .store-page-back { width: 32px; height: 32px; flex-basis: 32px; }
    .store-page-appbar h1 { font-size: 14px; }
    .store-page-appbar h1 { max-width: 52vw; }
    .store-verified-badge { width: 17px; height: 17px; flex-basis: 17px; font-size: 9px; }
    .store-page-appbar .share-store-btn { width: 34px; min-height: 34px; justify-content: center; padding: 0; }
    .store-page-appbar .share-store-btn span { display: none; }
    .store-profile-main { grid-template-columns: 74px minmax(0, 1fr); gap: 14px; padding: 18px 14px 14px; }
    .store-profile-avatar { width: 70px; height: 70px; border-radius: 18px; font-size: 26px; }
    .store-profile-stats { gap: 12px; margin-bottom: 8px; }
    .store-profile-stats strong { font-size: 15px; }
    .store-profile-stats small { font-size: 11px; }
    .store-description { font-size: 12px; line-height: 1.5; }
    .store-contact-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 14px 14px; }
    .store-contact-btn { min-height: 38px; padding: 0 8px; font-size: 12px; }
    .store-profile-links { margin: 0 14px; }
    .store-social-link { width: 32px; height: 32px; }
    .store-products-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
    .store-products-heading .store-search-bar { width: 100%; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .store-contact-btn, .store-page-back { transition: none; }
}

/* Single product page */
.product-page-header {
    min-height: 58px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-bottom: 1px solid #eceef2;
}

.product-page-logo {
    display: inline-flex;
    align-items: center;
}

.product-page-logo img {
    display: block;
    width: auto;
    height: 30px;
}

.product-page-container {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 16px 12px 28px;
}

.product-back-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 40px;
    margin: 0 0 12px 2px;
    color: #626b78;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.product-back-link:hover {
    color: var(--primary);
}

.product-detail-card {
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    background: var(--card-bg);
    border: 1px solid #eceef2;
    border-radius: 20px;
    box-shadow: 0 8px 28px rgba(25, 35, 55, 0.07);
}

.product-detail-media {
    min-width: 0;
    overflow: hidden;
    background: #f8f8f7;
}

.product-detail-image {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.product-detail-content {
    min-width: 0;
    padding: 20px 18px 24px;
}

.product-store-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    color: var(--text-muted);
    font-size: 13px;
}

.product-store-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.product-store-link:hover {
    color: #e85f00;
}

.product-store-location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.product-store-location i {
    color: var(--primary);
}

.product-detail-title {
    margin: 16px 0 8px;
    color: var(--text-main);
    font-size: clamp(21px, 5vw, 29px);
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.product-detail-price {
    margin-bottom: 22px;
    color: var(--primary);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
}

.product-purchase-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.product-variant-options {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

.product-variant-option {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.product-option-label,
.product-quantity-row label {
    color: #454b55;
    font-size: 13px;
    font-weight: 600;
}

.product-option-select {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #dfe2e7;
    border-radius: 12px;
    background: #fff;
    color: var(--text-main);
    font: inherit;
    font-size: 14px;
}

.product-option-select:focus,
.product-quantity-row input:focus {
    border-color: var(--primary);
    outline: 3px solid rgba(255, 106, 0, 0.12);
}

.product-quantity-row {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 44px;
}

.product-quantity-row input {
    width: 82px;
    min-height: 44px;
    padding: 8px;
    border: 1px solid #dfe2e7;
    border-radius: 12px;
    text-align: center;
    font: inherit;
    font-size: 15px;
}

.product-form-message {
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
}

.product-form-message-error {
    color: #c62828;
}

.product-add-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 52px;
    margin: 2px 0 0;
    padding: 12px 18px;
    border: 0;
    border-radius: 14px;
    background: var(--primary-gradient);
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(255, 106, 0, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.product-add-button:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 9px 20px rgba(255, 106, 0, 0.28);
}

.product-add-button:focus-visible {
    outline: 3px solid rgba(255, 106, 0, 0.3);
    outline-offset: 3px;
}

.product-add-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
}

.product-description {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eceef2;
}

.product-description h2 {
    margin-bottom: 8px;
    color: #343a44;
    font-size: 16px;
    font-weight: 600;
}

.product-description p {
    color: #66707d;
    font-size: 14px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.detail-rating-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    color: #6c737f;
    font-size: 13px;
    text-decoration: none;
}

.detail-rating-link strong { color: #333; }

.reviews-section {
    margin-top: 24px;
    padding: clamp(18px, 4vw, 32px);
    border: 1px solid #eceef2;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(24, 33, 48, 0.04);
    scroll-margin-top: 24px;
}

.reviews-heading,
.review-card-heading,
.review-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.reviews-heading { margin-bottom: 20px; }
.reviews-heading h2 { margin: 0 0 4px; color: #272b33; font-size: 20px; }
.reviews-heading p { margin: 0; color: #7a808a; font-size: 13px; }
.reviews-overview { display: grid; justify-items: center; gap: 3px; }
.reviews-overview strong { color: #252a32; font-size: 24px; }
.reviews-overview small { color: #7a808a; }

.review-form {
    margin: 0 0 22px;
    padding: 20px;
    border: 1px solid #f0e4da;
    border-radius: 16px;
    background: #fffaf6;
}

.review-form h3 { margin: 0 0 10px; color: #353a43; font-size: 16px; }
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
    margin: 0 0 16px;
    padding: 0;
    border: 0;
}
.star-rating input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.star-rating label { color: #d5d8de; font-size: 30px; line-height: 1; cursor: pointer; }
.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label { color: #f5a623; }
.star-rating input:focus-visible + label { outline: 2px solid var(--primary); outline-offset: 3px; }
.review-comment-label { display: block; margin-bottom: 7px; color: #454b55; font-size: 13px; font-weight: 600; }
.review-form textarea {
    display: block;
    width: 100%;
    min-height: 110px;
    box-sizing: border-box;
    padding: 12px 14px;
    resize: vertical;
    border: 1px solid #dfe2e7;
    border-radius: 12px;
    background: #fff;
    color: #252a32;
    font: inherit;
    font-size: 14px;
}
.review-form textarea:focus { border-color: var(--primary); outline: 3px solid rgba(255, 106, 0, .12); }
.review-form-footer { margin-top: 12px; }
.review-form-footer small { color: #7a808a; font-size: 11px; }
.review-form-footer .view-btn { min-height: 42px; padding: 10px 18px; border: 0; border-radius: 12px; color: #fff; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }

.review-eligibility,
.reviews-empty,
.review-notice {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f5f6f8;
    color: #626a76;
    font-size: 13px;
    line-height: 1.6;
}
.review-eligibility a { color: var(--primary); font-weight: 600; }
.review-notice.success { background: #eaf7ef; color: #267243; }
.review-notice.error { background: #fff0ed; color: #b5412b; }
.review-list { display: grid; gap: 12px; }
.review-card { padding: 16px; border: 1px solid #eceef2; border-radius: 14px; background: #fff; }
.review-card-heading strong { color: #343a44; font-size: 14px; }
.review-card-heading time { color: #9298a2; font-size: 12px; }
.review-card-stars { margin-top: 8px; color: #f5a623; letter-spacing: 2px; }
.review-card p { margin: 8px 0 0; color: #555e69; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }

@media (max-width: 520px) {
    .reviews-heading { align-items: flex-start; }
    .review-form { padding: 15px; }
    .review-form-footer { align-items: flex-start; flex-direction: column; }
}

@media (min-width: 700px) {
    .product-page-container {
        padding: 28px 24px 40px;
    }

    .product-back-link {
        margin-bottom: 16px;
    }

    .product-detail-card {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        border-radius: 24px;
    }

    .product-detail-media {
        align-self: stretch;
    }

    .product-detail-image {
        height: 100%;
        min-height: 540px;
        aspect-ratio: auto;
    }

    .product-detail-content {
        padding: 36px clamp(28px, 4vw, 52px);
    }

    .product-variant-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 380px) {
    .product-page-container {
        padding-right: 8px;
        padding-left: 8px;
    }

    .product-detail-card {
        border-radius: 16px;
    }

    .product-detail-content {
        padding: 18px 14px 22px;
    }
}

/* New Styles for /stores page */
.featured-stores-section {
    margin: 40px 0 60px 0;
    padding: 35px;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
    position: relative;
}

.featured-stores-section h2 i {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.featured-stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.featured-store-card {
    background: #fff;
    border-radius: 24px;
    border: 1px solid #f2f2f2;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.featured-store-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 106, 0, 0.12);
    border-color: rgba(255, 106, 0, 0.2);
}

.featured-store-card .store-header {
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 15px;
}

.featured-store-card .store-header .store-avatar {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    font-size: 22px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    background: #fff6f0;
    border: 1px solid #ffe6d5;
    color: var(--primary);
}

.featured-store-card .store-header .store-name {
    font-size: 17px;
    font-weight: 700;
    color: #222;
    line-height: 1.2;
}

.featured-store-card .store-location {
    font-size: 12px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
    font-weight: 400;
}

.featured-store-card .product-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 0 20px;
    margin-bottom: 20px;
}

.featured-store-card .product-preview img {
    width: 100%;
    aspect-ratio: 1/1;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    background: #f8f9fa;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.featured-store-card:hover .product-preview img {
    transform: scale(1.05);
}

.featured-store-card .store-footer {
    padding: 0 20px 20px;
    margin-top: auto;
}

.featured-store-card .store-footer .view-btn {
    width: 100%;
    background: #f8f9fa;
    color: #333;
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 12px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.featured-store-card:hover .view-btn {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(255, 106, 0, 0.3);
}

/* Filter and Sort */
.filter-sort-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
    background: #fff;
    padding: 16px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.filter-item {
    position: relative;
    display: flex;
    align-items: center;
}

.filter-item i {
    position: absolute;
    left: 14px;
    color: var(--primary);
    font-size: 14px;
    pointer-events: none;
    z-index: 1;
}

.filter-item::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 14px;
    font-size: 10px;
    color: #aaa;
    pointer-events: none;
}

.filter-sort-bar select {
    padding: 10px 32px 10px 38px;
    border-radius: 12px;
    border: 1px solid #eee;
    font-size: 14px;
    outline: none;
    background: #f8f9fa;
    color: #444;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 175px;
    appearance: none;
    -webkit-appearance: none;
}

.filter-search-input {
    padding: 10px 15px 10px 38px;
    border-radius: 12px;
    border: 1px solid #eee;
    font-size: 14px;
    outline: none;
    background: #f8f9fa;
    color: #444;
    width: 200px;
    transition: all 0.2s;
    font-family: inherit;
}

.filter-sort-bar select:hover {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.05);
}

/* Load More Button */
.load-more-btn {
    display: block;
    width: fit-content;
    margin: 40px auto 20px auto;
    padding: 12px 30px;
    border-radius: 30px;
    background: var(--primary-gradient);
    color: #fff;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}
.load-more-btn:hover {
    opacity: 0.9;
}
.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(45deg, #FFD700, #FFA500); /* Golden gradient */
    color: #333; /* Dark text for contrast */
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    margin-left: 8px;
    box-shadow: 0 2px 6px rgba(255, 215, 0, 0.3);
    text-transform: uppercase;
}
.premium-badge i {
    font-size: 9px;
}

/* Refine premium-lock-tag for consistency */
.premium-lock-tag {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #333;
    box-shadow: 0 2px 6px rgba(255, 215, 0, 0.3);
}
