﻿/* =========================
   TomatoElec Premium Product Detail (Brand Orange-Red)
   Scope ONLY: .pro-detail-page1.te-pd ...
========================= */

.pro-detail-page1.te-pd {
    --bg: #f5f7fb;
    --card: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --line: rgba(15,23,42,.10);
    /* ===== Brand Theme ===== */
    --primary: #D13E20; /* main */
    --primaryDark: #A62E17; /* hover / emphasis */
    --primaryDeep: #7E1E10; /* hero tail */
    --primarySoft: #FFF1EC; /* soft background */
    --shadowA: 0 12px 30px rgba(2,6,23,.08);
    --shadowB: 0 18px 44px rgba(2,6,23,.10);
    --radius: 16px;
    padding: 0 12px 36px;
    max-width: 1180px;
    margin: 0 auto;
    color: var(--text);
    font-size: 15.5px;
    line-height: 1.85;
}

    .pro-detail-page1.te-pd * {
        box-sizing: border-box;
    }

    .pro-detail-page1.te-pd img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    .pro-detail-page1.te-pd p {
        margin: 0 0 14px;
    }

        .pro-detail-page1.te-pd p:last-child {
            margin-bottom: 0;
        }

    /* =========================
   HERO
========================= */
    .pro-detail-page1.te-pd .pd-hero {
        background: radial-gradient(700px 260px at 15% 20%, rgba(255,255,255,.18), transparent 60%), radial-gradient(500px 240px at 85% 40%, rgba(0,0,0,.15), transparent 60%), linear-gradient(135deg, var(--primary) 0%, #C2361C 35%, var(--primaryDark) 65%, var(--primaryDeep) 100% );
        border-radius: 22px;
        overflow: hidden;
        box-shadow: var(--shadowB);
        color: #fff;
        position: relative;
    }

        .pro-detail-page1.te-pd .pd-hero:after {
            content: "";
            position: absolute;
            inset: 0;
            background: radial-gradient(520px 220px at 16% 20%, rgba(255,255,255,.14), transparent 60%), radial-gradient(520px 220px at 86% 40%, rgba(255,255,255,.10), transparent 55%);
            pointer-events: none;
        }

    .pro-detail-page1.te-pd .pd-hero-inner {
        padding: 24px 22px 18px;
        position: relative;
        z-index: 1;
    }

    .pro-detail-page1.te-pd .pd-hero-title {
        font-size: 24px;
        font-weight: 950;
        margin: 0 0 10px;
        color: #fff;
        line-height: 1.25;
        letter-spacing: .2px;
    }

    .pro-detail-page1.te-pd .pd-hero-sub {
        font-size: 15.5px;
        color: rgba(255,255,255,.92);
        margin: 0 0 12px;
    }

        .pro-detail-page1.te-pd .pd-hero-sub b {
            color: #fff;
            font-weight: 950;
        }

    .pro-detail-page1.te-pd .pd-hero-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin: 10px 0 12px;
    }

    .pro-detail-page1.te-pd .meta-pill {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 7px 12px;
        border-radius: 999px;
        border: 1px solid rgba(255,255,255,.18);
        background: rgba(255,255,255,.10);
        backdrop-filter: blur(6px);
        font-size: 12.8px;
        white-space: nowrap;
    }

    .pro-detail-page1.te-pd .meta-k {
        opacity: .85;
    }

    .pro-detail-page1.te-pd .meta-v {
        font-weight: 950;
    }

    .pro-detail-page1.te-pd .pd-hero-note {
        margin: 0;
        font-size: 13px;
        color: rgba(255,255,255,.86);
        border-top: 1px solid rgba(255,255,255,.16);
        padding-top: 10px;
    }

    /* =========================
   SECTION CARD
========================= */
    .pro-detail-page1.te-pd .pd-section {
        background: var(--card);
        margin-top: 14px;
        border-radius: var(--radius);
        border: 1px solid var(--line);
        box-shadow: var(--shadowA);
        overflow: hidden;
    }

    .pro-detail-page1.te-pd .pd-head {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 16px;
        background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
        border-bottom: 1px solid var(--line);
        position: relative;
    }

        .pro-detail-page1.te-pd .pd-head:after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            height: 2px;
            background: linear-gradient(90deg, rgba(209,62,32,.55), rgba(209,62,32,.18), rgba(209,62,32,0) );
        }

    .pro-detail-page1.te-pd .faIcon {
        width: 34px;
        height: 34px;
        border-radius: 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--primarySoft);
        border: 1px solid rgba(209,62,32,.22);
        color: var(--primary);
        font-size: 16px;
        flex: 0 0 auto;
    }

    .pro-detail-page1.te-pd .pd-head h3 {
        margin: 0;
        font-size: 17px;
        font-weight: 950;
        letter-spacing: .2px;
        color: #111827;
    }

    .pro-detail-page1.te-pd .pd-body {
        padding: 14px 16px 16px;
    }

    .pro-detail-page1.te-pd .k {
        font-weight: 950;
        color: var(--primaryDark);
    }

    /* =========================
   CALLOUT / NOTE
========================= */
    .pro-detail-page1.te-pd .callout {
        margin-top: 12px;
        background: linear-gradient(180deg, #fffafa 0%, #fff3f0 100%);
        border: 1px solid rgba(209,62,32,.22);
        border-left: 4px solid var(--primary);
        padding: 12px;
        border-radius: 12px;
        font-size: 14px;
        box-shadow: 0 10px 18px rgba(2,6,23,.04);
    }

    .pro-detail-page1.te-pd .noteBox {
        margin-top: 14px;
        border: 1px solid rgba(209,62,32,.22);
        background: linear-gradient(180deg, #fff7f6 0%, #fff1ed 100%);
        border-left: 4px solid var(--primary);
        border-radius: var(--radius);
        padding: 12px;
        font-size: 14px;
        color: #111827;
        box-shadow: 0 10px 18px rgba(2,6,23,.04);
    }

    /* =========================
   GRID / MINI CARDS
========================= */
    .pro-detail-page1.te-pd .grid2 {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .pro-detail-page1.te-pd .miniCard {
        border: 1px solid var(--line);
        border-radius: var(--radius);
        padding: 14px 14px 13px;
        background: #fff;
        box-shadow: 0 1px 0 rgba(15,23,42,.03);
        transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
        position: relative;
        overflow: hidden;
    }

        /* subtle corner glow */
        .pro-detail-page1.te-pd .miniCard:after {
            content: "";
            position: absolute;
            right: -60px;
            top: -60px;
            width: 160px;
            height: 160px;
            background: radial-gradient(circle, rgba(209,62,32,.12), transparent 62%);
            pointer-events: none;
        }

@media (hover:hover) {
    .pro-detail-page1.te-pd .miniCard:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 32px rgba(15,23,42,.08);
        border-color: rgba(209,62,32,.30);
    }
}

.pro-detail-page1.te-pd .miniCard .t {
    position: relative;
    padding-left: 18px;
    font-weight: 950;
    font-size: 14.5px;
    line-height: 1.35;
    margin-bottom: 8px;
    color: #111827;
}

    .pro-detail-page1.te-pd .miniCard .t:before {
        content: "";
        position: absolute;
        left: 0;
        top: 6px;
        width: 8px;
        height: 8px;
        border-radius: 999px;
        background: var(--primary);
        box-shadow: 0 0 0 4px rgba(209,62,32,.12);
    }

.pro-detail-page1.te-pd .miniCard .d {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

/* =========================
   TABLE
========================= */
.pro-detail-page1.te-pd table.spec {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

    .pro-detail-page1.te-pd table.spec th,
    .pro-detail-page1.te-pd table.spec td {
        padding: 10px 12px;
        border-bottom: 1px solid var(--line);
        vertical-align: top;
        font-size: 14px;
    }

    .pro-detail-page1.te-pd table.spec th {
        width: 34%;
        background: linear-gradient(180deg, #fff, #fbfcfe);
        text-align: left;
        font-weight: 950;
        color: #111827;
    }

    .pro-detail-page1.te-pd table.spec tr:nth-child(even) td {
        background: #fcfdff;
    }

    .pro-detail-page1.te-pd table.spec tr:last-child th,
    .pro-detail-page1.te-pd table.spec tr:last-child td {
        border-bottom: 0;
    }

/* =========================
   MEDIA ROW
========================= */
.pro-detail-page1.te-pd .mediaRow {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 12px;
    margin-top: 12px;
    align-items: start;
}

.pro-detail-page1.te-pd .mediaPh {
    width: 100%;
    min-height: 180px;
    border-radius: var(--radius);
    border: 1px dashed rgba(209,62,32,.35);
    color: var(--primaryDark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
    text-align: center;
    padding: 10px;
    background: linear-gradient(180deg, #fff, #fff6f3);
}

.pro-detail-page1.te-pd .mediaText {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px;
    background: #fff;
}

/* clean list */
.pro-detail-page1.te-pd ul.clean {
    margin: 10px 0 0;
    padding-left: 18px;
}

    .pro-detail-page1.te-pd ul.clean li {
        margin: 6px 0;
    }

/* =========================
   PIN GRID (optional if you use pinGrid)
========================= */
.pro-detail-page1.te-pd .pinGrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.pro-detail-page1.te-pd .pinCard {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px;
    background: #fff;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

@media (hover:hover) {
    .pro-detail-page1.te-pd .pinCard:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 32px rgba(15,23,42,.08);
        border-color: rgba(209,62,32,.30);
    }
}

.pro-detail-page1.te-pd .pinTag {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--primarySoft);
    border: 1px solid rgba(209,62,32,.22);
    color: var(--primaryDark);
    font-weight: 950;
    font-size: 12.8px;
    margin-bottom: 8px;
}

.pro-detail-page1.te-pd .pinDesc {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

/* =========================
   APPLICATIONS
========================= */
.pro-detail-page1.te-pd .appGrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.pro-detail-page1.te-pd .appCard {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px;
    background: #fff;
    display: flex;
    gap: 12px;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

@media (hover:hover) {
    .pro-detail-page1.te-pd .appCard:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 32px rgba(15,23,42,.08);
        border-color: rgba(209,62,32,.30);
    }
}

.pro-detail-page1.te-pd .appIco {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    border: 1px solid rgba(209,62,32,.22);
    background: var(--primarySoft);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.pro-detail-page1.te-pd .appDot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--primary);
    box-shadow: 0 0 0 6px rgba(209,62,32,.12);
}

.pro-detail-page1.te-pd .appCard h4 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 950;
    color: #111827;
}

.pro-detail-page1.te-pd .appCard p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

/* =========================
   FAQ
========================= */
.pro-detail-page1.te-pd .faq details {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px;
    background: #fff;
    margin-bottom: 10px;
    transition: box-shadow .15s ease, border-color .15s ease;
}

    .pro-detail-page1.te-pd .faq details[open] {
        box-shadow: 0 16px 32px rgba(15,23,42,.08);
        border-color: rgba(209,62,32,.30);
    }

.pro-detail-page1.te-pd .faq summary {
    cursor: pointer;
    font-weight: 950;
    font-size: 14.5px;
    color: #111827;
}

.pro-detail-page1.te-pd .faqBody {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 860px) {
    .pro-detail-page1.te-pd .grid2,
    .pro-detail-page1.te-pd .appGrid,
    .pro-detail-page1.te-pd .pinGrid {
        grid-template-columns: 1fr;
    }

    .pro-detail-page1.te-pd .mediaRow {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .pro-detail-page1.te-pd {
        font-size: 15px;
        padding: 0 10px 30px;
    }

        .pro-detail-page1.te-pd .pd-hero-inner {
            padding: 18px 16px 14px;
        }

        .pro-detail-page1.te-pd .pd-hero-title {
            font-size: 20px;
        }

        .pro-detail-page1.te-pd .pd-head h3 {
            font-size: 16px;
        }
}
