/* ============================================
   HOMEPAGE SECTIONS - honestbrandreviews.com clone
   ============================================ */

/* -- Shared Section Utilities -- */
.hp-section {
    margin-bottom: var(--space-12);
}

.hp-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 2px solid var(--color-text-primary);
    padding-top: var(--space-4);
    margin-bottom: var(--space-8);
}

.hp-section__header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-text-primary);
    margin: 0;
}

.hp-view-more {
    font-size: 0.9rem;
    color: var(--color-text-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
}

.hp-view-more:hover {
    color: var(--color-accent);
}

.hp-date {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* -- Badge System -- */
.badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
    margin-right: 8px;
}

.badge--review { background: #d4b8a0; color: #fff; }
.badge--guide { background: #d4b8a0; color: #fff; }
.badge--wellness { background: #b8c8a0; color: #fff; }
.badge--clothing { background: #a0b8c8; color: #fff; }
.badge--home { background: #c8a0a0; color: #fff; }
.badge--beauty { background: #c8a0c8; color: #fff; }
.badge--comparison { background: #a0c8b8; color: #fff; }

/* ============================================
   SECTION 1: HERO - 1 Large + 4 Small Right
   ============================================ */
.hp-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    margin-top: var(--space-8);
    margin-bottom: var(--space-12);
}

.hp-hero__main-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.hp-hero__main-img {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    margin-bottom: var(--space-4);
}

.hp-hero__main-content h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--color-text-primary);
    margin: var(--space-2) 0;
    line-height: 1.25;
}

.hp-hero__main-content p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.hp-hero__sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.hp-hero__side-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: var(--space-4);
    text-decoration: none;
    color: inherit;
    padding-bottom: var(--space-4);
    border-bottom: 1px solid #e0e0e0;
}

.hp-hero__side-item:last-child {
    border-bottom: none;
}

.hp-hero__side-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 4px;
    background-size: cover;
}

.hp-hero__side-content h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-text-primary);
    margin: var(--space-1) 0 0;
    line-height: 1.35;
}

.hp-hero__side-item:hover h3 {
    color: var(--color-accent);
}

/* ============================================
   SECTION 2: FEATURED - 2 Column Large
   ============================================ */
.hp-featured-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.hp-featured-2col__item {
    text-decoration: none;
    color: inherit;
}

.hp-featured-2col__img {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 4px;
    margin-bottom: var(--space-3);
    background-size: cover;
}

.hp-featured-2col__item h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-text-primary);
    margin: var(--space-2) 0 0;
    line-height: 1.3;
}

.hp-featured-2col__item:hover h3 {
    color: var(--color-accent);
}

/* ============================================
   SECTION 3: FEATURED - 4 Column Grid
   ============================================ */
.hp-featured-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.hp-featured-4col__item {
    text-decoration: none;
    color: inherit;
}

.hp-featured-4col__img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 4px;
    margin-bottom: var(--space-3);
    background-size: cover;
}

.hp-featured-4col__item h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--color-text-primary);
    margin: var(--space-1) 0 0;
    line-height: 1.35;
}

.hp-featured-4col__item:hover h3 {
    color: var(--color-accent);
}

/* ============================================
   SECTION 4: AD BANNER
   ============================================ */
.hp-ad-banner {
    border-radius: 4px;
    overflow: hidden;
}

/* ============================================
   SECTION 5: TRENDING DEALS
   ============================================ */
.hp-trending-deals {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-8);
}

.hp-trending-deals__list {
    display: flex;
    flex-direction: column;
}

.hp-deal-item {
    padding: var(--space-4) 0;
    border-bottom: 1px solid #e0e0e0;
}

.hp-deal-item:first-child {
    padding-top: 0;
}

.hp-deal-item h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-text-primary);
    margin: 0 0 var(--space-1);
}

.hp-deal-item p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.5;
}

.hp-trending-deals__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
}

.hp-deal-card {
    text-decoration: none;
    color: inherit;
}

.hp-deal-card__img {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 4px;
    margin-bottom: var(--space-3);
    background-size: cover;
}

.hp-deal-card h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-text-primary);
    margin: 0 0 var(--space-1);
}

.hp-deal-card p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.5;
}

.hp-deal-card:hover h4 {
    color: var(--color-accent);
}

/* ============================================
   SECTION 6: FEATURED EDITORIAL SLIDER
   ============================================ */
.hp-editorial-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    align-items: center;
}

.hp-editorial-feature__img {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 4px;
    background-size: cover;
}

.hp-editorial-feature__content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-text-primary);
    margin: var(--space-2) 0 var(--space-4);
}

.hp-editorial-feature__content p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.hp-editorial-dots {
    display: flex;
    gap: 8px;
    margin-top: var(--space-6);
}

.hp-editorial-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
}

.hp-editorial-dots .dot.active {
    background: var(--color-text-primary);
}

/* ============================================
   SECTION 7: FEATURED PRODUCTS (with tabs)
   ============================================ */
.hp-product-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-bottom: var(--space-8);
}

.hp-tab {
    padding: 8px 20px;
    border: 1px solid #333;
    border-radius: 30px;
    background: transparent;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-body);
    color: var(--color-text-primary);
}

.hp-tab:hover,
.hp-tab.active {
    background: var(--color-text-primary);
    color: white;
}

.hp-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.hp-product-card {
    text-decoration: none;
    color: inherit;
}

.hp-product-card__img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    margin-bottom: var(--space-3);
    background-size: cover;
}

.hp-product-card__brand {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hp-product-card h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: var(--space-1) 0;
    line-height: 1.35;
}

.hp-product-card__price {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.hp-product-card:hover h4 {
    color: var(--color-accent);
}

/* ============================================
   SECTION 8: MUST HAVES
   ============================================ */
.hp-must-haves {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-8);
}

.hp-must-haves__featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
}

.hp-must-haves__card {
    text-decoration: none;
    color: inherit;
}

.hp-must-haves__card-img {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 4px;
    margin-bottom: var(--space-3);
    background-size: cover;
}

.hp-must-haves__card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-text-primary);
    margin: var(--space-1) 0 0;
    line-height: 1.3;
}

.hp-must-haves__card:hover h3 {
    color: var(--color-accent);
}

.hp-must-haves__list {
    display: flex;
    flex-direction: column;
}

.hp-must-haves__list-item {
    padding: var(--space-4) 0;
    border-bottom: 1px solid #e0e0e0;
    text-decoration: none;
    color: inherit;
}

.hp-must-haves__list-item:first-child {
    padding-top: 0;
}

.hp-must-haves__list-item h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-text-primary);
    margin: var(--space-1) 0 0;
    line-height: 1.3;
}

.hp-must-haves__list-item:hover h4 {
    color: var(--color-accent);
}

/* ============================================
   SECTION 9: NEWSLETTER BAR
   ============================================ */
.hp-newsletter {
    background: var(--color-text-primary);
    padding: var(--space-10) 0;
    margin-bottom: var(--space-12);
}

.hp-newsletter__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
}

.hp-newsletter__inner h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    margin: 0;
    white-space: nowrap;
}

.hp-newsletter__form {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex: 1;
    max-width: 500px;
}

.hp-newsletter__form input {
    flex: 1;
    background: transparent;
    border: none;
    border-bottom: 1px solid #666;
    color: #ccc;
    padding: var(--space-2) 0;
    font-size: 0.95rem;
    outline: none;
    font-family: var(--font-body);
}

.hp-newsletter__form input::placeholder {
    color: #888;
}

.hp-newsletter__form button {
    padding: var(--space-2) var(--space-6);
    border: 1px solid #666;
    background: transparent;
    color: white;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    font-family: var(--font-body);
}

.hp-newsletter__form button:hover {
    background: white;
    color: var(--color-text-primary);
}

/* ============================================
   SECTION 10: CATEGORY 3-COLUMN
   ============================================ */
.hp-category-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.hp-category-3col__item {
    text-decoration: none;
    color: inherit;
}

.hp-category-3col__img {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 4px;
    margin-bottom: var(--space-3);
    background-size: cover;
}

.hp-category-3col__item h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-text-primary);
    margin: var(--space-1) 0 0;
    line-height: 1.3;
}

.hp-category-3col__item:hover h3 {
    color: var(--color-accent);
}

/* ============================================
   BROWSE BY CATEGORY
   ============================================ */
.hp-browse-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}

.hp-browse-cat-card {
    background: white;
    border-radius: 6px;
    padding: var(--space-6) var(--space-4);
    text-align: center;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e8e8e8;
    transition: all 0.25s ease;
}

.hp-browse-cat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-color: var(--color-accent);
}

.hp-browse-cat-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-text-primary);
    margin: 0 0 var(--space-1);
}

.hp-browse-cat-card p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* ============================================
   SECTION 11: TOP BRANDS OF THE WEEK
   ============================================ */
.hp-top-brands {
    background: var(--color-bg-primary);
    padding: var(--space-12) 0;
    margin-bottom: var(--space-12);
}

.hp-brands-cloud {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-8);
    padding: var(--space-4) 0;
}

.hp-brand-logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.6;
    transition: opacity 0.3s;
    font-family: var(--font-body);
}

.hp-brand-logo:hover {
    opacity: 1;
}

/* ============================================
   SECTION 12: LATEST REVIEWS
   ============================================ */
.hp-latest-reviews {
    background: linear-gradient(180deg, var(--color-bg-primary) 0%, #c8d4e8 100%);
    padding: var(--space-12) 0;
}

.hp-latest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.hp-latest-item {
    padding: var(--space-6);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s;
}

.hp-latest-item:hover {
    transform: translateY(-2px);
}

.hp-latest-item h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-text-primary);
    margin: var(--space-2) 0 0;
    line-height: 1.35;
}

.hp-latest-item:hover h3 {
    color: var(--color-accent);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .hp-hero {
        grid-template-columns: 1fr;
    }

    .hp-featured-2col {
        grid-template-columns: 1fr;
    }

    .hp-featured-4col {
        grid-template-columns: 1fr 1fr;
    }

    .hp-trending-deals {
        grid-template-columns: 1fr;
    }

    .hp-editorial-feature {
        grid-template-columns: 1fr;
    }

    .hp-products-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hp-must-haves {
        grid-template-columns: 1fr;
    }

    .hp-newsletter__inner {
        flex-direction: column;
        text-align: center;
    }

    .hp-category-3col {
        grid-template-columns: 1fr;
    }

    .hp-brands-cloud {
        justify-content: center;
    }

    .hp-browse-categories {
        grid-template-columns: 1fr 1fr;
    }

    .hp-latest-grid {
        grid-template-columns: 1fr;
    }

    .hp-product-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }
}
