/* =========================================
GLOBAL
========================================= */

body {

    background: #f3f5f7;

    font-family: Arial, sans-serif;

    color: #222;

    margin: 0;

    padding: 0;

}

a {

    text-decoration: none;

}

.container {

    max-width: 1300px;

}

/* =========================================
NAVBAR
========================================= */

.navbar {

    background: white;

    padding: 18px 0;

    box-shadow: 0 2px 10px rgba(0,0,0,0.04);

}

.navbar-brand {

    font-size: 38px;

    font-weight: bold;

    color: #111 !important;

}

.navbar-nav .nav-link {

    color: #333 !important;

    font-weight: 500;

    margin-left: 15px;

}

.navbar-nav .nav-link:hover {

    color: #0f6bdc !important;

}

/* =========================================
BUTTONS
========================================= */

.btn-primary {

    background: #0f6bdc;

    border: none;

}

.btn-primary:hover {

    background: #0057cc;

}

.publish-btn {

    background: #0f6bdc;

    color: white;

    padding: 15px 50px;

    border-radius: 50px;

    border: none;

    font-size: 18px;

    font-weight: bold;

    transition: 0.3s;

}

.publish-btn:hover {

    background: #0057cc;

}

/* =========================================
HOMEPAGE HERO
========================================= */

.hero-box {

    background: white;

    border-radius: 25px;

    overflow: hidden;

    box-shadow: 0 10px 30px rgba(0,0,0,0.08);

}

.hero-top {

    background: linear-gradient(90deg,#0f6bdc,#348fff);

    padding: 30px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    flex-wrap: wrap;

}

.hero-icon {

    width: 65px;

    height: 65px;

    background: rgba(255,255,255,0.2);

    border-radius: 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 34px;

}

.post-btn {

    background: #ffcc00;

    color: black;

    padding: 15px 40px;

    border-radius: 50px;

    font-weight: bold;

    transition: 0.3s;

}

.post-btn:hover {

    background: #ffb800;

    color: black;

}

.hero-tabs {

    display: flex;

    background: #0047ab;

    flex-wrap: wrap;

}

.tab-btn {

    flex: 1;

    padding: 18px;

    border: none;

    background: transparent;

    color: white;

    font-weight: bold;

    transition: 0.3s;

}

.tab-btn:hover,
.tab-btn.active {

    background: #00388a;

}

.hero-search {

    padding: 30px;

}

.form-control,
.form-select {

    height: 55px;

    border-radius: 12px;

    border: 1px solid #ddd;

}

.search-btn {

    height: 55px;

    background: #0f6bdc;

    color: white;

    border-radius: 12px;

    border: none;

    font-weight: bold;

}

.search-btn:hover {

    background: #0057cc;

}

/* =========================================
CATEGORY GRID
========================================= */

.modern-category-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));

    gap: 25px;

    margin-top: 40px;

}

.modern-category-card {

    background: white;

    border-radius: 20px;

    padding: 30px;

    display: flex;

    align-items: center;

    gap: 20px;

    transition: 0.3s;

    box-shadow: 0 8px 25px rgba(0,0,0,0.06);

    border: 1px solid #f0f0f0;

    color: #222;

}

.modern-category-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 15px 35px rgba(0,0,0,0.1);

    color: #0f6bdc;

}

.category-emoji {

    width: 70px;

    height: 70px;

    border-radius: 18px;

    background: linear-gradient(135deg,#0f6bdc,#4aa3ff);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 34px;

    color: white;

}

.modern-category-card h5 {

    margin-bottom: 8px;

    font-weight: bold;

}

.modern-category-card p {

    margin: 0;

    color: #777;

}

/* =========================================
PROPERTY FORM
========================================= */

.property-form-card {

    background: white;

    padding: 50px;

    border-radius: 25px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.08);

}

.form-section {

    margin-bottom: 50px;

}

.section-title {

    margin-bottom: 30px;

    font-weight: bold;

    color: #0f6bdc;

}

/* =========================================
OPTION BUTTONS
========================================= */

.option-buttons {

    display: flex;

    gap: 10px;

    flex-wrap: wrap;

}

.option-buttons label {

    cursor: pointer;

}

.option-buttons input {

    display: none;

}

.option-buttons span {

    width: 55px;

    height: 55px;

    border-radius: 12px;

    background: #f5f7fb;

    display: flex;

    align-items: center;

    justify-content: center;

    font-weight: bold;

    transition: 0.3s;

    border: 2px solid transparent;

}

.option-buttons input:checked + span {

    background: #0f6bdc;

    color: white;

    border-color: #0f6bdc;

}

/* =========================================
PROPERTY CARD
========================================= */

.property-card {

    background: white;

    border-radius: 20px;

    overflow: hidden;

    box-shadow: 0 10px 25px rgba(0,0,0,0.08);

    transition: 0.3s;

    min-height: 420px;

}

.property-card:hover {

    transform: translateY(-5px);

}

.property-image {

    width: 100%;

    height: 250px;

    background: #f5f5f5;

    overflow: hidden;

    position: relative;

    border-bottom: 1px solid #eee;

}

.property-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

}

.no-image {

    width: 100%;

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #777;

    font-size: 18px;

}

.property-content {

    padding: 20px;

}

.property-category {

    display: inline-block;

    background: #eef5ff;

    color: #0f6bdc;

    padding: 5px 12px;

    border-radius: 30px;

    font-size: 13px;

    margin-bottom: 10px;

}

.property-location {

    color: #666;

    margin-bottom: 10px;

}

.property-price {

    font-size: 24px;

    font-weight: bold;

    color: #0f6bdc;

}

/* =========================================
FOOTER
========================================= */

footer {

    background: #161d27;

    color: white;

    margin-top: 80px;

    padding: 30px 0;

}

/* =========================================
MOBILE
========================================= */

@media(max-width:768px){

    .navbar-brand {

        font-size: 28px;

    }

    .hero-top {

        gap: 20px;

        text-align: center;

        justify-content: center;

    }

    .hero-search {

        padding: 20px;

    }

    .property-form-card {

        padding: 25px;

    }

    .modern-category-grid {

        grid-template-columns: 1fr;

    }

    .property-image {

        height: 220px;

    }

}

/* =========================================
   ADVERTISEMENT BANNER
========================================= */

.site-banner {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    text-align: center;
    position: relative;
    overflow: hidden;
    max-height: 300px;
}

.site-banner img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    display: block;
}

.banner-youtube-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 20%;
    min-height: 160px;
}

.banner-youtube-wrap iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}

.banner-label {
    position: absolute;
    bottom: 8px;
    right: 12px;
    background: rgba(0,0,0,0.45);
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

/* =========================================
   BREADCRUMB
========================================= */

.olx-breadcrumb {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    font-size: 13px;
    color: #666;
}

.olx-breadcrumb a {
    color: #0f6bdc;
    text-decoration: none;
}

.olx-breadcrumb a:hover { text-decoration: underline; }

/* =========================================
   TWO-COLUMN LAYOUT
========================================= */

.olx-layout {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

/* =========================================
   SIDEBAR
========================================= */

.olx-sidebar {
    width: 240px;
    flex-shrink: 0;
}

.sidebar-box {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    padding: 16px 18px;
    margin-bottom: 14px;
}

.sidebar-box-title {
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.8px;
    color: #444;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-toggle-btn {
    background: none;
    border: none;
    font-size: 11px;
    color: #888;
    cursor: pointer;
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
}

.sidebar-list li { padding: 4px 0; }

.sidebar-list li ul {
    list-style: none;
    padding-left: 12px;
    margin: 4px 0 0;
}

.sidebar-list a {
    color: #333;
    text-decoration: none;
}

.sidebar-list a:hover { color: #0f6bdc; }

.sidebar-hint {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
}

.budget-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.budget-row input { flex: 1; }

/* =========================================
   MAIN AREA
========================================= */

.olx-main { flex: 1; min-width: 0; }

/* Top bar */
.olx-topbar {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.olx-result-count { font-size: 20px; flex: 1; }

.olx-sort { display: flex; align-items: center; gap: 6px; }

/* =========================================
   OLX PROPERTY GRID
========================================= */

.olx-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

/* =========================================
   OLX CARD
========================================= */

.olx-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
}

.olx-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}

.olx-card-img {
    position: relative;
    width: 100%;
    height: 190px;
    background: #f5f5f5;
    overflow: hidden;
}

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

.olx-no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 15px;
    flex-direction: column;
    gap: 6px;
}

.badge-featured {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #f5a623;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.heart-btn {
    position: absolute;
    top: 8px;
    right: 10px;
    background: rgba(255,255,255,0.85);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    color: #555;
}

.heart-btn:hover { background: #fff; transform: scale(1.15); }
.heart-btn.active { color: #e53935; }

.olx-card-body { padding: 12px 14px 14px; }

.olx-card-price {
    font-size: 20px;
    font-weight: bold;
    color: #002f34;
    margin-bottom: 4px;
}

.olx-card-meta {
    font-size: 12px;
    color: #555;
    margin-bottom: 5px;
}

.olx-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.olx-card-location {
    font-size: 12px;
    color: #777;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.olx-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f0f0f0;
    padding-top: 8px;
}

.olx-card-category {
    font-size: 11px;
    background: #eef5ff;
    color: #0f6bdc;
    padding: 3px 8px;
    border-radius: 20px;
}

.olx-card-date {
    font-size: 11px;
    color: #999;
    font-weight: bold;
}

.olx-card-actions { display: flex; gap: 8px; }

/* Empty state */
.olx-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width: 1024px) {
    .olx-grid { grid-template-columns: repeat(2, 1fr); }
}

@media(max-width: 768px) {
    .olx-layout { flex-direction: column; }
    .olx-sidebar { width: 100%; }
    .olx-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .banner-youtube-wrap { padding-bottom: 35%; }
}

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


/* =========================================
   INTRO + DISCLAIMER SECTION
========================================= */

.prop-intro-section {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    padding: 18px 0;
}

.prop-intro-text {
    font-size: 13.5px;
    color: #444;
    margin-bottom: 10px;
    line-height: 1.7;
}

.prop-disclaimer {
    font-size: 12px;
    color: #888;
    background: #fffbea;
    border-left: 3px solid #f5a623;
    padding: 10px 14px;
    border-radius: 6px;
    line-height: 1.6;
}

/* =========================================
   SIDEBAR LINK STYLES
========================================= */

.active-link { color: #0f6bdc !important; font-weight: 600; }

.olx-card-link { display: block; text-decoration: none; color: inherit; }

.olx-card-title-link { text-decoration: none; color: inherit; }

.olx-card-title-link:hover .olx-card-title { color: #0f6bdc; }

/* =========================================
   PROPERTY DETAIL PAGE
========================================= */

.prop-detail-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 14px;
    padding: 22px;
}

.prop-detail-item {
    background: #f8f9fb;
    border-radius: 10px;
    padding: 12px 14px;
}

.prop-detail-label {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.prop-detail-val {
    font-size: 15px;
    font-weight: 600;
    color: #222;
}

/* =========================================
   ADMIN PANEL: make banner table install auto
   (handled in PHP - no extra CSS needed)
========================================= */


/* =========================================
   HERO HEADING (replaces intro section)
========================================= */

.prop-intro-section { display: none; } /* hide old one */

.prop-hero-heading {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    padding: 14px 0 12px;
    text-align: center;
}

.prop-hero-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 6px;
    letter-spacing: -0.3px;
}

.prop-hero-links {
    font-size: 13px;
}

.prop-hero-links a {
    color: #0f6bdc;
    text-decoration: none;
    font-weight: 500;
}

.prop-hero-links a:hover { text-decoration: underline; }

/* =========================================
   MOBILE FILTER BAR
========================================= */

.mobile-filter-bar {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.mobile-filter-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 4px;
    scrollbar-width: none;
}

.mobile-filter-scroll::-webkit-scrollbar { display: none; }

.mfb-btn {
    flex-shrink: 0;
    background: #f5f7fb;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    transition: 0.2s;
}

.mfb-btn.active,
.mfb-btn:hover {
    background: #0f6bdc;
    color: #fff;
    border-color: #0f6bdc;
}

/* =========================================
   SIDEBAR — NEW STYLES
========================================= */

.sbcat {
    display: block;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    padding: 3px 0;
    transition: 0.15s;
}

.sbcat:hover { color: #0f6bdc; }

.sbcat-active {
    color: #0f6bdc !important;
    font-weight: 600;
}

.sbcat-group {
    font-size: 13px;
    font-weight: 600;
    color: #0f6bdc;
}

.sbc-count {
    color: #aaa;
    font-weight: normal;
    font-size: 11px;
}

.sbb-toggle {
    background: none;
    border: none;
    font-size: 11px;
    color: #999;
    cursor: pointer;
    padding: 0;
}

/* CHECK FILTER LIST */
.check-filter-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.check-filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #444;
    cursor: pointer;
}

.check-filter-item input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: #0f6bdc;
    cursor: pointer;
}

/* BUDGET SLIDER */
.budget-slider-wrap { padding: 4px 0; }

.budget-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #555;
    margin-bottom: 8px;
}

.budget-slider {
    width: 100%;
    accent-color: #0f6bdc;
    margin: 4px 0;
}

/* =========================================
   PRICE TAGS ROW
========================================= */

.price-tags-row {
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.price-tag {
    background: #f0f7ff;
    border: 1px solid #cce0ff;
    color: #0f6bdc;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.15s;
}

.price-tag:hover {
    background: #0f6bdc;
    color: #fff;
}

/* =========================================
   PROMO / CTA CARD IN GRID
========================================= */

.olx-promo-card {
    background: linear-gradient(135deg, #1565c0, #1976d2);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.olx-promo-inner {
    text-align: center;
    padding: 24px 20px;
    color: #fff;
}

.olx-promo-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.olx-promo-inner h6 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
}

.olx-promo-inner p {
    font-size: 13px;
    opacity: 0.85;
    margin-bottom: 16px;
    line-height: 1.5;
}

.btn-white-outline {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    border-radius: 20px;
    padding: 7px 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}

.btn-white-outline:hover {
    background: #fff;
    color: #1565c0;
}

/* =========================================
   FILTER MODAL (Mobile)
========================================= */

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: flex-end;
    justify-content: center;
}

.modal-overlay.open { display: flex; }

.filter-modal {
    background: #fff;
    width: 100%;
    max-width: 500px;
    max-height: 85vh;
    border-radius: 20px 20px 0 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}

.filter-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    font-weight: 700;
    font-size: 16px;
}

.fmh-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #666;
    cursor: pointer;
    line-height: 1;
}

.filter-modal-body {
    flex: 1;
    overflow: hidden;
}

.filter-modal-cols {
    display: flex;
    height: 100%;
}

.fm-nav {
    width: 130px;
    background: #f8f9fb;
    border-right: 1px solid #eee;
    overflow-y: auto;
    flex-shrink: 0;
}

.fm-nav-btn {
    display: block;
    width: 100%;
    padding: 14px 14px;
    background: none;
    border: none;
    text-align: left;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: 0.15s;
}

.fm-nav-btn.active,
.fm-nav-btn:hover {
    color: #0f6bdc;
    background: #fff;
    border-left-color: #0f6bdc;
    font-weight: 600;
}

.fm-panels {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.fm-panel { display: none; }
.fm-panel.active { display: block; }

.fm-panel-hint {
    font-size: 12px;
    color: #999;
    margin-bottom: 12px;
}

.fm-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

.fm-check input {
    width: 16px; height: 16px;
    accent-color: #0f6bdc;
    cursor: pointer;
}

.filter-modal-footer {
    display: flex;
    gap: 12px;
    padding: 14px 20px;
    border-top: 1px solid #eee;
}

.filter-modal-footer .flex-1 { flex: 1; }

/* =========================================
   INFO MODALS (Terms / Safety)
========================================= */

.info-modal {
    background: #fff;
    width: 92%;
    max-width: 520px;
    border-radius: 16px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.25s ease;
    margin: auto;
}

.info-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    font-weight: 700;
}

.info-modal-header button {
    background: none;
    border: none;
    font-size: 18px;
    color: #666;
    cursor: pointer;
}

.info-modal-body {
    padding: 20px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.7;
    color: #444;
}

/* desktop modal centering */
@media(min-width: 768px) {
    .filter-modal {
        border-radius: 16px;
        max-width: 640px;
        align-self: center;
        max-height: 90vh;
    }
}


/* =========================================
   NAVBAR — SKTREALTOR STYLE
========================================= */

.skt-navbar { padding: 12px 0; font-family: 'Inter', Arial, sans-serif; }

.skt-brand { font-size: 22px; font-weight: 800; color: #111 !important; letter-spacing: -0.5px; }

.skt-navbar .nav-link { color: #444 !important; font-weight: 500; font-size: 14px; padding: 8px 12px !important; }
.skt-navbar .nav-link:hover, .skt-navbar .nav-link.active { color: #0f6bdc !important; }

/* POST PROPERTY BUTTON — blue bg, white text */
.skt-post-btn {
    background: #0f6bdc;
    color: #fff !important;
    font-weight: 700;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: 0.2s;
    border: none;
}
.skt-post-btn:hover { background: #0057cc; color: #fff !important; }

.skt-free-badge {
    background: #22c55e;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

/* USER AVATAR BUTTON */
.skt-user-wrap { position: relative; }

.skt-avatar-btn {
    background: #f5f7fb;
    border: 1.5px solid #e0e0e0;
    border-radius: 50px;
    padding: 6px 12px 6px 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: 0.2s;
    font-size: 14px;
    color: #333;
}
.skt-avatar-btn:hover { border-color: #0f6bdc; }

.skt-guest-btn { padding: 8px 12px; }

.skt-avatar-img {
    width: 28px; height: 28px;
    border-radius: 50%;
    object-fit: cover;
}
.skt-avatar-initials {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: #0f6bdc;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}
.skt-avatar-name { font-weight: 600; font-size: 13px; }

/* DROPDOWN */
.skt-user-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.15);
    min-width: 240px;
    z-index: 500;
    padding: 8px 0;
    border: 1px solid #f0f0f0;
    animation: dropFade 0.18s ease;
}
.skt-user-dropdown.open { display: block; }

@keyframes dropFade {
    from { opacity:0; transform: translateY(-8px); }
    to   { opacity:1; transform: translateY(0); }
}

.sud-login-header { padding: 14px 20px 8px; }
.sud-login-title { color: #0f6bdc; font-weight: 800; font-size: 13px; text-decoration: none; letter-spacing: 0.5px; }
.sud-login-title:hover { text-decoration: underline; }

.sud-section-title { padding: 6px 20px; font-size: 11px; font-weight: 700; color: #999; letter-spacing: 0.8px; }

.sud-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: 0.15s;
}
.sud-link:hover { background: #f5f7fb; color: #0f6bdc; }
.sud-link-bold { font-weight: 700; }
.sud-link-admin { color: #0f6bdc; font-weight: 600; }
.sud-link-logout { color: #e53935; }

.sud-divider { height: 1px; background: #f0f0f0; margin: 6px 0; }

.sud-user-info { padding: 14px 20px 8px; }
.sud-user-name { font-weight: 700; font-size: 14px; }
.sud-user-email { font-size: 12px; color: #888; margin-top: 2px; }

/* =========================================
   LOGIN PAGE
========================================= */

.skt-login-page {
    min-height: calc(100vh - 80px);
    background: linear-gradient(135deg, #eef5ff 0%, #f8faff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
}

.skt-login-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.10);
    padding: 40px 40px;
    width: 100%;
    max-width: 440px;
}

.skt-login-logo { text-align: center; margin-bottom: 20px; }
.skt-login-sub { font-size: 13px; color: #888; margin: 4px 0 0; }

.skt-login-title { font-size: 22px; font-weight: 800; text-align: center; margin-bottom: 6px; }
.skt-login-desc { font-size: 13px; color: #666; text-align: center; margin-bottom: 24px; }

/* Google button */
.skt-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 13px;
    border: 1.5px solid #ddd;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    transition: 0.2s;
    background: #fff;
    margin-bottom: 20px;
}
.skt-google-btn:hover { border-color: #4285F4; background: #f8f9ff; color: #333; }

/* Divider */
.skt-login-divider {
    text-align: center;
    position: relative;
    margin: 18px 0;
    color: #bbb;
    font-size: 13px;
}
.skt-login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0; right: 0;
    height: 1px;
    background: #eee;
}
.skt-login-divider span {
    position: relative;
    background: #fff;
    padding: 0 12px;
}

/* Phone input */
.skt-phone-login { margin-top: 4px; }
.skt-phone-input-wrap {
    display: flex;
    border: 1.5px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
}
.skt-phone-prefix {
    background: #f5f7fb;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    border-right: 1px solid #ddd;
    white-space: nowrap;
}
.skt-phone-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 14px;
    font-size: 15px;
}
.skt-otp-btn {
    width: 100%;
    background: #0f6bdc;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 13px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}
.skt-otp-btn:hover { background: #0057cc; }
.skt-otp-msg { font-size: 12px; color: #888; margin-top: 8px; }

.skt-login-terms {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-top: 20px;
}
.skt-login-terms a { color: #0f6bdc; }

@media(max-width: 480px) {
    .skt-login-card { padding: 28px 20px; }
}


/* =========================================
   SEARCH HERO BAR
========================================= */
.srch-hero {
    background: #fff;
    border-bottom: 2px solid #e8eef8;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 90;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
}
.srch-hero-inner { display: flex; flex-direction: column; }

.srch-tabs {
    display: flex;
    background: #0047ab;
    overflow-x: auto;
    scrollbar-width: none;
}
.srch-tabs::-webkit-scrollbar { display: none; }

.srch-tab {
    flex-shrink: 0;
    background: transparent;
    border: none;
    color: rgba(255,255,255,.7);
    font-weight: 700;
    font-size: 13px;
    padding: 12px 22px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: .2s;
    white-space: nowrap;
}
.srch-tab:hover { color: #fff; }
.srch-tab.active { color: #fff; border-bottom-color: #ffcc00; background: rgba(255,255,255,.1); }

.srch-inputs {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    gap: 0;
}
.srch-input-group {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 8px;
    padding: 0 12px;
}
.srch-icon { font-size: 16px; flex-shrink: 0; }
.srch-select, .srch-text {
    border: none;
    outline: none;
    font-size: 14px;
    color: #222;
    background: transparent;
    width: 100%;
    padding: 4px 0;
}
.srch-divider {
    width: 1px; height: 36px;
    background: #ddd;
    flex-shrink: 0;
}
.srch-submit-btn {
    background: #0f6bdc;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 28px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 8px;
}
.srch-submit-btn:hover { background: #0057cc; }

/* =========================================
   SEARCH LAYOUT
========================================= */
.srch-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

/* =========================================
   SEARCH SIDEBAR
========================================= */
.srch-sidebar { width: 240px; flex-shrink: 0; }

.srch-sbox {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 12px;
}
.srch-sbox-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .7px;
    color: #444;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.srch-slist {
    list-style: none;
    padding: 0; margin: 0;
    font-size: 13px;
    max-height: 240px;
    overflow-y: auto;
}
.srch-slist li { padding: 3px 0; }
.srch-slink { color: #444; text-decoration: none; display: flex; align-items: center; gap: 4px; }
.srch-slink:hover { color: #0f6bdc; }
.srch-slink-active { color: #0f6bdc !important; font-weight: 700; }

/* =========================================
   SEARCH MAIN
========================================= */
.srch-main { flex: 1; min-width: 0; }

.srch-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}
.srch-results-count { font-size: 18px; color: #222; }

/* ACTIVE FILTER CHIPS */
.srch-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.srch-chip {
    background: #eef5ff;
    border: 1px solid #cce0ff;
    color: #0f6bdc;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: .15s;
}
.srch-chip:hover { background: #0f6bdc; color: #fff; border-color: #0f6bdc; }
.srch-chip-clear { background: #fff0f0; border-color: #ffcccc; color: #e53935; }
.srch-chip-clear:hover { background: #e53935; color: #fff; border-color: #e53935; }

/* GRID */
.srch-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
}

/* CARD */
.srch-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    overflow: hidden;
    transition: .2s;
}
.srch-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.12); transform: translateY(-3px); }

.srch-card-img-link { display: block; }
.srch-card-img {
    position: relative;
    height: 180px;
    background: #f5f5f5;
    overflow: hidden;
}
.srch-card-img img {
    width:100%; height:100%;
    object-fit: cover; display: block;
    transition: transform .3s;
}
.srch-card:hover .srch-card-img img { transform: scale(1.04); }
.srch-no-img {
    height:100%; display:flex; align-items:center; justify-content:center;
    font-size:28px; color:#bbb;
}

.badge-new {
    position: absolute;
    top: 10px; left: 10px;
    background: #22c55e;
    color: #fff;
    font-size: 10px; font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

.srch-card-body { padding: 12px 14px 14px; }
.srch-card-price { font-size: 20px; font-weight: 800; color: #002f34; margin-bottom: 4px; }
.srch-price-unit { font-size: 13px; font-weight: 400; color: #888; }
.srch-card-meta { font-size: 12px; color: #666; margin-bottom: 5px; }
.srch-card-title {
    display: block;
    font-size: 14px; font-weight: 600; color: #222;
    text-decoration: none; margin-bottom: 5px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.srch-card-title:hover { color: #0f6bdc; }
.srch-card-loc { font-size: 12px; color: #888; margin-bottom: 6px; }
.srch-card-specs {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-bottom: 8px;
}
.srch-card-specs span { font-size: 11px; color: #666; }
.srch-card-footer {
    display: flex; justify-content: space-between; align-items: center;
    border-top: 1px solid #f0f0f0; padding-top: 8px; margin-bottom: 8px;
}
.srch-card-actions { display: flex; gap: 8px; }

/* NO RESULTS */
.srch-no-results {
    text-align: center;
    padding: 80px 20px;
    color: #888;
    grid-column: 1/-1;
}

/* PAGINATION */
.srch-pagination {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 28px;
    flex-wrap: wrap;
}
.srch-page-btn {
    padding: 8px 14px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    transition: .15s;
}
.srch-page-btn:hover { border-color: #0f6bdc; color: #0f6bdc; }
.srch-page-btn.active { background: #0f6bdc; color: #fff; border-color: #0f6bdc; }
.srch-page-info { font-size: 13px; color: #888; margin-left: 8px; }

/* =========================================
   RESPONSIVE
========================================= */
@media(max-width:1024px) { .srch-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:768px) {
    .srch-layout { flex-direction: column; }
    .srch-sidebar { width: 100%; }
    .srch-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
    .srch-inputs { flex-wrap: wrap; gap: 8px; }
    .srch-divider { display: none; }
    .srch-input-group { flex: 1 1 45%; border: 1px solid #eee; border-radius: 8px; padding: 8px 10px; }
    .srch-submit-btn { width: 100%; margin-left: 0; margin-top: 4px; }
    .srch-hero { position: relative; }
}
@media(max-width:480px) { .srch-grid { grid-template-columns: 1fr; } }
