/* =========================================================
   BANFA CAKE
   MAIN STYLE
========================================================= */

:root {
  --cream: #f8fcff;
  --wine: #24699b;
  --ink: #263e50;
  --line: #dce9f2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 16px 'DM Sans', 'Noto Sans Thai', sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #327eb1;
  outline-offset: 5px;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


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

header {
  max-width: 1320px;
  margin: auto;

  padding: 30px 5%;

  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  font: 36px Georgia, serif;

  letter-spacing: -2px;

  color: var(--wine);
}

header .logo {
  text-align: center;

  max-width: 100%;
}

header .logo img {
  width: 170px;
  max-width: 100%;
  height: auto;

  margin: 0 auto 12px;

  object-fit: contain;
}

.logo span {
  display: block;

  font: 9px 'DM Sans', sans-serif;

  letter-spacing: 2.5px;

  text-align: center;

  margin-top: 7px;
}


/* =========================================================
   NAVBAR
========================================================= */

.main-nav {
  width: 100%;
  height: 82px;

  padding: 0 clamp(20px, 5vw, 72px);

  background: var(--wine);

  color: #ffffff;

  display: flex;
  align-items: center;

  gap: 28px;

  position: sticky;

  top: 0;

  z-index: 9999;

  transform: translateY(0);

  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);

  transition:
    transform 0.35s ease,
    box-shadow 0.3s ease;
}


/* ซ่อน navbar เวลาเลื่อนลง */

.main-nav.nav-hidden {
  transform: translateY(-105%);
}


/* เพิ่มเงาเมื่อเลื่อนหน้า */

.main-nav.nav-scrolled {
  box-shadow: 0 8px 30px rgba(18, 65, 100, 0.18);
}


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

.nav-logo {
  display: flex;

  align-items: center;

  flex: 0 0 auto;

  height: 100%;
}

.nav-logo img {
  display: block;

  width: clamp(145px, 13vw, 190px);

  max-width: 100%;

  max-height: 58px;

  height: auto;

  object-fit: contain;
}


/* =========================================================
   NAV LINKS
========================================================= */

.nav-links {
  display: flex;

  align-items: center;

  justify-content: flex-end;

  gap: clamp(18px, 2.2vw, 32px);

  margin-left: auto;
}

.main-nav a {
  color: #f4faff;
}

.nav-links a {
  position: relative;

  display: inline-flex;

  align-items: center;

  padding: 12px 2px;

  font-size: 14px;

  font-weight: 500;

  letter-spacing: 0.7px;

  white-space: nowrap;

  transition:
    opacity 0.25s ease,
    color 0.25s ease;
}


/* เส้นใต้เมนู Desktop */

.nav-links > a:not(.nav-order-mobile)::after {
  content: "";

  position: absolute;

  left: 50%;

  bottom: 5px;

  width: 0;

  height: 1px;

  background: #ffffff;

  transform: translateX(-50%);

  transition: width 0.25s ease;
}

.nav-links > a:not(.nav-order-mobile):hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: #ffffff;

  opacity: 0.85;
}


/* =========================================================
   ORDER BUTTON
========================================================= */

.nav-order {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  flex: 0 0 auto;

  gap: 8px;

  padding: 11px 20px;

  border: 1px solid rgba(255, 255, 255, 0.75);

  border-radius: 999px;

  color: #ffffff;

  font-size: 13px;

  font-weight: 500;

  letter-spacing: 0.6px;

  white-space: nowrap;

  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.nav-order span {
  font-size: 16px;

  transition: transform 0.25s ease;
}

.nav-order:hover {
  background: #ffffff;

  color: var(--wine);

  border-color: #ffffff;

  transform: translateY(-1px);
}

.nav-order:hover span {
  transform: translate(2px, -2px);
}


/* ปุ่มสั่งเค้กใน Mobile */

.nav-order-mobile {
  display: none !important;
}


/* =========================================================
   HAMBURGER
========================================================= */

.nav-toggle {
  display: none;

  width: 44px;

  height: 44px;

  padding: 9px;

  border: 1px solid rgba(255, 255, 255, 0.45);

  border-radius: 50%;

  background: transparent;

  align-items: center;

  justify-content: center;

  flex-direction: column;

  gap: 5px;

  cursor: pointer;

  flex: 0 0 auto;
}

.nav-toggle span {
  display: block;

  width: 20px;

  height: 2px;

  background: #ffffff;

  border-radius: 5px;

  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}


/* hamburger กลายเป็น X */

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


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

.hero {
  max-width: 1320px;

  margin: 14px auto 55px;

  display: grid;

  grid-template-columns: 1fr 1.05fr;

  padding: 0 5%;

  gap: 50px;

  align-items: center;
}

.eyebrow {
  font-size: 12px;

  letter-spacing: 2.4px;

  color: var(--wine);

  font-weight: 600;
}

.hero h1 {
  font-size: clamp(40px, 4.5vw, 66px);

  font-weight: 500;

  letter-spacing: -2px;

  line-height: 1.36;

  margin: 24px 0;
}

.hero h1 span {
  display: block;

  color: var(--wine);
}

.intro {
  line-height: 1.9;

  color: #5a7182;

  margin-bottom: 28px;
}

.button {
  display: inline-flex;

  gap: 45px;

  align-items: center;

  background: var(--wine);

  color: white;

  padding: 16px 25px;

  border-radius: 40px;

  font-size: 15px;

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.button:hover {
  background: #174d76;

  transform: translateY(-2px);
}

.hero-foot {
  display: flex;

  gap: 16px;

  align-items: center;

  margin-top: 36px;

  font-size: 12px;

  line-height: 1.5;
}

.mini-star {
  font-size: 42px;

  color: var(--wine);
}

.hero-foot b {
  font-weight: 500;
}

.hero-image {
  height: 570px;

  position: relative;

  border-radius: 160px 160px 8px 8px;

  background: #e6f2fa;
}

.hero-image img {
  border-radius: inherit;
}

.image-label {
  position: absolute;

  bottom: 22px;

  left: 22px;

  right: 22px;

  padding: 17px 20px;

  background: #f8fcffed;

  border-radius: 4px;
}

.image-label span {
  display: block;

  font-size: 10px;

  letter-spacing: 2px;
}

.image-label strong {
  display: block;

  font: italic 27px Georgia, serif;

  font-weight: 400;

  margin-top: 7px;
}

.round-label {
  position: absolute;

  top: 40px;

  right: -25px;

  width: 116px;

  height: 116px;

  background: var(--wine);

  color: white;

  border-radius: 100%;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  transform: rotate(12deg);

  font-size: 13px;

  line-height: 1.8;

  border: 5px solid var(--cream);
}

.round-label em {
  font: italic 21px Georgia, serif;
}


/* =========================================================
   RIBBON
========================================================= */

.ribbon {
  display: flex;

  justify-content: center;

  align-items: center;

  gap: 55px;

  padding: 21px 20px;

  border-block: 1px solid var(--line);

  font-size: 12px;

  letter-spacing: 2px;

  color: var(--wine);
}

.ribbon b {
  font-size: 23px;
}


/* =========================================================
   SECTION
========================================================= */

.section {
  max-width: 1320px;

  padding: 78px 5%;

  margin: auto;
}

.section-heading {
  display: flex;

  justify-content: space-between;

  align-items: end;

  gap: 30px;

  margin-bottom: 34px;
}

h2 {
  font-size: 34px;

  font-weight: 500;

  line-height: 1.55;

  letter-spacing: -1px;

  margin: 12px 0;
}

.section-heading > p {
  font-size: 14px;

  line-height: 1.9;

  color: #5a7182;

  margin: 0 0 5px;
}

.muted {
  font-size: 12px;
}


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

.products {
  display: grid;

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

  gap: 30px;
}

.product-photo {
  height: 330px;

  background: #eaf4fb;

  position: relative;

  border-radius: 5px;

  overflow: hidden;
}

.product-photo img {
  transition: transform 0.5s ease;
}

.product-photo:hover img {
  transform: scale(1.04);
}

.tag {
  position: absolute;

  top: 15px;

  left: 15px;

  background: var(--cream);

  padding: 8px 11px;

  border-radius: 20px;

  font-size: 10px;

  letter-spacing: 1px;
}

.product-title {
  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 10px;

  margin-top: 20px;
}

h3 {
  font-size: 18px;

  font-weight: 500;

  margin: 0;
}

.product-title > span {
  font-size: 17px;

  color: var(--wine);
}

article > p {
  font-size: 14px;

  color: #607688;

  line-height: 1.7;

  margin: 9px 0 17px;
}

.product-bottom {
  display: flex;

  align-items: center;

  justify-content: space-between;

  border-top: 1px solid var(--line);

  padding-top: 14px;

  font-size: 12px;

  color: #607688;
}

.product-bottom a {
  height: 34px;

  width: 34px;

  display: grid;

  place-items: center;

  border: 1px solid #b2cddd;

  border-radius: 50%;

  color: var(--wine);

  font-size: 21px;
}


/* =========================================================
   OCCASION
========================================================= */

.occasion {
  background: #e0f1fc;

  text-align: center;

  padding: 64px 20px 0;

  overflow: hidden;
}

.occasion h2 {
  font-size: 42px;

  color: var(--wine);
}

.occasion p:not(.eyebrow) {
  color: #537186;

  line-height: 1.9;

  margin-bottom: 25px;
}

.occasion-word {
  display: block;

  font: italic clamp(80px, 14vw, 190px) Georgia, serif;

  color: #b4d7ef;

  margin-top: 26px;

  line-height: 0.95;

  letter-spacing: -5px;
}


/* =========================================================
   CONTACT
========================================================= */

.contact {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 80px;
}

.contact h2 {
  font-size: 38px;
}

.contact-details {
  padding-top: 10px;
}

.contact-details > p {
  color: #607688;

  line-height: 1.9;
}

.notice {
  border-top: 1px solid var(--line);

  padding-top: 20px;

  font-size: 14px;
}

.notice strong {
  color: var(--wine);

  font-weight: 500;
}

.notice p {
  font-size: 13px;

  color: #607688;

  line-height: 1.8;
}


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

footer {
  border-top: 1px solid var(--line);

  padding: 32px 5%;

  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 25px;
}

footer .logo {
  font-size: 28px;
}

footer p,
footer > span {
  font-size: 12px;

  color: #607688;
}

.sample-note {
  text-align: center;

  background: #edf6fc;

  padding: 12px 20px;

  color: #607688;

  font-size: 12px;
}



/* =========================================================
   HERO SLIDER
========================================================= */

/*
  โครงสร้างความโค้ง:
  .hero-image
      ↓ inherit
  .hero-slides
      ↓ inherit
  .hero-slide
      ↓ inherit
  .hero-slide img

  จุดสำคัญคือ .hero-slide ต้องมี border-radius: inherit;
  ไม่เช่นนั้น img จะ inherit ค่า 0 จาก .hero-slide
*/

.hero-slider {
  position: relative;

  /*
    ไม่ใช้ overflow:hidden ตรงนี้
    เพื่อให้ round-label ที่ยื่นออกด้านขวายังคงแสดงเหมือนดีไซน์เดิม
  */
  overflow: visible;
}


/* กล่องเก็บ Slide เป็นตัวตัดภาพตามขอบโค้งของ Hero */

.hero-slides {
  position: relative;

  width: 100%;
  height: 100%;

  border-radius: inherit;

  overflow: hidden;

  background: #e6f2fa;
}


/* แต่ละ Slide */

.hero-slide {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  /*
    สำคัญ:
    รับความโค้งจาก .hero-slides
  */
  border-radius: inherit;

  overflow: hidden;

  opacity: 0;

  visibility: hidden;

  transform: scale(1.025);

  transition:
    opacity 0.8s ease,
    transform 1.2s ease,
    visibility 0.8s ease;
}


/* Slide ที่กำลังแสดง */

.hero-slide.active {
  opacity: 1;

  visibility: visible;

  transform: scale(1);

  z-index: 2;
}


/* รูปภาพ */

.hero-slide img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  /*
    คงบรรทัดนี้ไว้ตามดีไซน์ที่ต้องการ
    ตอนนี้ทำงานแล้ว เพราะ .hero-slide มี border-radius แล้ว
  */
  border-radius: inherit;

  display: block;
}


/* =========================================================
   IMAGE LABEL
========================================================= */

.hero-slide .image-label {
  z-index: 4;
}


/* =========================================================
   HERO SLIDER ARROW
========================================================= */

.hero-arrow {
  position: absolute;

  top: 50%;

  transform: translateY(-50%);

  z-index: 20;

  width: 46px;

  height: 46px;

  padding: 0;

  border: 1px solid rgba(255, 255, 255, 0.65);

  border-radius: 50%;

  background: rgba(36, 105, 155, 0.72);

  backdrop-filter: blur(8px);

  -webkit-backdrop-filter: blur(8px);

  color: #ffffff;

  font-family: Arial, sans-serif;

  font-size: 31px;

  font-weight: 300;

  line-height: 1;

  display: flex;

  align-items: center;

  justify-content: center;

  cursor: pointer;

  opacity: 0;

  box-shadow: 0 5px 20px rgba(20, 60, 90, 0.18);

  transition:
    opacity 0.3s ease,
    background 0.3s ease,
    transform 0.3s ease;
}


.hero-slider:hover .hero-arrow {
  opacity: 1;
}


.hero-arrow:hover {
  background: var(--wine);
}


.hero-prev {
  left: 18px;
}


.hero-next {
  right: 18px;
}


/* =========================================================
   HERO SLIDER DOTS
========================================================= */

.hero-dots {
  position: absolute;

  left: 50%;

  bottom: 112px;

  transform: translateX(-50%);

  z-index: 25;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 8px;

  padding: 7px 10px;

  background: rgba(255, 255, 255, 0.72);

  backdrop-filter: blur(8px);

  -webkit-backdrop-filter: blur(8px);

  border-radius: 30px;
}


.hero-dot {
  width: 8px;

  height: 8px;

  padding: 0;

  border: 0;

  border-radius: 50%;

  background: rgba(36, 105, 155, 0.32);

  cursor: pointer;

  transition:
    width 0.3s ease,
    background 0.3s ease,
    border-radius 0.3s ease;
}


.hero-dot.active {
  width: 24px;

  border-radius: 20px;

  background: var(--wine);
}


/* round label ต้องอยู่เหนือ Slide */

.hero-slider .round-label {
  z-index: 30;
}


/* =========================================================
   TABLET HERO SLIDER
========================================================= */

@media (max-width: 900px) {

  .hero-arrow {
    width: 42px;

    height: 42px;

    font-size: 28px;

    opacity: 1;
  }

  .hero-prev {
    left: 12px;
  }

  .hero-next {
    right: 12px;
  }

  .hero-dots {
    bottom: 108px;
  }

}


/* =========================================================
   MOBILE HERO SLIDER
========================================================= */

@media (max-width: 700px) {

  .hero-arrow {
    width: 40px;

    height: 40px;

    font-size: 27px;

    opacity: 1;
  }

  .hero-prev {
    left: 12px;
  }

  .hero-next {
    right: 12px;
  }

  .hero-dots {
    bottom: 104px;

    gap: 6px;

    padding: 6px 9px;
  }

  .hero-dot {
    width: 7px;

    height: 7px;
  }

  .hero-dot.active {
    width: 20px;
  }

}


/* =========================================================
   MOBILE HERO SLIDER 480px
========================================================= */

@media (max-width: 480px) {

  .hero-arrow {
    width: 38px;

    height: 38px;

    font-size: 25px;
  }

  .hero-dots {
    bottom: 102px;
  }

}


/* =========================================================
   LARGE SCREEN
========================================================= */

@media (min-width: 1450px) {

  .hero {
    gap: 80px;
  }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

  /* NAV */

  .main-nav {
    height: 72px;

    padding: 0 24px;

    gap: 18px;
  }

  .nav-logo img {
    width: 150px;

    max-height: 50px;
  }

  .nav-links {
    gap: 17px;
  }

  .nav-links a {
    font-size: 12px;

    letter-spacing: 0.3px;
  }

  .nav-order {
    padding: 9px 14px;

    font-size: 12px;
  }


  /* HEADER */

  header {
    padding: 15px 6%;
  }

  .logo {
    font-size: 29px;
  }


  /* HERO */

  .hero {
    padding: 0 6%;

    grid-template-columns: 1fr 1fr;

    gap: 25px;
  }

  .hero-image {
    height: 460px;
  }

  .hero h1 {
    font-size: 39px;
  }

  .round-label {
    width: 90px;

    height: 90px;

    right: -15px;

    font-size: 11px;
  }

  .round-label em {
    font-size: 16px;
  }


  /* RIBBON */

  .ribbon {
    gap: 20px;

    font-size: 10px;
  }

  .ribbon span:last-child {
    display: none;
  }


  /* SECTION */

  .section {
    padding: 52px 6%;
  }


  /* PRODUCTS */

  .products {
    gap: 20px;
  }

  .product-photo {
    height: 235px;
  }

  .product-title {
    display: block;
  }

  .product-title > span {
    display: block;

    margin-top: 6px;
  }

  h3 {
    font-size: 16px;
  }

  h2 {
    font-size: 29px;
  }


  /* CONTACT */

  .contact {
    gap: 35px;
  }


  /* FOOTER */

  footer {
    flex-wrap: wrap;
  }

}


/* =========================================================
   MOBILE NAVBAR
========================================================= */

@media (max-width: 700px) {

  html {
    scroll-padding-top: 78px;
  }


  /* NAV */

  .main-nav {
    height: 68px;

    min-height: 68px;

    padding: 0 18px;

    display: flex;

    flex-wrap: nowrap;

    align-items: center;

    justify-content: space-between;

    gap: 14px;
  }


  /* LOGO */

  .nav-logo {
    width: auto;

    height: 100%;

    justify-content: flex-start;

    flex: 0 1 auto;
  }

  .nav-logo img {
    width: 140px;

    max-width: 100%;

    max-height: 48px;

    height: auto;
  }


  /* ซ่อน Order Desktop */

  .nav-order-desktop {
    display: none;
  }


  /* HAMBURGER */

  .nav-toggle {
    display: flex;

    margin-left: auto;
  }


  /* DROP DOWN */

  .nav-links {
    position: absolute;

    top: 100%;

    left: 0;

    right: 0;

    width: 100%;

    margin: 0;

    padding: 10px 18px 20px;

    background: var(--wine);

    display: flex;

    flex-direction: column;

    align-items: stretch;

    gap: 0;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    box-shadow: 0 15px 30px rgba(20, 60, 90, 0.18);

    opacity: 0;

    visibility: hidden;

    transform: translateY(-10px);

    pointer-events: none;

    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      visibility 0.25s ease;
  }


  /* เปิดเมนู */

  .nav-links.active {
    opacity: 1;

    visibility: visible;

    transform: translateY(0);

    pointer-events: auto;
  }


  /* MENU ITEM */

  .nav-links > a:not(.nav-order-mobile) {
    width: 100%;

    min-height: 50px;

    padding: 14px 6px;

    display: flex;

    align-items: center;

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);

    font-size: 14px;

    letter-spacing: 0.3px;
  }


  /* ไม่ใช้เส้นใต้ Desktop */

  .nav-links > a:not(.nav-order-mobile)::after {
    display: none;
  }


  /* ORDER MOBILE */

  .nav-order-mobile {
    display: flex !important;

    align-items: center;

    justify-content: center;

    width: 100%;

    min-height: 46px;

    margin-top: 16px;

    padding: 12px 18px !important;

    border: 1px solid rgba(255, 255, 255, 0.75);

    border-radius: 999px;

    color: #ffffff;

    font-size: 13px !important;

    font-weight: 500;

    text-align: center;
  }

  .nav-order-mobile:hover {
    background: #ffffff;

    color: var(--wine);

    opacity: 1;
  }


  /* HEADER */

  header {
    padding: 15px 6% 10px;
  }

  header .logo img {
    width: 145px;
  }


  /* HERO */

  .hero {
    grid-template-columns: 1fr;

    margin-top: 16px;

    gap: 30px;
  }

  .hero-copy {
    padding-top: 8px;
  }

  .hero h1 {
    font-size: 45px;

    margin: 17px 0;

    line-height: 1.35;
  }

  .hero h1 br {
    display: none;
  }

  .hero h1 span {
    display: block;
  }

  .hero .eyebrow {
    font-size: 10px;
  }

  .hero-foot {
    display: none;
  }

  .intro {
    font-size: 15px;

    margin: 18px 0 23px;
  }

  .hero-image {
    height: 420px;

    border-radius: 130px 130px 6px 6px;
  }

  .round-label {
    top: 25px;

    right: -9px;
  }


  /* RIBBON */

  .ribbon {
    gap: 18px;

    font-size: 9px;

    padding-inline: 12px;

    letter-spacing: 1px;
  }

  .ribbon b:last-of-type {
    display: none;
  }


  /* SECTION */

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 12px;
  }


  /* PRODUCTS */

  .products {
    grid-template-columns: 1fr;

    gap: 35px;
  }

  .product-photo {
    height: 360px;
  }

  .product-title {
    display: flex;
  }

  .product-title > span {
    margin: 0;
  }

  h3 {
    font-size: 18px;
  }


  /* OCCASION */

  .occasion h2 {
    font-size: 32px;
  }


  /* CONTACT */

  .contact {
    grid-template-columns: 1fr;

    gap: 20px;
  }

  .contact h2 {
    font-size: 32px;
  }


  /* FOOTER */

  footer {
    flex-direction: column;

    align-items: flex-start;

    gap: 14px;
  }

  footer p {
    margin: 0;
  }


  /* BUTTON */

  .button {
    padding: 15px 23px;
  }

}


/* =========================================================
   MOBILE 480px
========================================================= */

@media (max-width: 480px) {

  .main-nav {
    height: 66px;

    min-height: 66px;

    padding-left: 16px;

    padding-right: 16px;
  }

  .nav-logo img {
    width: 132px;

    max-height: 44px;
  }

  .nav-toggle {
    width: 42px;

    height: 42px;
  }

  .nav-links {
    padding-left: 16px;

    padding-right: 16px;
  }

  .hero h1 {
    font-size: 39px;
  }

  .hero-image {
    height: 390px;
  }

  .product-photo {
    height: 330px;
  }

}

/* =========================================================
   MOBILE 400px
========================================================= */

@media (max-width: 400px) {

  .main-nav {
    height: 64px;

    min-height: 64px;

    padding-left: 14px;

    padding-right: 14px;

    gap: 10px;
  }

  .nav-logo img {
    width: 122px;

    max-height: 42px;
  }

  .nav-toggle {
    width: 40px;

    height: 40px;

    padding: 8px;
  }

  .nav-toggle span {
    width: 19px;
  }

  .nav-links {
    padding-left: 14px;

    padding-right: 14px;

    padding-bottom: 17px;
  }

  .nav-links > a:not(.nav-order-mobile) {
    min-height: 48px;

    font-size: 13px;
  }

  .nav-order-mobile {
    font-size: 12px !important;
  }

  header .logo {
    font-size: 26px;
  }

  header .logo img {
    width: 130px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-image {
    height: 360px;
  }

  .product-photo {
    height: 310px;
  }

}


/* =========================================================
   MOBILE เล็กมาก
========================================================= */

@media (max-width: 340px) {

  .main-nav {
    padding-left: 12px;

    padding-right: 12px;
  }

  .nav-logo img {
    width: 110px;
  }

  .nav-toggle {
    width: 38px;

    height: 38px;
  }

  .hero h1 {
    font-size: 33px;
  }

}


/* =========================================================
   REDUCE MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;

    animation: none !important;
  }

}