/* ============================================
   Home For Each — Shortcode Library Styles
   ============================================ */

/* ── FOOTER ──────────────────────────────── */
.hfe-footer {
    width: 100%;
    font-family: inherit;
    color: #101010;
}
.hfe-footer-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 48px 40px 24px;
}
.hfe-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.hfe-logo { margin-bottom: 24px; }
.hfe-logo a { display: block; text-decoration: none; }
.hfe-logo img { display: block; }
.hfe-site-name {
    font-size: 18px;
    font-weight: 600;
    color: #101010;
    margin-bottom: 24px;
}
.hfe-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 24px;
}
.hfe-nav a {
    font-size: 14px;
    color: #101010;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
    margin-right: 28px;
    margin-bottom: 6px;
}
.hfe-nav a:hover { opacity: 0.5; color: #101010; }
.hfe-social {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}
.hfe-social-link {
    color: #101010;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.2s;
    margin-right: 16px;
}
.hfe-social-link:last-child { margin-right: 0; }
.hfe-social-link:hover { opacity: 0.5; color: #101010; }
.hfe-divider {
    border: none;
    border-top: 1px solid #d5d2ce;
    margin-bottom: 24px;
}
.hfe-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 13px;
    color: #888888;
}
.hfe-bottom p  { margin-bottom: 8px; }
.hfe-bottom span { margin-bottom: 8px; }
.hfe-tagline { font-style: italic; }

@media (max-width: 768px) {
    .hfe-footer-inner { padding: 36px 20px 20px; }
    .hfe-top { flex-direction: column; align-items: flex-start; }
    .hfe-nav a { margin-right: 10px; }
    .hfe-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── BLOG GRID ───────────────────────────── */
.hfe-blog {
    width: 100%;
    padding: 60px 40px;
    font-family: inherit;
}
.hfe-blog-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}
.hfe-blog-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: transparent;
    color: #B5A99A;
    padding: 0;
    margin-bottom: 8px;
}
.hfe-blog-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 32px;
    font-weight: 300;
    color: #2D2B29;
    margin: 0 0 12px;
    line-height: 1.2;
}
.hfe-blog-subtitle {
    font-size: 14px;
    color: #2D2B29;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}
.hfe-blog-grid {
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
}
.hfe-blog-grid:after {
    content: '';
    display: table;
    clear: both;
}
.hfe-blog-card {
    float: left;
    width: 47%;
    margin-right: 6%;
    margin-bottom: 32px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #E8DDD3;
}
.hfe-blog-card:nth-child(2n) { margin-right: 0; }
.hfe-blog-img-wrap {
    display: block;
    overflow: hidden;
    position: relative;
    padding-top: 75%;
    height: 0;
}
.hfe-blog-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.4s ease;
}
.hfe-blog-card:hover .hfe-blog-img { transform: scale(1.03); }
.hfe-blog-img-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #E8DDD3;
}
.hfe-blog-content { padding: 14px 16px 18px; }
.hfe-blog-cat {
    font-size: 10px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #4A9E8A;
    font-weight: 500;
    margin: 0 0 6px;
    display: block;
}
.hfe-blog-post-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 18px;
    font-weight: 400;
    color: #2D2B29;
    margin: 0 0 8px;
    line-height: 1.4;
}
.hfe-blog-post-title a { color: #2D2B29; text-decoration: none; transition: opacity 0.2s; }
.hfe-blog-post-title a:hover { opacity: 0.65; }
.hfe-blog-excerpt {
    font-size: 13px;
    color: #2D2B29;
    line-height: 1.6;
    margin: 0 0 10px;
    font-weight: 400;
    display: block;
}
.hfe-blog-read {
    font-size: 12px;
    color: #A0522D;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
    display: inline-block;
}
.hfe-blog-read:hover { opacity: 0.7; color: #A0522D; }
.hfe-blog-footer { text-align: center; margin-top: 48px; }
.hfe-blog-all {
    font-size: 13px;
    font-weight: 500;
    color: #A0522D;
    text-decoration: underline;
    transition: opacity 0.2s;
}
.hfe-blog-all:hover { opacity: 0.7; color: #A0522D; }

@media (max-width: 768px) {
    .hfe-blog { padding: 40px 20px; }
    .hfe-blog-card { float: none; width: 100%; margin-right: 0; }
    .hfe-blog-title { font-size: 24px; }
}

/* ── REVIEWS ─────────────────────────────── */
.hfe-reviews {
    width: 100%;
    font-family: inherit;
}
.hfe-reviews-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 40px;
}
.hfe-reviews-header { margin-bottom: 36px; }
.hfe-reviews-eyebrow {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #B5A99A;
    font-weight: 500;
    margin: 0 0 8px;
    display: block;
}
.hfe-reviews-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 32px;
    font-weight: 300;
    color: #2D2B29;
    margin: 0;
    line-height: 1.2;
}
.hfe-reviews-grid {
    margin-bottom: 24px;
    overflow: hidden;
}
.hfe-reviews-grid:after {
    content: '';
    display: table;
    clear: both;
}
.hfe-review-card {
    float: left;
    width: 30%;
    margin-right: 5%;
    margin-bottom: 16px;
    border-radius: 10px;
    padding: 20px;
}
.hfe-review-card:last-child { margin-right: 0; }
.hfe-review-stars {
    color: #A0522D;
    font-size: 13px;
    margin: 0 0 12px;
    letter-spacing: 0.05em;
    display: block;
}
.hfe-review-quote {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 16px;
    color: #A0522D;
    line-height: 1.6;
    margin: 0 0 14px;
    border: none;
    padding: 0;
    display: block;
}
.hfe-review-name {
    font-size: 12px;
    color: #B5A99A;
    font-weight: 500;
    margin: 0;
    display: block;
}
.hfe-reviews-link { text-align: center; margin: 8px 0 0; }
.hfe-reviews-link a {
    font-size: 13px;
    color: #A0522D;
    text-decoration: underline;
    transition: opacity 0.2s;
}
.hfe-reviews-link a:hover { opacity: 0.7; color: #A0522D; }

@media (max-width: 768px) {
    .hfe-reviews-inner { padding: 40px 20px; }
    .hfe-review-card { float: none; width: 100%; margin-right: 0; margin-bottom: 12px; }
    .hfe-reviews-title { font-size: 24px; }
}

/* ── GIFT BANNER ─────────────────────────── */
.hfe-gift-banner { width: 100%; }
.hfe-gift-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 18px 40px;
    text-align: center;
}
.hfe-gift-banner-icon {
    font-size: 18px;
    line-height: 1;
    margin-right: 6px;
}
.hfe-gift-banner-text {
    font-size: 14px;
    color: #ffffff;
    font-weight: 400;
    margin-right: 6px;
}
.hfe-gift-banner-link {
    font-size: 14px;
    color: #ffffff;
    font-weight: 600;
    text-decoration: underline;
    transition: opacity 0.2s;
}
.hfe-gift-banner-link:hover { opacity: 0.8; color: #ffffff; }

@media (max-width: 768px) {
    .hfe-gift-banner-inner { padding: 16px 20px; }
    .hfe-gift-banner-icon { display: block; margin: 0 auto 6px; }
    .hfe-gift-banner-text { display: block; margin: 0 0 6px; }
}

/* ── STARS ───────────────────────────────── */
.hfe-stars {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    line-height: 1;
}
.hfe-stars-score {
    font-weight: 700;
    line-height: 1;
    margin-right: 5px;
}
.hfe-stars-icons {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    margin-right: 5px;
}
.hfe-stars-icons svg { margin-right: 1px; }
.hfe-stars-icons svg:last-child { margin-right: 0; }
.hfe-stars-count {
    color: #555555;
    font-weight: 400;
    line-height: 1;
}

/* ── BUY BUTTON ──────────────────────────── */
.hfe-buy-btn-wrap { display: inline-block; }
.hfe-buy-btn {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    text-decoration: none;
    line-height: 1;
    cursor: pointer;
    transition: filter 0.15s ease, transform 0.1s ease;
    border: none;
    letter-spacing: 0.01em;
}
.hfe-buy-btn svg {
    margin-right: 9px;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}
/* Override any theme max-width:100% on svg/img */
.hfe-buy-btn-wrap svg,
.hfe-buy-btn svg {
    max-width: none;
}
.hfe-buy-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    text-decoration: none;
}
.hfe-buy-btn:active {
    transform: translateY(0);
    filter: brightness(0.94);
}

@media (max-width: 600px) {
    .hfe-buy-btn-wrap { display: inline-block; }
    .hfe-buy-btn { width: auto; }
}

/* ── PRICE ───────────────────────────────── */
.hfe-price {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    line-height: 1;
}
.hfe-price-sale {
    font-weight: 700;
    line-height: 1;
    margin-right: 10px;
}
.hfe-price-original {
    font-weight: 400;
    text-decoration: line-through !important;
    -webkit-text-decoration: line-through !important;
    line-height: 1;
    margin-right: 10px;
}
.hfe-price-badge {
    font-size: 13px;
    font-weight: 600;
    padding: 5px 14px;
    line-height: 1;
    white-space: nowrap;
}

/* ── VIDEO ───────────────────────────────── */
.hfe-video-wrap { width: 100%; font-family: inherit; }

.hfe-video-label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #4A9E8A;
    margin-bottom: 10px;
}

.hfe-video-facade {
    position: relative;
    width: 100%;
    height: 0;
    overflow: hidden;
    cursor: pointer;
    background: #1a1a1a;
    display: block;
}

.hfe-video-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.hfe-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hfe-video-title {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 80px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 18px;
    font-weight: 300;
    color: #ffffff;
    line-height: 1.3;
    pointer-events: none;
}

.hfe-video-play {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
    pointer-events: none;
}
.hfe-video-facade:hover .hfe-video-play {
    opacity: 0.85;
}

.hfe-video-play-mp4 { pointer-events: auto; cursor: pointer; }

.hfe-video-player { display: block; }
.hfe-video-hidden { display: none; }

.hfe-video-facade iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 600px) {
    .hfe-video-title { font-size: 14px; bottom: 14px; left: 14px; right: 70px; }
    .hfe-video-play { width: 48px; height: 48px; }
    .hfe-video-play svg { width: 18px; height: 18px; }
}