/* Footer redesign (2026-09-30) - global, every page. Replaces the old
   template footer entirely (see footer.blade.php). Not scoped under
   body.homepage-redesign-v2 since this file loads on every page. */

:root {
    --hp-footer-green: #1e8e3e;
    --hp-footer-green-dark: #15803d;
}

.hp-footer {
    font-family: inherit;
}

/* ---- Upper part ---- */
.hp-footer__top {
    background: #fff;
    border-top: 1px solid #eee;
    padding: 40px 0 36px;
}

.hp-footer__grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr 1fr 1fr 1.35fr;
}

.hp-footer__col {
    padding: 0 32px;
    border-left: 1px solid #eee;
}

.hp-footer__col:first-child {
    padding-left: 0;
    border-left: 0;
}

.hp-footer__col h4 {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin: 0;
    white-space: nowrap;
}

.hp-footer__bar {
    display: block;
    width: 36px;
    height: 3px;
    background: var(--hp-footer-green);
    border-radius: 2px;
    margin: 14px 0 22px;
}

.hp-footer__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hp-footer__col ul li a {
    display: inline-block;
    font-size: 16px;
    line-height: 2.3;
    color: #444;
    text-decoration: none;
    transition: color .2s, padding-left .2s;
}

.hp-footer__col ul li a:hover {
    color: var(--hp-footer-green);
    padding-left: 4px;
}

/* Brand column */
.hp-footer__logo img {
    width: 210px;
    height: auto;
    max-width: 100%;
}

.hp-footer__about {
    font-size: 16px;
    color: #666;
    line-height: 1.65;
    margin: 20px 0 24px;
    max-width: 320px;
}

.hp-footer__social {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hp-footer__social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f3f4f6;
    color: #111;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, color .2s;
}

.hp-footer__social a:hover {
    background: var(--hp-footer-green);
    color: #fff;
}

/* Subscribe column */
.hp-footer__col--subscribe p {
    font-size: 15px;
    color: #777;
    line-height: 1.7;
    margin: 0;
}

.hp-footer__subscribe {
    display: flex;
    height: 54px;
    margin-top: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.hp-footer__subscribe input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    font-size: 16px;
    padding: 0 18px;
}

.hp-footer__subscribe button {
    width: 76px;
    flex-shrink: 0;
    background: var(--hp-footer-green);
    color: #fff;
    border: 0;
    font-size: 18px;
    cursor: pointer;
    transition: background .2s;
}

.hp-footer__subscribe button:hover {
    background: var(--hp-footer-green-dark);
}

/* ---- Lower bar ---- */
.hp-footer__bottom {
    background: #098d4e;
    min-height: 100px;
}

.hp-footer__bottom-inner {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 0;
}

.hp-footer__copy {
    font-size: 16px;
    color: rgba(255, 255, 255, .9);
}

.hp-footer__copy a {
    color: inherit;
    text-decoration: underline;
}

.hp-footer__links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hp-footer__links a {
    position: relative;
    font-size: 16px;
    color: #fff;
    text-decoration: none;
}

.hp-footer__links a:hover {
    text-decoration: underline;
}

.hp-footer__links a:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, .5);
}

.hp-footer__payments {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hp-footer__pay-badge {
    width: 56px;
    height: 32px;
    background: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #1a1a2e;
}

.hp-footer__pay-badge--text {
    font-size: 11px;
    font-weight: 700;
    color: #444;
}

.hp-footer__ssl {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-left: 8px;
    padding-left: 16px;
    border-left: 1px solid rgba(255, 255, 255, .5);
}

/* ---- Responsive ---- */
@media (max-width: 1200px) {
    .hp-footer__grid {
        grid-template-columns: 1fr;
        row-gap: 30px;
    }

    .hp-footer__col {
        border-left: 0;
        padding: 0;
    }

    .hp-footer__col--brand {
        grid-column: 1 / -1;
    }

    .hp-footer__col:not(.hp-footer__col--brand) {
        display: inline-block;
        width: 48%;
        vertical-align: top;
    }
}

@media (max-width: 768px) {
    .hp-footer__col:not(.hp-footer__col--brand) {
        width: 100%;
        display: block;
    }

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

    .hp-footer__links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hp-footer__payments {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hp-footer__about {
        max-width: 100%;
    }
}

/* Page title (2026-09-30) - replaces the old grey breadcrumb-area banner
   site-wide. Left-aligned, sits in the same .container as each page's
   own content so the edges line up. */
.hp-page-head {
    padding-top: 28px;
    padding-bottom: 18px;
}

.hp-page-title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #111;
    text-align: left;
}

@media (max-width: 768px) {
    .hp-page-head {
        padding-top: 20px;
        padding-bottom: 12px;
    }

    .hp-page-title {
        font-size: 22px;
    }
}

/* Product page trust badges (2026-09-30) - replaces the "Guaranteed Safe
   Checkout" payment-icons slider on the product detail page. */
.hp-trust-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hp-trust-badges li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hp-trust-badges li i {
    font-size: 26px;
    color: var(--hp-footer-green, #1e8e3e);
    flex-shrink: 0;
}

.hp-trust-badges li strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #111;
}

.hp-trust-badges li span {
    display: block;
    font-size: 12px;
    color: #777;
}

@media (max-width: 480px) {
    .hp-trust-badges {
        gap: 14px;
    }
}
