@import url(
  "https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@400;500;600;700;800&display=swap"
);


/* =========================================
   RESET
========================================= */

* {
  box-sizing: border-box;
}


html,
body {

  margin: 0;

  padding: 0;

  width: 100%;

  min-height: 100%;

  font-family:
    "Noto Sans Thai",
    sans-serif;

}


body {

  background: #f5f5f5;

}


/* =========================================
   IMPORTANT
   DEFAULT = MOBILE
========================================= */

/*
   SiteHub Preview บางครั้ง
   Desktop Preview ใช้ iframe

   เราจึงกำหนดให้
   ค่าเริ่มต้นเป็น MOBILE ก่อน
*/


.desktop-page {

  display: none !important;

}


.mobile-page {

  display: block !important;

}



/* =========================================
   DESKTOP
   1025px ขึ้นไป
========================================= */

@media screen and (min-width: 1025px) {


  .desktop-page {

    display: block !important;

  }


  .mobile-page {

    display: none !important;

  }


}


/* =========================================
   DESKTOP PAGE
========================================= */

.desktop-page {

  min-height: 100vh;

  background: #f5f5f5;

  color: #222;

}


/* =========================================
   HEADER
========================================= */

.shop-header {

  position: sticky;

  top: 0;

  z-index: 100;

  background: #ffffff;

  border-bottom:
    1px solid #eeeeee;

}


.shop-header-inner {

  width: 100%;

  max-width: 1200px;

  height: 80px;

  margin: auto;

  padding:
    0 25px;

  display: flex;

  align-items: center;

  justify-content:
    space-between;

}


.shop-logo {

  font-size: 28px;

  font-weight: 800;

  color: #222;

  letter-spacing: 1px;

}


.shop-logo span {

  color: #1677ff;

}


/* =========================================
   MENU
========================================= */

.shop-menu {

  display: flex;

  align-items: center;

  gap: 30px;

}


.shop-menu button {

  border: none;

  background: transparent;

  padding: 8px;

  font-family: inherit;

  font-size: 16px;

  color: #333;

  cursor: pointer;

  transition:
    color .2s ease;

}


.shop-menu button:hover {

  color: #1677ff;

}


/* =========================================
   CART
========================================= */

.shop-cart {

  border: none;

  padding:
    12px 22px;

  border-radius: 10px;

  background: #1677ff;

  color: #ffffff;

  font-family: inherit;

  font-size: 15px;

  font-weight: 700;

  cursor: pointer;

}


/* =========================================
   DESKTOP HERO
========================================= */

.shop-hero {

  min-height: 500px;

  display: flex;

  align-items: center;

  background:

    linear-gradient(
      135deg,
      #071a35,
      #0d5ec9
    );

}


.shop-hero-inner {

  width: 100%;

  max-width: 1200px;

  margin: auto;

  padding:
    70px 25px;

  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 50px;

  align-items: center;

}


.shop-hero-text {

  color: #ffffff;

}


.shop-hero-text h1 {

  margin:
    0 0 20px;

  font-size: 55px;

  line-height: 1.2;

  font-weight: 800;

}


.shop-hero-text p {

  margin:
    0 0 30px;

  font-size: 20px;

  line-height: 1.8;

  color: #d7e8ff;

}


.shop-hero-btn {

  border: none;

  padding:
    17px 35px;

  border-radius: 12px;

  background: #ffffff;

  color: #1264d5;

  font-family: inherit;

  font-size: 18px;

  font-weight: 800;

  cursor: pointer;

}


.shop-hero-image {

  min-height: 350px;

  border-radius: 25px;

  display: flex;

  align-items: center;

  justify-content: center;

  text-align: center;

  color: #ffffff;

  font-size: 22px;

  line-height: 1.8;

  background:

    linear-gradient(
      135deg,
      rgba(255,255,255,.18),
      rgba(255,255,255,.04)
    );

  border:

    1px solid
    rgba(255,255,255,.25);

}


/* =========================================
   PRODUCTS
========================================= */

.shop-products {

  width: 100%;

  max-width: 1200px;

  margin: auto;

  padding:
    70px 25px;

}


.shop-section-title {

  margin-bottom: 45px;

  text-align: center;

}


.shop-section-title h2 {

  margin: 0;

  font-size: 35px;

  color: #222;

}


.shop-section-title p {

  margin-top: 10px;

  color: #777;

}


/* =========================================
   PRODUCT GRID
========================================= */

.product-grid {

  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 25px;

}


.product-card {

  overflow: hidden;

  border-radius: 15px;

  background: #ffffff;

  box-shadow:

    0 5px 20px
    rgba(0,0,0,.08);

  transition:
    transform .25s ease;

}


.product-card:hover {

  transform:
    translateY(-7px);

}


.product-image {

  height: 230px;

  display: flex;

  align-items: center;

  justify-content: center;

  color: #1677ff;

  font-weight: 700;

  background:

    linear-gradient(
      135deg,
      #e8f1ff,
      #d2e4ff
    );

}


.product-info {

  padding: 20px;

}


.product-info h3 {

  margin:
    0 0 10px;

  font-size: 18px;

}


.product-price {

  color: #1677ff;

  font-size: 20px;

  font-weight: 800;

}


.product-buy {

  width: 100%;

  margin-top: 15px;

  padding: 12px;

  border: none;

  border-radius: 8px;

  background: #1677ff;

  color: #ffffff;

  font-family: inherit;

  font-weight: 700;

  cursor: pointer;

}


/* =========================================
   DESKTOP FOOTER
========================================= */

.shop-footer {

  padding:
    45px 25px;

  text-align: center;

  background: #111827;

  color: #ffffff;

}


.shop-footer h2 {

  margin-top: 0;

}


.shop-footer p {

  color: #aab4c5;

}


/* =========================================
   MOBILE BLUE NIGHT
========================================= */

.mobile-page {

  width: 100%;

  min-height: 100vh;

  background:
    #060b16;

}


/* =========================================
   BLUE NIGHT APP
========================================= */

#blue-night-app {

  --bn-bg: #060b16;

  --bn-blue: #1677ff;

  --bn-blue-light: #55b8ff;

  --bn-cyan: #39d9ff;

  --bn-white: #f7fbff;

  --bn-muted: #91a2bb;

  --bn-border:
    rgba(79,160,255,.25);


  width: 100%;

  max-width: 420px;

  min-height: 100vh;

  margin: auto;

  position: relative;

  padding-bottom: 100px;

  color:
    var(--bn-white);


  background:

    linear-gradient(
      rgba(5,12,25,.88),
      rgba(5,10,20,.95)
    ),

    repeating-linear-gradient(
      90deg,
      rgba(70,150,255,.025)
      0 1px,

      transparent
      1px 24px
    );


  box-shadow:

    0 0 40px
    rgba(0,0,0,.6);

}


/* =========================================
   MOBILE HEADER
========================================= */

.bn-topbar {

  width: 100%;

  height: 68px;

  padding:
    10px 18px;

  display: flex;

  align-items: center;

  justify-content:
    space-between;


  background:

    linear-gradient(
      180deg,
      #101d31,
      #0a1322
    );


  border-bottom:

    1px solid
    rgba(80,160,255,.18);

}


/* =========================================
   LOGO
========================================= */

.bn-logo {

  width: 76px;

  height: 42px;

  border-radius: 14px;

  display: grid;

  place-items: center;

  font-size: 13px;

  font-weight: 800;

  color: #ffffff;

  letter-spacing: 1px;


  background:

    linear-gradient(
      145deg,
      #1677ff,
      #071b47
    );


  border:

    1px solid
    rgba(126,202,255,.55);


  box-shadow:

    0 0 18px
    rgba(23,119,255,.45);

}


/* =========================================
   LOGIN BUTTON
========================================= */

.bn-login-btn {

  border: none;

  padding:
    11px 18px;

  border-radius: 24px;

  font-family: inherit;

  font-size: 15px;

  font-weight: 700;

  color: #05111f;

  cursor: pointer;


  background:

    linear-gradient(
      135deg,
      #7ed4ff,
      #1677ff
    );


  box-shadow:

    0 0 22px
    rgba(23,119,255,.5);

}


/* =========================================
   MOBILE CONTENT
========================================= */

.bn-content {

  padding:

    38px 15px 20px;

}


/* =========================================
   MOBILE CARD
========================================= */

.bn-card {

  overflow: hidden;

  border-radius: 15px;


  border:

    1px solid
    var(--bn-border);


  background:

    linear-gradient(
      180deg,
      #0c1830,
      #08111f
    );


  box-shadow:

    0 10px 30px
    rgba(0,0,0,.35),

    0 0 22px
    rgba(24,117,255,.12);

}


/* =========================================
   IMAGE PLACEHOLDER
========================================= */

.bn-image-placeholder {

  height: 240px;

  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: center;

  text-align: center;

  gap: 8px;

  padding: 25px;

  color: #9ecfff;


  background:

    radial-gradient(
      circle at 20% 20%,
      rgba(34,137,255,.25),
      transparent 30%
    ),

    radial-gradient(
      circle at 80% 70%,
      rgba(48,219,255,.15),
      transparent 35%
    ),

    linear-gradient(
      135deg,
      #0b1730,
      #07101d
    );


  border:

    1px dashed
    rgba(79,178,255,.5);

}


.bn-image-placeholder span {

  font-size: 17px;

  font-weight: 700;

}


.bn-image-placeholder small {

  color:
    var(--bn-muted);

}


/* PROMO */

.bn-tall {

  height: 380px;

}


/* =========================================
   MOBILE ACTIONS
========================================= */

.bn-actions {

  display: grid;

  gap: 16px;

  margin:

    34px 0
    30px;

}


.bn-primary-btn,
.bn-contact-btn {

  width: 100%;

  height: 70px;

  border-radius: 36px;

  font-family: inherit;

  font-size: 19px;

  font-weight: 800;

  cursor: pointer;

  transition:

    transform .2s ease,
    filter .2s ease;

}


.bn-primary-btn:active,
.bn-contact-btn:active {

  transform:
    scale(.98);

}


/* REGISTER */

.bn-primary-btn {

  border: none;

  color: #ffffff;


  background:

    linear-gradient(
      135deg,
      #0b55d4,
      #25baff
    );


  box-shadow:

    0 8px 25px
    rgba(21,123,255,.32);

}


/* CONTACT */

.bn-contact-btn {

  color: #eaf7ff;


  background:

    linear-gradient(
      135deg,
      #102b55,
      #1677ff
    );


  border:

    1px solid
    rgba(98,193,255,.35);


  box-shadow:

    0 8px 25px
    rgba(23,119,255,.2);

}


.bn-btn-icon {

  margin-right: 12px;

}


/* =========================================
   BOTTOM NAV
========================================= */

.bn-bottom-nav {

  position: fixed;

  left: 50%;

  bottom: 0;

  transform:
    translateX(-50%);


  width:
    min(420px, 100%);

  height: 82px;


  display: grid;

  grid-template-columns:
    1fr 1fr;


  background:

    rgba(5,13,26,.97);


  border-top:

    1px solid
    rgba(83,158,255,.2);


  z-index: 999;

}


/* NAV ITEM */

.bn-nav-item {

  border: none;

  background: transparent;

  color: #9aacc2;

  font-family: inherit;

  cursor: pointer;


  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  gap: 5px;

}


.bn-nav-item span {

  font-size: 22px;

}


.bn-nav-item strong {

  font-size: 13px;

}


.bn-nav-item.bn-active {

  color:
    var(--bn-cyan);

}


/* =========================================
   TOAST
========================================= */

.bn-toast {

  position: fixed;

  left: 50%;

  bottom: 105px;


  transform:

    translate(
      -50%,
      20px
    );


  opacity: 0;

  pointer-events: none;


  padding:

    11px 20px;


  border-radius: 22px;


  background:

    #132542;


  color: #ffffff;


  border:

    1px solid
    rgba(75,174,255,.5);


  transition:

    opacity .25s ease,
    transform .25s ease;


  z-index: 9999;

}


/* SHOW TOAST */

.bn-toast.bn-show {

  opacity: 1;

  transform:

    translate(
      -50%,
      0
    );

}


/* =========================================
   TABLET PRODUCT GRID
========================================= */

@media screen and (min-width: 1025px) and (max-width: 1200px) {

  .product-grid {

    grid-template-columns:
      repeat(3, 1fr);

  }

}


/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media screen and (max-width: 1024px) {


  #blue-night-app {

    max-width: 100%;

  }


  .bn-bottom-nav {

    width: 100%;

  }


}


/* =========================================
   SMALL MOBILE
========================================= */

@media screen and (max-width: 480px) {


  .bn-login-btn {

    padding:

      10px 14px;

    font-size: 14px;

  }


  .bn-content {

    padding:

      25px 12px 20px;

  }


}