/* ====== [Start] A B O V E content ======== */
/* #region */
.above-content {
  background-color: rgb(244, 244, 244);
  color: #9f0000;
  height: auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.lci-above-group1 {
  text-align: left;
  padding-left: 20px;
}
.logoLCI {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.img-logoLCI img {
  width: 40px;
}
.titlename-logoLCI h3 {
  font-size: 1.5rem;
}
.lci-above-group2 {
  display: flex;
  text-align: right;
  padding-right:20px ;
}
.detailLCI {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}
.telLCI {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}
.socialLCI {
  display: flex;
  flex-direction: row;
  gap: 0.8rem;
  padding-left: 15px;
}
.tel-item, .social-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.tel-item i, .social-item i {
  font-size: 0.85rem;
}
.social-item h5 {
  font-size: 0.85rem;
}
.LCIlocatation {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 15px;
}
.lcilocate {
  display: flex;
}
.lcilocate h5 {
  font-size: 0.85rem;
  margin-bottom: 5px;
  line-height: 1.4;
}
.lcilocate a.gps-button {
  font-size: 1rem;
  padding: 6px 12px;
}
.lcilocate a:hover {
  color: #410000;
  font-size: 1.3rem;
  font-weight: 600;
}
/* #endregion */
/* = = = = = [End] A B O V E content = = = = = */



/* - - - - - [Start] N A V I G A T I O N- - - - - */
/* #region */

.header-fixed-position {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0; 
    z-index: 1000; 
}

.NavOfPoonSingtoolayout {
    background: linear-gradient(to right, #d70000, #5a0000);
    font-family: 'Kanit', sans-serif;
    display: flex; 
    align-items: center;
    justify-content: space-between; 
    padding: 0 20px;
    height: 8vh;
    min-height: 50px; 
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-header-mobile-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between; 
    width: auto; 
}

.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-group {
    display: flex;
    flex-direction: row;
}

.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;
}

.nav-list li a.active, 
.nav-list li a:hover {
    color: #ffffff; 
}

.nav-list li a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
}

.nav-list li a.active {
    background-color: rgba(211, 47, 47, 0.05); 
    border-radius: 5px;
}

.nav-list i {
    width: 30px; 
    font-size: 1.1rem;
    margin-right: 15px;
    color: #ffffff; 
    opacity: 0.8;
}

.nav-mobile-footer {
    display: none; 
    width: 100%;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.nav-contact-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.nav-social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.nav-social-links a {
    display: flex !important; 
    width: 45px !important;
    height: 45px !important;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem !important;
    padding: 0 !important;
    transition: 0.3s;
}

.nav-social-links a:hover {
    background: #ffeb3b !important;
    color: #800000 !important;
    transform: translateY(-3px);
}


/* dropdown area */
.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: 1100; 
}

.hamburger-menu .bar {
    width: 25px;
    height: 3px;
    background-color: #fff; 
    margin: 4px 0;
    transition: 0.4s;
}

.nav-desktop-cart-item {
    margin-left: 20px; 
    display: flex;
    align-items: center;
}

.nav-cart-btn {
    background: rgba(255, 255, 255, 0.15); 
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    
    padding: 10px 20px;
    border-radius: 50px; 
    cursor: pointer;
    
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.nav-cart-btn:hover {
    background: white; 
    color: #d70000; 
    transform: translateY(-2px); 
    box-shadow: 0 8px 20px rgba(211, 47, 47, 0.2);
}

.nav-cart-btn:active {
    transform: scale(0.95);
    opacity: 0.9;
}

.cart-icon-wrapper {
    position: relative;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-text {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav-cart-btn .cart-badge {
    background: #ffffff; 
    color: #a00000;
    
    font-size: 0.7rem;
    font-weight: bold;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    
    position: absolute;
    top: -8px;
    right: -8px;
    
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    border: 1.5px solid #d70000; 
    transition: all 0.3s ease;
}

.nav-cart-btn:hover .cart-badge {
    transform: scale(1.1);
    top: -9px;
    right: -9px;
}

.ps-mobile-nav-cart {
    display: none;
}

.ps-cart-trigger {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.6rem; 
    position: relative;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.ps-cart-badge {
    background-color: #db0000;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: bold;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d70000;
}

.ps-mobile-nav-cart {
    display: flex;
    align-items: center;
}

.ps-cart-trigger {
    display: flex;
    align-items: center;
    gap: 10px; 
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cart-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.cart-label-tablet {
    display: none; 
    font-size: 1.2rem;
    font-weight: 500;
}

.hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background-color: #ffffff;
}
.hamburger-menu.active .bar:nth-child(2) { opacity: 0; }
.hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background-color: #ffffff;
}


/* RESPONSIVE */
/* #region */

/* ============================================================
   [1] DESKTOP STYLE (Base / min-width: 1246px)
============================================================ */
@media (min-width: 1246px) {
    .nav-list i, 
    .ps-mobile-nav-cart, 
    .nav-mobile-footer {
        display: none !important;
    }
}

/* ============================================================
   [2] TABLET & MOBILE CORE (max-width: 1245px)
   จัดการโครงสร้าง Hamburger และ Full-screen Menu
============================================================ */
@media (max-width: 1245px) {
    /* Layout Adjustment */
    .nav-desktop-cart-item, 
    .above-content { 
        display: none !important; 
    }

    .hamburger-menu { 
        display: flex; 
        position: relative;
        z-index: 1100;
    }

    /* Full-screen Navigation Overlay */
    .nav-list {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%; 
        width: 100%;
        height: 100vh;
        background: rgba(128, 0, 0, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 40px !important;
        gap: 10px;
        transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1050;
        overflow-y: auto;
    }

    .nav-list.active { right: 0; }

    /* Menu Items Animation */
    .nav-list li {
        width: 100%;
        opacity: 0;
        transform: translateX(30px);
        transition: 0.4s ease-out;
    }

    .nav-list.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-list a {
        display: flex !important;
        align-items: center;
        font-size: 1.25rem !important;
        color: #fff !important;
        padding: 12px 20px !important;
        border-radius: 12px;
        width: 100% !important;
    }

    .nav-list a:hover {
        background: rgba(255, 235, 59, 0.15) !important;
        color: #ffeb3b !important;
    }

    .nav-header-mobile-wrapper {
        display: flex !important;
        justify-content: space-between !important; 
        align-items: center;
        width: 100% !important; 
    }

    /* Cart Button for Tablet/Mobile */
    .ps-mobile-nav-cart {
        display: flex;
        margin-left: auto;
        margin-right: 15px;
    }

    .ps-cart-trigger {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        padding: 8px 12px;
        border-radius: 10px;
        transition: 0.3s;
    }

    .ps-cart-trigger:active { transform: scale(0.9); }

    .nav-mobile-footer { display: block; }

    /* Hamburger Animation */
    .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); }
}

/* ============================================================
   [3] SPECIFIC TABLET (min: 481px / max: 1024px)
   เน้นความสวยงามบน iPad
============================================================ */
@media (min-width: 481px) and (max-width: 1024px) {
    .cart-label-tablet { 
        display: block !important; 
        font-size: 1rem;
        margin-right: 8px;
    }
    
    .ps-cart-trigger {
        background: #ffffff !important; 
        color: #d70000 !important;
        padding: 8px 18px;
    }
    
    .ps-cart-badge {
        background: #d70000 !important;
        color: #fff !important;
        border: 1.5px solid #ffffff !important;
    }
}

/* ============================================================
   [4] SPECIFIC MOBILE (max-width: 480px)
   เน้นประหยัดพื้นที่หน้าจอ
============================================================ */
@media (max-width: 480px) {
    .NavOfPoonSingtoolayout {
        padding: 0 15px;
        height: 65px;
    }

    .nav-titlename-logoLCI h3 {
        font-size: 1.1rem;
    }

    .cart-label-tablet { 
        display: none !important; 
    }

    .nav-list {
        padding: 70px 25px !important;
    }

    .nav-list a {
        font-size: 1.1rem !important;
    }
}
/* #endregion */
/* RESPONSIVE */

/* #endregion */
/* = = = = = [End] N A V I G A T I O N = = = = = */