.menu-list .menu-item {
    background: #1B4332 !important;
    background: linear-gradient(180deg, rgba(27, 67, 50, 0.94) 0%, rgba(64, 145, 108, 1) 100%) !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 140% 140% !important;
}

.appbar-menu .menu-item {
    background: #1B4332 !important;
    background: linear-gradient(180deg, rgba(27, 67, 50, 0.94) 0%, rgba(64, 145, 108, 1) 100%) !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 140% 140% !important;
}

.div-card img {
    border-radius: 8px;
    height: 300px !important;
    width: 508px !important;
}

.swiper-slide {
    width: 500px !important;
}

@media only screen and (max-width: 480px) {
    .div-card img {
        height: 170px !important;
    }
    .swiper-slide {
        width: 300px !important;
    }
}

.appbar .appbar-container .appbar-logo {
    max-height: 85px !important;
}

@media only screen and (max-width: 480px) {
    .appbar .appbar-container .appbar-logo {
        max-height: 55px !important;
    }
}

/* ปรับสี Top Bar ให้เป็นเข้มเขียวลึก */
.appbar .appbar-container.main .appbar-top {
    background: linear-gradient(180deg, #081C15 0%, #1B4332 100%);
}

@media only screen and (max-width: 480px) {
    .appbar .appbar-container.main .appbar-top {
        height: 45px !important;
    }
}

h1.ql-align-center span {
    color: #000 !important;
}

h2.ql-align-center {
    color: #000 !important;
}

p.ql-align-center {
    color: #000 !important;
}

.text-center img {
    max-width: 95px !important;
}

/* ปรับสี Announcement Bar ให้เป็นเขียวกลาง */
.announcement-bar {
    background: #2D6A4F !important;
}

.page {
    background-image: url("https://ik.imagekit.io/rbrrvpwwo/summer-background-with-beach-view-realistic-style.webp") !important;
}

/* ปรับสี Footer ให้เป็นเขียวเข้มสุด */
.footer-container {
    background-color: #081C15 !important;
}

.appbar .appbar-container.main .appbar-bottom .menu-item .icon {
    height: 35px !important;
    width: 35px !important;
}

.bg {
    color: #100d0d !important;
}


/* =========================================================
   BANNER MARQUEE - FULL IMAGE / NO CROP / RESPONSIVE
   พร้อมวางใช้งาน
   ========================================================= */

/* ---------- RESET ---------- */
.banner-section,
.banner-marquee,
.banner-marquee__track,
.banner-marquee__item,
.banner-marquee__item a,
.img-banner {
    box-sizing: border-box !important;
}

/* =========================================================
   SECTION
   ========================================================= */
.banner-section {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* =========================================================
   MARQUEE WRAPPER
   ========================================================= */
.banner-marquee {
    position: relative !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;
}

/* =========================================================
   TRACK
   ========================================================= */
.banner-marquee__track {
    display: flex !important;
    flex-wrap: nowrap !important;

    align-items: flex-start !important;

    width: max-content !important;
    min-width: 100% !important;

    gap: 10px !important;

    margin: 0 !important;
    padding: 0 !important;

    will-change: transform !important;
}

/* =========================================================
   BANNER ITEM
   Desktop
   ประมาณ 4 ภาพต่อพื้นที่ Content
   ========================================================= */
.banner-marquee__item {
    position: relative !important;

    flex: 0 0 auto !important;

    /* ปรับขนาด Banner Desktop ตรงนี้ */
    width: clamp(
        280px,
        calc((100vw - 240px - 50px) / 4),
        430px
    ) !important;

    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: visible !important;

    background: transparent !important;
}

/* =========================================================
   LINK
   ========================================================= */
.banner-marquee__item > a {
    display: block !important;

    width: 100% !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    line-height: 0 !important;

    overflow: visible !important;
}

/* =========================================================
   IMAGE
   สำคัญ: ไม่ตัดรูป
   ========================================================= */
.banner-marquee__item .img-banner,
.img-banner {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    height: auto !important;
    max-height: none !important;

    /* ไม่ Crop รูป */
    object-fit: contain !important;
    object-position: center center !important;

    /* ห้ามระบบอื่นยืดรูป */
    aspect-ratio: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
}

/* =========================================================
   Desktop ใหญ่
   1440px+
   ========================================================= */
@media screen and (min-width: 1440px) {

    .banner-marquee__track {
        gap: 10px !important;
    }

    .banner-marquee__item {
        width: clamp(
            300px,
            calc((100vw - 240px - 50px) / 4),
            450px
        ) !important;
    }
}


/* =========================================================
   Notebook / Desktop เล็ก
   ========================================================= */
@media screen and (max-width: 1366px) {

    .banner-marquee__item {
        width: clamp(
            260px,
            calc((100vw - 220px - 40px) / 3.5),
            370px
        ) !important;
    }
}


/* =========================================================
   Tablet Landscape
   ========================================================= */
@media screen and (max-width: 1024px) {

    .banner-marquee__track {
        gap: 8px !important;
    }

    .banner-marquee__item {
        width: 34vw !important;
    }

    .banner-marquee__item .img-banner,
    .img-banner {
        width: 100% !important;
        height: auto !important;

        object-fit: contain !important;
    }
}


/* =========================================================
   Tablet
   ========================================================= */
@media screen and (max-width: 768px) {

    .banner-section {
        width: 100% !important;
        overflow: hidden !important;
    }

    .banner-marquee {
        width: 100% !important;
    }

    .banner-marquee__track {
        gap: 7px !important;
    }

    /* เห็นประมาณ 2 ภาพนิดๆ */
    .banner-marquee__item {
        width: 48vw !important;
    }

    .banner-marquee__item > a {
        width: 100% !important;
        height: auto !important;
    }

    .banner-marquee__item .img-banner,
    .img-banner {
        width: 100% !important;
        height: auto !important;

        object-fit: contain !important;
        object-position: center !important;
    }
}


/* =========================================================
   Mobile
   ========================================================= */
@media screen and (max-width: 576px) {

    .banner-section {
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow: hidden !important;
    }

    .banner-marquee {
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    .banner-marquee__track {
        gap: 6px !important;

        align-items: flex-start !important;
    }

    /* เห็น Banner หลักเกือบเต็มจอ
       และเห็นภาพถัดไปนิดหนึ่ง */
    .banner-marquee__item {
        width: 88vw !important;

        flex: 0 0 88vw !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    .banner-marquee__item > a {
        display: block !important;

        width: 100% !important;
        height: auto !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    .banner-marquee__item .img-banner,
    .img-banner {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        height: auto !important;
        max-height: none !important;

        object-fit: contain !important;
        object-position: center center !important;

        aspect-ratio: auto !important;
    }
}


/* =========================================================
   Mobile จอเล็ก
   ========================================================= */
@media screen and (max-width: 390px) {

    .banner-marquee__track {
        gap: 5px !important;
    }

    .banner-marquee__item {
        width: 92vw !important;
        flex-basis: 92vw !important;
    }
}


/* =========================================================
   ป้องกัน CSS จากระบบเดิมมาตัดรูป
   ========================================================= */
.banner-section img,
.banner-marquee img,
.banner-marquee__item img {
    height: auto !important;

    object-fit: contain !important;
    object-position: center center !important;

    clip-path: none !important;

    transform-origin: center !important;
}


/* =========================================================
   ป้องกัน Container บังคับความกว้าง Banner
   ========================================================= */
.banner-section > .banner-marquee {
    width: 100% !important;
    max-width: none !important;
}


/* ===== Funnemo911 — สมัครสมาชิก: ส้มปลานีโม่ (ตัดกับแถบเขียวทะเล) ===== */
.v-application .appbar .appbar-container .appbar-auth [data-track="open_dialog_signup"].v-btn {
  background: linear-gradient(180deg, #ffb24d 0%, #ff8a1c 50%, #e96a00 100%) !important;
  border: 1px solid #ffc98a !important;
  border-radius: 8px !important;
  color: #2b1200 !important;
  font-weight: 700 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 2px 10px rgba(255, 138, 28, 0.35) !important;
  transition: background 0.18s ease, box-shadow 0.18s ease !important;
}
.v-application .appbar .appbar-container .appbar-auth [data-track="open_dialog_signup"].v-btn:hover {
  background: linear-gradient(180deg, #ffc170 0%, #ff9a3a 50%, #f27a10 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 3px 14px rgba(255, 138, 28, 0.5) !important;
}
.v-application .appbar .appbar-container .appbar-auth [data-track="open_dialog_signup"].v-btn:active {
  background: linear-gradient(180deg, #e96a00 0%, #ff8a1c 100%) !important;
  box-shadow: inset 0 2px 4px rgba(43, 18, 0, 0.35) !important;
}

/* ===== เข้าสู่ระบบ: โปร่ง ขอบเขียวมิ้นต์อ่อน ===== */
.v-application .appbar .appbar-container .appbar-auth [data-track="open_dialog_signin"].v-btn {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(214, 240, 228, 0.7) !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  transition: background 0.18s ease, border-color 0.18s ease !important;
}
.v-application .appbar .appbar-container .appbar-auth [data-track="open_dialog_signin"].v-btn:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: #ffffff !important;
}
.v-application .appbar .appbar-container .appbar-auth [data-track="open_dialog_signin"].v-btn:active {
  background: rgba(255, 255, 255, 0.22) !important;
}

/* ===== ใช้ร่วมกัน ===== */
.v-application .appbar .appbar-container .appbar-auth [data-track^="open_dialog_sign"].v-btn::before {
  opacity: 0 !important;
}
.v-application .appbar .appbar-container .appbar-auth [data-track^="open_dialog_sign"].v-btn:focus-visible {
  outline: 2px solid #ffb24d !important;
  outline-offset: 2px !important;
}
@media (prefers-reduced-motion: reduce) {
  .v-application .appbar .appbar-container .appbar-auth [data-track^="open_dialog_sign"].v-btn {
    transition: none !important;
  }
}
