.c-mobile-features {
    display: none;
    flex-direction: column;
    padding: 1.25rem 0 0.75rem;
    border-bottom: 1px solid var(--color-border);
}

.c-search-wrapper {
    padding: 0 1.25rem;
    margin-bottom: 1rem;
}

/* Home Page Mobile Search Bar Overrides */
.c-search-hero {
    margin-bottom: 0 !important;
}

.c-search-hero__box {
    padding: 0.85rem 1rem !important;
    background: #212121 !important;
    border: none !important;
    margin-bottom: 0 !important;
}

.c-search-hero__icon {
    font-size: 1rem !important;
}

.c-search-hero__input {
    font-size: 0.85rem !important;
}

.c-search-hero__input::placeholder {
    font-size: 0.85rem !important;
}

.c-category-scroller {
    display: flex;
    overflow-x: auto;
    padding: 0 1rem;
    gap: 1rem;
    scrollbar-width: none;
}

.c-category-scroller::-webkit-scrollbar {
    display: none;
}

.c-cat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    min-width: 50px;
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    gap: 0;
    text-align: center;
    transition: background-color 0.2s, border-color 0.2s;
}

.c-cat-box i {
    font-size: 1.4rem;
    color: var(--color-text-primary);
}

.c-cat-box:hover {
    background-color: var(--color-hover);
    border-color: var(--color-text-secondary);
}

.c-category-scroller-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem 0;
}

.c-cat-view-all {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.c-cat-view-all:hover {
    color: var(--color-primary);
}

.c-cat-dots {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.c-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--color-border);
    border: none;
    transition: background-color 0.2s, width 0.2s, opacity 0.2s;
    opacity: 0.5;
}

.c-dot--active {
    background-color: var(--color-primary);
    width: 8px;
    border-radius: 4px;
    opacity: 1;
}

@media (max-width: 1024px) {
    .c-mobile-features {
        display: flex;
    }
}

/* Post Details Lightbox Styles */
.c-post-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.2s;
}

.c-post-lightbox.is-active {
    display: flex;
    opacity: 1;
}

.c-post-lightbox__content {
    background-color: var(--color-bg-panel);
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    width: 100%;
    max-width: 1100px;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.c-post-lightbox.is-active .c-post-lightbox__content {
    transform: scale(1);
}

.c-post-lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    color: white;
}

.c-post-lightbox__body {
    display: flex;
    flex-direction: row;
    position: relative;
}

.c-post-lightbox__left {
    width: 55%;
    flex: none;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.c-post-lightbox__left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.c-post-lightbox__right {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 45%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-left: 1px solid var(--color-border);
}

.c-post-lightbox__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.c-post-lightbox__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.c-post-lightbox__price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.c-post-lightbox__price .u-currency {
    width: 1em;
    height: 1em;
    background-color: var(--color-primary);
    vertical-align: middle;
}

.c-post-lightbox__desc {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
    overflow-y: auto;
    padding-right: 0.75rem;
}

.c-post-lightbox__desc::-webkit-scrollbar {
    width: 6px;
}
.c-post-lightbox__desc::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
}
.c-post-lightbox__desc::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
}
.c-post-lightbox__desc::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

.c-post-lightbox__actions {
    margin-top: auto;
}

.c-post-lightbox__actions--grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

/* Contact Button Styles */
.c-btn-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    color: white;
    cursor: pointer;
    transition: filter 0.2s;
}

.c-btn-contact--whatsapp { background-color: #25D366; }
.c-btn-contact--viber { background-color: #7360f2; }
.c-btn-contact--telegram { background-color: #0088cc; }
.c-btn-contact--call { background-color: var(--color-primary); }

.c-btn-contact:hover {
    filter: brightness(1.1);
}

/* Image Slider styles (re-using from category) */
.c-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.c-slider-btn:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(var(--color-primary-rgb), 0.4);
}

.c-slider-btn--prev { left: 1.25rem; }
.c-slider-btn--next { right: 1.25rem; }

.c-slider-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
    z-index: 5;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.c-slider-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    border: none;
    padding: 0;
    transition: all 0.3s ease;
}

.c-slider-dot.is-active {
    background-color: var(--color-primary);
    width: 18px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(var(--color-primary-rgb), 0.5);
}

@media (max-width: 768px) {
    .c-post-lightbox {
        padding: 0;
        background-color: var(--color-bg-base);
    }
    
    .c-post-lightbox__content {
        max-width: 100%;
        height: 100dvh;
        max-height: 100dvh;
        border-radius: 0;
        border: none;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    
    .c-post-lightbox__body {
        display: flex;
        flex-direction: column;
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        position: relative;
    }
    
    .c-post-lightbox__left {
        width: 100%;
        aspect-ratio: 1 / 1;
        position: relative;
        flex: none;
    }
    
    .c-post-lightbox__right {
        position: static;
        width: 100%;
        border-left: none;
        border-top: 1px solid var(--color-border);
        padding: 1.5rem 1rem 8rem;
        display: flex;
        flex-direction: column;
        flex: none;
    }
    
    .c-post-lightbox__desc {
        flex: none;
        overflow-y: visible;
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .c-post-lightbox__actions {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: var(--color-bg-base);
        padding: 1rem;
        margin: 0;
        border-top: 1px solid var(--color-border);
        z-index: 100;
        box-shadow: 0 -4px 12px rgba(0,0,0,0.2);
    }

    .c-post-lightbox__actions--grid {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }

    .c-post-lightbox__actions button {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .c-post-lightbox__actions button i {
        font-size: 1.5rem;
        margin: 0;
    }

.c-post-lightbox__actions button span {
        display: none !important;
}
}

/* ==========================================================================
   PINNED POST PIN (inline, next to the post options trigger)
   ========================================================================== */
.c-post__pin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 32px;
    color: var(--color-primary);
    font-size: 1.05rem;
    line-height: 1;
    vertical-align: middle;
    cursor: default;
    flex-shrink: 0;
}

/* ==========================================================================
   RECOMMENDED PAGES (horizontal scroller in the feed)
   ========================================================================== */
.c-rec-pages {
    margin: 0 0 1.5rem;
    padding: 1rem 1.25rem 1.25rem;
    background: var(--color-bg-base, rgba(255, 255, 255, 0.03));
    border: 1px solid var(--color-border);
}

.c-rec-pages__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.c-rec-pages__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0;
}

.c-rec-pages__title i {
    color: var(--color-primary);
    font-size: 1.2rem;
}

.c-rec-pages__scroller {
    display: flex;
    gap: 0.9rem;
    overflow-x: auto;
    padding: 0.25rem 0.25rem 0.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.c-rec-pages__scroller::-webkit-scrollbar {
    height: 6px;
}

.c-rec-pages__scroller::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 10px;
}

.c-rec-card {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: 168px;
    background: var(--color-bg-base, rgba(255, 255, 255, 0.03));
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: var(--color-text-primary);
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s, transform 0.2s;
}

.c-rec-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.c-rec-card__cover {
    position: relative;
    height: 88px;
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb, 29, 155, 240), 0.25), rgba(var(--color-primary-rgb, 29, 155, 240), 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
}

.c-rec-card__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-bg-base);
    border: 3px solid var(--color-bg, #fff);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.c-rec-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.c-rec-card__avatar span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.c-rec-card__badge {
    position: absolute;
    bottom: 20px;
    right: calc(50% - 33px);
    font-size: 1.05rem;
    color: var(--color-primary);
    background: var(--color-bg-base, #121212);
    border-radius: 50%;
    line-height: 1;
}

.c-rec-card__body {
    padding: 0.85rem 0.85rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
    text-align: center;
}

.c-rec-card__name {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.c-rec-card__meta {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.c-rec-card__follow {
    margin-top: auto;
    padding: 0.4rem 0.5rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-text-primary);
    text-align: center;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.c-rec-card:hover .c-rec-card__follow {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

@media (max-width: 600px) {
    .c-rec-card {
        width: 210px;
    }
}

/* =========================================================================
   Boosted Page feed card
   A larger vertical version of the Recommended Page card. Cover with avatar,
   page name, category meta and a Follow button. No comments/shares.
========================================================================= */
.c-boost-card {
    padding: 2rem 1.5rem !important;
    border-bottom: 1px solid var(--color-border);
}

.c-boost-card__cover {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    text-decoration: none;
}

.c-boost-card__cover img {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    object-fit: cover;
    display: block;
    border: 2px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.c-boost-card__initial {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 24px;
    background: var(--color-bg-base);
    border: 2px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.c-boost-card__body {
    padding: 1rem 0.25rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.c-boost-card__name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-text-primary);
    line-height: 1.3;
    text-align: center;
    word-break: break-word;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.c-boost-card__check {
    font-size: 1.1rem;
    color: var(--color-primary);
}

.c-boost-card__meta {
    font-size: 0.78rem;
    color: var(--color-text-secondary);
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.c-boost-card__follow {
    margin-top: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    width: auto;
    min-width: 120px;
    padding: 0.55rem 1.5rem;
    border-radius: 999px;
    border: 1px solid var(--color-primary);
    background: var(--color-primary);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.c-boost-card__follow:hover {
    background: rgba(29, 155, 240, 0.9);
    border-color: rgba(29, 155, 240, 0.9);
}

.c-boost-card__follow.is-following {
    background: transparent;
    border-color: var(--color-border);
    color: var(--color-text-primary);
}

.c-boost-card__follow.is-following:hover {
    background: rgba(255, 75, 75, 0.1);
    border-color: var(--color-danger, #ff4b4b);
    color: #ff4b4b;
}

.c-boost-card__follow:disabled {
    opacity: 0.6;
    cursor: default;
}

@media (max-width: 480px) {
    .c-boost-card {
        padding: 0.9rem 0.85rem 1.1rem;
    }
    .c-boost-card__cover img,
    .c-boost-card__initial {
        width: 80px;
        height: 80px;
        border-radius: 20px;
    }
    .c-boost-card__initial {
        font-size: 2.25rem;
    }
}
