
    /* - - - - - [Start] G E N E R A L Setting Style - - - - -  */
    /* #region */

    *,
    *::before,
    *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    }

    body {
    font-family: 'Kanit', sans-serif;
    line-height: 1.5;
    background: #f9f9f9;
    color: #292929;
    }
    html, body {
    height: 100%;
    scroll-behavior: smooth;
    }
    h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    line-height: 1.2;
    }
    h2 {
    font-size: 2rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem 0;
    line-height: 1.3;
    }
    h3 {
    font-size: 1.75rem;
    font-weight: 500;
    margin: 1.25rem 0 0.75rem 0;
    line-height: 1.3;
    }
    h4 {
    font-size: 1.5rem;
    font-weight: 500;
    margin: 1rem 0 0.5rem 0;
    line-height: 1.4;
    }
    h5 {
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0.75rem 0 0.5rem 0;
    line-height: 1.4;
    }
    p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    color: #333;
    }
    img {
    max-width: 100%;
    height: auto;
    display: block;
    }
    a {
    text-decoration: none;
    color: inherit;
    }
    ul, ol {
    list-style: none;
    }
    input, button, textarea, select {
    font: inherit;
    }
    button {
    border: none;
    background: none;
    cursor: pointer;
    }
    table {
    border-collapse: collapse;
    width: 100%;
    }

    #preloader {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #fff; /* หรือสีพื้นหลังของ preloader */
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999;
        opacity: 1; /* เริ่มต้นด้วย opacity 1 */
        transition: opacity 0.5s ease-out; /* เพิ่ม transition */
    }
    .cement-truck-animation img {
    width: 200px;
    height: auto;
    margin-bottom: 20px;
    }
    .cement-truck-animation .pouring {
    width: 20px;
    height: 100px;
    animation: pour 2s infinite ease-in-out;
    margin: 0 auto;
    border-radius: 5px;
    }
    @keyframes pour {
    0% { height: 0; opacity: 0.2; }
    50% { height: 80px; opacity: 1; }
    100% { height: 0; opacity: 0.2; }
    }
    .cement-truck-animation p {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-top: 0px;
    }

    .to-heaven-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #b40000, #ff4d4d);
    color: white;
    font-size: 24px;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 999;
    display: none; /* เริ่มต้นซ่อนไว้ */
    transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .to-heaven-btn:hover {
    transform: translateY(-5px);
    opacity: 0.9;
    }
    /* #endregion */
    /* = = = = = [End] G E N E R A L Setting = = = = = */



    /* - - - - - [Start] N A V I G A T I O N- - - - - */
    /* #region */
    .header-fixed-position {
        width: 100%;
        position: fixed;
        top: 0; /* Ensure it's fixed to the top */
        left: 0; /* Ensure it starts from the left */
        z-index: 1000; /* Higher z-index to be on top of other content */
    }

    .NavOfPoonSingtoolayout {
        background: linear-gradient(to right, #d70000, #5a0000);
        font-family: 'Kanit', sans-serif;
        display: flex; /* Use flex on this container */
        align-items: center;
        justify-content: space-between; /* Space out nav-header-mobile-wrapper and nav-list */
        padding: 0 20px;
        height: 8vh;
        min-height: 50px; /* Add a min-height to ensure visibility on very small screens */
    }

    /* New: Main navigation container for flex properties */
    .main-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%; /* Ensure it takes full width of parent */
    }

    /* New: Wrapper for logo and hamburger on mobile */
    .nav-header-mobile-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between; /* Space between logo and hamburger */
        width: auto; /* Default for desktop */
    }

    .nav-lci-above-group1 {
        display: flex;
        align-items: center;
    }

    .nav-logoLCI {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .nav-img-logoLCI img {
        width: 40px;
        height: auto;
    }

    .nav-titlename-logoLCI h3 {
        color: #fff;
        font-size: 1.5rem;
        margin: 0;
    }

    .nav-list {
        list-style: none;
        display: flex;
        gap: 25px;
        margin: 0;
        padding: 0;
        align-items: center;
    }

    .nav-list li {
        position: relative;
    }

    .nav-list a {
        display: block;
        padding: 14px 20px;
        color: white;
        text-decoration: none;
        transition: background-color 0.3s ease;
    }

    .nav-list a:hover {
        background-color: #bc1a1a;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #730202;
        min-width: 160px;
        z-index: 1000;
    }

    .dropdown-menu li a {
        padding: 12px 16px;
        color: white;
        white-space: nowrap;
    }

    .dropdown-menu li a:hover {
        background-color: #a01616;
    }

    .hamburger-menu {
        display: none; 
        flex-direction: column;
        cursor: pointer;
        padding: 10px;
        z-index: 1; 
    }

    .hamburger-menu .bar {
        width: 25px;
        height: 3px;
        background-color: #fff;
        margin: 4px 0;
        transition: 0.4s;
    }

    @media (max-width: 768px) {
        .NavOfPoonSingtoolayout {
            height: auto; /* Height adapts to content when menu is open */
            flex-direction: column; /* Stack vertically */
            align-items: flex-start; /* Align logo and menu to the start */
            padding: 10px 20px;
        }

        .main-nav {
            flex-direction: column;
            align-items: flex-start;
        }

        .nav-header-mobile-wrapper {
            width: 100%; /* Take full width on mobile */
            justify-content: space-between; /* Space out logo and hamburger */
            align-items: center;
            min-height: 50px; /* Ensure this section has a minimum height */
        }

        .hamburger-menu {
            display: flex; /* Show hamburger on mobile */
        }

        .nav-list {
            display: none; /* Hide nav list by default on mobile */
            flex-direction: column;
            width: 100%;
            text-align: center;
            background-color: #630101; /* Darker red for mobile menu background */
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            padding-top: 10px;
            padding-bottom: 10px; /* Add some bottom padding */
        }

        .nav-list.active {
            display: flex; /* Show nav list when active */
        }

        .nav-list li {
            margin: 10px 0; /* Space between list items */
            width: 100%; /* Full width for list items */
        }

        .nav-list a {
            font-size: 1.1rem;
            padding: 12px 0; /* Adjust padding for mobile links */
            display: block; /* Make links block level for better touch area */
            width: 100%; /* Make link take full width of li */
        }

        .nav-list a:hover {
            background-color: #a01616; /* Mobile hover color */
        }

        /* Hide dropdowns on mobile to simplify menu, or style them for mobile */
        .nav-list .dropdown-menu {
            position: static; /* Remove absolute positioning */
            background-color: transparent; /* No background for sub-menu */
            box-shadow: none;
            width: auto;
            padding: 0;
            margin-top: 5px;
            display: none; /* Keep hidden, will require JS to toggle for mobile dropdowns */
        }

        .nav-list .dropdown-menu li a {
            padding: 8px 16px; /* Adjust padding for dropdown items */
            font-size: 1rem;
            background-color: rgba(255, 255, 255, 0.1); /* Slight background for sub-items */
        }
        .nav-list .dropdown-menu li a:hover {
            background-color: rgba(255, 255, 255, 0.2);
        }

        .hamburger-menu.active .bar:nth-child(1) {
            transform: translateY(7px) rotate(45deg);
        }

        .hamburger-menu.active .bar:nth-child(2) {
            opacity: 0;
        }

        .hamburger-menu.active .bar:nth-child(3) {
            transform: translateY(-7px) rotate(-45deg);
        }
    }
    /* #endregion */
    /* = = = = = [End] N A V I G A T I O N = = = = = */



    /* - - - - - [Start] H E A D E R Product - - - - - */
    /* #region */
    .ps-product-custom-header {
        background: linear-gradient(to right, #d70000, #5a0000);
        width: 100%;
        margin: 0;
        padding: 1px;
    }
    .ps-product-header-top {
        text-align: center;
        padding: 20px 0;
    }
    .ps-product-header-top .ps-product-lci {
        font-size: 3rem;
        color: #ffffff;
        filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.5));
        margin: 0;
    }
    .ps-product-header-top .ps-product-brand {
        font-size: 2rem;
        color: #ffffff;
        filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.5));
        margin: 0;
    }
    .ps-product-header-banner {
        position: relative;
        width: 100%;
        height: 50vh; 
        overflow: hidden;
    }
    .ps-product-header-banner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
    .ps-product-header-banner .ps-product-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4); 
        z-index: 1;
    }
    /* #endregion */
    /* = = = = = [End] H E A D E R Product = = = = = */



    /* - - - - - [Start] P R O D U C T B O X - - - - - */
    /* #region */

    /* product section width area */
    /* #region */
    .pro-s-product-showcase {
        padding: 40px 5%;
        background-color: #f4f4f4;
        position: relative; /* สำคัญ: ต้องกำหนดเพื่อให้ ::before อ้างอิงตำแหน่งได้ */
        overflow: hidden; /* ป้องกันภาพล้นขอบ */
        z-index: 1; /* ทำให้เนื้อหาอยู่ด้านบน */
    }

    .pro-s-product-showcase::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('/assets/images/1350.jpg'); 
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        opacity: 0.1;
        z-index: -1; 
    }
    .pro-s-full-width {
    width: 100%;
    }
    .info-button {
        background-color:transparent; 
        color: rgb(247, 0, 0);
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 1.1rem;
        display: flex;
        align-items: center;
        gap: 8px; 
        transition: background-color 0.3s ease;
    }
    .info-button:hover {
        background-color:transparent;
    }
    .info-button i {
        font-size: 1.3rem;
    }


    /* how to use website */
    .pro-s-how-to-use-search {
    color: rgb(233, 0, 0);
    font-size: 1rem;
    }
    .pro-s-hidden {
    display: none;
    }


    /* main box */
    .product-all-con {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    position: relative;
    }


    /* advance filter box */
    .pro-s-adv-filters-box {
    width: 250px;
    flex-shrink: 0;
    }
    .pro-s-adv-container {
    margin-top: 50px;
    background-color: #f7f7f7;
    border-radius: 12px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    padding: 10px;
    }

    /* กล่องแสดงสินค้า */
    .ps-product-container {
    flex: 1;
    min-width: 0;
    }

    /* #endregion */

    /* search bar filter - mobile */
    /* #region */

    .mobile-pro-s-filter-bar {
    display: block;
    }
    .mobile-pro-s-filter-bar {
            display: flex;
            flex-wrap: wrap; 
            gap: 15px; 
            margin: 50px auto; 
            max-width: 1200px; 
            padding: 0 20px; 
            align-items: center; 
            box-sizing: border-box; 
        }
        .mobile-psfb-title {
            color: #ffffff;
        }
        .mobile-pro-s-filter-bar .mobile-search-input-wrapper {
            display: flex;
            align-items: center;
            flex-grow: 2; 
            min-width: 250px; 
            position: relative; 
        }

        .mobile-pro-s-filter-bar .mobile-search-input-wrapper .search-icon {
            position: absolute;
            left: 15px;
            color: #888;
            font-size: 1.1rem;
        }

        .mobile-pro-s-filter-bar input[type="text"] {
            padding: 10px 15px 10px 40px; 
            font-size: 16px;
            border-radius: 25px;
            border: 1px solid #ccc;
            width: 100%; 
            box-sizing: border-box;
            transition: border-color 0.3s, box-shadow 0.3s;
        }

        .mobile-pro-s-filter-bar input[type="text"]:focus {
            border-color: #e50000;
            box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.2);
            outline: none;
        }

        .mobile-pro-s-filter-bar .mobile-location-filters-wrapper {
            display: flex;
            gap: 10px;
            flex-grow: 1;
        }

        .mobile-pro-s-filter-bar select {
            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            background-color: #fff;
            border: 1px solid #ccc;
            border-radius: 5px;
            padding: 10px 40px 10px 16px;
            font-size: 16px;
            color: #333;
            outline: none;
            transition: border-color 0.3s, box-shadow 0.3s;
            position: relative;
            background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D'12'%20height%3D'12'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%23333'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpolyline%20points%3D'6%209%2012%2015%2018%209'%20/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 12px center;
            background-size: 16px;
            flex-grow: 1; /* Allow each select to grow */
            min-width: 150px; /* Minimum width for each select */
            box-sizing: border-box;
        }
        .mobile-pro-s-filter-bar select:focus {
            border-color: #e50000;
            box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.2);
        }
        .mobile-pro-s-filter-bar select:disabled {
            background-color: #f5f5f5;
            color: #999;
            cursor: not-allowed;
        }

        .mobile-pro-s-filter-bar .mobile-search-button-wrapper {
            flex-shrink: 0; /* Prevent button from shrinking */
        }

        .mobile-pro-s-filter-bar button {
            background-color: #d60000;
            width: auto; /* Auto width based on content */
            padding: 10px 20px; /* Adjusted padding */
            color: white;
            border: none;
            cursor: pointer;
            border-radius: 8px;
            font-size: 16px;
            transition: background 0.3s;
            display: flex; /* Use flex to align icon and text */
            align-items: center;
            gap: 8px; /* Space between icon and text */
        }
        .mobile-pro-s-filter-bar button:hover {
            background-color: #a10000;
        }
    /* #endregion */

    /* type filter products */
    /* #region */
    .pro-s-product-type-selector {
    margin-bottom: 30px;
    }
    .pro-s-product-type-selector h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
    }
    .pro-s-product-type-tabs {
    list-style: none;
    display: flex;
    gap: 1rem;
    padding: 0;
    }
    .pro-s-pd-type {
    padding: 0.6rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 500;
    background-color: #e9e9e9;
    color: #b19797;
    transition: all 0.3s ease;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    }
    .pro-s-pd-type.active {
    background-color: #db0000;
    color: #fbfbfb;
    width: auto;
    }
    .pro-s-pd-type:hover {
    background-color: #ffffff;
    color: #db0000;
    }
    /* #endregion */


    /* Product cards desktop */
    /* #region */

    .p-c-product-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: flex-start;
        box-sizing: border-box;
    }

    .p-c-product-card {
        position: relative;
        overflow: hidden;
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        background: #fff;

        flex-shrink: 0; 
        flex-grow: 0;  
        flex-basis: 300px;
        max-width: 300px; 

        display: flex;              /* 👈 ทำให้เป็น flex */
        flex-direction: column;     /* แนวตั้ง */
        box-sizing: border-box;
        transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    }

    .p-c-product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .p-c-product-card img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        object-position: center;
    }

    .promo-tag {
        position: absolute;
        top: 10px;
        left: 10px;
        background: linear-gradient(45deg, #ff3939, #ff4646, #FF6B6B, #FFB66B); 
        color: white;
        padding: 5px 15px;
        border-radius: 5px;
        font-weight: bold;
        font-size: 0.9rem;
        text-transform: uppercase;
        z-index: 2;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        animation: bounce 1s infinite;
        display: flex; 
        align-items: center; 
        gap: 5px;
    }

    .p-c-product-info {
        padding: 16px;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }
    
    .p-c-product-actions {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        margin-top: auto; 
    }


    .promo-tag i.fas.fa-fire {
        font-size: 1.1rem;
        color: #ffde00; 
        animation: fire-pulse 1s infinite alternate; 
    }

    @keyframes fire-pulse {
        from { transform: scale(1); }
        to { transform: scale(1.1); }
    }

    @keyframes bounce {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-3px);
        }
    }

    .preorder-tag {
        position: absolute;
        top: 10px;
        right: 10px;
        background: #ffbf00;
        color: white;
        padding: 5px 15px;
        border-radius: 5px;
        font-weight: bold;
        font-size: 0.9rem;
        z-index: 2;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }

    .countdown-timer {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        background-color: #d92814;
        color: white;
        text-align: center;
        padding: 8px 5px;
        font-size: 0.9rem;
        font-weight: bold;
        z-index: 2;
        /* animation: flash 1.2s infinite; */
    }

    @keyframes flash {
        0%, 100% {
            background-color: #d92814d7;
            color: white;
        }
        50% {
            background-color: rgba(255, 255, 255, 0.864);
            color: #d92814;
        }
    }

    .old-price {
        text-decoration: line-through;
        color: #888 !important; 
        font-size: 1.3rem; 
    }

    .promo-price {
        font-size: 1.5rem;
        color: #d92814;
        font-weight: bold;
        margin-bottom: 0; 
    }

    .p-c-product-price {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0; 
    }

    .old-price-container {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .discount-box {
        background-color: transparent;
        color: #fff;
        font-weight: bold;
        font-size: 0.9rem;
        padding: 3px 8px;
        border-radius: 4px;
    }

    .pcpi-box {
        display: flex;
        flex-direction: column;
        align-items: center;
    }


    .p-c-product-title p {
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 5px;
        color: #292929;
        text-align: center;
    }

    .pcpi-box {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex-grow: 0; 

    }

    .p-c-product-detail p {
        color: #555;
        font-size: 15px;
        margin-bottom: 8px;
    }

    .p-c-product-detail p:first-child {
        margin-top: 0;
    }

    .p-c-product-detail p:last-child {
        margin-bottom: 0;
    }

    .m-p-c-product-price {
        display: none;
    }

    .p-c-product-price {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .p-c-product-price span {
        font-size: 25px;
        font-weight: 500;
        color: red;
    }

    .p-c-product-price p {
        margin-bottom: 0.25em;
    }

    .p-c-product-price p:first-child {
        margin-top: 0;
    }

    .p-c-product-price p:last-child {
        margin-bottom: 0;
    }

    .m-p-c-product-price p {
        margin-bottom: 0.25em;
    }

    .m-p-c-product-price p:first-child {
        margin-top: 0;
    }

    .m-p-c-product-price p:last-child {
        margin-bottom: 0;
    }

    .hide-na-price-text strong {
        color: transparent;
    }

    .p-c-product-value p {
        font-size: 10px;
    }

    .p-c-product-location {
        font-size: 1rem;
        color: #b1b1b1;
        margin-bottom: 10px;
    }

    .m-p-c-product-area {
        display: none;
    }

    .p-c-add-cart-btn {
        background: linear-gradient(to right, #d70000, #8f0000);
        color: white;
        border: none;
        padding: 10px 16px;
        border-radius: 6px;
        cursor: pointer;
        transition: transform 0.2s;
        width: 100%;
        box-sizing: border-box;
    }

    /* .p-c-buy-btn {
        background: linear-gradient(to right, #ffdfbc, #fac285, #ffa600);
        color: white;
        border: none;
        padding: 10px 16px;
        border-radius: 6px;
        cursor: pointer;
        transition: transform 0.2s;
        width: 100%;
        box-sizing: border-box;
    } */
     
    .p-c-buy-btn {
        background: none;        
        color: rgb(219, 0, 0);
        border: 1.75px solid red;
        padding: 10px 16px;
        border-radius: 6px;
        cursor: pointer;
        transition: transform 0.2s;
        width: 100%;
        box-sizing: border-box;
    }

    .p-c-buy-btn:hover {
        transform: scale(1.05);
    }

    .p-c-add-cart-btn:hover {
        transform: scale(1.05);
    }

    .p-c-note {
        text-align: center;
        color: #888888;
    }



    /* #endregion */

    /* cart button  */
    /* #region */

    .cart-btn-container {
        position: fixed; 
        bottom: 50px; 
        right: 20px;  
        z-index: 5;
    }
    .cart-btn-box {
        position: fixed; 
        bottom: 20px; 
        right: 20px; 
        background: linear-gradient(to right, #d70000, #8f0000);
        color: white; 
        padding: 15px 20px; 
        border-radius: 50px; 
        font-size: 1rem; 
        border: none; 
        box-shadow: 0 2px 10px rgba(0,0,0,0.2); 
        z-index: 999; 
        cursor: pointer; 
        position: relative;
        display: flex; 
        align-items: center;
        gap: 8px; 
    }
    .cart-btn-count-products {
        position: absolute; 
        top: -5px; 
        right: -5px; 
        background-color: #ffc107; 
        color: #333; 
        border-radius: 50%; 
        padding: 5px 8px; 
        font-size: 0.75rem; 
        font-weight: bold; 

        display: none; 
        min-width: 24px; 
        text-align: center; 
        box-sizing: border-box; 
    }

    /* #endregion */

    /* desktop cart product area */
    /* #region */
    .cart-section-container {
    width: 600px;
    background: #fdfdfd;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.20);
    z-index: 5;
    display: flex;
    flex-direction: column;
    }
    .cart-section-container.show {
    transform: translateX(0);
    }
    .product-cart-tab {
    display: contents;
    }
    .p-cart-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.4rem;
    font-weight: bold;
    background: linear-gradient(to right, #ff1313,#ff1313, #8f0000);
    color: white;
    border-bottom: 1px solid #ddd;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 5;
    }
    .p-cart-title button {
    font-size: 1.2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #ffffff;
    }
    .products-carts-container {
    flex: 1;
    padding: 20px;
    overflow-y: auto; 
    -webkit-overflow-scrolling: touch; 
    }

    /* --- Card item layout --- */
    .cart-item {
        padding: 15px;
        border-radius: 10px;
        background-color: #ffffff;
        margin-bottom: 15px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        border-left: 5px solid #e74c3c; 
    }
    .cart-item-horizontal {
        display: flex;
        flex-direction: column;
        align-items: left;
        gap: 15px;
    }
    .cart-item-horizontal-box {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    .cart-item-horizontal-box-item {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 1rem;
    }
    .cart-img {
        flex-shrink: 0;
    }
    .cart-img img {
        width: 80px;
        height: 80px;
        object-fit: contain;
        border-radius: 8px;
    }
    .cart-info {
        flex-grow: 1;
    }
    .cart-name {
        font-size: 1.2em;
        font-weight: 600;
        color: #333;
        margin-bottom: 5px;
    }
    .cart-price {
        font-size: 1em;
        color: #555;
        margin-bottom: 10px;
    }

    /* --- Qty Control Styling --- */
    .qty-control {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-top: 10px;
    }
    .qty-control button {
        width: 35px;
        height: 35px;
        background-color: transparent;
        border: 1px solid red;
        color: rgb(52, 52, 52);
        border: none;
        border-radius: 5px;
        font-size: 1.5em;
        font-weight: bold;
        cursor: pointer;
        transition: background-color 0.2s ease;
    }
    .qty-control button:hover {
        background-color: #c0392b;
        color: white;
    }
    .truck-quantity-display {
        display: flex;
        align-items: center;
        padding: 8px 12px;
        background-color: #f5f5f5;
        border-radius: 5px;
        font-size: 1em;
        font-weight: 600;
        color: #4e4e4e;
    }

    .truck-quantity-display .truck-icon {
        color: #e74c3c;
        margin-right: 8px;
    }

    .bag-count {
        font-size: 1em;
        color: #777;
        margin: 0 0 0 10px;
        white-space: nowrap;
    }

    /* --- Remove Button --- */
    .cart-remove button {
        background: rgb(194, 0, 0);
        border: 1px solid #ccc;
        color: #f6f6f6;
        padding: 5px 10px;
        border-radius: 5px;
        font-size: 0.9em;
        cursor: pointer;
        transition: all 0.2s ease;
        max-width: 100%;
        height: 100%;
    }

    .cart-remove button:hover {
        background-color: #f7f7f7;
        color: #e74c3c;
        border-color: #e74c3c;
    }


    .cart-total-info {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 20px;
        padding: 10px 0;
        border-bottom: 1px dashed #eee; 
    }
    .cart-total-info p {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 1.1rem;
        color: #333;
        margin: 0; 
    }

    .cart-total-info p span {
        font-weight: 600;
        color: #000; 
        font-size: 1.15rem; 
    }

    .cart-total-info p.final-total {
        font-size: 1.3rem; 
        font-weight: bold;
        color: var(--danger-color, #e53935); 
        padding-top: 10px;
        border-top: 1px solid #ccc; 
        margin-top: 10px;
    }

    .cart-total-info p.final-total span {
        font-size: 1.4rem; 
        color: var(--danger-color, #e53935); 
    }

    .primary-checkout-btn {
        background: linear-gradient(to right, #d70000, #8f0000); 
        color: white;
        border: none;
        padding: 12px 15px;
        border-radius: 8px;
        width: 100%;
        font-size: 1.1rem;
        cursor: pointer;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        transition: background-color 0.3s ease, box-shadow 0.3s ease;
    }
    .primary-checkout-btn:hover {
        background: #a10000; 
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    }
    .primary-checkout-btn i {
        font-size: 1.2em;
    }

    .empty-cart-state {
        text-align: center;
        padding: 40px 20px;
        color: #888;
        font-size: 1.1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%; 
    }
    .empty-cart-state p {
        margin-bottom: 20px;
    }
    .empty-cart-state .back-to-shop-btn {
        background-color: #cf0000;
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
        text-decoration: none;
        font-weight: bold;
        transition: background-color 0.3s ease;
    }
    .empty-cart-state .back-to-shop-btn:hover {
    background-color: #a10000;
    }
    .p-cart-result {
        padding: 20px;
        border-top: 1px solid #ddd;
        background: #fafafa;
        flex-shrink: 0;
        position: sticky;
        bottom: 0;
        z-index: 5;
        border-radius: 0 0 15px 15px; 
        box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    }
    .pcr-box {
        margin-bottom: 100px;
    }
    .p-cart-result p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex; 
    justify-content: space-between;
    }
    .p-cart-result p strong {
    color: var(--danger-color, #e53935); 
    font-size: 1.2rem;
    }
    .p-cart-result button {
    background: linear-gradient(to right, #d70000, #8f0000);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    width: 100%;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }
    .p-cart-result button:hover {
    background-color: #a10000;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }

    .mobile-cart-btn {
    display: none;
    }


    /* #endregion */

    /* popup product detail  */
    /* #region */
    .mobile-popup-close {
    display: none;
    }
    body.no-scroll {
        overflow: hidden; 
    }
    .popup-product-detail {
    position: fixed;
    top: 0; 
    left: 0;
    width: 100vw; 
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.8);
    padding: 20px;
    overflow-y: auto; 
    z-index: 5;
    }
    .popup-box-show {
    background: white;
    border-radius: 16px;
    max-width: 1200px; 
    width: 100%;
    padding: 24px;
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    max-height: 90vh;
    overflow-y: auto;  
    overflow-x: hidden; 
    }
    /* close button  */
    .popup-close {
    position: relative;
    }
    .popup-close-btn {
    font-size: 3rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #e70000;
    transition: color 0.3s;
    }
    .popup-close-btn:hover {
    color: #000000;
    }



    /* left box area >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> */
    .popup-left {
    flex: 1.3;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    }
    /* image box */
    .popup-left-boximg {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #fff;
    padding: 23px;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }
    #mainPopupImg {
    background-color: transparent;
    width: 100%;
    max-height: 400px;
    border-radius: 12px;
    object-fit: contain;
    }
    .popup-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    max-width: 100%;
    padding-bottom: 5px;
    }
    .popup-thumbnails img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
    }
    .popup-thumbnails img:hover {
    border-color: #d60000;
    }
    .popup-left-box {
    width: 100%;
    }
    .popup-left-box-con {
    display: flex;
    flex-direction: column;
    background-color: #f8f8f8;
    border-radius: 16px;
    gap: 1rem;
    }
    /* standard box */
    .p-l-b-standard {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #fff;
    padding: 23px;
    border-radius: 16px;
    /* box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); */
    }
    .p-l-b-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #fff;
    padding: 23px;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }
    .p-l-b-s-title p {
    font-size: 18px;
    font-weight: 600;
    }
    .p-l-b-s-title hr {
    border: 0.5px solid #d3d3d3;
    }
    .plbs-con {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    }
    .plbs-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    transition: all 0.4s ease;
    padding-right: 0;
    cursor: pointer;
    padding-left: 8px;
    }
    .plbs-box img {
    width: 70px;
    height: auto;
    display: block;
    }
    /* strength box */
    .p-l-b-strength {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #fff;
    padding: 23px;
    border-radius: 16px;
    /* box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); */
    }



    /* right box area >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> */
    .popup-right {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: #fff;
    padding: 23px;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }
    .popup-right-price {
    padding: 0px 25px;
    }
    .popup-right-price-r{
    font-size: 25px;
    }
    .option-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    }
    .option-group label {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    }
    .custom-qty-input {
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
    width: 100%;
    }
    .stepper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    }
    .stepper-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    }
    .stepper-controls input[type="number"] {
    width: 80px;
    padding: 6px;
    border-radius: 6px;
    border: 1px solid #ccc;
    text-align: center;
    }
    .stepper-controls button {
    width: 32px;
    height: 32px;
    font-size: 18px;
    border: none;
    background-color: #eee;
    border-radius: 6px;
    cursor: pointer;
    }
    .note {
    font-size: 0.9rem;
    color: #555;
    }

    .popup-action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    }
    .popup-action-buttons button {
    flex: 1;
    padding: 12px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
    min-width: 120px;
    }

    .popup-add-cart-btn {
    background: linear-gradient(to right, #ffca91, #fac285 , #ffa600);
    color: white;
    }
    .popup-add-cart-btn:hover {
    background-color: #e57c00;
    }
    .popup-buy-now-btn {
    background: linear-gradient(to right, #d70000, #8f0000);
    color: white;
    }
    .popup-buy-now-btn:hover {
    background-color: #c62828;
    }
    .plbs-con ul {
    list-style-type: none; 
    padding-left: 0; 
    margin-top: 0;
    }

    .plbs-con ul li {
    position: relative;
    line-height: 1.6; 
    margin-bottom: 10px;
    padding-left: 20px;
    }

    .plbs-con ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #D60000;
    font-size: 1.5em;
    line-height: 1;
    }
    .hidden { display: none; }


    /* --- Styles for Image Zoom Popup --- */
    .image-zoom-popup {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8); 
        display: flex; 
        justify-content: center;
        align-items: center;
        z-index: 10000; 
        visibility: hidden;
        opacity: 0; 
        transition: visibility 0s, opacity 0.3s ease; 
    }
    .image-zoom-popup.is-visible {
        visibility: visible;
        opacity: 1;
    }
    .image-zoom-content {
        position: relative;
        max-width: 90%; 
        max-height: 90%; 
        background-color: #fff; 
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .zoomed-image {
        max-width: 100%;
        max-height: 80vh; 
        display: block;
        object-fit: contain; 
    }
    .image-zoom-close-button {
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 30px;
        color: #333;
        cursor: pointer;
        background: none;
        border: none;
        padding: 0;
        line-height: 1;
        z-index: 10001;
    }
    .image-zoom-close-button:hover {
        color: #ff0000;
    }
    body.no-scroll {
        overflow: hidden;
    }

    /* #endregion */

    /* = = = = = [End] P R O D U C T B O X = = = = = */



    /* - - - - - [Start] H O W T O B U Y  - - - - - */
    /* #region */

    /* ========== CONTENT SECTION ========== */
            .how-to-buys-con {
                flex-wrap: wrap;
                width: 100%;
                min-height: 400px;
            }
            .how-to-order-container {
                width: 100%;
                margin: 30px auto 0;
                text-align: center;
                padding: 3%;
                color: #333;
                background: linear-gradient(180deg, #ed1b24, #6b0005);
                overflow-x: hidden;
            }

            .how-to-order-container h2 {
                color: #ffffff;
                font-size: 2rem;
                font-weight: 700;
                text-transform: uppercase;
                margin-bottom: 5px;
                letter-spacing: 1px;
            }

            .how-to-order-container h3 {
                font-size: 26px;
                font-weight: 600;
                margin-bottom: 20px;
                color: #fff;
            }


            /* ========== STEP GRID ========== */
            .how-to-order-steps-grid {
                /* display: grid;
                grid-template-columns: 1fr;
                gap: 20px; */

                display: flex;
                flex-direction: row;
                gap: 20px;
                flex-wrap: wrap;
                justify-items: center;
                justify-content: center;
            }

            .how-to-order-step-card {
                background: white;
                border-radius: 16px;
                padding: 24px 20px;
                box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
                position: relative;
                text-align: left;
                transition: 0.3s ease;
                overflow-wrap: break-word;
                width: 400px;
            }

            .how-to-order-step-card:hover {
                transform: translateY(-8px);
                box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
            }

            .how-to-order-step-icon {
                font-size: 32px;
                color: #f44336;
                margin-bottom: 20px;
            }

            .how-to-order-step-title {
                font-size: 18px;
                font-weight: 600;
                margin-bottom: 10px;
            }

            .how-to-order-step-desc {
                font-size: 15px;
                color: #555;
                line-height: 1.6;
            }

            .how-to-order-step-number {
                font-size: 60px;
                font-weight: 900;
                color: rgba(244, 67, 54, 0.307);
                position: absolute;
                top: 10px;
                right: 20px;
            }

            .how-to-order-step-wrapper {
                position: relative;
            }
    /* #endregion */
    /* = = = = = [End] H O W T O B U Y = = = = = */




    /* Mobile responsive (<= 480px) */
    @media (max-width: 480px) {

        .mobile-view {
            display: block;
            width: 100%;
        }

        .above-content {
            display: none;
        }
        .nav-lci-above-group1 {
            display: block;
        }
        .formobile {
            display: block;
        }

        .m-ps-main-header {
            display: block;
        }

        .ps-product-custom-header {
        height: auto;
        padding: 1px;
        }

        /* ps-main-header for mobile */
        .ps-main-header {
            display: none;
        }
        .headerformobile {
            display: block;
        }

        .ps-header-mobile {
            display: block;
            position: relative;
            color: #fff;
            overflow: hidden;
            width: 100%;
            height: 100%;
        }

        .to-heaven-btn {
            right: 12px;
            bottom: 12px;
        }

        .swiper-container {
            height: 100%;
        }
        .ps-banner-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            filter: brightness(0.7);
            display: block;
        }
        .ps-header-mobile .ps-banner-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.4);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 0 5%;
            box-sizing: border-box;
            z-index: 3;
            color: white;
        }
        .ps-header-mobile .ps-title {
            font-size: 1.8rem;
            margin-bottom: 0.5rem;
            text-shadow: 2px 2px 4px #000;
        }
        .ps-header-mobile .ps-subtitle {
            font-size: 1rem;
            margin-bottom: 1.5rem;
            color: white;
        }
        .ps-header-mobile .ps-btn-group {
            flex-direction: column;
            gap: 0.5rem;
            justify-content: center;
        }
        .wave-mobile svg {
            display: block;
            width: 100%;
            height: 80px;
        }
        .wave-mobile {
            display: block;
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            overflow: hidden;
            line-height: 0;
            z-index: 2;
        }
        .header-section-red-line {
            display: none;
        }
        .header-title-page-title h1 {
            font-size: 25px;
        }

        /* --- */





        /* about */
        .home-about-section {
            display: none;
        }
        .forMobile {
            display: block;
        }
        .headerformobile {
            display: block;
        }

        .m-home-about-section {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            padding: 15px;
        }
        .m-about-detail {
            align-items: center;
            justify-items: center;
        }
        .m-about-detail a{
            align-items: center;
            justify-items: center;
        }

        /* --- */




        /* product */
        .home-product-showcase {
            padding: 20px 15px;
        }

        .home-product-container {
            padding: 0;
        }

        .home-section-title {
            font-size: 2rem;
            margin-bottom: 20px;
        }

        .home-product-grid {
            grid-template-columns: 1fr 1fr; /* 2 items per row */
            gap: 15px;
        }

        .home-product-card {
            width: 100%;
            max-width: unset;
            margin: 0;
            padding: 10px;
        }

        .home-product-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            justify-items: center;
        }

        .home-product-info {
            padding: 8px;
        }

        .home-product-title {
            font-size: 1.1rem;
        }

        .home-product-detail,
        .home-product-unit,
        .home-product-location {
            font-size: 0.8rem;
        }

        .home-buy-btn {
            padding: 0.5rem 1rem;
            font-size: 0.8rem;
        }

        .home-product-popup-detail {
            padding: 15px;
        }

        .hppd-box {
            width: 95%;
            max-width: 90vw;
            margin: 20px auto;
        }

        .hppd-close-button {
            font-size: 2rem;
            top: 5px;
            right: 10px;
        }

        .hppd-content {
            flex-direction: column;
            gap: 15px;
        }

        .hppd-con-box {
            flex-direction: column;
        }

        .hppd-image-section {
            width: 100%;
            padding-right: 0;
            border-right: none;
            margin-bottom: 15px;
            padding: 15px;
        }

        .hppd-main-image-container {
            height: 250px;
        }

        .hppd-main-image {
            max-height: 250px;
            left: 0;
        }

        .hppd-thumbnail-container {
            justify-content: center;
            margin-top: 10px;
        }

        .hppd-thumbnail-container img {
            width: 60px;
            height: 60px;
        }

        .hppd-info-box {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            width: 100%;
            padding: 15px;
            box-sizing: border-box;
        }

        .info-item {
            flex-direction: column;
            align-items: flex-start;
        }

        .info-label {
            font-size: 0.85rem;
        }

        .info-value {
            font-size: 0.9rem;
        }

        .hppd-details-section {
            width: 100%;
            padding-left: 0;
        }

        .product-title {
            font-size: 1.8rem;
            text-align: center;
            margin-bottom: 10px;
        }

        .product-description-text,
        .detail-text,
        .feature-list li {
            font-size: 0.95rem;
            line-height: 1.5;
        }

        .box-title {
            font-size: 1.2rem;
            margin-top: 15px;
            margin-bottom: 8px;
        }

        .standard-icons img {
            width: 40px;
            height: 40px;
            margin-right: 8px;
        }

        /* --- Global Popup Styles for Mobile (รวม home-product-popup-detail และ image-zoom-popup) --- */
        body.no-scroll {
            overflow: hidden;
        }

        .home-product-popup-detail,
        .image-zoom-popup {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            background: rgba(0,0,0,0.7);
            padding: 10px;
            z-index: 10000;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.0s ease 0.3s;
        }

        .home-product-popup-detail.is-visible,
        .image-zoom-popup.is-visible {
            opacity: 1;
            visibility: visible;
            transition: opacity 0.3s ease, visibility 0s ease 0s;
        }

        /* Style for Image Zoom Popup specific */
        .image-zoom-content {
            width: 95%;
            max-width: 90vw;
            max-height: 90vh;
            background-color: #fff;
            padding: 15px;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .zoomed-image {
            max-width: 100%;
            max-height: 85vh;
            display: block;
            object-fit: contain;
        }
        .image-zoom-close-button {
            font-size: 2rem;
            top: 5px;
            right: 10px;
        }

        .pro-s-product-showcase {
            padding: 20px 3%;
        }

        /* Main product layout */
        .product-all-con {
            flex-direction: column;
            gap: 1rem;
        }

        /* Advance filter box (hidden on mobile) */
        .pro-s-adv-filters-box {
            display: none;
        }

        /* Product container takes full width */
        .ps-product-container {
            width: 100%;
        }




        
        /* Search bar filter */

        .mobile-pro-s-filter-bar {
            display: flex;
            flex-wrap: wrap; 
            gap: 15px; 
            margin: 50px auto; 
            max-width: 1200px; 
            padding: 0 20px; 
            align-items: center; 
            box-sizing: border-box; 
        }
        .mobile-pro-s-filter-bar .mobile-search-input-wrapper {
            display: flex;
            align-items: center;
            flex-grow: 2; 
            min-width: 250px; 
            position: relative; 
        }
        .mobile-pro-s-filter-bar .mobile-search-input-wrapper .search-icon {
            position: absolute;
            left: 15px;
            color: #888;
            font-size: 1.1rem;
        }
        .mobile-pro-s-filter-bar input[type="text"] {
            padding: 10px 15px 10px 40px; /* Adjust padding for icon */
            font-size: 16px;
            border-radius: 25px;
            border: 1px solid #ccc;
            width: 100%; /* Take full width of its wrapper */
            box-sizing: border-box;
            transition: border-color 0.3s, box-shadow 0.3s;
        }
        .mobile-pro-s-filter-bar input[type="text"]:focus {
            border-color: #e50000;
            box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.2);
            outline: none;
        }
        .mobile-pro-s-filter-bar .mobile-location-filters-wrapper {
            display: flex;
            gap: 10px;
            flex-grow: 1; 
        }
        .mobile-pro-s-filter-bar select {
            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            background-color: #fff;
            border: 1px solid #ccc;
            border-radius: 5px;
            padding: 10px 40px 10px 16px;
            font-size: 16px;
            color: #333;
            outline: none;
            transition: border-color 0.3s, box-shadow 0.3s;
            position: relative;
            background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D'12'%20height%3D'12'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%23333'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpolyline%20points%3D'6%209%2012%2015%2018%209'%20/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 12px center;
            background-size: 16px;
            flex-grow: 1; 
            min-width: 150px; 
            box-sizing: border-box;
        }
        .mobile-pro-s-filter-bar select:focus {
            border-color: #e50000;
            box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.2);
        }
        .mobile-pro-s-filter-bar select:disabled {
            background-color: #f5f5f5;
            color: #999;
            cursor: not-allowed;
        }
        .mobile-pro-s-filter-bar .mobile-search-button-wrapper {
            flex-shrink: 0;
        }
        .mobile-pro-s-filter-bar button {
            background-color: #d60000;
            width: auto; 
            padding: 10px 20px;
            color: white;
            border: none;
            cursor: pointer;
            border-radius: 8px;
            font-size: 16px;
            transition: background 0.3s;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .mobile-pro-s-filter-bar button:hover {
            background-color: #a10000;
        }

        .mobile-pro-s-filter-bar {
        display: block;
            flex-direction: column; 
            align-items: stretch;
            margin-left: 0;
            margin-right: 0;
            margin-top: 20px; 
            margin-bottom: 20px; 
            padding: 0 5%;
            box-sizing: border-box; 
        }
        .mobile-psfb-title {
            display: block; 
            text-align: center;
            margin-bottom: 15px;
            font-size: 1.5rem;
            color: #ffffff;
            width: 100%;
        }
        .mobile-pro-s-filter-bar .mobile-search-input-wrapper {
            width: 100%; 
            margin-bottom: 10px; 
        }
        .mobile-pro-s-filter-bar input[type="text"] {
            width: 100%;
            min-width: unset;
            font-size: 14px;
        }
        .mobile-pro-s-filter-bar .mobile-location-filters-wrapper {
            display: flex;
            flex-direction: column;
            gap: 0;
            width: 100%; 
            margin-bottom: 10px; 
        }
        .mobile-pro-s-filter-bar .mobile-location-filters-wrapper select {
            width: 100%; 
            margin-bottom: 10px; 
            font-size: 14px;
            box-sizing: border-box;
        }
        .mobile-pro-s-filter-bar .mobile-location-filters-wrapper select:last-child {
            margin-bottom: 0; 
        }

        .mobile-pro-s-filter-bar .search-button-wrapper {
            width: 100%; 
        }
        .mobile-pro-s-filter-bar button {
            margin-top: 0; 
            width: 100%; 
        }





        /* Product type tabs */
        .pro-s-product-type-tabs {
            justify-content: flex-start;
            overflow-x: auto;
            white-space: nowrap;
            padding-bottom: 10px;
        }
        .pro-s-pd-type {
            font-size: 0.9rem;
            padding: 0.5rem 1rem;
            flex-shrink: 0;
        }
        .p-c-product-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            padding: 0 5%;
            justify-content: center;
            align-items: stretch;
        }
        .p-c-product-card {
            width: auto;
            max-width: 100%;
            height: auto;
            padding-top: 10px;
            box-sizing: border-box;
        }
        .p-c-product-card img {
            height: 120px;
            object-fit: cover;
        }
        .p-c-product-info {
            padding: 10px;
        }
        .p-c-product-title p {
            font-size: 14px;
            margin-bottom: 3px;
        }
        .p-c-product-detail p {
            font-size: 9px;
            margin-bottom: 5px;
        }

        .p-c-product-price {
            display: none;
        }

        .m-p-c-product-price {
            display: flex; 
            flex-direction: column; 
            align-items: center; 
            margin-top: 5px;
        }
        
        .m-p-c-product-price .promo-price,
        .m-p-c-product-price .old-price {
            font-size: 16px; 
            font-weight: bold;
            margin: 0;
        }
        
        .m-p-c-product-price .old-price {
            font-size: 14px;
            text-decoration: line-through;
            color: #888 !important; 
        }
        
        .m-p-c-product-price .old-price-container {
            display: flex; 
            align-items: center;
            gap: 5px;
        }
        
        .m-p-c-product-price .discount-box {
            font-size: 0.7rem; 
            padding: 2px 5px; 
        }

        .m-p-c-product-value {
            font-size: 10px;
            margin-top: 2px;
            text-align: center;
        }

        
        .p-c-product-area {
            display: none;
        }
        .m-p-c-product-area {
            display: block;
            margin-top: 5px;
            text-align: center;
        }
        .m-p-c-product-area p {
            font-size: 10px;
            color: #888;
        }
        
        .p-c-add-cart-btn,
        .p-c-buy-btn {
            padding: 8px 10px;
            font-size: 0.8rem;
        }
        .p-c-note {
            text-align: center;
            color: #888888;
            font-size: 0.7rem;
        }

        .promo-tag,
        .preorder-tag {
            font-size: 0.7rem; 
            padding: 3px 8px;
            top: 5px; 
        }
        .countdown-timer {
            font-size: 6px; 
            padding: 5px;
        }
        .promo-tag {
            font-size: 8px;
        }
        .promo-tag i.fas.fa-fire {
            font-size: 7px;
            color: #ffde00; 
            animation: fire-pulse 1s infinite alternate; 
        }
        .preorder-tag {
            font-size: 7px;
        }
        .discount-box {
            color: rgba(255, 0, 0, 0.771);
        }




    /* Cart section */
   

    .cart-section-container.show {
        transform: translateX(0);
    }
    .cart-section-container {
        width: 100%;
    }
    .cart-item {
        padding: 10px;
        margin-bottom: 12px;
    }
    .cart-item-horizontal {
        display: flex;
        flex-direction: column;
    }
    .cart-item-horizontal-box {
        flex-direction: row;
        align-items: flex-start;
        gap: 10px;
    }

    .cart-item-horizontal-box-item {
        flex-direction: row;
        align-items: flex-start;
        gap: 10px;
    }

    .cart-img img {
        width: 30px;
        height: 30px;
    }

    .cart-name {
        font-size: 0.8em;
    }

    .cart-price {
        font-size: 0.85em;
    }

    .qty-control {
        gap: 6px;
        margin-top: 6px;
    }

    .qty-control button {
        width: 30px;
        height: 30px;
        font-size: 1.2em;
    }

    .truck-quantity-display {
        font-size: 0.9em;
        padding: 6px 10px;
    }

    .bag-count {
        font-size: 0.9em;
        margin-left: 6px;
    }

    .cart-remove button {
        padding: 4px 8px;
        font-size: 0.85em;
        max-width: 100%;
        height: 100%;
    }

        /* cart btn  */
        .desktop-cart-btn {
        display: none;
        }
        .mobile-cart-btn {
        display: block;
        }






        /* Product Detail Popup */
        .popup-close {
        display: none;
        }
        .mobile-popup-close {
        display: block;
        }
        .popup-product-detail {
            padding: 10px;
        }
        .popup-box-show {
            flex-direction: column;
            max-width: 95%;
            padding: 15px;
            max-height: 95vh;
            gap: 1rem;
        }
        .popup-left, .popup-right {
            min-width: auto;
            width: 100%;
            padding: 15px;
        }
        .popup-close {
            top: 10px;
            right: 10px;
        }
        .popup-close-btn {
            font-size: 2.5rem;
        }
        #mainPopupImg {
            max-height: 250px;
        }
        .popup-thumbnails img {
            width: 60px;
            height: 60px;
        }
        .plbs-con {
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: center;
            gap: 1rem;
        }
        .plbs-box {
            flex: 1 1 80px;
            max-width: 100px;
            font-size: 0.85rem;
        }
        .plbs-box img {
            width: 60px;
        }
        .popup-action-buttons {
            flex-direction: column;
            gap: 10px;
        }
        .popup-action-buttons button {
            min-width: unset;
            width: 100%;
            font-size: 0.95rem;
            padding: 10px;
        }
        .image-zoom-content {
            max-width: 95%;
            padding: 10px;
        }
        .zoomed-image {
            max-height: 70vh;
        }
        .image-zoom-close-button {
            font-size: 24px;
        }



        .info-button h3 {
            font-size: 18px;
        }
        .info-button i {
            font-size: 18px;
        }
        .close-howto-tips {
            width: 100%;
            display: flex;
            justify-content: center;
        }
        .close-info-button h3 , i{
            font-size: 20px;
        }
    }



    /* tablet responsive */

    @media (min-width: 481px) and (max-width: 1024px) {

        /* above */
        .above-content {
            display: none;
        }
        .lci-above-group1 {
            padding-left: 0;
            margin-bottom: 10px;
        }
        .lci-above-group2 {
            display: none;
        }

        .detailLCI {
            flex-direction: column;
            gap: 0.5rem;
        }

        .telLCI,
        .socialLCI {
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: center;
            padding-left: 0;
            gap: 10px;
        }

        .LCIlocatation {
            padding-left: 0;
        }

        .lcilocate {
            flex-direction: column;
            gap: 5px;
        }

        .lcilocate h5 {
            margin-bottom: 0;
        }

        .lcilocate a.gps-button {
            margin-left: 0;
        }

        .nav-lci-above-group1 {
            display: block;
        }

        .pshta-tablet-view {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            background: rgba(0, 0, 0, 0.5);
        }
        .ps-main-header {
            width: 100%;
            position: relative;
            overflow: hidden;
            box-shadow: 0 0 40px rgba(0, 0, 0, 0.4);
            padding-top: 0;
            height: 30vh;
        }
        .ps-header-title-area {
            background: linear-gradient(to right, rgba(215, 0, 0, 0.7), rgba(90, 0, 0, 0.7));
            position: absolute;
            top: 0;
            left: 0;
            width: 40%;
            height: 100%;
            z-index: 2;
            clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
            padding-right: 55%;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: flex-start;
        }

        .nav-list {
            gap: 15px;
        }

        .nav-list a {
            font-size: 13px;
        }

        .dropdown-menu {
            min-width: auto;
        }

        .wave-tablet {
            display: block;
            z-index: 2;
        }

        .ps-main-header {
            height: 70vh;
            padding-top: 0;
        }

        .swiper-container {
            height: 100%;
        }

        .ps-header-tablet {
            display: block;
            position: relative;
            color: #fff;
            overflow: hidden;
            width: 100%;
            height: 100%;
        }

        .ps-header-tablet .ps-banner-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 0 5%;
            box-sizing: border-box;
            z-index: 3;
            color: white;
        }

        .ps-header-tablet .ps-title {
            font-size: 2.5rem;
        }

        .ps-header-tablet .ps-subtitle {
            font-size: 1.1rem;
        }

        .ps-header-tablet .ps-btn-group {
            justify-content: center;
        }

        .pshta-tablet-view .ps-banner-overlay {
            padding-left: 5%;
            padding-right: 5%;
            text-align: center;
        }

        .h-a-container {
            justify-content: center;
        }

        .home-about-text-box {
            margin: 0 auto;
        }

        .news-cards {
            gap: 8px;
            padding-left: 0;
            justify-content: center;
        }

        .home-contact-con {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .home-c-detail,
        .home-c-block {
            max-width: 80% !important;
            width: 100%;
            margin: 0 auto;
            margin-top: 20px;
        }

        .contact-social-cards {
            justify-content: center;
        }

        .contact-social-card {
            flex: 1 1 45%;
            margin: 10px;
        }














        /* Product cards mobile */
        .p-c-product-grid {
            display: grid; /* เปลี่ยนเป็น grid เพื่อการจัด Layout 2 คอลัมน์ที่แม่นยำ */
            grid-template-columns: 1fr 1fr; /* 2 ชิ้นต่อแถว แบ่งพื้นที่เท่าๆ กัน */
            gap: 10px; /* ลด gap ลงเล็กน้อยเพื่อเพิ่มพื้นที่ให้การ์ด */
            padding: 0 5%; /* รักษา padding ด้านข้าง */
            justify-content: center; /* เผื่อกรณีไม่เต็มแถว */
            align-items: stretch; /* ทำให้การ์ดสูงเท่ากัน */
        }
        .p-c-product-card {
            width: auto; /* ให้ Grid จัดการความกว้างอัตโนมัติ */
            max-width: 100%; /* ไม่ให้เกิน 100% ของพื้นที่ grid cell */
            height: auto;
            /* ลบ flex-shrink, flex-grow ออก เพราะใช้ Grid แล้ว */
            padding-top: 10px; /* ลด padding ด้านบนเล็กน้อย */
            box-sizing: border-box; /* สำคัญมาก: เพื่อรวม padding/border ใน width */
        }
        .p-c-product-card img {
            object-fit: cover;
        }
        .p-c-product-info {
            padding: 10px; /* ลด padding ภายใน info box */
        }
        .p-c-product-title p {
            font-size: 23px; /* ลดขนาด font ชื่อสินค้า */
            margin-bottom: 3px; /* ลด margin */
        }
        .p-c-product-detail p {
            font-size: 16px; /* ลดขนาด font รายละเอียด */
            margin-bottom: 5px; /* ลด margin */
        }

        .p-c-product-price {
        display: none;
        }

        .m-p-c-product-price  {
        display: block;
        justify-items: center;
        }
        .m-p-c-product-price, #priceVisibilityClass {
            font-size: 28px; 
        }
        .m-p-c-product-price span {
            font-size: 26px;
            color: red;
        }
        .m-p-c-product-value  {
            font-size: 18px; 
        }
        
        .p-c-product-area {
        display: none;
        }
        .m-p-c-product-area {
        display: block;
        }
        .m-p-c-product-area p {
            font-size: 16px; /
        }

        .p-c-add-cart-btn,
        .p-c-buy-btn {
            padding: 8px 10px; /* ลด padding ปุ่ม */
            font-size: 0.9rem; /* ลดขนาด font ปุ่ม */
        }












        .footer-content {
            flex-direction: row;
            flex-wrap: wrap;
            gap: 2rem;
            padding: 25px;
        }

        .footer-content>div {
            flex: 1 1 calc(50% - 1rem);
            box-sizing: border-box;
        }

        .footer-section {
            align-items: center;
            justify-content: center;
            justify-items: center;
        }

        .footer-section a {
            font-size: 18px;
        }

        .footer-section p {
            font-size: 16px;
        }
    }




    /* ============================================================================
    ============================================================================
    ============================================================================
    ============================================================================
    ============================================================================ */




    /* ========== products_detail.html ============= */

    /* === Apple Store Style for Product Detail === */
    .product-detail-page {
    max-width: 800px;
    margin: 60px auto;
    padding: 30px 20px;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    font-family: 'Kanit', sans-serif;
    text-align: center;
    transition: all 0.3s ease;
    }

    .product-detail-page img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

    .product-detail-page h1 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1d1d1f;
    }

    .product-detail-page p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.6;
    margin: 8px 0;
    }

    .product-detail-page strong {
    color: #000;
    }

    .product-detail-page button {
    margin-top: 30px;
    padding: 12px 24px;
    background-color: #0071e3;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    }

    .product-detail-page button:hover {
    background-color: #005bb5;
    }

/* ====== [Start] F O O T E R SECTION ============ */
/* #region */
.footer {
  width: 100%;
  position: relative;
  background: linear-gradient(135deg, #8B0000, #d71e1e);
  color: white;
  overflow: hidden;
  padding-top: 60px;
}
.footer-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 0;
  opacity: 0.3;
}
.footer-overlay {
  position: relative;
  z-index: 1;
  padding: 2rem 1.5rem;
}
.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer-section {
  flex: 1;
  min-width: 220px;
  padding: 35px;
}
.footer-brand img.footer-logo-img {
  width: 80px;
  margin-bottom: 1rem;
}
.footer-brand h2 {
  font-size: 1.8rem;
  margin: 0 0 0.5rem;
}
.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.footer p, .footer li {
  margin-bottom: 6px;
  font-size: 0.95rem;
}
.footer ul {
  list-style: none;
  padding: 0;
}
.footer a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}
.footer a:hover {
  color: #ffe6e6;
}
.footer-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}
.footer-btn {
  padding: 0.6rem 1.2rem;
  background: white;
  color: #a30000;
  border-radius: 10px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}
.footer-btn:hover {
  background: #ffe5e5;
  transform: scale(1.05);
}
.footer-btn.line {
  background: #06c755;
  color: white;
}
.footer-map iframe {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
}
.footer-bottom {
  text-align: center;
  background-color: rgba(0, 0, 0, 0.2);
  padding: 20px;
  font-size: 0.9rem;
  opacity: 0.8;
}
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}



.copy-popup {
    visibility: hidden; 
    min-width: 150px;
    background-color: #313131;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 12px;
    position: fixed;
    z-index: 1000;
    left: 50%;
    bottom: 50px;
    transform: translateX(-50%);
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.5s, visibility 0.5s;
}

.copy-popup.show {
    visibility: visible;
    opacity: 1;
}

@media (max-width: 480px) {
    .footer-content {
        gap: 0;
    }
    .footer-buttons {
        flex-wrap: nowrap;
        gap: 0.5rem;
    }
    .footer-btn {
        padding: 0.5rem 0.9rem;
        font-weight: bold;
    }
    .footer-contact {
        display: flex;
        flex-direction: column;
        gap: 0.7rem;
    }
    .footer-bottom p {
        font-size: 0.8rem;
    }

}

@media (min-width: 481px) and (max-width: 1024px) { 
    
    .footer-content {
        gap: 0;
    }
    .footer-buttons {
        flex-wrap: nowrap;
        gap: 0.5rem;
    }
    .footer-btn {
        padding: 0.5rem 0.9rem;
        font-weight: bold;
    }
    .footer-contact {
        display: flex;
        flex-direction: column;
        gap: 0.7rem;
    }

    .footer-content {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2rem;
        padding: 25px;
    }
    .footer-content > div {
        flex: 1 1 calc(50% - 1rem);
        box-sizing: border-box;
    }
    .footer-section {
        justify-content: left;
        justify-items: left;
    }
    .footer-section a {
        font-size: 16px;
    }
    .footer-section p {
        font-size: 16px;
    }

}


/* #endregion */
/* = = = = = [End] F O O T E R SECTION = = = = = */
