/* ===== CSS Reset & Variables ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --accent: #16a34a;
    --accent-dark: #15803d;
    --danger: #dc2626;
    --text: #1e293b;
    --text-light: #64748b;
    --bg: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
    --radius: 12px;
    --radius-sm: 8px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== Header ===== */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.logo i {
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

/* ===== Hero / Search Section ===== */
.hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 1.5rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.hero p {
    opacity: 0.9;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.hero-cta {
    max-width: 800px;
    margin: 1rem auto 0;
    padding: 0 1.5rem;
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta .btn-primary,
.hero-cta .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    min-width: 200px;
}

.hero-cta .btn-primary {
    background: var(--white);
    color: var(--primary);
}

.hero-cta .btn-primary:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.hero-cta .btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--white);
}

.hero-cta .btn-secondary:hover {
    background: transparent;
    color: var(--white);
}

.search-bar {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.search-bar input,
.search-bar select {
    flex: 1;
    min-width: 200px;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: var(--font);
    outline: none;
}

.search-bar input:focus,
.search-bar select:focus {
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

.search-bar button {
    padding: 0.75rem 1.5rem;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.search-bar button:hover {
    background: var(--accent-dark);
}

/* ===== Toolbar ===== */
.toolbar {
    max-width: 1200px;
    margin: 1.5rem auto 0;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.view-toggle {
    display: flex;
    gap: 0.25rem;
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 0.25rem;
    box-shadow: var(--shadow);
}

.view-toggle button {
    padding: 0.5rem 1rem;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-light);
    transition: all 0.2s;
}

.view-toggle button.active {
    background: var(--primary);
    color: var(--white);
}

.result-count {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== Main Content ===== */
.main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
}

/* ===== Card Grid ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.card-img-placeholder {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--primary-light), #ede9fe);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 3rem;
}

.card-body {
    padding: 1rem;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}

.status-dot-open {
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

.status-dot-closed {
    background: var(--danger);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.1);
    }
}

.card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--text);
}

.card-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.35rem;
    font-size: 0.85rem;
}
.card-rating span {
    font-weight: 600;
    color: var(--text);
}
.card-rating small {
    color: var(--text-light);
    font-weight: 400;
}

.card-body .kategori {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    margin-right: 0.35rem;
}

.status-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    margin-right: 0.35rem;
}

.status-badge i {
    font-size: 0.5rem;
    margin-right: 0.25rem;
    vertical-align: middle;
}

.status-open {
    background: #dcfce7;
    color: var(--accent-dark);
}

.status-closed {
    background: #fee2e2;
    color: var(--danger);
}

.card-body .alamat {
    color: var(--text-light);
    font-size: 0.85rem;
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
}

.card-body .alamat i {
    margin-top: 0.15rem;
    font-size: 0.75rem;
}

/* ===== Map View ===== */
#grid-view {
    display: none !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

#grid-view.active {
    display: grid !important;
}

#map-view {
    display: none !important;
    height: 500px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

#map-view.active {
    display: block !important;
}

#nearby-view {
    display: none !important;
}

#nearby-view.active {
    display: block !important;
}

.leaflet-popup-content-wrapper {
    border-radius: var(--radius-sm);
}

.popup-content h4 {
    margin-bottom: 0.25rem;
    color: var(--text);
}

.popup-content .popup-kategori {
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.popup-content a {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    background: var(--primary);
    color: var(--white);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ===== Detail Page ===== */
.detail-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.detail-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.detail-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary-light), #ede9fe);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.detail-img-placeholder {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, var(--primary-light), #ede9fe);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 5rem;
}

.detail-body {
    padding: 2rem;
}

.detail-body h1 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.operating-hours {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg);
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary);
}

.operating-hours i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 0.15rem;
}

.operating-hours strong {
    color: var(--text);
    font-size: 0.95rem;
    display: block;
    margin-bottom: 0.25rem;
}

.operating-hours span {
    color: var(--text);
    font-size: 0.9rem;
}

.operating-hours small {
    color: var(--text-light);
    font-size: 0.8rem;
}

.detail-body .kategori {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.detail-body .deskripsi {
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.detail-body .alamat-detail {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg);
    border-radius: var(--radius-sm);
}

.detail-body .alamat-detail i {
    color: var(--primary);
    margin-top: 0.15rem;
}

#detail-map {
    display: none;
}

.btn-location {
    background: var(--primary);
    color: var(--white);
}

.btn-location:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.btn-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    font-family: var(--font);
}

.btn-wa {
    background: var(--accent);
    color: var(--white);
}

.btn-wa:hover {
    background: var(--accent-dark);
    color: var(--white);
}

.btn-back {
    background: var(--white);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-back:hover {
    background: var(--bg);
    color: var(--text);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.btn-danger {
    background: var(--danger);
    color: var(--white);
}

.btn-danger:hover {
    background: #b91c1c;
    color: var(--white);
}

/* ===== Admin ===== */
.admin-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.admin-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
}

.admin-card h2 {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.admin-table th,
.admin-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.admin-table th {
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-table tr:hover {
    background: var(--bg);
}

.admin-table .actions {
    display: flex;
    gap: 0.5rem;
}

.admin-table .actions a,
.admin-table .actions button {
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-size: 0.8rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
}

.admin-table .actions .edit {
    background: var(--primary-light);
    color: var(--primary);
}

.admin-table .actions .delete {
    background: #fee2e2;
    color: var(--danger);
}

/* ===== Form ===== */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--text);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: var(--font);
    transition: border-color 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

#pick-map {
    height: 250px;
    border-radius: var(--radius-sm);
    margin-top: 0.5rem;
    overflow: hidden;
}

.map-hint {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.4rem 0.75rem;
    background: var(--bg);
    border-radius: 6px;
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.checkbox-label:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"]:checked + span {
    color: var(--primary);
    font-weight: 600;
}

/* ===== Login ===== */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 1.5rem;
}

.login-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
}

.login-card h2 {
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.login-card .subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.login-card .btn {
    width: 100%;
    justify-content: center;
}

.alert {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.alert-danger {
    background: #fee2e2;
    color: var(--danger);
    border: 1px solid #fecaca;
}

.alert-success {
    background: #dcfce7;
    color: var(--accent-dark);
    border: 1px solid #bbf7d0;
}

/* ===== Footer ===== */
.footer {
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 1.5rem 0;
    margin-top: 3rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== Empty State ===== */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-light);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    margin-bottom: 0.5rem;
    color: var(--text);
}

/* ===== Loading ===== */
.loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
}

.spinner {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== Nearby View ===== */
.nearby-header-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-md);
}

.nearby-header-banner i {
    font-size: 2rem;
    opacity: 0.9;
}

.nearby-header-banner strong {
    font-size: 1.05rem;
}

.nearby-header-banner small {
    opacity: 0.85;
    font-size: 0.85rem;
}

.nearby-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.nearby-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    position: relative;
}

.nearby-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nearby-rank {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.nearby-img {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: var(--primary-light);
}

.nearby-img-placeholder {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary-light), #ede9fe);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.75rem;
}

.nearby-info {
    flex: 1;
    min-width: 0;
}

.nearby-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.nearby-header h4 {
    font-size: 1rem;
    color: var(--text);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nearby-kategori {
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.nearby-address {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.35rem;
}

.nearby-address i {
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.nearby-address span {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.nearby-distance {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--accent-dark);
    background: #dcfce7;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    width: fit-content;
}

.nearby-distance i {
    font-size: 0.75rem;
}

.nearby-nav-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: background 0.2s;
    text-decoration: none;
}

.nearby-nav-btn:hover {
    background: var(--primary-dark);
    color: var(--white);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.25rem;
    }

    .hero p {
        font-size: 0.85rem;
    }

    .search-bar {
        flex-direction: column;
    }

    .search-bar input,
    .search-bar select,
    .search-bar button {
        min-width: unset;
        width: 100%;
    }

    .hero-cta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        width: 100%;
        min-width: unset;
        font-size: 0.85rem;
        padding: 0.45rem 0.85rem;
    }

    .toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .view-toggle {
        justify-content: center;
    }

    .card-grid,
    #grid-view {
        grid-template-columns: 1fr;
    }

    .detail-body {
        padding: 1.25rem;
    }

    .detail-body h1 {
        font-size: 1.35rem;
    }

    .detail-img,
    .detail-img-placeholder {
        height: 220px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .admin-table {
        font-size: 0.8rem;
    }

    .admin-table th,
    .admin-table td {
        padding: 0.5rem;
    }

    .header-inner {
        flex-direction: column;
        gap: 0.75rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .btn-group {
        flex-direction: column;
    }

    .btn-group .btn {
        justify-content: center;
    }

    .nearby-card {
        flex-wrap: wrap;
    }

    .nearby-img,
    .nearby-img-placeholder {
        width: 60px;
        height: 60px;
    }

    .nearby-rank {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .nearby-nav-btn {
        width: 40px;
        height: 40px;
    }
}

/* Tablet */
@media (max-width: 900px) {
    .cta-card {
        gap: 1.5rem;
    }

    .cta-visual {
        width: 160px;
        height: 160px;
    }

    .cta-icon-large {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .main {
        padding: 1rem;
    }

    .card-body h3 {
        font-size: 1rem;
    }
}

/* ===== Modal ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1.5rem;
    animation: fadeIn 0.3s ease;
}

.modal-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem;
    max-width: 500px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    text-align: center;
    animation: slideUp 0.3s ease;
}

.modal-icon {
    font-size: 4rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.modal-card h2 {
    color: var(--accent-dark);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.modal-subtitle {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    text-align: left;
    background: var(--bg);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.data-table tr {
    border-bottom: 1px solid var(--border);
}

.data-table tr:last-child {
    border-bottom: none;
}

.data-table th {
    padding: 0.75rem 1rem;
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    width: 35%;
    white-space: nowrap;
}

.data-table td {
    padding: 0.75rem 1rem;
    color: var(--text);
    font-size: 0.9rem;
    word-break: break-word;
}

.modal-hint {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.modal-btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .modal-card {
        padding: 1.5rem;
    }

    .modal-icon {
        font-size: 3rem;
    }

    .modal-card h2 {
        font-size: 1.25rem;
    }

    .data-table th,
    .data-table td {
        padding: 0.6rem 0.75rem;
        font-size: 0.8rem;
    }

    .data-table th {
        width: 40%;
    }
}

/* ===== Gallery Styles ===== */
.gallery-upload-area {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--bg);
}
.gallery-upload-area:hover,
.gallery-upload-area.dragover {
    border-color: var(--primary);
    background: var(--primary-light);
}
.gallery-upload-area i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.gallery-upload-area p {
    margin: 0.25rem 0;
}

.gallery-hint {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    margin: 1rem 0;
    font-size: 0.875rem;
}
.gallery-hint i {
    margin-top: 2px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.gallery-item {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}
.gallery-item:hover {
    box-shadow: var(--shadow-md);
}
.gallery-item.dragging {
    opacity: 0.5;
    transform: scale(0.95);
}
.gallery-item.gallery-uploading {
    opacity: 0.7;
}

.gallery-img-wrap {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg);
}
.gallery-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 0.5rem;
    opacity: 0;
    transition: opacity 0.2s;
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-delete-btn {
    background: var(--danger);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}
.gallery-delete-btn:hover {
    background: #b91c1c;
}

.gallery-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 2rem;
    color: var(--primary);
}

.gallery-label-wrap {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem;
    border-top: 1px solid var(--border);
}
.gallery-label-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.85rem;
    padding: 0.25rem;
    background: transparent;
    font-family: var(--font);
}
.gallery-label-input:focus {
    background: var(--bg);
    border-radius: 4px;
}
.gallery-label-status {
    color: var(--accent);
    font-size: 0.75rem;
}

.gallery-drag-handle {
    position: absolute;
    bottom: 0.25rem;
    right: 0.25rem;
    color: var(--text-light);
    cursor: grab;
    padding: 0.25rem;
    font-size: 0.85rem;
    opacity: 0;
    transition: opacity 0.2s;
}
.gallery-item:hover .gallery-drag-handle {
    opacity: 0.7;
}
.gallery-drag-handle:hover {
    opacity: 1 !important;
}

.badge-mini {
    display: inline-block;
    background: var(--primary);
    color: white;
    font-size: 0.65rem;
    padding: 0.1rem 0.35rem;
    border-radius: 10px;
    margin-left: 0.25rem;
    font-weight: 600;
}

/* Gallery Showcase (detail page) */
.detail-gallery {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
}
.detail-gallery h3 {
    font-size: 1rem;
    margin: 0 0 0.75rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.gallery-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.75rem;
}
.gallery-showcase-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    background: var(--bg);
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}
.gallery-showcase-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.gallery-showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-showcase-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    color: white;
    font-size: 0.7rem;
    padding: 1rem 0.5rem 0.4rem;
    text-align: center;
}

/* Lightbox */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}
.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}
.lightbox-content img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 8px;
    object-fit: contain;
}
.lightbox-caption {
    text-align: center;
    color: white;
    margin-top: 0.75rem;
    font-size: 0.9rem;
}
.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.lightbox-close:hover {
    background: rgba(255,255,255,0.15);
}
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
.lightbox-nav:hover {
    background: rgba(255,255,255,0.3);
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    .gallery-showcase {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}

/* ===== Review Section ===== */
.review-section {
    background: var(--bg);
    padding: 2rem 0;
}
.review-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.review-header h2 {
    font-size: 1.25rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.review-header h2 i {
    color: #f59e0b;
}
.review-avg {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.review-avg-score {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
}
.review-stars {
    display: flex;
    gap: 2px;
}
.review-stars i {
    color: #f59e0b;
    font-size: 0.9rem;
}
.review-count {
    color: var(--text-light);
    font-size: 0.85rem;
}

.review-form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}
.review-form-card h3 {
    margin: 0 0 1rem;
    font-size: 1rem;
}
.review-form-card .form-group {
    margin-bottom: 1rem;
}
.review-form-card label {
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}
.review-form-card input[type="text"],
.review-form-card textarea {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: var(--font);
    transition: border-color 0.2s;
}
.review-form-card input[type="text"]:focus,
.review-form-card textarea:focus {
    outline: none;
    border-color: var(--primary);
}
.review-form-card textarea {
    min-height: 80px;
    resize: vertical;
}

/* Star Rating Input */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
}
.star-rating input {
    display: none;
}
.star-rating label {
    cursor: pointer;
    font-size: 1.5rem;
    color: #e2e8f0;
    transition: color 0.15s;
}
.star-rating label i {
    pointer-events: none;
}
.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #f59e0b;
}

/* Review List */
.review-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.review-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1rem;
}
.review-item-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}
.review-item-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.review-item-info {
    flex: 1;
}
.review-item-info strong {
    font-size: 0.9rem;
    display: block;
}
.review-item-stars {
    display: flex;
    gap: 2px;
    margin-top: 2px;
}
.review-item-stars i {
    font-size: 0.75rem;
}
.review-item-date {
    color: var(--text-light);
    font-size: 0.8rem;
    white-space: nowrap;
}
.review-item-comment {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.5;
    padding-left: calc(36px + 0.75rem);
}

@media (max-width: 640px) {
    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .review-item-comment {
        padding-left: 0;
        margin-top: 0.5rem;
    }
}

/* ===== New Homepage Design ===== */

/* Hero Section New */
.hero-new {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 3rem 1.5rem;
    text-align: center;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.hero-new h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

/* Hero Search Bar */
.hero-search-form {
    display: flex;
    gap: 0.5rem;
    max-width: 560px;
    margin: 0 auto 1rem;
    align-items: stretch;
}

.hero-search-inner {
    flex: 1;
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 0 1rem;
    box-shadow: var(--shadow-md);
}

.hero-search-icon {
    color: var(--text-light);
    font-size: 1rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.hero-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.95rem;
    font-family: var(--font);
    padding: 0.85rem 0;
    background: transparent;
    color: var(--text);
    min-width: 0;
}

.hero-search-input::placeholder {
    color: var(--text-light);
}

.hero-search-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1.5rem;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
    font-family: var(--font);
}

.hero-search-btn:hover {
    background: var(--accent-dark);
}

.btn-location-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    backdrop-filter: blur(4px);
    font-family: var(--font);
}

.btn-location-hero:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Section Styles */
.section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text);
    font-weight: 700;
}

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

.btn-lihat-semua {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.2s;
    text-decoration: none;
}

.btn-lihat-semua:hover {
    gap: 0.75rem;
    color: var(--primary-dark);
}

/* UMKM Grid */
.section-umkm-pilihan,
.section-umkm-kota,
.section-umkm-terbaru {
    padding: 2.5rem 0;
}

.section-umkm-terdekat {
    padding: 3rem 0 2.5rem;
}

.umkm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.umkm-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.umkm-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.umkm-card-img {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--primary-light);
}

.umkm-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.umkm-card:hover .umkm-card-img img {
    transform: scale(1.05);
}

.umkm-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), #ede9fe);
    color: var(--primary);
    font-size: 3rem;
}

.umkm-card-body {
    padding: 1rem;
}

.umkm-card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-weight: 600;
}

.umkm-card-kategori {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.umkm-card-alamat {
    color: var(--text-light);
    font-size: 0.85rem;
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    margin: 0;
}

.umkm-card-alamat i {
    margin-top: 0.15rem;
    font-size: 0.75rem;
}

/* Status Badge on Card */
.umkm-card-status {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.6rem;
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    backdrop-filter: blur(4px);
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.card-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.card-status-dot.status-dot-open {
    background: var(--accent);
    animation: pulse-dot 2s ease-in-out infinite;
}

.card-status-dot.status-dot-closed {
    background: var(--danger);
}

.card-status-text {
    font-size: 0.75rem;
    font-weight: 600;
}

.card-status-text.status-text-open {
    color: var(--accent-dark);
}

.card-status-text.status-text-closed {
    color: var(--danger);
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4); }
    50% { box-shadow: 0 0 0 4px rgba(22, 163, 74, 0); }
}

/* Rating */
.umkm-card-rating {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.4rem;
}

.rating-number {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text);
}

.rating-count {
    font-size: 0.8rem;
    color: var(--text-light);
}

.umkm-card-jarak {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0.5rem 0 0;
    padding: 0.35rem 0.6rem;
    background: #dcfce7;
    border-radius: 20px;
    width: fit-content;
}

.umkm-card-jarak i {
    font-size: 0.75rem;
}

/* Kategori Section */
.section-kategori {
    padding: 2.5rem 0;
    background: var(--bg);
}

.kategori-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.kategori-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.2s;
    text-decoration: none;
    color: var(--text);
    border: 1px solid transparent;
}

.kategori-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.kategori-card:hover .kategori-icon {
    transform: scale(1.15);
}

.kategori-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    transition: transform 0.2s;
}

.kategori-card p {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
}

.kategori-count {
    font-size: 0.75rem;
    color: var(--text-light);
}

.kategori-card-all {
    background: linear-gradient(135deg, var(--primary-light), #ede9fe);
    border: 1px dashed var(--primary);
}

.kategori-card-all:hover {
    background: linear-gradient(135deg, #dbeafe, #e0e7ff);
}

/* CTA Section */
.section-cta {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.cta-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.cta-content {
    flex: 1;
    min-width: 0;
}

.cta-content h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.cta-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.cta-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem 1.5rem;
}

.cta-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
    color: var(--text);
    font-size: 0.88rem;
}

.cta-features i {
    color: var(--accent);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: var(--shadow);
}

.btn-cta-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

.cta-visual {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-light), #ede9fe);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-visual-inner {
    text-align: center;
}

.cta-icon-large {
    font-size: 3.5rem;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

.cta-visual-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-new h1 {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .umkm-grid {
        grid-template-columns: 1fr;
    }

    .kategori-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-card {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .cta-content h2 {
        font-size: 1.35rem;
    }

    .cta-features {
        grid-template-columns: 1fr;
        text-align: left;
        max-width: 300px;
        margin: 0 auto 1.5rem;
    }

    .cta-visual {
        width: 100%;
        height: 150px;
        order: -1;
    }

    .section-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .kategori-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .kategori-card {
        padding: 1rem 0.75rem;
    }

    .kategori-icon {
        font-size: 2rem;
    }

    .kategori-card p {
        font-size: 0.8rem;
    }
}

/* ===== Filter Bar ===== */
.filter-bar {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 2.5rem 0 2rem;
}

.filter-title {
    font-size: 1.75rem;
    margin-bottom: 0.35rem;
    font-weight: 700;
}

.filter-subtitle {
    font-size: 0.95rem;
    opacity: 0.85;
    margin-bottom: 1.5rem;
}

.search-bar-wrapper {
    max-width: 800px;
}

.search-bar-combined {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}

.search-bar-inner {
    flex: 1;
    display: flex;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.search-input-group {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    min-width: 0;
}

.search-icon {
    color: var(--text-light);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-right: 0.75rem;
}

.search-input-main {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.95rem;
    font-family: var(--font);
    padding: 1rem 0;
    background: transparent;
    color: var(--text);
    min-width: 0;
}

.search-input-main::placeholder {
    color: var(--text-light);
}

.search-divider {
    width: 1px;
    background: var(--border);
    flex-shrink: 0;
}

.search-select-group {
    display: flex;
    align-items: center;
    padding: 0 1rem;
    min-width: 220px;
}

.select-icon {
    color: var(--text-light);
    font-size: 0.95rem;
    flex-shrink: 0;
    margin-right: 0.75rem;
}

.search-select-main {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.95rem;
    font-family: var(--font);
    background: transparent;
    color: var(--text);
    cursor: pointer;
    padding: 1rem 0;
    min-width: 0;
    appearance: none;
    -webkit-appearance: none;
}

.search-select-main option {
    background: var(--white);
    color: var(--text);
}

.search-btn-main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: var(--shadow-lg);
    flex-shrink: 0;
}

.search-btn-main:hover {
    background: var(--accent-dark);
}

/* Filter Tags */
.filter-tags {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--white);
}

.filter-tag-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    color: var(--white);
    font-size: 0.7rem;
    text-decoration: none;
    transition: background 0.2s;
    margin-left: 0.25rem;
}

.filter-tag-remove:hover {
    background: rgba(255,255,255,0.3);
}

.filter-clear-all {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: underline;
    margin-left: 0.5rem;
}

.filter-clear-all:hover {
    opacity: 0.8;
    color: var(--white);
}

/* ===== Pagination ===== */
.pagination {
    padding: 2rem 0;
}

.pagination-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    background: var(--white);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.pagination-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary);
}

.pagination-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.pagination-dots {
    color: var(--text-light);
    padding: 0 0.25rem;
}

/* Responsive */
@media (max-width: 768px) {
    .filter-title {
        font-size: 1.35rem;
    }

    .filter-subtitle {
        font-size: 0.85rem;
    }

    .search-bar-combined {
        flex-direction: column;
    }

    .search-bar-inner {
        flex-direction: column;
        border-radius: var(--radius);
    }

    .search-divider {
        width: 100%;
        height: 1px;
    }

    .search-input-group,
    .search-select-group {
        padding: 0.75rem 1rem;
    }

    .search-select-group {
        min-width: unset;
    }

    .search-btn-main {
        padding: 0.85rem;
        border-radius: var(--radius-sm);
    }
}

/* ===== Star Display (Rating) ===== */
.star-display {
    display: inline-flex;
    gap: 1px;
    vertical-align: middle;
}

.star-display i {
    line-height: 1;
}

/* ===== Professional Footer ===== */
.footer-new {
    background: #0f172a;
    color: #94a3b8;
    padding: 3rem 0 0;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
}

.footer-col {
    min-width: 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 1.4rem;
    color: var(--primary);
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    color: #94a3b8;
}

.footer-social {
    display: flex;
    gap: 0.5rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.08);
    color: #94a3b8;
    border-radius: 50%;
    font-size: 0.9rem;
    transition: all 0.2s;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links li {
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links li i {
    font-size: 0.8rem;
    color: var(--primary);
    width: 16px;
    flex-shrink: 0;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.25rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
}

/* Footer Responsive */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-new {
        padding: 2rem 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .footer-col h4 {
        font-size: 0.9rem;
    }

    .footer-links li {
        font-size: 0.85rem;
    }
}

/* Hero Search Responsive - Mobile Stack */
@media (max-width: 600px) {
    .hero-search-form {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-search-btn {
        padding: 0.85rem 1.5rem;
        justify-content: center;
        border-radius: var(--radius-sm);
    }
}

