:root {
    --green: #1db954;
    --green-dark: #16a047;
    --green-light-c: #52d6c1;
    --green-light: #e8f8ee;
    --teal: #0190b6;
    --main-color:#07b7ad;
    --main-color-hover:#32d1c9;
    --link-blue: #009ef9;
    --orange: #ff6b35;
    --red: #e74c3c;
    --yellow: #f39c12;
    --blue: #3498db;
    --text-dark: #1a1a2e;
    --text-mid: #444;
    --text-soft: #777;
    --text-light: #aaa;
    --border: #e8e8e8;
    --bg: #f5f6fa;
    --white: #fff;
    --card-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    --radius: 12px;
    --radius-sm: 8px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a{
    text-decoration: none !important;
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 400;
    src: url(../fonts/IRANSansWeb.eot);
    src:
        url(../fonts/IRANSansWeb.eot?#iefix) format("embedded-opentype"),
        url(../fonts/IRANSansWeb.woff2) format("woff2"),
        url(../fonts/IRANSansWeb.woff) format("woff"),
        url(../fonts/IRANSansWeb.ttf) format("truetype");
}

body {
    font-family: "IRANSans", sans-serif;
    /* background: var(--bg); */
    color: var(--text-dark);
    font-size: 14px;
    direction: rtl;
}

.w90{
    width: 90% !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

.p-top-20{
    padding-top: 20px;
}

.f-r{
    float: right;
}
.f-l{
    float: left
}
/* ── HEADER ── */
header {
    /* background: var(--white); */
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); */
    /* padding: 0 24px; */
    height: 60px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.17);
    backdrop-filter: blur(21px);
    -webkit-backdrop-filter: blur(21px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -1px 0 rgba(255, 255, 255, 0.1), inset 0 0 20px 10px rgba(255, 255, 255, 1);
    overflow: hidden;
}
header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.8),
      transparent
    );
  }
  
header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.8),
      transparent,
      rgba(255, 255, 255, 0.3)
    );
  }


.header-section {
    width: 90%;
    display: table;
    margin-right: auto;
    /* background: red; */
    margin-left: auto;
}
.logo {
    width: 102px;
    height: 40px;
    background: transparent url(../images/logo-118-tell.png) no-repeat scroll center;
    float: right;
    margin-left: 20px;
}
.logo span {
    color: var(--text-dark);
}
.header-search {
    display: flex;
    align-items: center;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 30px;
    padding: 7px 16px;
    gap: 8px;
    width: 50%;
    float: right;
}
.header-search input {
    border: none;
    background: transparent;
    outline: none;
    font-family: inherit;
    font-size: 13px;
    color: var(--text-dark);
    flex: 1;
    text-align: right;
}
.header-search i {
    color: var(--text-soft);
    font-size: 13px;
}
.header-search .city-sep {
    width: 1px;
    height: 18px;
    background: var(--border);
    margin: 0 4px;
}
.header-search .city {
    font-size: 12px;
    color: var(--text-soft);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}
.header-actions {
    float: left;
    display: flex;
    align-items: center;
    gap: 12px;
}
.culture-switcher {
    display: flex;
    gap: 4px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 2px;
}
.culture-switcher .culture-btn {
    border: none;
    background: transparent;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    color: #6b7280;
}
.culture-switcher .culture-btn.active {
    background: var(--primary, #2563eb);
    color: #fff;
}
.btn-login {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    font-size: 13px;
    color: var(--text-mid);
    background: none;
    border: none;
    cursor: pointer;
    background: #ffffff;
    padding: 0px 8px;
    border-radius: 40px;
}
.btn-register {
    background: var(--main-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 9px 18px;
    font-family: inherit;
    font-size: 13px;
    /* font-weight: 600; */
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
}
.btn-register:hover {
    background: var(--main-color-hover);
}

/* ── MAIN CONTAINER ── */
.page-container{
    margin-top: 50px;
    width: 100%;
    display: block;
}
/* .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 16px;
} */

/* ── STORIES ── */
.stories-section {
    background: var(--white);
    padding: 16px 0 12px;
    border-bottom: 1px solid var(--border);
}
.stories-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.stories-slider-outer {
    overflow: hidden;
    flex: 1;
    margin: 0 10px;
}
.stories-track {
    display: flex;
    gap: 16px;
    padding: 4px 6px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.stories-track::-webkit-scrollbar {
    display: none;
}

/* Stories Slider Navigation Buttons */
.stories-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--white);
    border: 1.5px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s, box-shadow 0.2s;
    color: var(--text-mid);
    font-size: 12px;
}
.stories-slider-btn:hover {
    background: var(--teal);
    color: #fff;
    border-color: var(--teal);
    box-shadow: 0 4px 12px rgba(1, 144, 182, 0.3);
}
.stories-slider-prev {
    right: 0;
}
.stories-slider-next {
    left: 0;
}

.story-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    flex-shrink: 0;
    scroll-snap-align: center;
    width: calc((100% - 11 * 16px) / 12);
    min-width: 62px;
    max-width: 88px;
}

/* ── Add Story Item ── */
.story-add-item {
    cursor: pointer;
}
.story-add-avatar {
    background: var(--bg) !important;
    border: 2.5px dashed var(--teal) !important;
    animation: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
}
.story-add-avatar::before {
    display: none !important;
}
.story-add-avatar i {
    font-size: 22px;
    color: var(--teal);
    z-index: 2;
    position: relative;
}
.story-add-item:hover .story-add-avatar {
    border-color: var(--green) !important;
    background: var(--green-light) !important;
}
.story-add-item:hover .story-add-avatar i {
    color: var(--green);
}
.story-add-label {
    color: var(--teal) !important;
    font-weight: 600;
}
.story-add-item:hover .story-add-label {
    color: var(--green) !important;
}

.story-avatar {
    position: relative;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(45deg, #e8f8ee, #bcddc8, #e51cd9, #44bda7, #01b641, #e1d20c);
    background-size: 300% 300%;
    animation: storyGradient 5s linear infinite;
}
@keyframes storyGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.story-avatar::before {
    content: '';
    position: absolute;
    inset: 3px;
    background: white;
    border-radius: 50%;
}

.story-avatar img,
.story-avatar i {
    position: relative;
    z-index: 2;
}
.story-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    padding: 2px;
}
.story-avatar i {
    font-size: 24px;
    color: #aaa;
}
.story-label {
    font-size: 11px;
    color: var(--text-soft);
    max-width: 70px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── LOGIN LIGHTBOX ── */
.login-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: background 0.3s ease, opacity 0.3s ease;
}
.login-lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
    background: rgba(0, 0, 0, 0.55);
}
.login-lightbox {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    padding: 36px 32px 28px;
    width: 400px;
    max-width: 92vw;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: scale(0.85) translateY(20px);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}
.login-lightbox-overlay.active .login-lightbox {
    transform: scale(1) translateY(0);
    opacity: 1;
}
.login-lightbox-close {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg);
    border: none;
    color: var(--text-soft);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background 0.2s, color 0.2s;
}
.login-lightbox-close:hover {
    background: var(--red);
    color: #fff;
}
.login-lightbox-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--green));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}
.login-lightbox-icon i {
    font-size: 30px;
    color: var(--bg);
    
}
.login-lightbox-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.5;
}
.login-lightbox-desc {
    font-size: 13px;
    color: var(--text-soft);
    line-height: 2;
    margin-bottom: 22px;
}
.login-lightbox-field {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 20px;
    transition: border-color 0.2s;
}
.login-lightbox-field:focus-within {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(10, 181, 181, 0.12);
}

 

.login-lightbox-field i {
    font-size: 20px;
    color: var(--teal);
    flex-shrink: 0;
}
.login-lightbox-field input {
    border: none;
    background: transparent;
    outline: none;
    font-family: inherit;
    font-size: 15px;
    color: var(--text-dark);
    flex: 1;
    letter-spacing: 1px;
    text-align: center;
}
.login-lightbox-field input::placeholder {
    color: var(--text-light);
    font-size: 12px;
    letter-spacing: 0;
}
.login-lightbox-actions {
    display: flex;
    gap: 12px;
}
.login-lightbox-btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}
.login-btn-cancel {
    background: var(--bg);
    color: var(--text-soft);
    border: 2px solid var(--border);
}
.login-btn-cancel:hover {
    background: var(--border);
    color: var(--text-mid);
}
 

.login-btn-submit {
    background: linear-gradient(135deg, var(--teal), var(--green));
    color: #fff;
    box-shadow: 0 4px 15px rgba(10, 181, 181, 0.3)
}
.login-btn-submit:hover {
    box-shadow: 0 6px 20px rgba(10, 181, 181, 0.4);
    transform: translateY(-1px);
}
.login-btn-submit i {
    font-size: 13px;
}

.login-lightbox-field input.shake {
    animation: loginShake 0.4s ease;
}
@keyframes loginShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

/* ── STORIES RESPONSIVE ── */
@media (max-width: 1200px) {
    .story-item {
        width: calc((100% - 9 * 16px) / 10);
    }
}
@media (max-width: 992px) {
    .story-item {
        width: calc((100% - 7 * 16px) / 8);
    }
}
@media (max-width: 768px) {
    .story-item {
        width: calc((100% - 5 * 16px) / 6);
    }
    .story-avatar {
        width: 60px;
        height: 60px;
    }
    .stories-slider-btn {
        width: 26px;
        height: 26px;
        font-size: 10px;
    }
}
@media (max-width: 576px) {
    .story-item {
        width: calc((100% - 3 * 16px) / 4);
        min-width: 56px;
    }
    .story-avatar {
        width: 54px;
        height: 54px;
    }
    .story-label {
        font-size: 10px;
        max-width: 56px;
    }
    .stories-slider-btn {
        width: 24px;
        height: 24px;
        font-size: 9px;
    }
    .login-lightbox {
        padding: 28px 20px 22px;
        border-radius: 16px;
    }
    .login-lightbox-title {
        font-size: 16px;
    }
    .login-lightbox-icon {
        width: 60px;
        height: 60px;
    }
    .login-lightbox-icon i {
        font-size: 24px;
    }
}

/* ── STORY VIEWER (Instagram-style) ── */
.story-viewer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: background 0.3s ease, opacity 0.3s ease;
}
.story-viewer-overlay.active {
    opacity: 1;
    visibility: visible;
    background: rgba(0, 0, 0, 0.92);
}

.story-viewer {
    position: relative;
    width: 420px;
    max-width: 95vw;
    height: 85vh;
    max-height: 780px;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    transform: scale(0.85) translateY(30px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
}
.story-viewer-overlay.active .story-viewer {
    transform: scale(1) translateY(0);
    opacity: 1;
}
.story-viewer-overlay.closing .story-viewer {
    transform: scale(0.85) translateY(30px);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 1, 1), opacity 0.25s ease;
}
.story-viewer-overlay.closing {
    background: rgba(0, 0, 0, 0);
}

/* Progress Bar */
.story-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    gap: 4px;
    padding: 10px 12px 6px;
}
.story-progress-segment {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}
.story-progress-segment.completed {
    background: rgba(255, 255, 255, 0.9);
}
.story-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: #fff;
    border-radius: 3px;
    transition: none;
}
.story-progress-segment.active .story-progress-fill {
    transition: width linear;
}
.story-progress-segment.buffering .story-progress-fill {
    background: rgba(255, 255, 255, 0.5);
    animation: progressPulse 1s ease infinite;
}
@keyframes progressPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Header */
.story-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 15;
    padding: 24px 14px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    direction: rtl;
}
.story-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.story-header-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    object-fit: cover;
    flex-shrink: 0;
}
.story-header-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.story-header-name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}
.story-header-time {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    direction: ltr;
    text-align: right;
}
.story-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.story-btn-pause,
.story-btn-close {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    transition: background 0.2s;
    font-size: 18px;
}
.story-btn-pause:hover,
.story-btn-close:hover {
    background: rgba(255, 255, 255, 0.15);
}
.story-btn-pause i,
.story-btn-close i {
    font-size: 18px;
}

/* Story Image */
.story-image-container {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}
.story-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.story-image-container img.loaded {
    opacity: 1;
}
.story-image-container img.slide-enter {
    animation: storySlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes storySlideIn {
    from { opacity: 0; transform: scale(1.04); }
    to { opacity: 1; transform: scale(1); }
}

/* Loading spinner */
.story-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}
.story-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Swipe / Tap Areas */
.story-nav-area {
    position: absolute;
    top: 60px;
    bottom: 0;
    z-index: 10;
    cursor: pointer;
    transition: background 0.15s;
}
.story-nav-area:active {
    background: rgba(255, 255, 255, 0.04);
}
.story-nav-area.prev {
    right: 0;
    width: 35%;
}
.story-nav-area.next {
    left: 0;
    width: 65%;
}

/* Mobile Swipe */
.story-swipe-layer {
    position: absolute;
    inset: 0;
    z-index: 12;
    touch-action: pan-y;
}

/* Bottom gradient */
.story-bottom-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(0deg, rgba(0,0,0,0.45) 0%, transparent 100%);
    z-index: 8;
    pointer-events: none;
}

/* Counter badge */
.story-counter {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    direction: ltr;
    pointer-events: none;
}

/* Story item seen state */
.story-item.seen .story-avatar {
    background: #ccc;
    animation: none;
}
.story-item.seen .story-avatar::before {
    background: #eee;
}

/* Responsive */
@media (max-width: 480px) {
    .story-viewer {
        width: 100vw;
        max-width: 100vw;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }
    .story-viewer-overlay {
        align-items: stretch;
    }
    .story-nav-area.prev {
        width: 30%;
    }
    .story-nav-area.next {
        width: 70%;
    }
    .story-item {
        width: calc((100% - 2 * 14px) / 3);
        min-width: 50px;
    }
    .story-avatar {
        width: 48px;
        height: 48px;
    }
    .story-label {
        font-size: 9px;
        max-width: 50px;
    }
    .stories-slider-btn {
        width: 22px;
        height: 22px;
        font-size: 8px;
    }
    .login-lightbox {
        padding: 24px 16px 20px;
        border-radius: 14px;
        width: 95vw;
    }
    .login-lightbox-title {
        font-size: 15px;
    }
    .login-lightbox-desc {
        font-size: 12px;
    }
    .login-lightbox-field {
        padding: 10px 12px;
    }
    .login-lightbox-field input {
        font-size: 14px;
    }
    .login-lightbox-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* Story thumbnail hover */
.story-item:hover .story-avatar {
    transform: scale(1.08);
    transition: transform 0.2s ease;
}
.story-avatar {
    transition: transform 0.2s ease;
}

/* ── CATEGORIES ── */
.categories-section {
    background: var(--white);
    padding: 12px 0px 16px;
    /* border-bottom: 1px solid var(--border); */
}
.section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-mid);
    margin-bottom: 12px;
}
.section-title i {
    color: var(--teal);
}
.categories-grid {
    display: grid;
    /* Real bug found live (see plan.md/progress.md): this was hardcoded to
       repeat(11, 1fr) to exactly match the static mockup's 11 hand-written
       category items -- the live Tell_Category table has 12 top-level rows
       (and can gain/lose more via CategoryForm.razor), so a fixed count
       here misaligns the grid into an uneven wrapped row as soon as the
       real count differs from 11. auto-fill sizes columns to fit instead. */
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 5px;
    padding: 8px 0;
}
.categories-grid::-webkit-scrollbar {
    display: none;
}
.cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-align: center;
    padding: 10px 4px;
    border-radius: var(--radius-sm);
    transition: background 0.2s ease, transform 0.15s ease;
}
.cat-item:hover {
    background: var(--green-light);
    transform: translateY(-2px);
}


 

.cat-item a{
    text-decoration: none;
} 

.cat-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background: var(--green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    /* transition: background 0.2s; */

    margin-left: auto;
    margin-right: auto;
}
.cat-icon:hover , .cat-item:hover > a .cat-icon {
    background: #c5f0d5;
}
.cat-icon i {
    font-size: 25px;
    color: var(--teal);
}
.cat-label {
    font-size: 12px;
    color: var(--text-mid);
    text-align: center;
    /* max-width: 68px; */
    
}

/* ── PAGE BODY ── */
.page-body {
    padding: 20px 0;
}

/* ── FEATURED SECTION / SLIDER ── */
.featured-section {
    /* background: linear-gradient(135deg, #fff8f0 0%, #fff 100%); */
    border: 2px solid #d0e8f1;
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 20px;
    overflow: hidden;

        /* background: linear-gradient(334deg, #6b97f7, #7525e2, #f7137e); */
        background: linear-gradient(334deg, #e5edff, #fcfaff, #c8e8ff);
        background-size: 180% 180%;
        animation: gradient-animation 6s ease infinite;
}

@keyframes gradient-animation {
        0% {
                background-position: 0% 50%;
        }
        50% {
                background-position: 100% 50%;
        }
        100% {
                background-position: 0% 50%;
        }
}
 

.featured-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.featured-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 700;
    /* color: var(--orange); */
    color: #0ab5b5;
}
.featured-more {
    font-size: 12px;
    color: var(--teal);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    background: #daeff5;
    padding: 3px 5px;
    border-radius: 5px;
    /* transition: all 100ms ease-in-out; */
}

.featured-more:hover{
    background:#fff; 
}


/* Slider wrapper */
.slider-wrapper {
    position: relative;
}
.slider-track-outer {
    overflow: hidden;
    border-radius: var(--radius-sm);
}
.slider-track {
    display: flex;
    gap: 12px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.featured-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    flex-shrink: 0;
    width: 200px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--card-shadow);
    transition:
        transform 0.2s,
        box-shadow 0.2s;
}
.featured-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
.featured-card .img-placeholder {
    width: 100%;
    height: 200px;
    background: #eee;
}
.featured-card .card-info {
    padding: 8px;
}
.featured-card .card-title {
    font-size: 12px;
    /* font-weight: 600; */
    color: var(--teal);
    margin-bottom: 4px;
}
.featured-card .card-meta {
    display: flex;
    gap: 6px;
    font-size: 10px;
    color: var(--text-soft);
    align-items: center;
}
.featured-card .card-meta i {
    font-size: 9px;
}

/* Arrow buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--white);
    border: 1.5px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition:
        background 0.2s,
        box-shadow 0.2s;
    color: var(--text-mid);
    font-size: 12px;
}
.slider-btn:hover {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}
.slider-btn:disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}
.slider-btn-prev {
    right: -14px;
}
.slider-btn-next {
    left: -14px;
}

/* Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
}
.slider-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition:
        background 0.2s,
        transform 0.2s;
}
.slider-dot.active {
    background: var(--orange);
    transform: scale(1.3);
}


/* ── BANNER ADS ── */
.section-banner-ads{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 8px 0;
    margin-bottom: 15px;
}
.section-banner-ads-items{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.section-banner-ads-items img{
    width: 100%;
    border-radius: 8px;
}

/* ── LATEST ADS ── */
.ads-section {
    margin-bottom: 20px;
}
.ads-section .section-title {
    font-size: 15px;
    margin-bottom: 14px;
}
.ads-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.ad-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    display: flex;
    gap: 10px;
    padding: 10px;
    cursor: pointer;
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.2s;
    align-items: flex-start;
}
.ad-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.ad-thumb {
    width: 70px;
    height: 70px;
    background: #e0e0e0;
    flex-shrink: 0;
    border-radius: 6px;
    position: relative;
}
.ad-thumb img{
    width: 70px;
    height: 70px;
    border-radius: 6px;
}

.ad-stars {
    font-size: 12px;
    color: var(--yellow);
    position: absolute;
    display: table;
    background: #ffffff;
    left: 0px;
    right: 0px;
    margin-left: auto;
    margin-right: auto;
    padding: 0px 4px;
    border-radius: 10px;
    bottom: -10px;
}

.ad-info {
    flex: 1;
    min-width: 0;
}
.ad-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 45px;
}
.ad-bottom {
    display: block;
    width: 100%;
    /* align-items: center; */
    justify-content: space-between;
    /* background: red; */
    float: left;
}
.ad-price {
    font-size: 11px;
    font-weight: 700;
    color: var(--green);
}

.ad-location {
    font-size: 12px;
    color: var(--text-soft);
    display: flex;
    align-items: center;
    gap: 3px;
}
.ad-location i {
    font-size: 10px;
}
.ad-likes {
    font-size: 13px;
    color: var(--text-soft);
    align-items: center;
    gap: 2px;
    float: left;
    /* background: green; */
    text-align: left;
    display: inline-block;
}
.ad-likes i {
    color: var(--red);
    font-size: 9px;
}

.show-more-bg{
    width: 100%;
    background: #ffffff;
    display: block;
    position: relative;
    box-shadow: 0px -30px 70px 20px #ffffff;
}


.show-more-btn {
    display: block;
    width: 260px;
    margin: 18px auto 0;
    text-align: center;
    /* background: var(--white); */
    background: #ebf8ff;
    /* border: 2px solid var(--teal); */
    border: 1px solid #c1e8ff;
    /* color: var(--teal); */
    color: #009ef9;
    border-radius: 30px;
    padding: 11px 20px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    box-shadow: 0px 0px 20px -5px #a9e1ff;
}

.show-more-btn:hover {
    
    background: #009ef9;
    color: var(--white);
}

/* ── URGENT SERVICES ── */
.urgent-section {
    margin-bottom: 20px;
}
.urgent-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;

    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 219, 219, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
    background-size: 75% 100%;
    animation-duration: 1500ms;
    animation-name: headerShine;
    animation-iteration-count: infinite;
    background-repeat: no-repeat;
    animation-timing-function: ease;
    background-position: 0 0;
   
    background-blend-mode: overlay;
}


@keyframes headerShine {
    0% {
      background-position: -300% 0;
    }
    100% {
      background-position: 500% 0;
    }
  }


.urgent-item {
    background: #fff0f0;
    border: 1px solid #ffcccc;
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s;
}
.urgent-item:hover {
    background: #ffe4e4;
}

.urgent-item a span{
    float: left;
    margin-right: 5px;
    color: var(--text-dark);
    margin-top: 10px;
}
.urgent-item .urg-img {
    width: 50px;
    height: 40px;
    background: #ffbbbb;
    border-radius: 4px;
    float: right;
}

/* ── BANNER ── */
.banner {
    background: #e8e8e8;
    border-radius: var(--radius);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.banner span {
    font-size: 22px;
    font-weight: 700;
    color: #bbb;
}

/* ── TOP SEARCHED ── */
.top-section {
    background: var(--white);
    border-radius: var(--radius);
    /* padding: 16px; */
    margin-bottom: 20px;
    /* box-shadow: var(--card-shadow); */
}
.top-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.top-col{
    border: 1px solid #f1f1f1;
    padding: 10px;
    border-radius: 12px;
}

.top-col h4 {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    padding: 8px 8px 5px 0px;
    border-right: 3px solid var(--green-light-c);
    background: #f6fffe;
}
.top-col ul {
    list-style: none;
}
.top-col ul li {
    padding: 5px 0;
    border-bottom: 1px solid var(--border);
    padding-right: 12px;
}
.top-col ul li:last-child{
    border-bottom-width: 0px;
}
.top-col ul li a {
    font-size: 12px;
    color: var(--teal);
    text-decoration: none;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.top-col ul li a:hover {
    color: var(--green-dark);
}
/* Page All ADS */

/* BREADCRUMB */
.breadcrumb {
    padding: 10px 0;
    font-size: 12px;
    color: var(--text-soft);
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
}
.breadcrumb a {
    color: var(--teal);
    text-decoration: none;
}
.breadcrumb i {
    font-size: 10px;
}

/* FILTER BAR */
.filter-bar {
    background: var(--white);
    border-radius: var(--radius);
    padding: 12px 16px;
    margin-bottom: 16px;
    display: flex;
    gap: 10px;
    align-items: center;
    box-shadow: var(--card-shadow);
}
.filter-search {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 9px 12px;
}
.filter-search input {
    border: none;
    background: transparent;
    outline: none;
    font-family: inherit;
    font-size: 13px;
    width: 100%;
    text-align: right;
}
.filter-select {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 9px 12px;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    color: var(--text-mid);
    white-space: nowrap;
}
.filter-select i {
    color: var(--teal);
}
.filter-select .arr {
    color: var(--text-soft);
    font-size: 10px;
    margin-right: 4px;
}
.btn-search {
    background: var(--blue);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 22px;
    font-family: inherit;
    font-size: 13px;
    /* font-weight: 600; */
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}
.btn-search:hover {
    background: var(--green-dark);
}

 

/* SORT BAR */
.sort-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.sort-bar .section-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 700;
    color: var(--teal);
}
.sort-dropdown {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 7px 12px;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    color: var(--text-mid);
}

/* GRID ADS */
.grid-ads {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}
.grid-ad {
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--card-shadow);
    transition:
        transform 0.2s,
        box-shadow 0.2s;
}
.grid-ad:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
.grid-ad .ad-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: #ddd;
    display: block;
}
.grid-ad .ad-img-ph {
    width: 100%;
    aspect-ratio: 1;
    background: #ddd;
    overflow: hidden;
}
.grid-ad .ad-img-ph img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.grid-ad .ad-body {
    padding: 7px 8px;
}
.grid-ad .ad-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.grid-ad .ad-location {
    font-size: 10px;
    color: var(--text-soft);
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 2px;
}
.grid-ad .ad-location i {
    font-size: 9px;
}
.grid-ad .ad-time {
    font-size: 10px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 3px;
}
.grid-ad .ad-time i {
    font-size: 9px;
}

/* PROMO BANNER */
.promo-banner {
    background: linear-gradient(135deg, #b8a9f8 0%, #c9b8fb 50%, #d4c5f9 100%);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
}
.promo-text {
    text-align: right;
}
.promo-text h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 4px;
}
.promo-text p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
}
.promo-btn {
    background: var(--white);
    color: var(--purple);
    border: none;
    border-radius: 8px;
    padding: 8px 18px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
.promo-icon {
    font-size: 60px;
    color: rgba(255, 255, 255, 0.3);
}

/* Page Single */

/* LAYOUT */
/* .container {
    max-width: 90%;
    margin: 0 auto;
    padding: 0 16px;
} */
.breadcrumb {
    padding: 10px 0;
    font-size: 12px;
    color: var(--text-soft);
    display: block;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;

}
.breadcrumb a {
    color: var(--teal);
    text-decoration: none;
    text-align: right;
    
}
.breadcrumb i {
    font-size: 10px;
}
.page-layout {
    /* display: grid;
    grid-template-columns: 1fr 280px;
    gap: 20px;
    align-items: start; */

    width: 100%;
    /* background: red; */
    float: right;
    display: table;
}

/* MAIN CONTENT */
.main-content {
    width: 68%;
    float: right;
}
.sidebar{
    width: 30%;
    float: left;
    display: inline-block;
}

/* ── GALLERY ── */
.gallery-wrap {
    margin-bottom: 16px;
}
.gallery-main {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: #ddd;
    cursor: zoom-in;
    margin-bottom: 8px;
}
.gallery-main img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
#mainImg-on{
    width: 300px;
    height: 300px;
    display: block;
    position: absolute;
    object-fit: none;
    z-index: 1;
    margin-left: auto;
    margin-right: auto;
    left: 0px;
    right: 0px;
}

.poster-imageBG{
    background-size: cover;
    background-repeat: no-repeat;
    filter: blur(10px);
}


.gallery-main:hover img {
    transform: scale(1.02);
}
.gallery-count {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    pointer-events: none;
}
.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    transition: background 0.2s;
    z-index: 2;
}
.gallery-nav-btn:hover {
    background: var(--white);
}
.gallery-nav-btn.prev {
    right: 10px;
}
.gallery-nav-btn.next {
    left: 10px;
}
.gallery-thumbs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
}
.gallery-thumbs::-webkit-scrollbar {
    display: none;
}
.gallery-thumb {
    width: 72px;
    height: 56px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
    border: 2.5px solid transparent;
    transition:
        border-color 0.2s,
        opacity 0.2s;
    opacity: 0.65;
}
.gallery-thumb.active {
    border-color: var(--teal);
    opacity: 1;
}
.gallery-thumb:hover {
    opacity: 1;
}
.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── LIGHTBOX ── */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    animation: lbFadeIn 0.2s ease;
}
.lightbox.open {
    display: flex;
}
@keyframes lbFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.lb-close {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.lb-close:hover {
    background: rgba(255, 255, 255, 0.25);
}
.lb-counter {
    position: absolute;
    top: 22px;
    right: 50%;
    transform: translateX(50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}
.lb-img-wrap {
    max-width: 860px;
    width: 90vw;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.lb-img {
    max-width: 100%;
    max-height: 72vh;
    border-radius: 10px;
    object-fit: contain;
    display: block;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    animation: lbSlideIn 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes lbSlideIn {
    from {
        opacity: 0;
        transform: scale(0.94);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
.lb-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.13);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.lb-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}
.lb-btn.prev {
    right: -58px;
}
.lb-btn.next {
    left: -58px;
}
.lb-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    overflow-x: auto;
    scrollbar-width: none;
    max-width: 90vw;
    padding: 4px 2px;
}
.lb-thumbs::-webkit-scrollbar {
    display: none;
}
.lb-thumb {
    width: 64px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.18);
    opacity: 0.5;
    transition:
        opacity 0.2s,
        border-color 0.2s;
}
.lb-thumb.active {
    border-color: var(--teal);
    opacity: 1;
}
.lb-thumb:hover {
    opacity: 0.85;
}
.lb-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ad-title-area {
    margin-bottom: 16px;
}
.ad-title-area h1 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.5;
}

.ad-btns-area{
    width: 100%;
    float: left;
    border-bottom: 1px solid #e9e9e9;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-top: 1px solid #e9e9e9;
    padding-top: 10px;
}

.ad-content-btn-ads{
    /* background: green; */
    float: left;
}

.ad-content-btn-ads button{
    padding: 4px;
    width: 35px;
    height: 35px;
    font-size: 18px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    background: #efefef;
    color: #7c7c7c;
    cursor: pointer;
    margin-right: 3px;
}
.ad-content-btn-ads button:hover{
    background: #fafafa;
}

.ad-loc {
    color: var(--text-soft);
    /* background: yellow; */
    width: auto;
    float: right;
    margin-top: 8px;
    /* padding: 10px 0px; */
}
.ad-loc i {
    color: var(--red);
}

.section-card {
    float: right;
    width: 100%;
    background: var(--white);
    border-radius: var(--radius);
    /* border: 1px solid var(--border); */
    /* padding: 16px; */
    margin-bottom: 14px;
    /* box-shadow: var(--card-shadow); */
}
.section-card h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.section-card h3 i {
    color: var(--teal);
}
.desc-text {
    font-size: 13px;
    line-height: 2;
    color: var(--text-mid);
}
.desc-text p {
    margin-bottom: 4px;
}

.contact-row {
    width: 100%;
    float: right;
    /* display: flex; */
    align-items: center;
    gap: 8px;
    font-size: 13px;
    border-bottom: 1px  solid #e9e9e9;
    border-top: 1px  solid #e9e9e9;
    padding: 10px 0px;
    margin-bottom: 10px;
}

.contact-row-tell{
    padding: 6px 0px;
    /* background: red; */
    float: right;
}
.contact-row i {
    color: var(--green);
    font-size: 16px;
}
.contact-row a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    direction: ltr;
}

.address-row {
    width: 100%;
    float: right;
    /* align-items: flex-start; */
    /* gap: 8px; */
    font-size: 13px;
    color: var(--text-mid);
    margin-top: 5px;
}
.address-row i {
    color: var(--red);
    margin-top: 2px;
    flex-shrink: 0;
}

.report-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff5f5;
    border: 1px solid #ffcccc;
    color: var(--red);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
    float: left;
}

.report-btn i{
    color: var(--red);
}

.report-btn:hover{
    background: #ffffff;  
}

/* MAP */
.map-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    margin-bottom: 14px;
    box-shadow: var(--card-shadow);
}
.map-placeholder {
    height: 180px;
    background: linear-gradient(135deg, #e8f4e8 0%, #d5ecd5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.map-placeholder i.map-icon {
    font-size: 36px;
    color: var(--red);
}
.map-placeholder .map-expand {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.map-placeholder .map-expand i {
    font-size: 12px;
    color: var(--text-mid);
}

/* COMMENTS */
.comment-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
    background:#fff;
    border-radius: var(--radius-sm);
    padding: 12px;
    margin-bottom: 14px;
    cursor: pointer;
    border: 1px solid #d3d3d3;
}
.comment-input-row:hover{
    border-color: var(--link-blue);
}
.comment-input-row input {
    border: none;
    background: transparent;
    outline: none;
    font-family: inherit;
    font-size: 13px;
    color: var(--text-soft);
    flex: 1;
    text-align: right;
    cursor: pointer;
}
.comment-input-row i {
    color: var(--text-soft);
}

.comment-item {
    width: 100%;
    display: block;
    float: right;
    padding: 20px 0px;
    border-bottom: 1px  solid #e9e9e9;
}
.comment-item:last-child {
    border-bottom: none;
}
.comment-avatar {
   width: 50px;
   height: 50px;
   float: right;

}
.comment-avatar img{
  width: 50px;   
  width: 50px;
  border-radius: 50%;
}
 
.comment-body {
    width: 90%;
    float: left;
    /* background:red; */
}
.comment-body-head{
    width: 100%;
    float: right;
    /* background: yellow; */
}
.comment-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--teal);
    margin-bottom: 2px;
    float: right;
}
.comment-time {
    font-size: 11px;
    color: var(--text-light);
    margin-bottom: 4px;
    float: left;
}
.comment-text {
    font-size: 12px;
    color: var(--text-mid);
    line-height: 1.7;
}

.show-more-comments {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text-soft);
    border-radius: var(--radius-sm);
    padding: 10px;
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.2s;
}
.show-more-comments:hover {
    background: #eee;
}

/* SIDEBAR */
.sidebar {
}
.sidebar-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 16px;
    margin-bottom: 14px;
    box-shadow: var(--card-shadow);
}

/* VERIFIED BADGE */
.verified-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--green-light);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    margin-bottom: 14px;
    border: 1px solid #c3ebd4;
}
.verified-badge i {
    color: var(--green);
    font-size: 18px;
}
.verified-badge span {
    font-size: 12px;
    /* font-weight: 600; */
    color: var(--green-dark);
}

/* USER INFO */
.user-row {
    width: 100%;
    display: table;
    align-items: center;
    /* gap: 10px; */
    margin-bottom: 14px;
}
.user-avatar {
    width: 20%;
    display: inline-block;
    float: right;
}
.user-avatar img{
    border-radius: 50%;
    width: 50px;
    height: 50px;
}
.user-info{
    width: 80%;
    float: left;
}

.user-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}
.user-info span {
    font-size: 12px;
    color: var(--text-soft);
    width: 100%;
    float: right;
    
}
.user-ads-link {
    font-size: 12px;
    color: var(--teal);
    float: left;
    background: #eff9ff;
    padding: 2px 8px;
    border-radius: 5px;
}
.user-ads-link:hover{
    background: #fff;
}

/* ACTION BUTTONS */
.action-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
}
.btn-call {
    background: var(--green);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-family: inherit;
    font-size: 13px;
    /* font-weight: 600; */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.2s;
}
.btn-call:hover {
    background: var(--green-dark);
}
.btn-chat {
    background: var(--white);
    color: var(--teal);
    border: 2px solid var(--teal);
    border-radius: 8px;
    padding: 12px;
    font-family: inherit;
    font-size: 13px;
    /* font-weight: 600; */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
}
.btn-chat:hover {
    background: var(--teal);
    color: var(--white);
}

/* SATISFACTION */
.satisfaction-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-soft);
    padding: 10px 0;
    border-top: 1px solid var(--border);
}
.satisfaction-row i {
    color: var(--green);
}
.satisfaction-row strong {
    color: var(--text-dark);
}

/* NOTE */
.note-area {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 10px;
    font-family: inherit;
    font-size: 12px;
    resize: vertical;
    outline: none;
    min-height: 70px;
    color: var(--text-soft);
    background: var(--bg);
}
.note-hint {
    font-size: 11px;
    color: var(--text-light);
    margin-top: 4px;
}

/* SAFETY BANNER */
.safety-banner {
   
    border: 2px solid #ffefef;
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    background:
    linear-gradient(
        90deg,
        rgba(255, 244, 244, 0.8) 0%,
        rgba(255, 255, 255, 0.8) 100%
    ),
    url("../images/bg-alert-single.png");

    background-repeat: no-repeat;
    background-position: left;
     
}

.safety-banner:hover{
    border-color: #ffe0e0;
}

.safety-banner-img{
    width: 44px;
    height: 44px;
    background: transparent url(../images/icon-alert-single.png) no-repeat scroll center;
}

.safety-banner i {
    color: var(--orange);
    font-size: 16px;
}
.safety-banner span {
    font-size: 15px;
    color: #ef3739;
    font-weight: 600;
    cursor: pointer;
}

/* RELATED */
.related-section {
    width: 100%;
    margin-top: 24px;
    float: right;
    
}
.related-section h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 14px;
    float: right;
    width: 100%;
}
.related-section h3 i {
    color: var(--teal);
}
.related-grid {
    width: 100%;
    float: right;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}
.rel-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--card-shadow);
    transition: transform 0.2s;
}
.rel-card:hover {
    transform: translateY(-2px);
}
.rel-card .img-ph {
    width: 100%;
    aspect-ratio: 1;
    background: #ddd;
    overflow: hidden;
}
.rel-card .img-ph img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.rel-card .rel-body {
    padding: 7px 8px;
}
.rel-card .rel-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 3px;
}
.rel-card .rel-meta {
    font-size: 10px;
    color: var(--text-soft);
    display: flex;
    align-items: center;
    gap: 2px;
}
/* ── FOOTER ── */
.footer-about{
    text-align: justify;
    border-bottom: 1px solid #dfdfdf;
    margin-bottom: 10px;
    font-size: 13px;
    padding-bottom: 20px;
}

footer {
    width: 100%;
    background: #fbfbfb;
    border-top: 1px solid var(--border);
    padding: 24px 20px 16px;
    display: table;
    margin-top: 100px;
    float: right;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}
.footer-col h5 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 7px;
}
.footer-col ul li a {
    font-size: 12px;
    color: var(--text-soft);
    text-decoration: none;
}
.footer-col ul li a:hover {
    color: var(--teal);
}
.footer-logos {
    display: flex;
    gap: 10px;
}
.trust-logo {
    width: 52px;
    height: 52px;
    background: #eee;
    border-radius: 8px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
}
.trust-logo i {
    color: #999;
    font-size: 18px;
}
.footer-desc {
    font-size: 11px;
    color: var(--text-soft);
    line-height: 1.9;
    border-top: 1px solid var(--border);
    padding-top: 14px;
}

/* ═══════════════════════════════════════════
   MOBILE BOTTOM NAVIGATION (Glass Morphism)
   ═══════════════════════════════════════════ */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
    padding: 6px 0 env(safe-area-inset-bottom, 6px);
}

.mobile-bottom-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    max-width: 500px;
    margin: 0 auto;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 4px 0;
    text-decoration: none;
    /* color: var(--text-soft); */
    color:#242424;
    font-size: 10px;
    font-weight: 500;
    transition: color 0.2s, transform 0.2s;
    position: relative;
    min-width: 56px;
}

.mobile-nav-item i {
    font-size: 20px;
    transition: color 0.2s, transform 0.2s;
}

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

.mobile-nav-item.active i {
    color: var(--teal);
    transform: scale(1.15);
}

.mobile-nav-item.active::after {
    /* content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--teal);
    border-radius: 0 0 3px 3px; */
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 55px;
    height: 55px;
    background: #ffffff;
    border-radius: 15px;
    z-index: -1;
    box-shadow: 0px 0px 15px 1px #fff;

    
}

.mobile-nav-item:hover {
    color: var(--teal);
}

/* ═══════════════════════════════════════════
   MOBILE HEADER ELEMENTS
   ═══════════════════════════════════════════ */
.mobile-header-search-btn,
.mobile-header-hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 20px;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
    align-items: center;
    justify-content: center;
}

.mobile-header-search-btn:hover,
.mobile-header-hamburger:hover {
    background: rgba(1, 144, 182, 0.08);
    color: var(--teal);
}

/* ═══════════════════════════════════════════
   SEARCH OVERLAY
   ═══════════════════════════════════════════ */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0);
    visibility: hidden;
    transition: background 0.3s, visibility 0.3s;
    display: flex;
    flex-direction: column;
}

.search-overlay.active {
    background: rgba(0, 0, 0, 0.45);
    visibility: visible;
}

.search-overlay-content {
    background: var(--white);
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    border-radius: 0 0 20px 20px;
    padding: 16px 20px 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    max-height: 80vh;
    overflow-y: auto;
}

.search-overlay.active .search-overlay-content {
    transform: translateY(0);
    opacity: 1;
}

.search-overlay-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.search-overlay-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 14px;
    padding: 12px 16px;
    transition: border-color 0.2s;
}

.search-overlay-field:focus-within {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(1, 144, 182, 0.1);
}

.search-overlay-field i {
    color: var(--teal);
    font-size: 16px;
}

.search-overlay-field input {
    border: none;
    background: transparent;
    outline: none;
    font-family: inherit;
    font-size: 15px;
    color: var(--text-dark);
    flex: 1;
    text-align: right;
}

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

.search-overlay-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg);
    border: none;
    color: var(--text-soft);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}

.search-overlay-close:hover {
    background: var(--red);
    color: #fff;
}

.search-overlay-section {
    margin-bottom: 18px;
}

.search-overlay-section-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.search-overlay-section-title i {
    color: var(--teal);
    font-size: 14px;
}

.search-overlay-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.search-overlay-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 12px;
    color: var(--text-mid);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.search-overlay-tag:hover {
    background: var(--teal);
    color: #fff;
    border-color: var(--teal);
}

.search-overlay-tag i {
    font-size: 10px;
    color: var(--text-light);
}

.search-overlay-tag:hover i {
    color: #fff;
}

.search-recent-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 4px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background 0.15s;
    border-radius: 6px;
}

.search-recent-item:hover {
    background: var(--bg);
}

.search-recent-item i {
    color: var(--text-light);
    font-size: 14px;
}

.search-recent-item span {
    font-size: 13px;
    color: var(--text-mid);
    flex: 1;
}

.search-recent-item .search-recent-delete {
    color: var(--text-light);
    font-size: 12px;
    padding: 4px;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}

.search-recent-item .search-recent-delete:hover {
    color: var(--red);
}

/* ═══════════════════════════════════════════
   MOBILE HAMBURGER SIDEBAR
   ═══════════════════════════════════════════ */
.mobile-sidebar-overlay {
    position: fixed;
    inset: 0;
    z-index: 5000;
    background: rgba(0, 0, 0, 0);
    visibility: hidden;
    transition: background 0.3s, visibility 0.3s;
}

.mobile-sidebar-overlay.active {
    background: rgba(0, 0, 0, 0.45);
    visibility: visible;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    max-width: 85vw;
    z-index: 5001;
    background: var(--white);
    /* box-shadow: -6px 0 30px rgba(0, 0, 0, 0.15); */
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-sidebar.active {
    transform: translateX(0);
}

.mobile-sidebar-header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-sidebar-logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--red);
}

.mobile-sidebar-logo span {
    color: var(--text-dark);
}

.mobile-sidebar-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg);
    border: none;
    color: var(--text-soft);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.mobile-sidebar-close:hover {
    background: var(--red);
    color: #fff;
}

/* General mobile sidebar menu items */
.mobile-sidebar-menu {
    padding: 12px 0;
    flex: 1;
}

.mobile-sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 20px;
    font-size: 14px;
    color: var(--text-dark);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    font-family: inherit;
    text-align: right;
}

.mobile-sidebar-item:hover {
    background: var(--bg);
    color: var(--teal);
}

.mobile-sidebar-item i {
    width: 22px;
    text-align: center;
    color: var(--text-soft);
    font-size: 16px;
    transition: color 0.15s;
}

.mobile-sidebar-item:hover i {
    color: var(--teal);
}

.mobile-sidebar-item.active {
    color: var(--teal);
    background: rgba(1, 144, 182, 0.06);
    font-weight: 600;
}

.mobile-sidebar-item.active i {
    color: var(--teal);
}

.mobile-sidebar-divider {
    height: 1px;
    background: var(--border);
    margin: 8px 20px;
}

/* Profile-specific sidebar section */
.mobile-sidebar-profile-section {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.mobile-sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-sidebar-user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--teal);
    overflow: hidden;
    flex-shrink: 0;
}

.mobile-sidebar-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-sidebar-user-info h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.mobile-sidebar-user-info span {
    font-size: 12px;
    color: var(--text-soft);
}

.mobile-sidebar-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.mobile-sidebar-footer-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 13px;
    color: var(--text-soft);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.15s;
}

.mobile-sidebar-footer-item:hover {
    color: var(--teal);
}

.mobile-sidebar-footer-item i {
    width: 20px;
    text-align: center;
    font-size: 14px;
}

/* ═══════════════════════════════════════════
   RESPONSIVE - TABLET (max-width: 992px)
   ═══════════════════════════════════════════ */
@media (max-width: 992px) {
    .grid-ads {
        grid-template-columns: repeat(4, 1fr);
    }

    .related-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .urgent-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

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

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

/* ═══════════════════════════════════════════
   RESPONSIVE - MOBILE (max-width: 768px)
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
    /* Show mobile header elements */
    .mobile-header-search-btn,
    .mobile-header-hamburger {
        display: flex;
    }

    /* Show bottom nav */
    .mobile-bottom-nav {
        display: block;
    }

    /* Adjust body for bottom nav */
    body {
        padding-bottom: 70px;
    }

    /* Header: show only logo + search btn + hamburger */
    header {
        height: 56px;
    }

    .header-section {
        width: 95%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .header-search {
        display: none;
    }

    .header-actions {
        display: none;
    }

    .logo {
        margin-left: 0;
    }

    .mobile-header-right {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .mobile-header-left {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    /* Page container */
    .page-container {
        margin-top: 56px;
    }

    /* Categories grid */
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .cat-item {
        padding: 8px 2px;
        gap: 6px;
    }

    .cat-icon {
        width: 50px;
        height: 50px;
        border-radius: 10px;
    }

    .cat-icon i {
        font-size: 20px;
    }

    .cat-label {
        font-size: 11px;
    }

    /* Featured section */
    .featured-card {
        width: 160px;
    }

    .featured-card .img-placeholder {
        height: 160px;
    }

    .slider-btn {
        width: 28px;
        height: 28px;
        font-size: 10px;
    }

    .slider-btn-prev {
        right: -8px;
    }

    .slider-btn-next {
        left: -8px;
    }

    /* Grid ads */
    .grid-ads {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    /* Related grid */
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    /* Top section */
    .top-cols {
        grid-template-columns: 1fr;
    }

    /* Ads grid */
    .ads-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Urgent grid */
    .urgent-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Promo banner */
    .promo-banner {
        padding: 16px;
    }

    .promo-text h3 {
        font-size: 15px;
    }

    .promo-icon {
        font-size: 40px;
    }

    /* Page Layout - Single */
    .page-layout {
        display: block;
    }

    .main-content {
        width: 100%;
        float: none;
    }

    .sidebar {
        width: 100%;
        float: none;
        display: block;
        margin-top: 16px;
    }

    /* Gallery */
    .gallery-main img {
        height: 220px;
    }

    .gallery-thumb {
        width: 56px;
        height: 44px;
    }

    /* Lightbox */
    .lb-btn.prev {
        right: -10px;
    }

    .lb-btn.next {
        left: -10px;
    }

    /* Filter bar */
    .filter-bar {
        flex-wrap: wrap;
        gap: 8px;
    }

    .filter-search {
        flex: 1 1 100%;
    }

    .filter-select {
        flex: 1;
        min-width: 0;
        font-size: 11px;
        padding: 8px 10px;
    }

    .btn-search {
        padding: 8px 16px;
        font-size: 12px;
    }

    /* Sort bar */
    .sort-bar .section-title {
        font-size: 13px;
    }

    /* Footer */
    footer {
        padding-bottom: 80px;
        margin-top: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .footer-desc {
        font-size: 10px;
    }

    /* Section title */
    .section-title {
        font-size: 13px;
    }

    /* Breadcrumb */
    .breadcrumb {
        font-size: 11px;
    }

    /* Ad title */
    .ad-title-area h1 {
        font-size: 16px;
    }

    /* Contact row */
    .contact-row {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }

    .contact-row-tell {
        float: none;
    }

    .report-btn {
        float: none;
        margin-top: 8px;
    }

    /* Action buttons */
    .action-btns {
        display: flex;
        gap: 8px;
    }

    .btn-call,
    .btn-chat {
        flex: 1;
        padding: 10px;
        font-size: 12px;
    }

    /* Featured header */
    .featured-header {
        flex-wrap: wrap;
        gap: 8px;
    }

    .featured-title {
        font-size: 14px;
    }
}

/* ═══════════════════════════════════════════
   RESPONSIVE - SMALL MOBILE (max-width)
   ═══════════════════════════════════════════ */
@media (max-width: 1000px) {
    .categories-grid {
        grid-template-columns: repeat(8, 1fr);
        }
}

@media (max-width: 900px) {
    .categories-grid {
    grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 480px) {
    /* Categories grid */
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .cat-item {
        padding: 6px 2px;
        gap: 5px;
    }

    .cat-icon {
        width: 44px;
        height: 44px;
        border-radius: 8px;
    }

    .cat-icon i {
        font-size: 18px;
    }

    .cat-label {
        font-size: 10px;
    }

    /* Featured card */
    .featured-card {
        width: 140px;
    }

    .featured-card .img-placeholder {
        height: 140px;
    }

    /* Grid ads */
    .grid-ads {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .grid-ad .ad-body {
        padding: 5px 6px;
    }

    .grid-ad .ad-title {
        font-size: 10px;
    }

    .grid-ad .ad-location {
        font-size: 9px;
    }

    .grid-ad .ad-time {
        font-size: 9px;
    }

    /* Related grid */
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    /* Gallery */
    .gallery-main img {
        height: 180px;
    }

    /* Ad title */
    .ad-title-area h1 {
        font-size: 14px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-logos {
        justify-content: flex-start;
    }

    /* Filter bar */
    .filter-select {
        flex: 1 1 100%;
    }

    /* Promo banner */
    .promo-banner {
        padding: 14px;
        flex-direction: column;
        text-align: center;
    }

    .promo-text {
        text-align: center;
    }

    .promo-icon {
        font-size: 32px;
        margin-top: 8px;
    }

    /* Search overlay */
    .search-overlay-content {
        border-radius: 0 0 14px 14px;
        padding: 12px 14px 20px;
    }

    .search-overlay-field {
        padding: 10px 12px;
    }

    .search-overlay-field input {
        font-size: 14px;
    }

    /* Mobile sidebar */
    .mobile-sidebar {
        width: 260px;
    }

    /* Mobile bottom nav */
    .mobile-nav-item {
        font-size: 9px;
        min-width: 48px;
    }

    .mobile-nav-item i {
        font-size: 18px;
    }
}

/* ═══════════════════════════════════════════
   SUBMIT PAGE - RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {

    .section-banner-ads{
        grid-template-columns: repeat(1, 1fr);
    }
    .submit-page-container {
        padding: 10px 0 30px;
    }

    .submit-page-title {
        font-size: 17px;
        margin-bottom: 18px;
        padding-bottom: 12px;
    }

    .submit-card {
        padding: 16px;
        margin-bottom: 14px;
    }

    .submit-card-title {
        font-size: 14px;
    }

    .upload-area {
        gap: 8px;
    }

    .upload-box {
        width: 100px;
        height: 100px;
    }

    .upload-box i {
        font-size: 24px;
    }

    .upload-box span {
        font-size: 9px;
    }

    .upload-box-main {
        width: 110px;
        height: 110px;
    }

    .submit-row-2 {
        flex-direction: column;
    }

    .submit-row-2 > .submit-field {
        width: 100%;
    }

    .submit-field select,
    .submit-field input {
        font-size: 13px;
        padding: 10px 12px;
    }

    .submit-desc-area {
        min-height: 120px;
        font-size: 13px;
    }

    .submit-actions {
        flex-direction: column;
        gap: 8px;
    }

    .submit-actions .btn-submit-cancel,
    .submit-actions .btn-submit-send {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .upload-box {
        width: 80px;
        height: 80px;
    }

    .upload-box i {
        font-size: 20px;
    }

    .upload-box span {
        font-size: 8px;
    }

    .upload-box-main {
        width: 90px;
        height: 90px;
    }

    .submit-card {
        padding: 12px;
    }

    .submit-page-title {
        font-size: 15px;
    }
}
