:root {
    --lp-orange: #f87600;
    --lp-orange-deep: #e65100;
    --lp-cream: #fff6ee;
    --lp-ink: #241910;
    --lp-muted: #7a5c45;
    --lp-line: rgba(248, 118, 0, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.lp-body {
    margin: 0;
    font-family: "Noto Sans Thai", "Mitr", sans-serif;
    color: var(--lp-ink);
    background: var(--lp-cream);
    min-height: 100vh;
}

.lp-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(255, 252, 249, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(36, 25, 16, 0.06);
}

.lp-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.lp-brand img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    background: #111;
}

.lp-brand-name {
    font-family: Mitr, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--lp-orange-deep);
    line-height: 1.15;
}

.lp-brand-name small {
    display: block;
    font-size: 0.68rem;
    font-weight: 400;
    color: var(--lp-muted);
}

.lp-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.lp-nav-links a {
    text-decoration: none;
    color: var(--lp-muted);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 8px 10px;
    border-radius: 999px;
}

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    text-decoration: none;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
    border-radius: 999px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lp-btn:hover { transform: translateY(-1px); }

.lp-btn-solid {
    background: var(--lp-orange);
    color: #fff !important;
    padding: 11px 20px;
}

.lp-btn-ghost {
    background: transparent;
    color: var(--lp-ink);
    padding: 11px 18px;
    border: 1px solid rgba(36, 25, 16, 0.14);
}

.lp-hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0;
    padding: 28px 18px 68px;
    color: #fff;
    background:
        radial-gradient(circle at 82% 18%, rgba(255,255,255,0.2), transparent 28%),
        linear-gradient(160deg, #ff9a3c 0%, #f87600 42%, #e65100 100%);
}

.lp-hero::after {
    content: "";
    position: absolute;
    left: -10%;
    right: -10%;
    bottom: -1px;
    height: 58px;
    background: var(--lp-cream);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.lp-hero-panel {
    position: relative;
    z-index: 1;
    width: min(1080px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px 20px;
    text-align: left;
}

.lp-hero-copy { min-width: 0; }

.lp-hero-visual {
    justify-self: end;
}

.lp-seal {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    background: #111;
    box-shadow: 0 0 0 6px rgba(255,255,255,0.88), 0 12px 28px rgba(0,0,0,0.16);
}

.lp-kicker {
    display: inline-block;
    margin: 0 0 10px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.28);
    padding: 5px 12px;
    border-radius: 999px;
}

.lp-hero h1 {
    font-family: Mitr, sans-serif;
    font-weight: 600;
    font-size: clamp(1.35rem, 4.6vw, 2.45rem);
    margin: 0 0 10px;
    line-height: 1.3;
    color: #fff;
}

.lp-hero-text {
    margin: 0 0 16px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.94);
}

.lp-hero-actions {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
}

.lp-hero .lp-btn-solid {
    background: #f87600;
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.lp-hero .lp-btn-ghost {
    background: #fff;
    color: var(--lp-orange-deep);
    border-color: transparent;
}

.lp-wrap {
    width: min(1080px, calc(100% - 24px));
    margin: 0 auto;
}

.lp-section { padding: 22px 0 8px; }

.lp-section h2,
.lp-section-head h2 {
    font-family: Mitr, sans-serif;
    font-size: 1.25rem;
    color: var(--lp-orange-deep);
    margin: 0 0 12px;
}

.lp-section-head h2 i { margin-right: 6px; }

.lp-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.lp-marquee-track {
    display: flex;
    gap: 12px;
    width: max-content;
    animation: lp-marquee 32s linear infinite;
}

.lp-marquee:hover .lp-marquee-track,
.lp-marquee:focus-within .lp-marquee-track {
    animation-play-state: paused;
}

@keyframes lp-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.lp-product-card {
    flex: 0 0 152px;
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--lp-line);
    box-shadow: 0 8px 20px rgba(230, 81, 0, 0.08);
}

.lp-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    background: #e53935;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: 999px;
}

.lp-product-photo {
    aspect-ratio: 1 / 1;
    background: #fff;
    padding: 8px;
}

.lp-product-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lp-product-body { padding: 0 10px 12px; }

.lp-product-body h3 {
    margin: 0 0 4px;
    font-size: 0.86rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.3em;
}

.lp-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
    flex-wrap: wrap;
}

.lp-price .now {
    color: var(--lp-orange-deep);
    font-weight: 800;
}

.lp-price s { color: #b09a8b; font-size: 0.75rem; }
.lp-price small { color: var(--lp-muted); font-size: 0.72rem; }

.lp-about-card {
    background: #fff;
    border-radius: 22px;
    padding: 20px 18px 18px;
    border: 1px solid var(--lp-line);
    box-shadow: 0 12px 28px rgba(230, 81, 0, 0.08);
    margin-bottom: 12px;
}

.lp-about-kicker {
    margin: 0 0 6px;
    color: var(--lp-orange-deep);
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
}

.lp-about-card h2 {
    margin: 0 0 8px;
    font-size: 1.28rem;
}

.lp-about-card p {
    margin: 0;
    color: var(--lp-muted);
    line-height: 1.7;
}

.lp-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.lp-value {
    background: #fff;
    border-radius: 16px;
    padding: 14px 12px;
    border: 1px solid var(--lp-line);
}

.lp-value i {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff3e0;
    color: var(--lp-orange-deep);
    margin-bottom: 8px;
}

.lp-value h3 {
    margin: 0 0 4px;
    font-size: 0.98rem;
}

.lp-value p {
    margin: 0;
    color: var(--lp-muted);
    font-size: 0.85rem;
    line-height: 1.45;
}

.lp-footer {
    padding: 24px 16px 28px;
    text-align: center;
    color: var(--lp-muted);
    font-size: 0.88rem;
}

.lp-footer-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: block;
    margin: 0 auto 8px;
    background: #111;
}

.lp-footer strong { display: block; color: var(--lp-ink); margin-bottom: 8px; }

.lp-footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-bottom: 8px;
}

.lp-footer-links a {
    color: var(--lp-orange-deep);
    text-decoration: none;
    font-weight: 700;
}

.lp-chat-fab {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 60;
    width: 56px;
    height: 56px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--lp-orange), var(--lp-orange-deep));
    color: #fff;
    font-size: 1.35rem;
    box-shadow: 0 10px 24px rgba(230, 81, 0, 0.35);
    cursor: pointer;
}

.lp-chat-panel {
    position: fixed;
    right: 16px;
    bottom: 80px;
    z-index: 61;
    width: min(340px, calc(100vw - 24px));
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
    border: 1px solid var(--lp-line);
    overflow: hidden;
}

.lp-chat-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    background: linear-gradient(135deg, var(--lp-orange), var(--lp-orange-deep));
    color: #fff;
}

.lp-chat-close {
    background: none;
    border: 0;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
}

.lp-chat-quick {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
    padding: 10px 12px 0;
}

.lp-chat-quick a {
    text-align: center;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--lp-ink);
    background: #fff6ee;
    border-radius: 10px;
    padding: 8px 4px;
}

.lp-chat-panel form {
    display: grid;
    gap: 8px;
    padding: 12px;
}

.lp-chat-panel input,
.lp-chat-panel textarea {
    width: 100%;
    border: 1px solid #f0d7bf;
    border-radius: 10px;
    padding: 10px;
    font-family: inherit;
    font-size: 0.95rem;
}

.lp-hp {
    position: absolute;
    left: -9999px;
}

.lp-chat-status { margin: 0; font-size: 0.85rem; }
.lp-chat-status.ok { color: #2e7d32; }
.lp-chat-status.err { color: #c62828; }

@media (min-width: 768px) {
    .lp-nav {
        padding: 14px 32px;
    }

    .lp-brand img {
        width: 44px;
        height: 44px;
    }

    .lp-brand-name {
        font-size: 1.15rem;
    }

    .lp-brand-name small {
        font-size: 0.72rem;
    }

    .lp-nav-links {
        gap: 8px;
    }

    .lp-nav-links a {
        font-size: 0.95rem;
        padding: 8px 12px;
    }

    .lp-nav .lp-btn-solid {
        padding: 11px 22px;
        font-size: 0.95rem;
    }

    .lp-hero {
        padding: 52px 36px 96px;
    }

    .lp-hero::after {
        height: 72px;
    }

    .lp-hero-panel {
        gap: 40px;
        width: min(1080px, 100%);
    }

    .lp-kicker {
        font-size: 0.82rem;
        padding: 6px 14px;
        margin-bottom: 14px;
    }

    .lp-hero h1 {
        font-size: clamp(1.9rem, 3.2vw, 2.6rem);
        margin-bottom: 14px;
    }

    .lp-hero-text {
        font-size: 1.02rem;
        max-width: 34em;
        margin-bottom: 22px;
    }

    .lp-seal {
        width: 176px;
        height: 176px;
        box-shadow: 0 0 0 8px rgba(255,255,255,0.88), 0 18px 36px rgba(0, 0, 0, 0.16);
    }

    .lp-hero-actions {
        gap: 12px;
    }

    .lp-hero-actions .lp-btn {
        padding: 13px 22px;
        font-size: 0.95rem;
    }

    .lp-wrap {
        width: min(1080px, calc(100% - 48px));
    }

    .lp-section {
        padding: 36px 0 12px;
    }

    .lp-section-head h2,
    .lp-section h2 {
        font-size: 1.45rem;
    }

    .lp-product-card {
        flex-basis: 200px;
        border-radius: 18px;
    }

    .lp-product-body h3 {
        font-size: 0.92rem;
    }

    .lp-price .now {
        font-size: 1.05rem;
    }

    .lp-values {
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
        margin-top: 16px;
    }

    .lp-about-card {
        padding: 26px 28px;
    }

    .lp-about-card h2 {
        font-size: 1.45rem;
    }

    .lp-value {
        padding: 18px 16px;
    }

    .lp-marquee-track {
        gap: 16px;
        animation-duration: 40s;
    }

    .lp-footer {
        padding: 36px 24px 40px;
        font-size: 0.95rem;
    }

    .lp-chat-fab {
        width: 58px;
        height: 58px;
        right: 24px;
        bottom: 24px;
    }

    .lp-chat-panel {
        right: 24px;
        bottom: 92px;
        width: 360px;
    }
}

@media (min-width: 1100px) {
    .lp-nav {
        padding: 16px max(40px, calc((100% - 1180px) / 2));
    }

    .lp-hero {
        padding: 72px max(40px, calc((100% - 1180px) / 2)) 128px;
        min-height: 460px;
    }

    .lp-hero-panel {
        width: min(1180px, 100%);
        gap: 64px;
    }

    .lp-hero h1 {
        font-size: 3rem;
        line-height: 1.25;
    }

    .lp-hero-text {
        font-size: 1.12rem;
        line-height: 1.8;
    }

    .lp-seal {
        width: 248px;
        height: 248px;
    }

    .lp-wrap {
        width: min(1180px, calc(100% - 80px));
    }

    .lp-section {
        padding: 48px 0 20px;
    }

    .lp-product-card {
        flex-basis: 228px;
    }

    .lp-about-card {
        padding: 32px 36px;
    }

    .lp-value i {
        width: 42px;
        height: 42px;
        font-size: 1.15rem;
    }
}

@media (max-width: 767px) {
    .lp-hide-sm { display: none; }

    .lp-nav {
        padding: 6px 10px;
        gap: 8px;
    }

    .lp-brand img {
        width: 32px;
        height: 32px;
    }

    .lp-brand-name {
        font-size: 1.02rem;
    }

    .lp-brand-name small {
        font-size: 0.68rem;
    }

    .lp-nav-links {
        gap: 6px;
    }

    .lp-nav-links a {
        font-size: 0.82rem;
        padding: 4px 2px;
    }

    .lp-nav .lp-btn {
        padding: 8px 12px;
        font-size: 0.84rem;
        border-radius: 999px;
    }

    .lp-hero {
        padding: 16px 12px 44px;
    }

    .lp-hero::after {
        height: 28px;
    }

    .lp-hero-panel {
        gap: 10px;
        align-items: center;
    }

    .lp-kicker {
        font-size: 0.72rem;
        padding: 4px 10px;
        margin-bottom: 8px;
    }

    .lp-hero-copy h1 {
        font-size: 1.28rem;
        line-height: 1.32;
        margin: 0 0 8px;
    }

    .lp-hero-text {
        font-size: 0.92rem;
        line-height: 1.6;
        margin: 0 0 12px;
    }

    .lp-seal {
        width: 64px;
        height: 64px;
        border-width: 3px;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    }

    .lp-hero-actions {
        gap: 6px;
    }

    .lp-hero-actions .lp-btn {
        padding: 7px 10px;
        font-size: 0.84rem;
    }

    .lp-section {
        padding: 16px 12px 22px;
    }

    .lp-section-head {
        margin-bottom: 10px;
    }

    .lp-section-head h2 {
        font-size: 1.18rem;
    }

    .lp-marquee-track {
        gap: 8px;
        animation-duration: 28s;
    }

    .lp-product-card {
        flex: 0 0 132px;
        border-radius: 12px;
    }

    .lp-product-photo {
        padding: 6px;
    }

    .lp-product-body h3 {
        font-size: 0.86rem;
        min-height: 2.3em;
    }

    .lp-price .now {
        font-size: 0.95rem;
    }

    .lp-price small {
        font-size: 0.78rem;
    }

    .lp-about-kicker {
        font-size: 0.92rem;
    }

    .lp-about-card {
        padding: 14px 16px;
        border-radius: 14px;
    }

    .lp-about-card h2 {
        font-size: 1.18rem;
        margin-bottom: 8px;
    }

    .lp-about-card p {
        font-size: 0.92rem;
        line-height: 1.6;
    }

    .lp-values {
        gap: 8px;
        margin-top: 12px;
    }

    .lp-value {
        padding: 12px 12px 14px;
        border-radius: 12px;
    }

    .lp-value i {
        font-size: 1.05rem;
        margin-bottom: 6px;
    }

    .lp-value h3 {
        font-size: 0.98rem;
        margin-bottom: 4px;
    }

    .lp-value p {
        font-size: 0.84rem;
        line-height: 1.45;
    }

    .lp-footer {
        padding: 16px 12px 28px;
        font-size: 0.88rem;
    }

    .lp-footer-links {
        gap: 8px 12px;
        font-size: 0.88rem;
    }

    .lp-chat-fab {
        width: 46px;
        height: 46px;
        font-size: 1.15rem;
        bottom: 14px;
        right: 12px;
    }

    .lp-chat-panel {
        width: calc(100vw - 24px);
        right: 12px;
        bottom: 68px;
        padding: 12px;
        border-radius: 14px;
    }

    .lp-chat-panel h3 {
        font-size: 1.05rem;
    }

    .lp-chat-panel input,
    .lp-chat-panel textarea {
        font-size: 1rem;
        padding: 10px 12px;
    }

    body.lp-body {
        padding-bottom: 72px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-marquee-track { animation: none; }
}
