/* ===== 1.0.9 - EIA FULL PRODUCT (epf-): complete custom product body
   matching the approved mockup. Rendered by [eps_full_product] in a blank
   Elementor layout 1055. ===== */

.epf {
    --epf-line: #e7e7e2;
    --epf-ink: #1a1a18;
    --epf-mute: #6b6b66;
    --epf-accent: #185fa5;
    --epf-accent-bg: #e6f1fb;
    max-width: 1180px;
    margin: 0 auto;
    padding: 8px 0 24px;
    color: var(--epf-ink);
    font-family: inherit;
}
.epf *, .epf *::before, .epf *::after { box-sizing: border-box; }

/* ---- HERO ---- */
.epf-hero {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 28px;
    margin-bottom: 22px;
}
@media (max-width: 900px) {
    .epf-hero { grid-template-columns: 1fr; gap: 18px; }
}

/* gallery */
.epf-gallery {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 12px;
}
.epf-thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.epf-thumb {
    padding: 0;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    aspect-ratio: 1;
    transition: border-color .15s ease;
}
.epf-thumb.is-active { border-color: var(--epf-accent); }
.epf-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.epf-main {
    position: relative;
    border: 1px solid var(--epf-line);
    border-radius: 14px;
    overflow: hidden;
    background: #f4f6f8;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
}
.epf-main img { width: 100%; height: 100%; object-fit: contain; display: block; }
.epf-badge-off {
    position: absolute; top: 12px; left: 12px;
    background: #fceaea; color: #a32d2d;
    font-size: 13px; font-weight: 600;
    padding: 4px 11px; border-radius: 7px;
}
.epf-badge-stock {
    position: absolute; top: 12px; right: 12px;
    font-size: 12px; font-weight: 600;
    padding: 4px 12px; border-radius: 20px;
}
.epf-badge-stock.in  { background: #e1f5ee; color: #0f6e56; }
.epf-badge-stock.out { background: #fceaea; color: #a32d2d; }

/* summary */
.epf-summary { padding-top: 4px; }
.epf-eyebrow { font-size: 12px; color: var(--epf-mute); margin-bottom: 6px; letter-spacing: .3px; }
.epf-title { font-size: 30px; font-weight: 600; line-height: 1.15; margin: 0 0 14px; color: var(--epf-ink); }
.epf-short { font-size: 15px; color: var(--epf-mute); line-height: 1.6; margin-bottom: 18px; }
.epf-short p { margin: 0 0 8px; }

.epf-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.epf-price-now { font-size: 30px; font-weight: 600; color: var(--epf-ink); }
.epf-price-now .amount { color: var(--epf-ink) !important; }
.epf-price-was { font-size: 17px; color: #9b9b95; text-decoration: line-through; }
.epf-price-was .amount { color: #9b9b95 !important; }
.epf-price-save { font-size: 13px; color: #0f6e56; font-weight: 500; }
.epf-price-note { font-size: 13px; color: var(--epf-mute); margin: 6px 0 18px; }

/* cart form */
.epf-cart { margin-bottom: 20px; }
.epf-cart form.cart { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0; }
.epf-cart .quantity { flex-shrink: 0; }
.epf-cart .single_add_to_cart_button {
    flex: 1 1 auto;
    min-width: 180px;
    background: var(--epf-accent) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    height: 48px;
    font-size: 15px;
}
.epf-cart .single_add_to_cart_button:hover { background: #124b83 !important; }

/* ---- SMART PANEL (app-style dashboard preview) ---- */
.epf-smart {
    background: #0f1b2d;
    border-radius: 14px;
    padding: 18px;
    color: #e6f1fb;
    margin-top: 4px;
}
.epf-smart-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.epf-smart-head .ti-wifi { font-size: 20px; color: #5dcaa5; }
.epf-smart-title { font-size: 15px; font-weight: 500; color: #e6f1fb; }
.epf-smart-badge { margin-left: auto; font-size: 11px; color: #85b7eb; border: 1px solid #1d3454; border-radius: 20px; padding: 3px 10px; }

/* status banner */
.epf-smart-status {
    background: linear-gradient(135deg, #0f6e56, #1d9e75);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.epf-smart-status-lbl { font-size: 12px; color: #d7f5ec; }
.epf-smart-status-val { font-size: 20px; font-weight: 600; color: #fff; display: flex; align-items: center; gap: 6px; }
.epf-smart-status-val .ti { font-size: 18px; }
.epf-smart-status-pills { display: flex; gap: 18px; flex-wrap: wrap; }
.epf-smart-pill { text-align: right; }
.epf-smart-pill span { display: block; font-size: 16px; font-weight: 600; color: #fff; }
.epf-smart-pill small { display: block; font-size: 11px; color: #cdeee3; }

/* metric cards */
.epf-smart-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}
.epf-smart-card { background: #1a2942; border-radius: 10px; padding: 12px; }
.epf-smart-card-top { font-size: 12px; color: #9fb8d4; display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.epf-smart-card-top .ti { font-size: 15px; color: #5dcaa5; }
.epf-smart-card-big { font-size: 20px; font-weight: 600; color: #fff; }
.epf-smart-card-sub { font-size: 11px; color: #85b7eb; margin-top: 4px; display: flex; align-items: center; gap: 3px; }
.epf-smart-card-sub.up { color: #5dcaa5; }
.epf-smart-card-sub.down { color: #5dcaa5; }
.epf-smart-card-sub .ti { font-size: 13px; }
.epf-smart-bar { height: 8px; background: #0f1b2d; border-radius: 20px; overflow: hidden; margin-bottom: 8px; }
.epf-smart-bar span { display: block; height: 100%; background: linear-gradient(90deg, #1d9e75, #5dcaa5); border-radius: 20px; }

/* feature chips */
.epf-smart-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.epf-smart-chip {
    display: inline-flex; align-items: center; gap: 5px;
    background: #1a2942; color: #cfe0f0;
    font-size: 12px; padding: 6px 11px; border-radius: 20px;
}
.epf-smart-chip .ti { font-size: 14px; color: #5dcaa5; }

.epf-smart-foot { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #9fb8d4; }
.epf-smart-foot .ti { font-size: 15px; color: #5dcaa5; flex-shrink: 0; }

@media (max-width: 600px) {
    .epf-smart-cards { grid-template-columns: 1fr; }
    .epf-smart-status { flex-direction: column; align-items: flex-start; }
    .epf-smart-status-pills { gap: 14px; }
    .epf-smart-pill { text-align: left; }
}

/* ---- BANNERS ---- */
/* Fixed-height landscape band. object-fit:cover crops portrait/any-ratio
   source images into a consistent wide banner so they never dominate. */
.epf-banners { display: flex; flex-direction: column; gap: 12px; margin: 22px 0; }
.epf-banner {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    height: 320px;
    background: #dce6f0;
}
.epf-banner img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: center;
    display: block;
}
.epf-banner-ov {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; justify-content: center;
    padding: 0 34px;
    background: linear-gradient(90deg, rgba(15,27,45,.72), rgba(15,27,45,.15) 60%, transparent);
}
.epf-banner-t { font-size: 24px; font-weight: 500; color: #fff; line-height: 1.2; }
.epf-banner-s { font-size: 15px; color: #cfe0f0; margin-top: 6px; max-width: 55%; }
@media (max-width: 600px) {
    .epf-banner, .epf-banner img { height: 200px; }
    .epf-banner-t { font-size: 18px; }
    .epf-banner-s { font-size: 12px; max-width: 80%; }
}

/* ---- RELATED PRODUCTS + REVIEWS spacing ---- */
.epf-related { margin-top: 26px; }
.epf-related > h2 { font-size: 20px; font-weight: 600; margin-bottom: 14px; }
.epf-reviews { margin-bottom: 14px; }
.epf-crumbs { margin-bottom: 14px; font-size: 13px; }
.epf-crumbs .woocommerce-breadcrumb { color: var(--epf-mute); }

/* ---- TRUST ROW ---- */
.epf-trust {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin: 22px 0;
}
.epf-trust-card {
    display: flex; align-items: center; gap: 10px;
    border: 1px solid var(--epf-line);
    border-radius: 12px;
    padding: 14px;
    background: #fff;
}
.epf-trust-card > .ti { font-size: 22px; color: var(--epf-mute); flex-shrink: 0; }
.epf-trust-card b { display: block; font-size: 13px; font-weight: 500; color: var(--epf-ink); }
.epf-trust-card span { display: block; font-size: 12px; color: var(--epf-mute); }
/* Live chat card is a button — match card styling + make it clearly clickable */
button.epf-trust-card { width: 100%; text-align: left; cursor: pointer; font: inherit; }
button.epf-trust-card:hover { border-color: var(--epf-accent); }
.epf-trust-chat > .ti { color: #1d9e75; }

/* ---- CARDS (description, specs) ---- */
.epf-card {
    border: 1px solid var(--epf-line);
    border-radius: 14px;
    padding: 18px 20px;
    background: #fff;
    margin-bottom: 14px;
}
.epf-card-h { font-size: 16px; font-weight: 600; margin-bottom: 12px; color: var(--epf-ink); }
.epf-desc { font-size: 15px; color: var(--epf-mute); line-height: 1.7; }
.epf-desc p { margin: 0 0 10px; }
.epf-specs { width: 100%; border-collapse: collapse; font-size: 14px; }
.epf-specs td { padding: 9px 0; border-bottom: 1px solid var(--epf-line); }
.epf-specs td:first-child { color: var(--epf-mute); }
.epf-specs td:last-child { text-align: right; font-weight: 500; }
.epf-specs tr:last-child td { border-bottom: none; }
