/* ============================================
   GLOBAL / RESET
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --green: #1a6b5a;
    /* เขียวหัวเป็ด */
    --green-dark: #124d41;
    --green-light: #22856e;
    --green-pale: #e8f5f1;
    --amber: #e07b1a;
    /* ส้มอำพัน – accent หลัก */
    --amber-light: #f59332;
    --amber-pale: #fff4e6;
    --gold: #c9a227;
    /* ทอง */
    --gold-light: #e8c547;
    --gold-pale: #fdf6e3;
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f4f5f7;
    --gray-200: #e8eaed;
    --gray-600: #666;
    --gray-800: #2d2d2d;
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.07);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.11);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.16);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-full: 999px;
    --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Sarabun', 'Segoe UI', sans-serif;
    background: var(--white);
    color: var(--gray-800);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ============================================
   NAVBAR (ลอยกึ่งกลาง + Hover หยดน้ำ)
   ============================================ */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 6px;
    border-radius: 40px;
    display: flex;
    gap: 4px;
    z-index: 1000;
    box-shadow: 0 4px 24px rgba(26, 107, 90, 0.15);
    border: 1px solid rgba(26, 107, 90, 0.1);
    white-space: nowrap;
}

.nav-item {
    position: relative;
    padding: 10px 20px;
    color: var(--green-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 30px;
    transition: color var(--transition);
    overflow: hidden;
    z-index: 1;
    font-family: 'Prompt', sans-serif;
}

/* หยดน้ำ */
.nav-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--green);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width var(--transition), height var(--transition), border-radius var(--transition);
    z-index: -1;
}

.nav-item:hover::before {
    width: 160%;
    height: 160%;
    border-radius: 30px;
}

.nav-item:hover {
    color: var(--gold-light);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 0 10%;
    overflow: hidden;
    background: var(--green-dark);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 110%;
    object-fit: cover;
    z-index: 0;
    will-change: transform, opacity;
    filter: brightness(0.55) saturate(1.1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(18, 77, 65, 0.75) 0%, rgba(26, 107, 90, 0.4) 60%, transparent 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    color: white;
    width: 100%;
    height: 100%;
}

.hero-text {
    position: absolute;
    top: 65%;
    left: 0;
    transform: translateY(-50%);
    max-width: 560px;
    animation: fadeFromLeft 1s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.1s;
}

/* Hero Logo (วงกลมแทน badge tag) */
.badge-logo {
    margin-bottom: 22px;
}

.hero-logo-img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(201, 162, 39, 0.7);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    display: block;
}

.hero-text h1 {
    font-family: 'Prompt', sans-serif;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.gold-text {
    color: var(--gold-light);
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    background: var(--gold);
    color: var(--green-dark);
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s;
    font-family: 'Prompt', sans-serif;
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.4);
    animation: pulse-bounce 2.5s infinite ease-in-out;
}

@keyframes pulse-bounce {
    0%, 100% { transform: translateY(0); box-shadow: 0 4px 20px rgba(201, 162, 39, 0.4); }
    50% { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(201, 162, 39, 0.6); }
}

.btn-primary:hover {
    background: var(--gold-light);
    animation-play-state: paused;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 162, 39, 0.5);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: white;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.6);
    transition: all 0.3s;
    font-family: 'Prompt', sans-serif;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    transform: translateY(-2px);
}

/* Hero Box (ราคา) — Modern Glass Card */
.hero-box {
    position: absolute;
    bottom: 10%;
    right: 0;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    padding: 22px 24px;
    border-radius: 20px;
    max-width: 270px;
    width: 100%;
    animation: fadeFromRight 1s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.3s;
}

/* Header strip */
.today-price-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.price-label {
    font-family: 'Prompt', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.2px;
}

.price-icon {
    display: none;
}

/* hide old icon */
.price-date {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.12);
    padding: 3px 8px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
}

/* Price rows — minimal two-column */
.quick-prices {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 18px;
}

.qp-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 12px;
    border-radius: 10px;
    transition: background 0.2s;
}

.qp-row:hover {
    background: rgba(255, 255, 255, 0.1);
}

.qp-row span:first-child {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

.qp-price {
    font-family: 'Prompt', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--gold-light);
    letter-spacing: -0.3px;
}

.qp-price::before {
    content: '฿';
    font-size: 12px;
    opacity: 0.8;
    margin-right: 1px;
}

/* CTA button */
.btn-price-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 10px 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.25s;
    font-family: 'Prompt', sans-serif;
    letter-spacing: 0.2px;
}

.btn-price-all:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

/* Hero Animations */
@keyframes fadeFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-80px) translateY(-50%);
    }

    100% {
        opacity: 1;
        transform: translateX(0) translateY(-50%);
    }
}

@keyframes fadeFromRight {
    0% {
        opacity: 0;
        transform: translateX(80px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   SECTION COMMONS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: var(--green-pale);
    color: var(--green);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.section-header h2 {
    font-family: 'Prompt', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--green-dark);
    margin-bottom: 10px;
}

.section-sub {
    color: var(--gray-600);
    font-size: 1rem;
}

.highlight-date {
    color: var(--gold);
    font-weight: 700;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.35s;
}

.delay-3 {
    transition-delay: 0.55s;
}

/* ============================================
   PRICE SECTION
   ============================================ */
.price-section {
    padding: 100px 8%;
    background: var(--gray-100);
    position: relative;
    z-index: 20;
}

/* ---- Price Table (Modern Minimal) ---- */
.price-table-wrap {
    background: white;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    overflow: hidden;
    margin-bottom: 24px;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

/* Header — subtle, not heavy */
.price-table thead tr {
    background: var(--gray-50);
    border-bottom: 1.5px solid var(--gray-200);
}

.price-table thead th {
    padding: 13px 18px;
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: var(--gray-600);
    white-space: nowrap;
}

.price-table thead th:nth-child(4) {
    text-align: right;
}

.price-table thead th:last-child {
    text-align: center;
}

/* Body rows */
.price-table tbody tr {
    border-bottom: 1px solid var(--gray-100);
    transition: background 0.15s;
}

.price-table tbody tr:last-child {
    border-bottom: none;
}

.price-table tbody tr:hover {
    background: #f9fafb;
}

.price-table tbody td {
    padding: 14px 18px;
    vertical-align: middle;
    color: var(--gray-800);
}

.price-table tbody td:nth-child(4) {
    text-align: right;
}

.price-table tbody td:last-child {
    text-align: center;
}

/* Bestseller row: left accent bar */
.row-bestseller {
    background: white !important;
    position: relative;
}

.row-bestseller td:first-child {
    border-left: 3px solid var(--amber);
    padding-left: 15px;
}

.row-bestseller:hover {
    background: #fffcf5 !important;
}

/* Price cell */
.price-cell {
    font-family: 'Prompt', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gray-900, #111);
    letter-spacing: -0.3px;
}

.price-cell.accent {
    color: var(--amber);
}

/* Size labels — minimal text tag */
.size-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.size-xl {
    background: #eef3ff;
    color: #3b5fc0;
}

.size-lg {
    background: #edfaf2;
    color: #1a7a45;
}

.size-md {
    background: #fff7ed;
    color: #b45309;
}

.size-sm {
    background: #fff1f1;
    color: #b91c1c;
}

.size-xs {
    background: var(--gray-100);
    color: var(--gray-500);
}

.size-special {
    background: #fef9ec;
    color: #92700a;
}

/* Status badges — text only, dot prefix */
.badge-hot {
    font-size: 11px;
    font-weight: 600;
    color: var(--amber);
    font-family: 'Prompt', sans-serif;
    margin-left: 6px;
    vertical-align: middle;
}

.badge-hot::before {
    content: '●';
    margin-right: 3px;
    font-size: 8px;
}

.badge-value {
    font-size: 11px;
    font-weight: 600;
    color: var(--green);
    font-family: 'Prompt', sans-serif;
}

.badge-value::before {
    content: '✓ ';
}

.badge-cheap {
    font-size: 11px;
    font-weight: 600;
    color: var(--gold);
    font-family: 'Prompt', sans-serif;
}

.badge-cheap::before {
    content: '✦ ';
    font-size: 9px;
}

/* Order button — ghost style */
.btn-order-sm {
    display: inline-block;
    border: 1.5px solid var(--green);
    color: var(--green);
    background: transparent;
    padding: 5px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    font-family: 'Prompt', sans-serif;
    white-space: nowrap;
}

.btn-order-sm:hover {
    background: var(--green);
    color: white;
}

.btn-order-hot {
    border-color: var(--amber);
    color: var(--amber);
}

.btn-order-hot:hover {
    background: var(--amber);
    color: white;
    border-color: var(--amber);
}

/* ---- Other egg table ---- */
.other-table-wrap {
    background: white;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.other-table-header {
    padding: 16px 20px;
    font-family: 'Prompt', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--gray-800);
    border-bottom: 1.5px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.2px;
}

.other-table-header svg {
    color: var(--green);
    flex-shrink: 0;
}

.other-table thead tr {
    background: var(--gray-50);
    border-bottom: 1.5px solid var(--gray-200);
}

.other-table thead th {
    background: var(--gray-50);
    color: var(--gray-600);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    padding: 100px 8%;
    background: white;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background: var(--gray-100);
    padding: 36px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--green-pale);
    background: white;
}

.card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--green);
}

.card h3 {
    font-family: 'Prompt', sans-serif;
    color: var(--green-dark);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.card p {
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 14px;
}

/* ============================================
   PROMOTION SECTION
   ============================================ */
.promo-section {
    padding: 80px 8%;
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 50%, var(--green-light) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.promo-section::before {
    content: '🥚';
    position: absolute;
    font-size: 200px;
    opacity: 0.06;
    top: -30px;
    right: -30px;
    pointer-events: none;
}

.promo-section::after {
    content: '🥚';
    position: absolute;
    font-size: 150px;
    opacity: 0.06;
    bottom: -20px;
    left: -20px;
    pointer-events: none;
}

.promo-content {
    position: relative;
    z-index: 1;
}

.promo-badge {
    display: inline-block;
    background: rgba(201, 162, 39, 0.3);
    border: 1px solid rgba(201, 162, 39, 0.5);
    color: var(--gold-light);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}

.promo-content h2 {
    font-family: 'Prompt', sans-serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
}

.promo-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    margin-bottom: 24px;
}

.promo-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.promo-tag {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-promo {
    display: inline-block;
    background: var(--gold);
    color: var(--green-dark);
    padding: 14px 36px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    font-family: 'Prompt', sans-serif;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.4);
}

.btn-promo:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(201, 162, 39, 0.5);
}

/* ============================================
   REVIEWS SECTION
   ============================================ */
.reviews-section {
    padding: 100px 8%;
    background: var(--gray-100);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.review-card {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1.5px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.review-card::after {
    content: '"';
    position: absolute;
    top: -10px;
    right: 18px;
    font-size: 90px;
    color: var(--amber);
    opacity: 0.08;
    font-family: Georgia, serif;
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
}

.review-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 16px 48px rgba(26, 107, 90, 0.13), 0 2px 8px rgba(0, 0, 0, 0.06);
    border-color: var(--green-pale);
}

.stars {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.review-card p {
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 20px;
    font-style: italic;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green), var(--green-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.reviewer strong {
    display: block;
    color: var(--green-dark);
    font-size: 14px;
}

.reviewer span {
    color: var(--gray-600);
    font-size: 12px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: 100px 8%;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto 30px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    border-radius: var(--radius);
    text-decoration: none;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.fb-card {
    background: white;
    border: 2px solid var(--gray-200);
    color: var(--gray-800);
}

.fb-card:hover {
    border-color: #1877F2;
    box-shadow: 0 8px 32px rgba(24, 119, 242, 0.18);
}

.fb-card .contact-info strong {
    color: var(--gray-800);
}

.fb-card .contact-info span {
    color: var(--gray-600);
}

.fb-card .contact-arrow {
    color: #1877F2;
}

/* Map Card */
.map-card {
    background: white;
    border: 2px solid var(--gray-200);
    color: var(--gray-800);
}

.map-card:hover {
    border-color: #DB4437;
    box-shadow: 0 8px 32px rgba(219, 68, 55, 0.18);
}

.map-card .contact-info strong {
    color: var(--gray-800);
}

.map-card .contact-info span {
    color: var(--gray-600);
}

.map-card .contact-arrow {
    color: #DB4437;
}

/* LINE Card */
.line-card {
    background: white;
    border: 2px solid var(--gray-200);
    color: var(--gray-800);
}

.line-card:hover {
    border-color: #06c755;
    box-shadow: 0 8px 32px rgba(6, 199, 85, 0.18);
}

.line-card .contact-info strong {
    color: var(--gray-800);
}

.line-card .contact-info span {
    color: var(--gray-600);
}

.line-card .contact-arrow {
    color: #06c755;
}

.phone-card {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
    color: white;
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ไอคอนรูปโลโก้วงกลมใน contact card */
.contact-icon-logo {
    background: transparent;
    border-radius: 50%;
    padding: 0;
    overflow: hidden;
}

.contact-logo-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gray-200);
    display: block;
}

.contact-info {
    flex: 1;
}

.contact-info strong {
    display: block;
    font-family: 'Prompt', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: white;
}

.contact-info span {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

.contact-arrow {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.3rem;
    transition: transform 0.3s;
}

.contact-card:hover .contact-arrow {
    transform: translateX(5px);
}

.contact-note {
    text-align: center;
    color: var(--gray-600);
    font-size: 14px;
    margin-top: 20px;
    padding: 16px;
    background: var(--green-pale);
    border-radius: var(--radius-sm);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   FACEBOOK PAGE CARD WIDGET
   ============================================ */
.fb-page-wrapper {
    max-width: 800px;
    margin: 28px auto 0;
    display: flex;
    justify-content: center;
}

.fb-plugin-wrapper {
    width: 100%;
    max-width: 550px;
    margin: 28px auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 24px;
    transition: all var(--transition);
}

.fb-plugin-wrapper:hover {
    border-color: #1877F2;
    box-shadow: 0 8px 32px rgba(24, 119, 242, 0.18);
    transform: translateY(-5px);
}

.fb-plugin-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Prompt', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 20px;
}

.fb-plugin-embed {
    width: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

/* Force Facebook plugin to fill the 100% width (up to our max-width) */
.fb-page,
.fb-page>span,
.fb-page iframe {
    width: 100% !important;
    max-width: 100% !important;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--green-dark);
    color: rgba(255, 255, 255, 0.85);
    padding-top: 70px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding: 0 8% 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    margin-bottom: 10px;
    color: var(--gold-light);
    display: flex;
    align-items: center;
}

.footer-brand h3 {
    font-family: 'Prompt', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 10px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-btn:hover {
    background: var(--gold);
    color: var(--green-dark);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-products h4,
.footer-contact h4 {
    font-family: 'Prompt', sans-serif;
    color: var(--gold-light);
    margin-bottom: 20px;
    font-size: 15px;
    font-weight: 700;
}

.footer-links ul,
.footer-products ul {
    list-style: none;
}

.footer-links ul li,
.footer-products ul li {
    margin-bottom: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: var(--gold-light);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact-item a:hover {
    color: var(--gold-light);
}

.footer-hours {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    margin-top: 16px;
}

.footer-bottom {
    padding: 20px 8%;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
}

/* ============================================
   STATS STRIP (between hero and price section)
   ============================================ */
.stats-strip {
    background: linear-gradient(90deg, var(--green-dark) 0%, var(--green) 55%, #1f7d69 100%);
    padding: 0;
    position: relative;
    z-index: 10;
}

.stats-container {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 36px;
    gap: 4px;
    flex: 1;
    min-width: 130px;
}

.stat-num {
    font-family: 'Prompt', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gold-light);
    line-height: 1;
}

.stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 500;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    text-align: center;
}

.stat-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
    align-self: stretch;
    margin: 16px 0;
}

@media (max-width: 600px) {
    .stat-item {
        padding: 20px 18px;
    }

    .stat-num {
        font-size: 1.3rem;
    }

    .stat-divider {
        display: none;
    }
}

/* ============================================
   FLOATING MENU (Mobile Toggle - วงกลมเลื่อนได้)
   ============================================ */
.floating-menu {
    position: fixed;
    bottom: 100px;
    right: 24px;
    z-index: 2000;
    display: none;
    /* Hidden on desktop */
}

.floating-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--green);
    border: 3px solid var(--gold);
    color: var(--gold-light);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(26, 107, 90, 0.4);
    transition: background 0.3s, box-shadow 0.3s;
    user-select: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.floating-toggle:active {
    cursor: grabbing;
}

.floating-toggle:hover {
    background: var(--green-dark);
    box-shadow: 0 8px 30px rgba(26, 107, 90, 0.5);
}

.toggle-icon {
    pointer-events: none;
    line-height: 1;
}

.floating-nav {
    position: absolute;
    bottom: 68px;
    right: 0;
    background: white;
    border-radius: 16px;
    padding: 10px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 160px;
    transform: scale(0.85) translateY(10px);
    transform-origin: bottom right;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid var(--green-pale);
}

.floating-nav.open {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: all;
}

.float-nav-item {
    padding: 10px 16px;
    color: var(--green-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 10px;
    transition: all 0.2s;
    font-family: 'Prompt', sans-serif;
}

.float-nav-item:hover {
    background: var(--green-pale);
    color: var(--green);
}

/* ============================================
   FLOATING CALL BUTTON
   ============================================ */
.floating-call {
    position: fixed;
    bottom: 28px;
    right: 24px;
    z-index: 2000;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--green);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(26, 107, 90, 0.45);
    text-decoration: none;
    transition: all 0.3s;
    border: 3px solid var(--gold);
    animation: pulse-call 2.5s ease-in-out infinite;
}

.floating-call:hover {
    background: var(--green-dark);
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(26, 107, 90, 0.55);
}

@keyframes pulse-call {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(26, 107, 90, 0.45), 0 0 0 0 rgba(26, 107, 90, 0.3);
    }

    50% {
        box-shadow: 0 4px 20px rgba(26, 107, 90, 0.45), 0 0 0 12px rgba(26, 107, 90, 0);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .navbar {
        display: none;
    }

    .floating-menu {
        display: block;
    }

    .hero {
        padding: 0 6%;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-box {
        position: relative;
        bottom: auto;
        right: auto;
        margin: 20px 0;
        max-width: 100%;
        display: none;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        padding-top: 80px;
    }

    .hero-text {
        position: relative;
        top: auto;
        transform: none;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    /* Table responsive */
    .price-table-wrap,
    .other-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .price-table {
        min-width: 560px;
    }

    .other-table {
        min-width: 400px;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 300px 5% 40px;
        height: auto;
        min-height: 100vh;
    }

    .badge-logo {
        padding-top: 30px;
    }

    .hero-text h1 {
        font-size: 2.4rem;
    }

    .hero-btns {
        flex-direction: column;
    }

    .btn-primary,
    .btn-outline {
        text-align: center;
        justify-content: center;
    }

    .price-section,
    .features-section,
    .reviews-section,
    .contact-section {
        padding: 70px 5%;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .promo-section {
        padding: 60px 5%;
    }

    /* Table tiny phones */
    .price-table thead th,
    .price-table tbody td {
        padding: 10px 10px;
        font-size: 13px;
    }

    .price-table {
        min-width: 480px;
    }

    .other-table {
        min-width: 340px;
    }

    .size-badge {
        font-size: 11px;
        padding: 2px 8px;
    }
}