:root {
    --ci-cream: #FAF4E4;
    --ci-red: #E65532;
    --ci-yellow: #EAA032;
    --ci-pink: #F77EB2;
    --ci-blue: #3D9DF3;
    --ci-green: #08934A;
    --ci-purple: #B86CE2;
    --ci-dark: #2D2A26;
}

body {
    font-family: 'Prompt', sans-serif;
    background-color: var(--ci-cream);
    color: var(--ci-dark);
    padding-bottom: 85px; /* เผื่อพื้นที่แถบเมนูด้านล่างบนมือถือ */
}

/* Navbar ด้านบน */
.hs-navbar {
    background-color: rgba(250, 244, 228, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(230, 85, 50, 0.12);
}

.hs-logo-img {
    height: 38px;
    width: auto;
    border-radius: 8px;
}

/* แถบสีรุ้ง CI บางๆ ตกแต่ง */
.ci-strip {
    height: 5px;
    background: linear-gradient(90deg,
        var(--ci-red) 0% 16.6%,
        var(--ci-yellow) 16.6% 33.3%,
        var(--ci-pink) 33.3% 50%,
        var(--ci-blue) 50% 66.6%,
        var(--ci-green) 66.6% 83.3%,
        var(--ci-purple) 83.3% 100%
    );
}

/* ปุ่มสี CI */
.btn-ci-primary {
    background-color: var(--ci-red);
    border-color: var(--ci-red);
    color: #fff;
    font-weight: 500;
}
.btn-ci-primary:hover, .btn-ci-primary:active {
    background-color: #cf4625;
    border-color: #cf4625;
    color: #fff;
}

.btn-ci-outline {
    border: 2px solid var(--ci-red);
    color: var(--ci-red);
    background: #fff;
    font-weight: 500;
}
.btn-ci-outline:hover {
    background-color: var(--ci-red);
    color: #fff;
}

/* การ์ดสินค้า */
.hs-card {
    background: #fff;
    border: 2px solid rgba(45, 42, 38, 0.06);
    border-radius: 1.25rem;
    box-shadow: 0 6px 18px rgba(45, 42, 38, 0.04);
    overflow: hidden;
    transition: transform .2s ease;
}
.hs-card:hover { transform: translateY(-3px); }

/* Hero Section */
.hs-hero {
    background: #fff;
    border-radius: 1.5rem;
    border: 2px solid rgba(234, 160, 50, 0.25);
    box-shadow: 0 10px 28px rgba(230, 85, 50, 0.06);
}

/* ปุ่มบวกลบจำนวนบนมือถือ */
.qty-stepper {
    display: inline-flex;
    align-items: center;
    background: var(--ci-cream);
    border-radius: 50px;
    padding: 3px;
    border: 1px solid rgba(45, 42, 38, 0.12);
}
.qty-stepper button {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: var(--ci-dark);
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.qty-stepper button:active { background: var(--ci-yellow); color: #fff; }
.qty-stepper input {
    width: 42px;
    border: none;
    background: transparent;
    text-align: center;
    font-weight: 600;
    color: var(--ci-dark);
}
.qty-stepper input:focus { outline: none; }

/* แถบเมนูด้านล่างสำหรับสมาร์ทโฟน */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid rgba(0,0,0,0.08);
    display: flex;
    justify-content: space-around;
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
    z-index: 1030;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.05);
}
.mobile-bottom-nav a {
    text-decoration: none;
    color: #8c857b;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-weight: 500;
}
.mobile-bottom-nav a.active {
    color: var(--ci-red);
    font-weight: 600;
}
.mobile-bottom-nav .nav-icon { font-size: 20px; line-height: 1.1; }

@media (min-width: 768px) {
    body { padding-bottom: 0; }
    .mobile-bottom-nav { display: none; }
}