/* ========================================
   CROWNFIT SMARTCITY - COMPLETE STYLESHEET
   Colors: Blue (#1a73e8) & Smoke White (#f5f5f5)
   ======================================== */

/* ========================================
   RESET & BASE
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a73e8;
    --primary-dark: #1557b0;
    --primary-light: #e8f0fe;
    --primary-hover: #0d47a1;
    --smoke: #f5f5f5;
    --smoke-dark: #e5e5e5;
    --white: #ffffff;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --border-color: #d1d5db;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    --radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background: var(--smoke);
    color: var(--text-dark);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
    background: var(--white);
    border-bottom: 3px solid var(--primary);
    padding: 15px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo a {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    color: var(--primary);
    font-size: 24px;
    font-weight: 700;
}

.logo span {
    color: var(--text-light);
    font-size: 12px;
    font-weight: 300;
}

/* Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    flex-wrap: wrap;
}

.main-nav ul li a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 8px 12px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.main-nav ul li a:hover {
    color: var(--primary);
    background: var(--primary-light);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cart-link, .chat-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 8px 15px;
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
}

.cart-link:hover, .chat-link:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.badge {
    background: #ef4444;
    color: white;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 20px;
    position: absolute;
    top: -5px;
    right: -8px;
}

.login-btn, .register-btn {
    padding: 8px 20px;
    border-radius: var(--radius);
    font-weight: 500;
    transition: var(--transition);
}

.login-btn {
    color: var(--primary);
    border: 2px solid var(--primary);
}

.login-btn:hover {
    background: var(--primary);
    color: white;
}

.register-btn {
    background: var(--primary);
    color: white;
}

.register-btn:hover {
    background: var(--primary-dark);
}

/* User Dropdown */
.user-dropdown {
    position: relative;
    cursor: pointer;
}

.user-dropdown > span {
    padding: 8px 15px;
    background: var(--primary-light);
    border-radius: var(--radius);
    color: var(--primary);
    font-weight: 500;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 180px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 8px 0;
    margin-top: 5px;
}

.user-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: white;
    color: var(--primary);
    padding: 14px 35px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 14px 35px;
    border-radius: var(--radius);
    font-weight: 600;
    border: 2px solid white;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
}

.btn-danger {
    background: #ef4444;
    color: white;
    padding: 8px 15px;
    border-radius: var(--radius);
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* ========================================
   SECTION TITLES
   ======================================== */
.section-title {
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* ========================================
   CATEGORIES
   ======================================== */
.categories-section {
    padding: 60px 0;
    background: var(--white);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.category-card {
    background: var(--smoke);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.category-card a {
    display: block;
    color: var(--text-dark);
}

.category-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.category-card span {
    color: var(--text-light);
    font-size: 14px;
}

/* ========================================
   PRODUCTS GRID
   ======================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-card a {
    display: block;
    color: var(--text-dark);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: var(--smoke);
}

.no-image {
    width: 100%;
    height: 220px;
    background: var(--smoke-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.product-info {
    padding: 15px;
}

.product-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    min-height: 48px;
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.product-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.condition {
    background: var(--smoke);
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 12px;
    text-transform: capitalize;
}

.swap-badge {
    background: #fef3c7;
    color: #d97706;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 12px;
}

/* ========================================
   NEW ARRIVALS & FEATURED
   ======================================== */
.new-arrivals, .featured-products {
    padding: 60px 0;
}

.featured-products {
    background: var(--white);
}

/* ========================================
   HOW IT WORKS
   ======================================== */
.how-it-works {
    padding: 60px 0;
    background: var(--primary-light);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.step {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 15px;
}

.step h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.step p {
    color: var(--text-light);
    font-size: 14px;
}

/* ========================================
   ABOUT PREVIEW
   ======================================== */
.about-preview {
    padding: 60px 0;
    background: var(--primary);
    color: white;
}

.about-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.about-content .btn-secondary {
    border-color: white;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--text-dark);
    color: white;
    padding: 40px 0 20px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: white;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #9ca3af;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
}

/* ========================================
   PAGE HEADER
   ======================================== */
.page-header {
    text-align: center;
    padding: 40px 0 30px;
}

.page-header h1 {
    font-size: 36px;
    color: var(--text-dark);
}

.page-header p {
    color: var(--text-light);
    font-size: 18px;
    margin-top: 5px;
}

/* ========================================
   PRODUCTS LAYOUT (Filter + Grid)
   ======================================== */
.products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    margin: 20px 0;
}

.filter-sidebar {
    background: white;
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
    height: fit-content;
}

.filter-sidebar h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.filter-form .filter-group {
    margin-bottom: 15px;
}

.filter-form .filter-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
    font-size: 14px;
}

.filter-form .filter-group input,
.filter-form .filter-group select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 14px;
}

.filter-form .filter-group input:focus,
.filter-form .filter-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.price-range {
    display: flex;
    gap: 10px;
    align-items: center;
}

.price-range input {
    width: 45%;
}

.price-range span {
    color: var(--text-light);
}

.filter-categories {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--smoke);
}

.filter-categories h4 {
    margin-bottom: 10px;
}

.filter-categories ul {
    list-style: none;
}

.filter-categories ul li {
    margin-bottom: 5px;
}

.filter-categories ul li a {
    color: var(--text-dark);
    padding: 5px 10px;
    display: block;
    border-radius: var(--radius);
    transition: var(--transition);
}

.filter-categories ul li a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.products-count {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 14px;
}

/* ========================================
   PRODUCT DETAIL
   ======================================== */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 30px 0;
}

.product-images {
    position: sticky;
    top: 100px;
}

.main-image {
    width: 100%;
    height: 400px;
    background: var(--smoke);
    border-radius: var(--radius);
    overflow: hidden;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thumbnail-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.thumbnail-images img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.thumbnail-images img:hover,
.thumbnail-images img.active {
    border-color: var(--primary);
}

.product-detail-info h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.product-rating {
    margin-bottom: 15px;
}

.product-rating .stars {
    color: #f59e0b;
    font-size: 18px;
}

.product-rating .rating-count {
    color: var(--text-light);
    margin-left: 10px;
}

.product-price-large {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.negotiable-badge {
    background: #fef3c7;
    color: #d97706;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 14px;
    margin-left: 10px;
}

.product-meta-detail {
    background: var(--smoke);
    padding: 15px;
    border-radius: var(--radius);
    margin: 15px 0;
}

.product-meta-detail p {
    margin-bottom: 5px;
}

.product-description {
    margin: 20px 0;
}

.product-description h3 {
    margin-bottom: 10px;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.product-seller {
    background: var(--smoke);
    padding: 15px;
    border-radius: var(--radius);
    margin-top: 20px;
}

.product-seller h4 {
    margin-bottom: 10px;
}

.similar-products {
    margin: 40px 0;
}

.similar-products h2 {
    margin-bottom: 25px;
}

/* ========================================
   CART
   ======================================== */
.cart-table {
    overflow-x: auto;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
}

.cart-table table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th {
    text-align: left;
    padding: 12px 15px;
    background: var(--smoke);
    font-weight: 600;
}

.cart-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--smoke);
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-product img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius);
}

.cart-product .product-condition {
    display: block;
    font-size: 12px;
    color: var(--text-light);
}

.cart-table input[type="number"] {
    width: 60px;
    padding: 5px 8px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
}

.cart-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.empty-cart h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.empty-cart p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* ========================================
   CHECKOUT
   ======================================== */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 20px 0;
}

.checkout-summary {
    background: white;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    height: fit-content;
}

.checkout-summary h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--smoke);
}

.checkout-total {
    padding: 15px 0;
    margin-top: 10px;
    border-top: 2px solid var(--text-dark);
    font-size: 20px;
}

.checkout-note {
    background: #fef3c7;
    padding: 12px 15px;
    border-radius: var(--radius);
    margin-top: 15px;
    color: #d97706;
}

.checkout-form {
    background: white;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.checkout-form h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-page {
    margin: 20px 0;
}

.about-section {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.about-section h2 {
    margin-bottom: 15px;
    color: var(--primary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.about-card {
    background: white;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.about-values {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-values h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.value-item {
    text-align: center;
    padding: 20px;
    background: var(--smoke);
    border-radius: var(--radius);
}

.value-item h4 {
    color: var(--primary);
    margin-bottom: 8px;
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 20px 0;
}

.contact-info {
    background: white;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-info h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.contact-details p {
    margin-bottom: 10px;
}

.contact-hours {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--smoke);
}

.contact-hours h4 {
    margin-bottom: 10px;
}

.contact-form-container {
    background: white;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-form-container h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

/* ========================================
   SELL FORM
   ======================================== */
.sell-form-container {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin: 20px 0;
}

.sell-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.sell-form .form-group {
    margin-bottom: 15px;
}

.sell-form .form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
}

.sell-form .form-group input,
.sell-form .form-group select,
.sell-form .form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
}

.sell-form .form-group input:focus,
.sell-form .form-group select:focus,
.sell-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.sell-form .checkbox-group {
    display: flex;
    gap: 20px;
    padding-top: 8px;
    flex-wrap: wrap;
}

.sell-form .checkbox-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 400;
    cursor: pointer;
}

.sell-form .form-info {
    background: var(--primary-light);
    padding: 15px;
    border-radius: var(--radius);
    margin: 15px 0;
    border-left: 4px solid var(--primary);
}

.sell-form .form-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* ========================================
   PROPERTIES
   ======================================== */
.property-search {
    background: white;
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin: 20px 0;
}

.property-search .search-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.property-search .search-row input,
.property-search .search-row select {
    flex: 1;
    min-width: 150px;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 14px;
}

.property-search .search-row input:focus,
.property-search .search-row select:focus {
    outline: none;
    border-color: var(--primary);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin: 20px 0;
}

.property-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.property-card a {
    display: block;
    color: var(--text-dark);
}

.property-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.property-info {
    padding: 15px;
}

.property-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.property-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.property-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.property-type {
    background: var(--primary-light);
    color: var(--primary);
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.property-location {
    color: var(--text-light);
    font-size: 13px;
}

.property-details {
    color: var(--text-light);
    font-size: 13px;
}

/* ========================================
   PROPERTY DETAIL
   ======================================== */
.property-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 30px 0;
}

.property-images .main-property-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
}

.property-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.property-thumbnails img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius);
    cursor: pointer;
}

.property-detail-info h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.property-detail-info .property-location {
    font-size: 16px;
}

.property-price-large {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin: 15px 0;
}

.property-features {
    background: var(--smoke);
    padding: 15px;
    border-radius: var(--radius);
    margin: 15px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.property-features .feature {
    display: flex;
    justify-content: space-between;
}

.property-features .feature-label {
    font-weight: 600;
}

.property-description {
    margin: 20px 0;
}

.property-description h3 {
    margin-bottom: 10px;
}

.property-actions {
    margin: 20px 0;
}

.property-seller {
    background: var(--smoke);
    padding: 15px;
    border-radius: var(--radius);
    margin-top: 20px;
}

.property-seller h4 {
    margin-bottom: 10px;
}

/* ========================================
   PROFILE
   ======================================== */
.profile-container {
    margin: 20px 0;
}

.profile-header {
    margin-bottom: 30px;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.profile-card {
    background: white;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.profile-card h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.profile-form .form-group {
    margin-bottom: 15px;
}

.profile-form .form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
}

.profile-form .form-group input,
.profile-form .form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 14px;
}

.profile-form .form-group input:focus,
.profile-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.profile-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.profile-form .form-group small {
    color: var(--text-light);
    font-size: 12px;
}

.profile-products .product-list,
.profile-orders .order-list {
    max-height: 300px;
    overflow-y: auto;
}

.product-list-item,
.order-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--smoke);
}

.product-list-item .product-info,
.order-list-item .order-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.product-list-item .product-info strong,
.order-list-item .order-info strong {
    min-width: 100px;
}

/* ========================================
   FLASH MESSAGES
   ======================================== */
.flash-message {
    padding: 15px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.flash-message.success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.flash-message.error {
    background: #fecaca;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

/* ========================================
   PAGINATION
   ======================================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.pagination a {
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--text-dark);
    transition: var(--transition);
}

.pagination a:hover {
    background: var(--primary-light);
    border-color: var(--primary);
}

.pagination a.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ========================================
   NO RESULTS
   ======================================== */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.no-results h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.no-results p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* ========================================
   AUTH PAGES
   ======================================== */
.auth-container {
    max-width: 450px;
    margin: 40px auto;
}

.auth-box {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.auth-box h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 5px;
}

.auth-box > p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 25px;
}

.auth-form .form-group {
    margin-bottom: 15px;
}

.auth-form .form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
}

.auth-form .form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 14px;
}

.auth-form .form-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.auth-link {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--smoke);
}

/* ========================================
   RESPONSIVE - See responsive.css
   ======================================== */



   /* Header Notification Styles */
.notification-link {
    position: relative;
    color: var(--text-dark);
    font-weight: 500;
    padding: 8px 15px;
    border-radius: var(--radius);
    transition: var(--transition);
    text-decoration: none;
}

.notification-link:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.notification-link .badge {
    background: #ef4444;
    color: white;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 20px;
    position: absolute;
    top: -5px;
    right: -8px;
    min-width: 18px;
    text-align: center;
}

/* User Dropdown Enhancements */
.user-dropdown .dropdown-menu .badge {
    display: inline-block;
    background: #ef4444;
    color: white;
    padding: 1px 8px;
    border-radius: 20px;
    font-size: 10px;
    margin-left: 5px;
}

/* Flash Messages */
.flash-message {
    padding: 12px 18px;
    border-radius: var(--radius);
    margin-bottom: 0;
    font-size: 14px;
}

.flash-message.success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.flash-message.error {
    background: #fecaca;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

.flash-message.info {
    background: #dbeafe;
    color: #1e40af;
    border-left: 4px solid #1a73e8;
}

.flash-message.warning {
    background: #fef3c7;
    color: #d97706;
    border-left: 4px solid #f59e0b;
}

/* Flash Messages */
.flash-message {
    padding: 12px 18px;
    border-radius: var(--radius);
    margin-bottom: 0;
    font-size: 14px;
    animation: slideDown 0.3s ease;
}

.flash-message.success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.flash-message.error {
    background: #fecaca;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

.flash-message.info {
    background: #dbeafe;
    color: #1e40af;
    border-left: 4px solid #1a73e8;
}

.flash-message.warning {
    background: #fef3c7;
    color: #d97706;
    border-left: 4px solid #f59e0b;
}

/* Dropdown Divider */
.dropdown-divider {
    height: 1px;
    background: var(--smoke);
    margin: 5px 0;
}

/* Logout Link */
.logout-link {
    color: #ef4444 !important;
}

.logout-link:hover {
    background: #fecaca !important;
    color: #dc2626 !important;
}