@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --color-primary: hsl(357, 76%, 44%);
    --color-primary-hover: hsl(357, 76%, 36%);
    --color-primary-light: hsl(357, 76%, 95%);
    --color-navy: hsl(210, 56%, 11%);
    --color-navy-hover: hsl(210, 56%, 16%);
    --color-navy-light: hsl(210, 56%, 95%);
    --color-bg: hsl(210, 20%, 98%);
    --color-white: #ffffff;
    --color-text: hsl(210, 15%, 20%);
    --color-muted: hsl(210, 10%, 50%);
    --color-border: hsl(210, 15%, 90%);
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 16px rgba(12, 27, 42, 0.05);
    --shadow-lg: 0 16px 32px rgba(12, 27, 42, 0.08);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Outfit', sans-serif;
    --max-width: 1200px;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 70px; /* Space for mobile navigation */
}

@media(min-width: 992px) {
    body {
        padding-bottom: 0;
    }
}

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

button, input, select, textarea {
    font-size: 16px;
    outline: none;
}

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}
.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(198, 27, 35, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-navy);
    border: 1.5px solid var(--color-border);
}
.btn-secondary:hover {
    border-color: var(--color-navy);
    background-color: var(--color-navy-light);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-navy);
    border: 1.5px solid var(--color-navy);
}
.btn-outline:hover {
    background-color: var(--color-navy);
    color: var(--color-white);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

/* Header & Nav */
.top-bar {
    background-color: var(--color-navy);
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
}

@media(min-width: 992px) {
    .top-bar {
        display: block;
    }
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
}

.top-bar a:hover {
    color: var(--color-white);
}

.site-header {
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 48px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .brand-name {
    font-size: 15px;
    font-weight: 800;
    color: var(--color-navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.logo-text .brand-sub {
    font-size: 13px;
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-nav {
    display: none;
}

@media(min-width: 992px) {
    .main-nav {
        display: block;
    }
    .main-nav ul {
        display: flex;
        gap: 28px;
    }
    .main-nav a {
        font-weight: 500;
        color: var(--color-navy);
        font-size: 14px;
        letter-spacing: 0.5px;
    }
    .main-nav a:hover, .main-nav a.active {
        color: var(--color-primary);
    }
}

.header-actions {
    display: none;
    gap: 12px;
}

@media(min-width: 992px) {
    .header-actions {
        display: flex;
    }
}

/* Hero Section */
.hero-section {
    padding: 40px 0 60px 0;
    background: radial-gradient(circle at 80% 20%, hsl(210, 30%, 96%) 0%, var(--color-bg) 100%);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media(min-width: 992px) {
    .hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.hero-content h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-navy);
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-content h1 span {
    color: var(--color-primary);
}

@media(min-width: 768px) {
    .hero-content h1 {
        font-size: 42px;
    }
}

.hero-content p {
    font-size: 16px;
    color: var(--color-muted);
    margin-bottom: 30px;
    max-width: 540px;
}

.hero-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: var(--color-white);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.stat-icon {
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.stat-info .stat-num {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.1;
}

.stat-info .stat-label {
    font-size: 13px;
    color: var(--color-muted);
}

/* Map Graphic */
.hero-map {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-map svg {
    width: 100%;
    max-width: 480px;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(12,27,42,0.1));
}

.hero-map .map-bg-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(198, 27, 35, 0.08) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
}

/* Search Card */
.search-card {
    background-color: var(--color-navy);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    margin-top: -20px;
    position: relative;
    z-index: 10;
}

.search-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media(min-width: 768px) {
    .search-form {
        grid-template-columns: 1.2fr 1fr 1fr auto;
    }
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group svg {
    position: absolute;
    left: 16px;
    color: var(--color-muted);
    pointer-events: none;
}

.search-input, .search-select {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background-color: var(--color-white);
    color: var(--color-navy);
    font-weight: 500;
    transition: var(--transition);
}

.search-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

.search-input:focus, .search-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(198, 27, 35, 0.25);
}

.btn-search {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-md);
    padding: 14px 28px;
    font-weight: 600;
    width: 100%;
}

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

.popular-searches {
    display: flex;
    gap: 8px 12px;
    margin-top: 16px;
    flex-wrap: wrap;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.popular-searches a {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.popular-searches a:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* Sections General */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 24px;
    color: var(--color-navy);
    font-weight: 800;
    position: relative;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background-color: var(--color-primary);
    margin-top: 8px;
    border-radius: var(--radius-full);
}

.section-header .see-all {
    font-size: 14px;
    color: var(--color-primary);
    font-weight: 600;
}

.section-header .see-all:hover {
    text-decoration: underline;
}

/* Categories Grid */
.categories-section {
    padding: 60px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media(min-width: 576px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(min-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media(min-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(10, 1fr);
    }
}

.category-card {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    padding: 20px 10px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    border: 1px solid transparent;
}

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

.category-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-navy-light);
    color: var(--color-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.category-card:hover .category-card-icon {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.category-card-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-navy);
    line-height: 1.2;
}

.category-card-count {
    font-size: 11px;
    color: var(--color-muted);
}

/* Featured / Listing Cards */
.listings-section {
    padding: 0 0 60px 0;
}

.listings-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media(min-width: 768px) {
    .listings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(min-width: 1200px) {
    .listings-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.listing-card {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--color-border);
}

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

.listing-img-container {
    position: relative;
    aspect-ratio: 16/10;
    background-color: #eee;
    overflow: hidden;
}

.listing-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.listing-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: rgba(12, 27, 42, 0.85);
    color: var(--color-white);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.discount-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
}

.listing-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.listing-cat {
    font-size: 12px;
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.listing-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 8px;
    line-height: 1.3;
}

.listing-meta {
    font-size: 13px;
    color: var(--color-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.listing-meta svg {
    flex-shrink: 0;
}

.listing-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #f59e0b;
    font-weight: 600;
    margin-bottom: 16px;
}

.listing-rating span {
    color: var(--color-muted);
    font-weight: 400;
}

.listing-actions-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--color-border);
    margin-top: auto;
}

.listing-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 0;
    color: var(--color-navy);
    border-right: 1px solid var(--color-border);
    transition: var(--transition);
}

.listing-action-btn:last-child {
    border-right: none;
}

.listing-action-btn:hover {
    background-color: var(--color-navy-light);
    color: var(--color-primary);
}

.listing-action-btn.whatsapp-btn:hover {
    background-color: #e8f5e9;
    color: #2e7d32;
}

/* Trust features footer bar */
.trust-features {
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 40px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media(min-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.trust-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.trust-icon {
    width: 48px;
    height: 48px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-white);
}

.trust-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.trust-info p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* Site Footer */
.site-footer {
    background-color: hsl(210, 56%, 7%);
    color: rgba(255, 255, 255, 0.6);
    padding: 60px 0 30px 0;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media(min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

.footer-about img {
    height: 48px;
    margin-bottom: 16px;
}

.footer-about p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-title {
    color: var(--color-white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

@media(min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

/* Mobile Bottom Navigation */
.mobile-nav-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background-color: var(--color-white);
    box-shadow: 0 -4px 16px rgba(12, 27, 42, 0.08);
    z-index: 999;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    border-top: 1px solid var(--color-border);
}

@media(min-width: 992px) {
    .mobile-nav-bar {
        display: none;
    }
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-navy);
    font-size: 10px;
    font-weight: 600;
    gap: 4px;
    transition: var(--transition);
}

.mobile-nav-item svg {
    color: var(--color-muted);
    transition: var(--transition);
}

.mobile-nav-item.active {
    color: var(--color-primary);
}

.mobile-nav-item.active svg {
    color: var(--color-primary);
}

/* Forms & Auth Pages */
.auth-container {
    max-width: 480px;
    margin: 60px auto;
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--color-muted);
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--color-border);
    background-color: var(--color-white);
    color: var(--color-navy);
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(198, 27, 35, 0.15);
}

.form-error {
    color: var(--color-primary);
    font-size: 13px;
    margin-top: 4px;
    display: none;
}

.alert {
    padding: 14px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 500;
}

.alert-danger {
    background-color: hsl(357, 76%, 95%);
    color: var(--color-primary);
    border: 1px solid hsl(357, 76%, 90%);
}

.alert-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

/* Register Steps */
.register-container {
    max-width: 800px;
    margin: 40px auto;
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.step-indicator::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--color-border);
    z-index: 1;
}

.step-node {
    position: relative;
    z-index: 2;
    background-color: var(--color-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 80px;
}

.step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--color-border);
    color: var(--color-muted);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-white);
    transition: var(--transition);
}

.step-node.active .step-num {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 0 0 4px rgba(198, 27, 35, 0.2);
}

.step-node.completed .step-num {
    background-color: var(--color-navy);
    color: var(--color-white);
}

.step-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-muted);
    text-align: center;
}

.step-node.active .step-label {
    color: var(--color-primary);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media(min-width: 768px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .form-grid-full {
        grid-column: span 2;
    }
}

.step-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    border-top: 1px solid var(--color-border);
    padding-top: 20px;
}

/* Image Upload Area */
.upload-zone {
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-md);
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background-color: var(--color-bg);
}

.upload-zone:hover {
    border-color: var(--color-primary);
    background-color: var(--color-primary-light);
}

.upload-zone svg {
    color: var(--color-muted);
    margin-bottom: 12px;
}

.upload-preview-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
}

@media(min-width: 768px) {
    .upload-preview-container {
        grid-template-columns: repeat(5, 1fr);
    }
}

.preview-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

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

.preview-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    background-color: rgba(198, 27, 35, 0.9);
    color: var(--color-white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    cursor: pointer;
}

/* Detail Page Custom Styles */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 30px;
}

@media(min-width: 992px) {
    .detail-grid {
        grid-template-columns: 1.3fr 0.7fr;
    }
}

.detail-main {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.gallery-container {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 24px;
}

.main-gallery {
    aspect-ratio: 16/10;
    background-color: #000;
}

.gallery-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.gallery-slide.active {
    display: block;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(12, 27, 42, 0.7);
    color: var(--color-white);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.gallery-nav.prev { left: 16px; }
.gallery-nav.next { right: 16px; }

.gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 24px;
}

.thumb-item {
    width: 80px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.thumb-item.active {
    opacity: 1;
    border-color: var(--color-primary);
}

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

.info-row {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
}

.info-row:last-child {
    border-bottom: none;
}

.info-icon {
    color: var(--color-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-val h5 {
    font-size: 13px;
    color: var(--color-muted);
    font-weight: 500;
}

.info-val p {
    font-size: 15px;
    color: var(--color-navy);
    font-weight: 600;
}

/* Listings page layout */
.listings-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
}

@media(min-width: 992px) {
    .listings-layout {
        grid-template-columns: 0.6fr 1.4fr;
    }
}

/* Filter Card */
.filter-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    height: fit-content;
}

.filter-group {
    margin-bottom: 24px;
}

.filter-group h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 12px;
    border-bottom: 1.5px solid var(--color-border);
    padding-bottom: 8px;
}

/* Text Editor Placeholder / Quill custom overrides if needed */
.ql-editor {
    min-height: 200px;
}

/* Admin Specific basic layout */
.admin-layout {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 100vh;
}

@media(min-width: 992px) {
    .admin-layout {
        grid-template-columns: 260px 1fr;
    }
}

.admin-sidebar {
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 30px 20px;
}

.admin-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.admin-menu a:hover, .admin-menu a.active {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.admin-content {
    background-color: var(--color-bg);
    padding: 40px;
}

.admin-card {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    margin-bottom: 24px;
}

.table-responsive {
    overflow-x: auto;
    width: 100%;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

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

.admin-table th {
    background-color: var(--color-bg);
    color: var(--color-navy);
    font-weight: 700;
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.badge-pending { background-color: #fef3c7; color: #d97706; }
.badge-approved { background-color: #d1fae5; color: #059669; }
.badge-rejected { background-color: #fee2e2; color: #dc2626; }
