﻿/* โครงแบนเนอร์ */
.product-hero {
    width: 100%;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    position: relative; /* สำหรับโอเวอร์เลย์ */
    overflow: hidden;
}

    /* ชั้นโอเวอร์เลย์บาง ๆ เพื่อให้อ่านชัดบนพื้นหลังเดิม */
    .product-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to right, rgba(255,255,255,.75), rgba(255,255,255,.25));
        pointer-events: none;
    }

/* กล่องเนื้อหาด้านใน */
.banner-wrap {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* ซ้ายข้อความ ขวารูป */
    gap: 28px;
    width: min(1500px, 92vw);
    align-items: center;
}

/* ฝั่งซ้าย: ข้อความ */
.banner-text h1.title {
    margin: 0 0 8px 0;
    font-family: "Kanit", sans-serif;
    font-weight: 700;
    font-size: clamp(22px, 3vw, 36px);
    color: #B22222;
    text-shadow: 0 1px 6px rgba(0,0,0,0.08);
}

.price-badge {
    display: inline-block;
    margin: 8px 0 16px 0;
    padding: 8px 16px;
    border-radius: 10px;
    background: rgba(255,255,255,0.75);
    border: 2px solid #B8860B;
    color: #B8860B;
    font-weight: 700;
    font-size: clamp(16px, 2.2vw, 22px);
}

.banner-desc {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(4px);
    border-radius: 12px;
    padding: 14px16px;
    padding: 14px 16px;
    line-height: 1.65;
    color: #333;
    font-family: "Kanit", sans-serif;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* ฝั่งขวา: รูปสินค้า */
.banner-figure {
    display: flex;
    justify-content: center;
    align-items: center;
}

    .banner-figure img {
        width: 100%;
        max-width: 520px;
        max-height: 58vh;
        object-fit: contain;
        filter: drop-shadow(0 18px 24px rgba(0,0,0,0.25));
        border-radius: 12px;
        background: rgba(255,255,255,0.0);
    }

/* ปรับสำหรับมือถือ */
@media (max-width: 900px) {
    .banner-wrap {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .banner-figure img {
        max-width: 420px;
        max-height: 36vh;
    }
}
.btn-group {
    margin-top: 20px;
    display: flex;
    gap: 14px;
}

.btn-premium, .btn-order {
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    font-family: "Kanit", sans-serif;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(184, 134, 11, 0.3);
}

/* ปุ่มรายละเอียดเพิ่มเติม */
.btn-premium {
    background: linear-gradient(135deg, #FFD700, #DAA520);
    color: #fff;
}

    .btn-premium:hover {
        background: linear-gradient(135deg, #DAA520, #FFD700);
        transform: translateY(-2px);
    }

/* ปุ่มสั่งซื้อ */
.btn-order {
    background: linear-gradient(135deg, #FF8C00, #FFB347);
    color: #fff;
}

    .btn-order:hover {
        background: linear-gradient(135deg, #FFB347, #FF8C00);
        transform: translateY(-2px);
    }
