/* ============================================================
   Healey Packaging — Blog & Products CSS
   File: assets/css/healey-blog-products.css
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
    --hp-navy:    #e3f0fb;
    --hp-blue:    #005e9e;
    --hp-gold:    #5a9fe0;
    --hp-gold-h:  #000000;
    --hp-dark:    #1f2937;
    --hp-muted:   #6b7280;
    --hp-light:   #f6f8fb;
    --hp-border:  #e5e7eb;
    --hp-white:   #ffffff;
    --hp-radius:  10px;
    --hp-shadow:  0 2px 12px rgba(0,0,0,.08);
    --hp-shadow-h:0 6px 24px rgba(0,0,0,.13);
}

/* ── Reset helpers ──────────────────────────────────────────── */
.hp-wrap { box-sizing: border-box; }
.hp-wrap *, .hp-wrap *::before, .hp-wrap *::after { box-sizing: inherit; }

/* ============================================================
   HERO BANNER
   ============================================================ */
.hp-hero {
    position: relative;
    background-color: var(--hp-navy);
    background-size: cover;
    background-position: center;
    padding: 72px 24px 60px;
    text-align: center;
    overflow: hidden;
}
.hp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #e3f0fb
}
.hp-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}
.hp-hero h1 {
    color: var(--hp-white);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin: 0 0 14px;
    line-height: 1.15;
}
.hp-hero p {
    color: rgba(0,0,0,0.85);
    font-size: 1.1rem;
    margin: 0 0 28px;
    line-height: 1.65;
}

/* Breadcrumb */
.hp-breadcrumb {
    font-size: .85rem;
    color: rgba(255,255,255,.7);
    margin-bottom: 16px;
}
.hp-breadcrumb a {
    color: rgba(255,255,255,.75);
    text-decoration: none;
    transition: color .2s;
}
.hp-breadcrumb a:hover { color: var(--hp-gold); }
.hp-breadcrumb .sep { margin: 0 6px; opacity: .5; }
.hp-breadcrumb .current { color: var(--hp-white); font-weight: 600; }

/* ── Hero search ────────────────────────────────────────────── */
.hp-hero-search {
    display: flex;
    max-width: 520px;
    margin: 0 auto;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.25);
}
.hp-hero-search input[type="search"] {
    flex: 1;
    padding: 13px 18px;
    border: none;
    font-size: .97rem;
    outline: none;
    color: var(--hp-dark);
}
.hp-hero-search button {
    padding: 13px 24px;
    background: var(--hp-gold);
    color: var(--hp-white);
    border: none;
    font-weight: 700;
    font-size: .95rem;
    cursor: pointer;
    transition: background .2s;
    white-space: nowrap;
}
.hp-hero-search button:hover { background: var(--hp-gold-h); }

/* ============================================================
   PAGE WRAPPER
   ============================================================ */
.hp-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================================
   CATEGORY FILTERS
   ============================================================ */
.hp-filters-wrap {
    background: var(--hp-white);
    border-bottom: 1px solid var(--hp-border);
    padding: 16px 20px;
    position: sticky;
    top: 0;
    z-index: 50;
}
.hp-filters {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.hp-filter-btn {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid var(--hp-border);
    color: var(--hp-dark);
    background: var(--hp-white);
    transition: all .2s;
    cursor: pointer;
}
.hp-filter-btn:hover,
.hp-filter-btn.active {
    background: var(--hp-navy);
    border-color: var(--hp-navy);
    color: var(--hp-white);
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.hp-section { padding: 52px 0; }
.hp-section-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--hp-dark);
    margin: 0 0 28px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--hp-gold);
    display: inline-block;
}
.hp-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}
.hp-section-header .hp-section-title { margin: 0; }

/* ============================================================
   FEATURED ARTICLE
   ============================================================ */
.hp-featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: var(--hp-radius);
    overflow: hidden;
    box-shadow: var(--hp-shadow-h);
    background: var(--hp-white);
}
.hp-featured-img {
    position: relative;
    overflow: hidden;
    min-height: 360px;
}
.hp-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.hp-featured-card:hover .hp-featured-img img { transform: scale(1.04); }
.hp-featured-img-placeholder {
    width: 100%;
    height: 100%;
    min-height: 360px;
    background: linear-gradient(135deg, var(--hp-navy), var(--hp-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.35);
    font-size: 3rem;
}
.hp-featured-body {
    padding: 40px 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hp-featured-body .hp-cat-badge { margin-bottom: 14px; }
.hp-featured-body h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--hp-dark);
    margin: 0 0 14px;
    line-height: 1.25;
}
.hp-featured-body p {
    color: var(--hp-muted);
    line-height: 1.7;
    margin: 0 0 20px;
    font-size: .97rem;
}
.hp-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: .82rem;
    color: var(--hp-muted);
    margin-bottom: 22px;
    flex-wrap: wrap;
}
.hp-meta span { display: flex; align-items: center; gap: 4px; }

/* ============================================================
   BLOG CARDS GRID
   ============================================================ */
.hp-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.hp-card {
    background: var(--hp-white);
    border-radius: var(--hp-radius);
    overflow: hidden;
    box-shadow: var(--hp-shadow);
    border: 1px solid var(--hp-border);
    display: flex;
    flex-direction: column;
    transition: box-shadow .25s, transform .25s;
}
.hp-card:hover {
    box-shadow: var(--hp-shadow-h);
    transform: translateY(-3px);
}
.hp-card-img {
    position: relative;
    overflow: hidden;
    height: 200px;
}
.hp-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.hp-card:hover .hp-card-img img { transform: scale(1.05); }
.hp-card-img-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #c9d6e3, #e8edf3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 2rem;
}
.hp-card-body {
    padding: 22px 22px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.hp-card-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--hp-dark);
    margin: 10px 0 10px;
    line-height: 1.35;
}
.hp-card-body h3 a {
    color: inherit;
    text-decoration: none;
    transition: color .2s;
}
.hp-card-body h3 a:hover { color: var(--hp-blue); }
.hp-card-body p {
    color: var(--hp-muted);
    font-size: .89rem;
    line-height: 1.65;
    margin: 0 0 16px;
    flex: 1;
}
.hp-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--hp-border);
    margin-top: auto;
}

/* ============================================================
   CATEGORY BADGE
   ============================================================ */
.hp-cat-badge {
    display: inline-block;
    padding: 4px 11px;
    border-radius: 50px;
    background: rgba(0,94,158,.1);
    color: var(--hp-blue);
    font-size: .76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.hp-cat-badge:hover {
    background: var(--hp-blue);
    color: var(--hp-white);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.hp-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 700;
    font-size: .9rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background .2s, transform .15s;
}
.hp-btn:hover { transform: translateY(-1px); }
.hp-btn-gold {
    background: var(--hp-gold);
    color: var(--hp-white);
}
.hp-btn-gold:hover { background: var(--hp-gold-h); color: var(--hp-white); }
.hp-btn-navy {
    background: var(--hp-navy);
    color: var(--hp-white);
}
.hp-btn-navy:hover { background: #001f45; color: var(--hp-white); }
.hp-btn-outline {
    background: transparent;
    color: var(--hp-navy);
    border: 2px solid var(--hp-navy);
}
.hp-btn-outline:hover { background: var(--hp-navy); color: var(--hp-white); }
.hp-btn-sm { padding: 7px 16px; font-size: .83rem; }
.hp-read-more {
    font-size: .86rem;
    font-weight: 600;
    color: var(--hp-blue);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color .2s;
}
.hp-read-more:hover { color: var(--hp-navy); }
.hp-read-more::after { content: '→'; }

/* ============================================================
   POPULAR TOPICS
   ============================================================ */
.hp-topics-section { background: var(--hp-light); }
.hp-topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
}
.hp-topic-card {
    background: var(--hp-white);
    border: 1px solid var(--hp-border);
    border-radius: var(--hp-radius);
    padding: 18px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: var(--hp-dark);
    font-weight: 600;
    font-size: .9rem;
    transition: all .2s;
    box-shadow: var(--hp-shadow);
}
.hp-topic-card:hover {
    border-color: var(--hp-navy);
    color: var(--hp-navy);
    transform: translateY(-2px);
    box-shadow: var(--hp-shadow-h);
}
.hp-topic-count {
    background: var(--hp-light);
    border-radius: 50px;
    padding: 2px 9px;
    font-size: .78rem;
    color: var(--hp-muted);
    font-weight: 600;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.hp-cta-banner {
    background: linear-gradient(135deg, var(--hp-navy) 0%, var(--hp-blue) 100%);
    border-radius: var(--hp-radius);
    padding: 48px 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    box-shadow: var(--hp-shadow-h);
}
.hp-cta-banner-text h3 {
    color: var(--hp-white);
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 10px;
    line-height: 1.25;
}
.hp-cta-banner-text p {
    color: rgba(255,255,255,.82);
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}
.hp-cta-section { padding: 48px 0 60px; }

/* ============================================================
   PAGINATION
   ============================================================ */
.hp-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 40px 0 52px;
    flex-wrap: wrap;
}
.hp-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 6px;
    border: 1.5px solid var(--hp-border);
    color: var(--hp-dark);
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    transition: all .2s;
}
.hp-pagination .page-numbers:hover,
.hp-pagination .page-numbers.current {
    background: var(--hp-navy);
    border-color: var(--hp-navy);
    color: var(--hp-white);
}
.hp-pagination .dots { border: none; cursor: default; }

/* ============================================================
   SINGLE BLOG POST
   ============================================================ */
.hp-single-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 44px; padding: 52px 0 64px; }
.hp-single-header { margin-bottom: 28px; }
.hp-single-header h1 {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 800;
    color: var(--hp-dark);
    margin: 14px 0 18px;
    line-height: 1.2;
}
.hp-single-thumb {
    border-radius: var(--hp-radius);
    overflow: hidden;
    margin-bottom: 36px;
    box-shadow: var(--hp-shadow);
}
.hp-single-thumb img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 480px;
    object-fit: cover;
}

/* Article content styles */
.hp-entry-content { font-size: 1.02rem; line-height: 1.8; color: var(--hp-dark); }
.hp-entry-content h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--hp-navy);
    margin: 2.2em 0 .7em;
    padding-top: .8em;
    border-top: 2px solid var(--hp-border);
}
.hp-entry-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--hp-dark);
    margin: 1.8em 0 .6em;
}
.hp-entry-content p { margin: 0 0 1.3em; }
.hp-entry-content ul, .hp-entry-content ol {
    margin: 0 0 1.3em 1.5em;
    line-height: 1.9;
}
.hp-entry-content blockquote {
    border-left: 4px solid var(--hp-gold);
    margin: 1.6em 0;
    padding: 14px 22px;
    background: var(--hp-light);
    border-radius: 0 6px 6px 0;
    font-style: italic;
    color: var(--hp-muted);
}
.hp-entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.4em 0;
    font-size: .93rem;
}
.hp-entry-content th {
    background: var(--hp-navy);
    color: var(--hp-white);
    padding: 10px 14px;
    text-align: left;
}
.hp-entry-content td {
    border: 1px solid var(--hp-border);
    padding: 9px 14px;
}
.hp-entry-content tr:nth-child(even) td { background: var(--hp-light); }
.hp-entry-content a { color: var(--hp-blue); text-decoration: underline; }
.hp-entry-content a:hover { color: var(--hp-navy); }
.hp-entry-content img { max-width: 100%; height: auto; border-radius: 6px; }
.hp-info-box {
    background: rgba(0,94,158,.07);
    border: 1px solid rgba(0,94,158,.2);
    border-radius: 8px;
    padding: 18px 22px;
    margin: 1.5em 0;
}

/* Sidebar */
.hp-sidebar { display: flex; flex-direction: column; gap: 26px; }
.hp-sidebar-box {
    background: var(--hp-white);
    border: 1px solid var(--hp-border);
    border-radius: var(--hp-radius);
    overflow: hidden;
    box-shadow: var(--hp-shadow);
}
.hp-sidebar-box-title {
    background: var(--hp-navy);
    color: var(--hp-white);
    font-size: .92rem;
    font-weight: 700;
    padding: 13px 18px;
    letter-spacing: .02em;
    text-transform: uppercase;
}
.hp-sidebar-box-body { padding: 18px; }

/* TOC */
.hp-toc { list-style: none; margin: 0; padding: 0; }
.hp-toc li { border-bottom: 1px solid var(--hp-border); }
.hp-toc li:last-child { border-bottom: none; }
.hp-toc a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    color: var(--hp-dark);
    font-size: .88rem;
    text-decoration: none;
    font-weight: 500;
    transition: color .2s;
}
.hp-toc a:hover { color: var(--hp-blue); }
.hp-toc a::before {
    content: '§';
    color: var(--hp-gold);
    font-size: .8rem;
    flex-shrink: 0;
}

/* Sidebar products */
.hp-sidebar-products { display: flex; flex-direction: column; gap: 12px; }
.hp-sidebar-product {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--hp-border);
    text-decoration: none;
    color: var(--hp-dark);
    transition: color .2s;
}
.hp-sidebar-product:last-child { border-bottom: none; padding-bottom: 0; }
.hp-sidebar-product:hover { color: var(--hp-blue); }
.hp-sidebar-product img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}
.hp-sidebar-product span { font-size: .88rem; font-weight: 600; line-height: 1.3; }

/* Sidebar quote CTA */
.hp-sidebar-cta {
    background: linear-gradient(135deg, var(--hp-navy), var(--hp-blue));
    border-radius: var(--hp-radius);
    padding: 24px 20px;
    text-align: center;
}
.hp-sidebar-cta h4 {
    color: var(--hp-white);
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.3;
}
.hp-sidebar-cta p {
    color: rgba(255,255,255,.78);
    font-size: .85rem;
    margin: 0 0 16px;
    line-height: 1.5;
}

/* Related articles sidebar */
.hp-related-mini { display: flex; flex-direction: column; gap: 14px; }
.hp-related-mini-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    text-decoration: none;
    color: var(--hp-dark);
    transition: color .2s;
}
.hp-related-mini-item:hover { color: var(--hp-blue); }
.hp-related-mini-item img {
    width: 62px;
    height: 62px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}
.hp-related-mini-item .rmi-text { font-size: .85rem; font-weight: 600; line-height: 1.35; }
.hp-related-mini-item .rmi-date { font-size: .77rem; color: var(--hp-muted); margin-top: 3px; }

/* FAQ Accordion */
.hp-faq { margin: 0; padding: 0; list-style: none; }
.hp-faq-item {
    border: 1px solid var(--hp-border);
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}
.hp-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    font-weight: 700;
    font-size: .97rem;
    color: var(--hp-dark);
    cursor: pointer;
    background: var(--hp-white);
    transition: background .2s;
    user-select: none;
    gap: 12px;
}
.hp-faq-q:hover { background: var(--hp-light); }
.hp-faq-q .faq-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--hp-navy);
    color: var(--hp-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    flex-shrink: 0;
    transition: transform .3s;
}
.hp-faq-item.open .faq-icon { transform: rotate(45deg); }
.hp-faq-a {
    display: none;
    padding: 0 20px 18px;
    font-size: .93rem;
    color: var(--hp-muted);
    line-height: 1.7;
}
.hp-faq-item.open .hp-faq-a { display: block; }

/* Related articles grid */
.hp-related-section { padding: 48px 0 0; border-top: 2px solid var(--hp-border); }
.hp-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ============================================================
   ALL PRODUCTS PAGE
   ============================================================ */
.hp-products-layout { display: grid; grid-template-columns: 260px 1fr; gap: 36px; padding: 48px 0 64px; align-items: start; }

/* Sidebar filters */
.hp-filter-sidebar {
    background: var(--hp-white);
    border: 1px solid var(--hp-border);
    border-radius: var(--hp-radius);
    overflow: hidden;
    box-shadow: var(--hp-shadow);
    position: sticky;
    top: 20px;
}
.hp-filter-sidebar-title {
    background: var(--hp-navy);
    color: var(--hp-white);
    font-size: .92rem;
    font-weight: 700;
    padding: 14px 18px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.hp-filter-group { border-bottom: 1px solid var(--hp-border); padding: 18px; }
.hp-filter-group:last-child { border-bottom: none; }
.hp-filter-group-title {
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--hp-navy);
    margin: 0 0 12px;
}
.hp-filter-list { list-style: none; margin: 0; padding: 0; }
.hp-filter-list li { margin-bottom: 8px; }
.hp-filter-list label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .9rem;
    color: var(--hp-dark);
    cursor: pointer;
    font-weight: 500;
}
.hp-filter-list input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--hp-navy);
    cursor: pointer;
}
.hp-filter-list .fc { color: var(--hp-muted); font-size: .8rem; }
.hp-filter-apply {
    padding: 16px 18px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Products main area */
.hp-products-main {}
.hp-products-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 12px;
    flex-wrap: wrap;
}
.hp-product-count { font-size: .9rem; color: var(--hp-muted); }
.hp-product-count strong { color: var(--hp-dark); }
.hp-products-sort select {
    padding: 8px 36px 8px 12px;
    border: 1.5px solid var(--hp-border);
    border-radius: 6px;
    font-size: .9rem;
    color: var(--hp-dark);
    background: var(--hp-white);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

/* Product grid */
.hp-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.hp-product-card {
    background: var(--hp-white);
    border: 1px solid var(--hp-border);
    border-radius: var(--hp-radius);
    overflow: hidden;
    box-shadow: var(--hp-shadow);
    display: flex;
    flex-direction: column;
    transition: box-shadow .25s, transform .25s;
}
.hp-product-card:hover { box-shadow: var(--hp-shadow-h); transform: translateY(-3px); }
.hp-product-img {
    position: relative;
    overflow: hidden;
    height: 185px;
    background: var(--hp-light);
}
.hp-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.hp-product-card:hover .hp-product-img img { transform: scale(1.06); }
.hp-product-img-placeholder {
    width: 100%;
    height: 185px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0bec5;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #e8edf3, #f6f8fb);
}
.hp-product-body {
    padding: 16px 16px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.hp-product-body h3 {
    font-size: .97rem;
    font-weight: 700;
    color: var(--hp-dark);
    margin: 8px 0 8px;
    line-height: 1.3;
}
.hp-product-body h3 a { color: inherit; text-decoration: none; transition: color .2s; }
.hp-product-body h3 a:hover { color: var(--hp-blue); }
.hp-product-body p {
    color: var(--hp-muted);
    font-size: .84rem;
    line-height: 1.55;
    margin: 0 0 14px;
    flex: 1;
}
.hp-product-actions {
    display: flex;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--hp-border);
}
.hp-product-actions .hp-btn { flex: 1; justify-content: center; padding: 8px 10px; font-size: .81rem; }

/* Featured categories row */
.hp-feat-cats-section {
    background: var(--hp-light);
    padding: 36px 0;
    border-bottom: 1px solid var(--hp-border);
}
.hp-feat-cats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 14px;
}
.hp-feat-cat-card {
    background: var(--hp-white);
    border: 1px solid var(--hp-border);
    border-radius: var(--hp-radius);
    padding: 20px 12px 16px;
    text-align: center;
    text-decoration: none;
    color: var(--hp-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: var(--hp-shadow);
    transition: all .22s;
}
.hp-feat-cat-card:hover {
    border-color: var(--hp-navy);
    color: var(--hp-navy);
    transform: translateY(-2px);
    box-shadow: var(--hp-shadow-h);
}
.hp-feat-cat-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0,47,95,.09);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--hp-navy);
}
.hp-feat-cat-card span { font-size: .85rem; font-weight: 700; line-height: 1.25; }

/* Products search */
.hp-products-search { display: flex; max-width: 460px; }
.hp-products-search input[type="search"] {
    flex: 1;
    padding: 10px 16px;
    border: 1.5px solid var(--hp-border);
    border-right: none;
    border-radius: 6px 0 0 6px;
    font-size: .92rem;
    color: var(--hp-dark);
    outline: none;
    background: var(--hp-white);
}
.hp-products-search input:focus { border-color: var(--hp-blue); }
.hp-products-search button {
    padding: 10px 18px;
    background: var(--hp-navy);
    color: var(--hp-white);
    border: none;
    border-radius: 0 6px 6px 0;
    font-weight: 700;
    cursor: pointer;
    font-size: .9rem;
    transition: background .2s;
}
.hp-products-search button:hover { background: #001f45; }

/* Trust icons */
.hp-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    padding: 36px 0 0;
}
.hp-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--hp-white);
    border: 1px solid var(--hp-border);
    border-radius: 8px;
    padding: 12px 18px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--hp-dark);
    box-shadow: var(--hp-shadow);
}
.hp-trust-item .ti-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0,47,95,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hp-navy);
    font-size: 1rem;
    flex-shrink: 0;
}

/* Category page explore row */
.hp-explore-section { background: var(--hp-light); padding: 52px 0; }
.hp-explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 18px;
}
.hp-explore-card {
    background: var(--hp-white);
    border: 1px solid var(--hp-border);
    border-radius: var(--hp-radius);
    padding: 22px 18px;
    text-align: center;
    text-decoration: none;
    color: var(--hp-dark);
    box-shadow: var(--hp-shadow);
    transition: all .2s;
}
.hp-explore-card:hover {
    border-color: var(--hp-navy);
    color: var(--hp-navy);
    transform: translateY(-3px);
    box-shadow: var(--hp-shadow-h);
}
.hp-explore-card h4 { font-size: 1rem; font-weight: 700; margin: 10px 0 6px; }
.hp-explore-card p { font-size: .82rem; color: var(--hp-muted); margin: 0; }

/* Guide card (category sidebar) */
.hp-guide-card {
    background: linear-gradient(135deg, var(--hp-navy), var(--hp-blue));
    border-radius: var(--hp-radius);
    padding: 28px 26px;
    color: var(--hp-white);
}
.hp-guide-card h3 { font-size: 1.15rem; font-weight: 800; margin: 0 0 10px; color: var(--hp-white); }
.hp-guide-card p { font-size: .9rem; color: rgba(255,255,255,.8); margin: 0 0 18px; line-height: 1.6; }

/* WooCommerce inactive notice */
.hp-woo-notice {
    text-align: center;
    padding: 60px 24px;
    color: var(--hp-muted);
}
.hp-woo-notice h3 { font-size: 1.3rem; color: var(--hp-dark); margin-bottom: 10px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .hp-products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .hp-featured-card { grid-template-columns: 1fr; }
    .hp-featured-img { min-height: 240px; }
    .hp-single-wrap { grid-template-columns: 1fr; }
    .hp-sidebar { margin-top: 40px; }
    .hp-products-layout { grid-template-columns: 1fr; }
    .hp-filter-sidebar { position: static; }
    .hp-products-grid { grid-template-columns: repeat(2, 1fr); }
    .hp-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .hp-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .hp-hero { padding: 52px 18px 44px; }
    .hp-cta-banner { flex-direction: column; text-align: center; padding: 34px 24px; }
    .hp-cards-grid { grid-template-columns: 1fr; }
    .hp-products-grid { grid-template-columns: 1fr; }
    .hp-related-grid { grid-template-columns: 1fr; }
    .hp-feat-cats-grid { grid-template-columns: repeat(2, 1fr); }
    .hp-topics-grid { grid-template-columns: repeat(2, 1fr); }
    .hp-trust-row { flex-direction: column; align-items: center; }
    .hp-section-header { flex-direction: column; align-items: flex-start; gap: 10px; }
}
