/* ==========================================================
   HOMEPAGE REVAMP — Premium Styles
   ========================================================== */

/* --- Hero Section & Overlay --- */
.hero-section {
    position: relative;
    padding: 140px 0 100px;
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    z-index: 1;
}

.hero-section .bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: -1;
}

.hero-content {
    text-align: center;
    margin-bottom: 45px;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
    animation: fadeInUp 0.8s ease both;
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease both 0.15s;
}

/* --- Glassmorphic Search Bar --- */
.multiple-search-box-wrapper {
    animation: fadeInUp 0.8s ease both 0.3s;
    position: relative;
    z-index: 10;
}

.multiple-search-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.multiple-search-box-inner {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 8px;
}

.multiple-search-box-inner .input-box {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 40px;
    padding: 2px 20px;
    height: 54px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.multiple-search-box-inner .input-box:focus-within {
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
    border-color: var(--primary-color);
}

.multiple-search-box-inner .input-box .icon {
    color: #6b7280;
    font-size: 15px;
    margin-right: 10px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.multiple-search-box-inner .input-box .form-control {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    font-size: 14px;
    font-weight: 500;
    color: #1a202c !important;
    height: 100%;
    box-shadow: none !important;
}

.multiple-search-box-inner .input-box .form-control::placeholder {
    color: #a0aec0;
}

/* Dropdown list items inside search boxes */
.search-result {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    max-height: 280px;
    overflow-y: auto;
    z-index: 100;
    display: none;
    padding: 8px;
    border: 1px solid rgba(0,0,0,0.06);
}

.search-item {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease;
    gap: 12px;
}

.search-item:hover {
    background: rgba(225, 29, 72, 0.08);
}

.search-item .icon-area {
    color: var(--primary-color);
    font-size: 15px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(225, 29, 72, 0.06);
    border-radius: 50%;
}

.search-item .text-area .title {
    font-size: 13.5px;
    font-weight: 600;
    color: #2d3748;
}

/* Submit Button */
.multiple-search-btn {
    height: 54px;
    padding: 0 32px;
    border-radius: 40px;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(225, 29, 72, 0.45);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.02em;
}

.multiple-search-btn:hover {
    background: var(--btn-hover-bg);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(225, 29, 72, 0.55);
}

/* --- Hero Category Highlights --- */
.featured-item-continer {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    animation: fadeInUp 0.8s ease both 0.45s;
}

.featured-item-continer p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    font-weight: 500;
    margin-right: 8px;
}

.featured-item-continer .item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-item-continer .item:hover {
    background: #ffffff;
    color: #050b20;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    border-color: #ffffff;
}

.featured-item-continer .item .icon-area {
    color: var(--primary-color);
    font-size: 13px;
    transition: color 0.28s;
}

.featured-item-continer .item:hover .icon-area {
    color: var(--primary-color);
}

/* =========================================================
   CATEGORY SECTION & CARDS
   ========================================================= */
.category-section {
    padding: 80px 0;
    background: #ffffff;
}

.section-header {
    margin-bottom: 50px;
}

.section-subtitle {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
}

.section-header h3 {
    font-size: 36px;
    font-weight: 800;
    color: #050b20;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-header p {
    color: #718096;
    font-size: 16px;
    max-width: 600px;
    line-height: 1.6;
}

/* Category cards slider */
.category-slider .item {
    padding: 15px 10px;
}

.category-box {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 20px !important;
    padding: 35px 24px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.category-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(225, 29, 72, 0.12) !important;
    border-color: rgba(225, 29, 72, 0.15) !important;
}

.category-box .icon-box {
    width: 68px;
    height: 68px;
    background: rgba(225, 29, 72, 0.06);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(225, 29, 72, 0.1);
}

.category-box:hover .icon-box {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(225, 29, 72, 0.35);
    transform: scale(1.05);
}

.category-box .content-area h5.title {
    font-size: 17px !important;
    font-weight: 700 !important;
    margin-bottom: 6px !important;
}

.category-box .content-area h5.title a {
    color: #050b20;
    text-decoration: none;
    transition: color 0.2s;
}

.category-box .content-area h5.title a:hover {
    color: var(--primary-color);
}

.category-box .content-area p {
    font-size: 13px;
    font-weight: 600;
    color: #718096;
}

/* Subtle background overlay icon */
.category-box .bg-icon {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 80px;
    color: rgba(225, 29, 72, 0.02) !important;
    z-index: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.category-box:hover .bg-icon {
    color: rgba(225, 29, 72, 0.04) !important;
    transform: rotate(-10deg) scale(1.08);
}

/* Browse Categories Button Section */
.btn-area {
    font-size: 15px;
    font-weight: 600;
    color: #4a5568;
}

.view-all-btn {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid rgba(225, 29, 72, 0.2);
    padding-bottom: 2px;
    margin-left: 6px;
    transition: all 0.2s ease;
}

.view-all-btn:hover {
    color: var(--btn-hover-bg);
    border-color: var(--primary-color);
}

/* =========================================================
   GENERIC ANIMATIONS
   ========================================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   RESPONSIVE DESIGN (HERO & SEARCH)
   ========================================================= */
@media (max-width: 991.98px) {
    .hero-title { font-size: 40px; }
    .multiple-search-box { border-radius: 24px; padding: 14px; }
    .multiple-search-box-inner { flex-direction: column; }
    .multiple-search-box-inner .input-box { width: 100%; flex: none; }
    .multiple-search-btn { width: 100%; justify-content: center; }
}

@media (max-width: 575.98px) {
    .hero-title { font-size: 32px; }
    .hero-description { font-size: 15px; }
    .category-section { padding: 60px 0; }
}

/* =========================================================
   MODERN CATEGORY SECTION — Gradient Card Redesign
   ========================================================= */
.category-section {
    padding: 90px 0;
    background: #f8faff;
}

/* Gradient palette tokens for category cards — cycles via nth-child */
.cat-card { --cat-grad: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.cat-card:nth-child(2n)   { --cat-grad: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.cat-card:nth-child(3n)   { --cat-grad: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.cat-card:nth-child(4n)   { --cat-grad: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.cat-card:nth-child(5n)   { --cat-grad: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.cat-card:nth-child(6n)   { --cat-grad: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%); }
.cat-card:nth-child(7n)   { --cat-grad: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%); }
.cat-card:nth-child(8n)   { --cat-grad: linear-gradient(135deg, #30cfd0 0%, #330867 100%); }

.cat-card-inner {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    padding: 36px 24px 28px;
    background: var(--cat-grad);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.10);
}

.cat-card-inner:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.18);
}

/* Blurred background glow orb */
.cat-card-inner::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 130px;
    height: 130px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    pointer-events: none;
    transition: transform 0.4s ease;
}

.cat-card-inner:hover::before {
    transform: scale(1.3);
}

/* Icon circle */
.cat-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 18px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cat-card-inner:hover .cat-card-icon {
    transform: rotate(-8deg) scale(1.12);
}

.cat-card-name {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
    text-decoration: none;
}

.cat-card-count {
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.15);
    padding: 3px 12px;
    border-radius: 50px;
    display: inline-block;
}

/* Category section header */
.cat-section-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color, #e11d48);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 10px;
    display: block;
}

.cat-section-title {
    font-size: 38px;
    font-weight: 800;
    color: #0c111d;
    letter-spacing: -0.025em;
    line-height: 1.22;
    margin-bottom: 14px;
}

.cat-section-desc {
    font-size: 16px;
    color: #6b7280;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.65;
}

/* Browse all pill link */
.cat-browse-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color, #e11d48);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid rgba(225, 29, 72, 0.2);
    padding-bottom: 2px;
    transition: all 0.2s ease;
}

.cat-browse-all:hover {
    color: #be123c;
    border-color: #be123c;
    gap: 12px;
}

/* =========================================================
   MODERN POPULAR LISTINGS SECTION — Borderless Card Redesign
   ========================================================= */
.featured-section {
    background: #ffffff;
    padding: 90px 0;
}

.pop-listing-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pop-listing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.12);
}

/* Image wrapper */
.pop-listing-img {
    position: relative;
    overflow: hidden;
    height: 230px;
}

.pop-listing-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Floating badge on image */
.pop-listing-cat-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(10, 10, 20, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 50px;
    letter-spacing: 0.04em;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Wishlist heart button */
.pop-listing-heart {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #9ca3af;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.pop-listing-heart:hover,
.pop-listing-heart.active {
    background: #fff1f2;
    color: #e11d48;
    transform: scale(1.1);
}

/* Card body */
.pop-listing-body {
    padding: 22px 22px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Star rating row */
.pop-listing-stars {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.pop-listing-stars .stars i {
    font-size: 12px;
    color: #f59e0b;
}

.pop-listing-stars .stars i.far {
    color: #d1d5db;
}

.pop-listing-stars .review-count {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
}

/* Listing title */
.pop-listing-title {
    font-size: 18px;
    font-weight: 700;
    color: #0c111d;
    letter-spacing: -0.01em;
    line-height: 1.35;
    margin-bottom: 12px;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.pop-listing-title:hover {
    color: var(--primary-color, #e11d48);
}

/* Meta info stack */
.pop-listing-meta {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 16px;
    flex: 1;
}

.pop-listing-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
    line-height: 1.4;
}

.pop-listing-meta-item i {
    font-size: 13px;
    color: var(--primary-color, #e11d48);
    margin-top: 2px;
    flex-shrink: 0;
    opacity: 0.7;
}

/* Footer divider & CTA */
.pop-listing-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #f3f4f6;
    margin-top: auto;
}

.pop-listing-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--primary-color, #e11d48);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.28);
}

.pop-listing-cta:hover {
    background: #be123c;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(225, 29, 72, 0.38);
}

.pop-listing-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
}

/* View More pill button */
.pop-view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    border-radius: 50px;
    background: transparent;
    border: 2px solid rgba(225, 29, 72, 0.25);
    color: var(--primary-color, #e11d48);
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.pop-view-more-btn:hover {
    background: var(--primary-color, #e11d48);
    border-color: var(--primary-color, #e11d48);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(225, 29, 72, 0.3);
}

/* Section header shared style for featured section */
.featured-section-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color, #e11d48);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    display: block;
    margin-bottom: 10px;
}

.featured-section-title {
    font-size: 38px;
    font-weight: 800;
    color: #0c111d;
    letter-spacing: -0.025em;
    line-height: 1.22;
    margin-bottom: 14px;
}

.featured-section-desc {
    font-size: 16px;
    color: #6b7280;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.65;
}

/* =========================================================
   RESPONSIVE DESIGN (SECTIONS)
   ========================================================= */
@media (max-width: 991.98px) {
    .cat-section-title, .featured-section-title { font-size: 30px; }
    .pop-listing-img { height: 200px; }
}

@media (max-width: 575.98px) {
    .cat-section-title, .featured-section-title { font-size: 26px; }
    .cat-section { padding: 60px 0; }
    .featured-section { padding: 60px 0; }
}

/* ============================================================
   POPULAR CATEGORIES — hc-* classes
   ============================================================ */
.hc-section {
    padding: 80px 0;
    background: #f4f6fb;
}

.hc-header {
    text-align: center;
    margin-bottom: 52px;
}

.hc-label {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary-color, #e11d48);
    margin-bottom: 12px;
}

.hc-title {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 800;
    color: #0c111d;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 14px;
}

.hc-desc {
    font-size: 15.5px;
    color: #6b7280;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Grid of category cards */
.hc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 44px;
}

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

@media (max-width: 575.98px) {
    .hc-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .hc-section { padding: 56px 0; }
}

/* Individual card */
.hc-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    padding: 36px 20px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.09);
}

.hc-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.16);
    text-decoration: none;
}

/* No orb on white cards */
.hc-card::before { display: none; }


/* All cards are white/minimal */
.hc-card.g1,
.hc-card.g2,
.hc-card.g3,
.hc-card.g4,
.hc-card.g5,
.hc-card.g6,
.hc-card.g7,
.hc-card.g8 {
    background: #ffffff;
    border: 1px solid #e5e7eb;
}

/* Icon circle — neutral on white cards */
.hc-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #f3f4f6;
    border: 1.5px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #111827;
    margin-bottom: 18px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.25s ease;
}

.hc-card:hover .hc-card-icon {
    transform: scale(1.1);
    background: #111827;
    color: #ffffff;
}

.hc-card-name {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
    line-height: 1.3;
}

.hc-card-count {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    background: #f3f4f6;
    padding: 4px 14px;
    border-radius: 50px;
}

/* Browse-all link */
.hc-browse-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid #d1d5db;
    padding-bottom: 2px;
    transition: all 0.22s ease;
}

.hc-browse-all:hover {
    color: #000000;
    border-color: #111827;
    gap: 14px;
}

/* ============================================================
   POPULAR LISTINGS SECTION — hl-* classes
   ============================================================ */
.hl-section {
    padding: 80px 0;
    background: #fff;
}

.hl-header {
    text-align: center;
    margin-bottom: 52px;
}

.hl-label {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary-color, #e11d48);
    margin-bottom: 12px;
}

.hl-title {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 800;
    color: #0c111d;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 14px;
}

.hl-desc {
    font-size: 15.5px;
    color: #6b7280;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Grid */
.hl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

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

@media (max-width: 575.98px) {
    .hl-grid { grid-template-columns: 1fr; gap: 16px; }
    .hl-section { padding: 56px 0; }
}

/* Card */
.hl-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.hl-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.11);
}

/* Image */
.hl-card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f3f4f6;
}

.hl-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.hl-card:hover .hl-card-img img {
    transform: scale(1.07);
}

/* Category floating badge */
.hl-cat-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(10, 10, 20, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    letter-spacing: 0.04em;
}

/* Wishlist heart */
.hl-heart {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.22s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hl-heart:hover,
.hl-heart.hl-active {
    background: #fff1f2;
    color: #e11d48;
    transform: scale(1.1);
}

/* Card body */
.hl-card-body {
    padding: 20px 20px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Stars */
.hl-stars {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
}

.hl-stars .s-wrap i { font-size: 12px; color: #f59e0b; }
.hl-stars .s-wrap i.far { color: #d1d5db; }
.hl-stars .s-count { font-size: 12px; color: #9ca3af; font-weight: 500; }

/* Title */
.hl-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #0c111d;
    line-height: 1.35;
    margin-bottom: 14px;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.hl-card-title:hover {
    color: var(--primary-color, #e11d48);
}

/* Meta */
.hl-meta {
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex: 1;
    margin-bottom: 16px;
}

.hl-meta-row {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
    line-height: 1.4;
}

.hl-meta-row i {
    font-size: 13px;
    color: var(--primary-color, #e11d48);
    opacity: 0.7;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Footer */
.hl-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #f3f4f6;
    margin-top: auto;
}

.hl-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #111827;
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.22s ease;
    box-shadow: none;
}

.hl-cta:hover {
    background: #374151;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.hl-date {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    color: #9ca3af;
    font-weight: 500;
}

/* View-more button */
.hl-view-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 34px;
    border-radius: 50px;
    border: 2px solid #d1d5db;
    color: #374151;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.hl-view-more:hover {
    background: #111827;
    border-color: #111827;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

@media (max-width: 575.98px) {
    .hl-card-img { height: 190px; }
}
