:root {
  --primary: #0f766e;
  --primary-dark: #0b4f49;
  --accent: #2563eb;
  --bg: #0b1120;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --white: #ffffff;
  --shadow-soft: 0 14px 30px rgba(15, 23, 42, 0.3);
  --radius-lg: 18px;
  --radius-xl: 26px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;  /* ระยะเผื่อให้พ้นเมนู */
}

/* RESET คร่าว ๆ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  background: #020617;
  color: var(--text);
  line-height: 1.6;
}

/* ลิงก์ */
a {
  text-decoration: none;
  color: inherit;
}

/* HEADER / NAV */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(15, 23, 42, 0.92);
  border-bottom: 1px solid rgba(30, 64, 175, 0.5);
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.logo-text-main {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.08em;
}

.logo-text-sub {
  font-size: 12px;
  color: var(--muted);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 22px;
  font-size: 14px;
}

.nav-menu li a {
  position: relative;
  padding-bottom: 4px;
  color: #cbd5f5;
}

.nav-menu li a:hover {
  color: var(--white);
}

.nav-menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.2s ease;
}

.nav-menu li a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.6);
  font-size: 13px;
  background: rgba(15, 23, 42, 0.94);
  color: #e0f2fe;
  cursor: pointer;
  line-height: 28px;
}

.nav-cta:hover {
  background: var(--primary);
  color: var(--white);
}

/* HERO FULL SCREEN */
.hero-full {
  position: relative;
  min-height: 40vh;   /* ลดให้เหมาะกับไม่มีข้อความ */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 16px 40px;  /* ลดช่องว่างด้านบน */
  color: #f9fafb;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(15,23,42,0.90), rgba(15,23,42,0.55)),
    url("assets/img/hero-home.png") center right / cover no-repeat;
}


.hero-full::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(59,130,246,0.45), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.8;
  z-index: 0;
}


.hero-full::after {
  content: "";
  position: absolute;
  inset: -25%;
  background: radial-gradient(circle at top left, rgba(59,130,246,0.55), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.9;
  z-index: -1;
}


.hero-full-inner {
  max-width: 720px;
}

.hero-logo-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(15,23,42,0.9);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
  margin-bottom: 18px;
}

.hero-logo-img {
  width: 120px;
  height: auto;
}

.hero-title {
  font-size: clamp(26px, 3vw, 34px);
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: 14px;
  color: #e5e7eb;
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ปุ่ม */
.btn-primary {
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 14px;
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 14px;
  border: 1px solid rgba(249,250,251,0.9);
  background: transparent;
  color: #e5e7eb;
  cursor: pointer;
}

.btn-ghost:hover {
  background: rgba(15,23,42,0.7);
}

/* LAYOUT MAIN */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}

/* SECTION GENERIC */
.section-block {
  margin-bottom: 46px;
}

.section-header {
  margin-bottom: 18px;
}


/* Pre-Order อยู่ใน HERO เดียวกับ home เลยต้อง offset มากกว่าหน่อย */
#new-collection {
  scroll-margin-top: 220px;  /* ลอง 200px ก่อน ถ้ายังสูงไป/ต่ำไปค่อยปรับเป็น 180 หรือ 220 ได้ */
}


/* SECTION LABEL – premium pill ใช้ทุกเมนู */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  border-radius: 999px;
  background: radial-gradient(150% 150% at 0% 0%, rgba(59,130,246,0.25), rgba(15,23,42,0.95));
  border: 1px solid rgba(96,165,250,0.6);
  color: #e5e7eb;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.section-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34,197,94,0.7);
}


.section-title {
  font-size: 22px;
  margin-top: 4px;
}

.section-desc {
  font-size: 13px;
  color: var(--muted);
  max-width: 100%;
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 10px;
}

.about-text-box {
  border-radius: var(--radius-lg);
  background: #020617;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.7);
  font-size: 13px;
  color: #e5e7eb;
  border: 1px solid rgba(51, 65, 85, 0.9);
}

.about-text-box h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: #f9fafb;
}

.steps {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.step-item {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 8px;
  align-items: flex-start;
}

.step-number {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  background: rgba(56, 189, 248, 0.18);
  color: #e0f2fe;
}

.step-title {
  font-weight: 600;
  margin-bottom: 2px;
}

.step-desc {
  font-size: 12px;
  color: #cbd5f5;
}

.about-image-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-img-main {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.9);
}

.about-highlight-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.highlight-card {
  border-radius: 14px;
  background: #020617;
  border: 1px dashed rgba(55, 65, 81, 0.9);
  padding: 10px 11px;
  font-size: 12px;
  color: #e5e7eb;
}

.highlight-title {
  font-weight: 600;
  margin-bottom: 2px;
}

.about-label {
    margin-bottom: 6px;
}
.about-title {
    margin-bottom: 14px;
}
.about-lead {
    line-height: 1.8;
}

/* PRODUCT */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.product-card {
  border-radius: var(--radius-lg);
  background: #020617;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.9);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(30, 64, 175, 0.9);
}

.product-img-wrap {
  background: #020617;
}

.product-img {
  width: 100%;
  display: block;
}

.product-thumbs {
  display: flex;
  gap: 6px;
  padding: 8px 13px 3px;
}

.product-thumb {
  width: 28%;
  border-radius: 10px;
  border: 1px solid rgba(31, 41, 55, 0.9);
  cursor: pointer;
  opacity: 0.85;
}

.product-thumb:hover {
  opacity: 1;
  border-color: rgba(59, 130, 246, 0.9);
}

.product-body {
  padding: 12px 13px 11px;
  font-size: 13px;
}

.product-tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #93c5fd;
}

.product-name {
  font-size: 15px;
  font-weight: 700;
  margin: 4px 0;
}

.product-desc {
  font-size: 12px;
  color: #cbd5f5;
  min-height: 38px;
}

.product-bottom {
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  font-weight: 700;
  color: #bfdbfe;
}

.product-pill {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.2);
  color: #bfdbfe;
}

.product-detail-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  font-size: 12px;
}

.product-detail-item {
  border-radius: 14px;
  background: #020617;
  border: 1px solid rgba(30, 64, 175, 0.7);
  padding: 11px 12px;
  cursor: pointer;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 18px;
}


.contact-box {
  border-radius: var(--radius-lg);
  background: #020617;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.9);
  overflow: hidden;
  border: 1px solid rgba(30, 64, 175, 0.8);
}


.contact-img {
  width: 100%;
  display: block;
}

.contact-info {
  padding: 24px 24px;
  font-size: 14px;
  color: #e5e7eb;
}


.contact-label {
  font-weight: 600;
  color: #bfdbfe;
}

.contact-info p + p {
  margin-top: 4px;
}

.contact-form {
  border-radius: var(--radius-lg);
  background: #020617;
  border: 1px solid rgba(30, 64, 175, 0.8);
  padding: 24px 24px;
  font-size: 14px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.9);
}


.contact-form h3 {
  margin-bottom: 4px;
  font-size: 15px;
}

.contact-form-note {
  font-size: 12px;
  color: #cbd5f5;
  margin-bottom: 10px;
}

/* ปุ่ม contact */
.contact-cta-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.contact-btn {
  text-align: center;
  width: 100%;
}

.btn-secondary {
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 14px;
  border: 1px solid rgba(148, 163, 184, 0.9);
  background: #020617;
  color: #e5e7eb;
  cursor: pointer;
}

.btn-secondary:hover {
  background: #0b1120;
}

.contact-extra {
  font-size: 12px;
  color: #e5e7eb;
  margin-top: 4px;
}

.site-footer {
  font-size: 11px;
  color: #9ca3af;
  text-align: center;
  padding: 12px 0 24px;
  border-top: 1px solid rgba(30, 64, 175, 0.6);
  background: #020617;
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 80;
}

.lightbox.is-active {
  display: block;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
}

.lightbox-content {
  position: absolute;
  inset: 40px 16px;
  max-width: 900px;
  margin: auto;
  border-radius: 18px;
  background: #020617;
  border: 1px solid rgba(30, 64, 175, 0.8);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: none;
  background: rgba(15,23,42,0.8);
  color: #e5e7eb;
  font-size: 20px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(15,23,42,0.85);
  color: #e5e7eb;
  font-size: 22px;
  width: 34px;
  height: 48px;
  cursor: pointer;
}

.lightbox-prev {
  left: 6px;
}

.lightbox-next {
  right: 6px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 18px;
}

  .about-highlight-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .container {
    padding: 26px 16px 40px;
  }
  .lightbox-content {
    inset: 30px 8px;
  }
}

@media (max-width: 540px) {
  .product-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .about-highlight-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .product-detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------------------- */
/* HERO ADJUST FOR LARGE SCREEN */
/* ---------------------- */
.hero-full {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  padding: 120px 16px 70px;
  color: #f9fafb;
  overflow: hidden;
}


/* MOBILE FIX */
@media (max-width: 768px) {
  .hero-full {
    min-height: 88vh;
    align-items: center;
    padding: 80px 16px 40px;
  }
}


/* Floating LINE button */
.line-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #06C755;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  z-index: 50;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.line-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 32px rgba(0,0,0,0.45);
  opacity: 0.95;
}

.line-float span {
  display: block;
  line-height: 1;
}

/* Mobile tweak */
@media (max-width: 768px) {
  .line-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
    font-size: 12px;
  }
}


/* Floating LINE button */
.line-floating {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background-color: #00c300;
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 60;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  opacity: 0.96;
}

.line-floating:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 18px 35px rgba(0,0,0,0.35);
  opacity: 1;
}

.line-floating-icon {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 14px;
  color: #ffffff;
}

/* ปรับให้ปุ่มไม่ทับกันบนจอเล็ก */
@media (max-width: 768px) {
  .line-floating {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }
}


/* Hero New Collection block */
.hero-new-collection {
  margin-top: 40px;
  padding: 24px 24px 28px;
  border-radius: 26px;
  background:
    radial-gradient(140% 160% at 0% 0%, rgba(59,130,246,0.35), transparent 60%),
    radial-gradient(140% 160% at 100% 100%, rgba(16,185,129,0.28), transparent 60%),
    rgba(15,23,42,0.92);
  border: 1px solid rgba(125,211,252,0.85);
  box-shadow: 0 22px 55px rgba(15,23,42,0.95);
  backdrop-filter: blur(10px);
}

.section-header-light .section-title,
.section-header-light .section-desc {
  color: #e5e7eb;
}
/* Hero New Collection block */
.hero-new-collection {
  margin-top: 40px;
}

.section-header-light .section-title,
.section-header-light .section-desc {
  color: #e5e7eb;
}

.new-collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.collection-card {
  border-radius: var(--radius-lg);
  background: #020617;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
  padding: 18px 18px 22px;
  text-align: left;
  border: 1px solid rgba(30, 64, 175, 0.9);
}

.collection-image img {
  display: block;
  width: 100%;
  border-radius: 14px;
}

.collection-info h3 {
  margin: 16px 0 8px;
  font-size: 1.1rem;
  color: #f9fafb;
}

.collection-info p {
  margin: 0 0 12px;
  font-size: 0.95rem;
  color: #e5e7eb;
}

.collection-info .btn-link {
  padding-left: 0;
}

@media (max-width: 900px) {
  .new-collection-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 640px) {
  .new-collection-grid {
    grid-template-columns: minmax(0,1fr);
  }
}

/* Reduce gap between New Collection and About section */
.hero-full {
  min-height: 72vh;
  padding-bottom: 32px;
}

/* Dark theme cards for Product & New Collection */
.product-card,
.collection-card {
  border-radius: var(--radius-lg);
  background: #020617;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(30, 64, 175, 0.9);
}

.product-card:hover,
.collection-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 1);
}


/* Adjust hero height & spacing to reduce gap before About Us */
.hero-full {
  min-height: auto;
  padding-bottom: 16px;
}

/* Navigation font size a bit larger */
.nav-menu {
  font-size: 16px;
}

/* Portfolio grid styling */
.section-portfolio .section-desc {
  max-width: 100%;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.portfolio-item {
  border-radius: 14px;
  overflow: hidden;
  background: #020617;
  box-shadow: 0 10px 30px rgba(15,23,42,0.8);
  border: 1px solid rgba(30,64,175,0.7);
}

.portfolio-thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
}

.portfolio-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.portfolio-item:hover .portfolio-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .portfolio-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* contact icons */
.contact-box li::before {margin-right:6px;}


.contact-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #f9fafb;
  margin-bottom: 10px;
}

.contact-intro {
  font-size: 0.9rem;
  color: #cbd5f5;
  margin-bottom: 24px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li + li {
  margin-top: 6px;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-right: 8px;
  color: #ffffff;
}

.contact-icon-line {
  background: #06c755;
}

.contact-icon-fb {
  background: #1877f2;
}

.contact-icon-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0f172a;
  border: 1px solid #38bdf8;
  color: #38bdf8;
  font-size: 1rem;
  line-height: 1;
  transform: translateY(1px); /* ดันขึ้นเล็กน้อยให้ตรงกลางพอดี */
}

.contact-text {
  color: #e5e7eb;
}

.contact-text a {
  color: #e5e7eb;
  text-decoration: underline;
}

.contact-text strong {
  color: #f9fafb;
}

.contact-btn {
  text-align: center;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
}

.contact-btn-icon {
  width: 20px;
  height: 20px;
  border-radius: 999px;
}

.contact-btn-icon-line {
  background: #06c755;
}

.contact-btn-icon-fb {
  background: #1877f2;
}

.contact-form-note {
  color: #e5e7eb;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* --- Contact single-card layout (V26) --- */
.contact-single {
  max-width: 100%;
  margin: 0 auto;
}

.contact-main {
  border-radius: var(--radius-lg);
  background: #020617;
  border: 1px solid rgba(30, 64, 175, 0.85);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.9);
  padding: 24px 24px 26px;
}

.contact-main .contact-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f9fafb;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.contact-main .contact-intro {
  font-size: 0.9rem;
  color: #cbd5f5;
  margin-bottom: 14px;
}

.contact-actions {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.contact-actions .contact-btn {
  width: 100%;
  max-width: 420px;
}

.contact-phone {
  display: flex;
  /*align-items: center;*/
  align-items: flex-start; /* ให้ icon ล็อกอยู่ด้านบน */
  gap: 8px;
  margin-top: 2px;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.contact-phone-text strong {
  color: #f9fafb;
}

.contact-phone-text {
line-height: 1.5;
}

.contact-actions {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.contact-actions .contact-btn {
  width: 100%;
  max-width: 420px;
  text-decoration: none;
}

/* ปุ่ม LINE – ปุ่มหลัก (Gradient พรีเมียม) */
.contact-btn-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 30px;
  background: linear-gradient(90deg, #0fa956, #1c7eea);
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  transition: 0.25s;
}

.contact-btn-line:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.contact-icon-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(90deg, #0fa956, #1c7eea);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 6px rgba(0, 255, 150, 0.35);
  transform: translateY(2px);  /* ขยับ L ลงมานิดให้ตรงกลางเป๊ะ */
}

/* ปุ่ม Facebook – ปุ่มรอง (Outline พรีเมียม) */
.contact-btn-fb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 30px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #ffffff;
  font-weight: 500;
  font-size: 1rem;
  transition: 0.25s;
  min-height: 48px;
}

.contact-btn-fb:hover {
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
}

.contact-icon-fb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #1e90ff;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  transform: translateY(2px);
}

/* โทรศัพท์ – ปรับ icon ไม่ให้ขยับ และอ่านง่าย */
.contact-phone {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 18px;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.contact-phone-text {
  line-height: 1.5;
}

.contact-phone-text strong {
  color: #f9fafb;
}


@media (min-width: 768px) {
  .contact-main {
    padding: 26px 28px 28px;
  }
}

/* ensure legacy grid doesn't interfere */
.contact-grid {
  display: block;
}


.section-contact .section-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34,197,94,0.7);
}


.about-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.about-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  min-width: 32px;
}

.about-item-content {
  flex: 1;
}

/* Make Pre-Order product images clearly clickable */
.collection-image img { cursor: pointer; }


.product-hidden-images {
  display: none;
}

.product-cover {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 12px;
  display: block;
}


.home-collection-slider {
  width: 100%;
  overflow: hidden;
  margin-top: 32px;
}

.home-collection-track {
  display: flex;
  gap: 24px;
  width: max-content;                 /* เพิ่มบรรทัดนี้สำคัญมาก */
  animation: homeCollectionLoop 24s linear infinite;
}

/* เอาเมาส์ไปวางแล้วหยุดเลื่อน */
.home-collection-slider:hover .home-collection-track {
  animation-play-state: paused;
}

/* กำหนดความกว้างการ์ด ปรับได้ตามที่ชอบ */
.home-collection-slider .collection-card {
  flex: 0 0 320px;
}

@keyframes homeCollectionLoop {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 900px) {
  .home-collection-slider .collection-card {
    flex: 0 0 260px;
  }
}

@media (max-width: 600px) {
  .home-collection-slider .collection-card {
    flex: 0 0 220px;
  }
}


/* กล่องปุ่มรวม */
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

/* ปุ่มพื้นฐาน */
.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-decoration: none;
  color: #ffffff;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out,
    background 0.2s ease-out,
    border-color 0.2s ease-out,
    color 0.2s ease-out;
}

/* เอฟเฟกต์ hover รวม */
.contact-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
}

/* ปุ่ม LINE – เด่นสุด */
.contact-btn-line {
  background: linear-gradient(135deg, #00c300, #00a43a);
  box-shadow: 0 10px 22px rgba(0, 195, 0, 0.28);
  border-color: rgba(0, 0, 0, 0.1);
}

.contact-btn-line:hover {
  background: linear-gradient(135deg, #00de3a, #00b23f);
}

/* ปุ่ม Facebook – เท่ เรียบ พรีเมียม */
.contact-btn-facebook {
  background: rgba(12, 20, 40, 0.8);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.4);
}

.contact-btn-facebook:hover {
  background: rgba(24, 36, 70, 0.95);
  border-color: rgba(255, 255, 255, 0.45);
}

/* ไอคอนในปุ่ม ถ้าคุณมี span.icon ข้างใน */
.contact-btn .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  margin-right: 10px;
  font-size: 13px;
}

/* ตัวอย่างสีไอคอนแยกแต่ละปุ่ม (optional) */
.contact-btn-line .icon {
  background: rgba(0, 0, 0, 0.15);
}

.contact-btn-facebook .icon {
  background: rgba(255, 255, 255, 0.08);
}

/* ปรับขนาดไอคอน PNG */
.img-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
  margin-right: 10px;
}

/* ปุ่มจัดกลาง */
.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}

/* ปุ่มหลัก */
.contact-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.phone-link {
  color: #f9fafb;        /* สีเดียวกับข้อความเดิม */
  text-decoration: none;
}

.phone-link:hover {
  text-decoration: underline;
  opacity: 0.85;
}

.contact-btn .img-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  margin-right: 10px;
}

  /* ลดช่องว่าง HERO ให้ชิดเมนูที่สุด */
  .hero-full {
    position: relative;
    min-height: 28vh;  
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    padding: 0px 16px 24px;  /* ลด padding-top = 0 */
    color: #f9fafb;
    overflow: hidden;
    background:
      linear-gradient(120deg, rgba(15,23,42,0.90), rgba(15,23,42,0.55)),
      url("assets/img/hero-home.png") center right / cover no-repeat;
  }

  /* ดันการ์ด Pre-Order ขึ้นไปชิด */
  .hero-new-collection {
    position: relative;
    margin: 0px auto 24px;   /* ลด margin-top จาก 32 → 12 → 0 */
    padding: 20px 24px 24px;
    max-width: 960px;
    border-radius: 26px;
    background:
      radial-gradient(130% 160% at 0% 0%, rgba(59,130,246,0.25), transparent 60%),
      radial-gradient(130% 160% at 100% 100%, rgba(16,185,129,0.18), transparent 60%),
      rgba(15,23,42,0.96);
    border: 1px solid rgba(148, 163, 184, 0.55);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.85);
  }

  @media (max-width: 768px) {
    .hero-new-collection {
      margin: 4px auto 20px;
      padding: 18px 16px 20px;
      max-width: 100%;
    }
  }
  
  
/* ปุ่มเลือกแพ็กเกจ Custom Shirt: Standard / Premium / Flow Tech / Laser cutting */
.custom-type-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 10px;
}

.custom-type-tab {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: #020617;
  font-size: 11px;
  padding: 4px 10px;
  color: #e5e7eb;
  cursor: pointer;
  line-height: 1.4;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.12s ease;
}

.custom-type-tab:hover {
  transform: translateY(-1px);
  border-color: rgba(52, 211, 153, 0.9);
}

.custom-type-tab.is-active {
  background: linear-gradient(90deg, #22c55e, #0ea5e9);
  border-color: transparent;
  color: #020617;
}

/* กล่องรวมปุ่ม */
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

/* ปุ่มพื้นฐาน */
.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.8);
  color: #e5e7eb;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.contact-btn:hover {
  background: rgba(30, 64, 175, 0.9);
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.5);
}

/* ปุ่มหลัก: สั่งจองสินค้า */
.contact-btn-primary {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;
  font-weight: 600;
  border-color: rgba(34, 197, 94, 0.9);
}

.contact-btn-primary:hover {
  background: linear-gradient(135deg, #16a34a, #15803d);
}

/* Desktop: ปุ่ม 3 ปุ่มเรียงกัน */
@media (min-width: 768px) {
  .contact-actions .contact-btn {
    flex: 1 1 calc(33.333% - 8px);
  }
}

/* Mobile: ปุ่มเต็มแถว กดง่าย */
@media (max-width: 767px) {
  .contact-actions {
    flex-direction: column;
  }
  .contact-actions .contact-btn {
    width: 100%;
  }
}


/* =========================================================
   iPhone (Safari / WebView) SLIDER FIX
   - แก้ไหลแล้วหาย
   - กัน sticky hover บน touch
   - ใช้ GPU compositing ให้ iOS render เสถียร
   ========================================================= */

.home-collection-slider{
  position: relative;
  overflow: hidden;
}

.home-collection-track{
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  width: max-content;

  will-change: transform;
  transform: translate3d(0,0,0);
  -webkit-transform: translate3d(0,0,0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;

  animation: homeCollectionLoop 24s linear infinite;
}

/* pause เฉพาะอุปกรณ์ที่มี mouse จริง (ไม่ใช่ iPhone) */
@media (hover: hover) and (pointer: fine){
  .home-collection-slider:hover .home-collection-track{
    animation-play-state: paused;
  }
}

.home-collection-slider .collection-card{
  flex: 0 0 320px;
  min-width: 320px;
}

@keyframes homeCollectionLoop{
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(-50%,0,0); }
}

@media (max-width: 900px){
  .home-collection-slider .collection-card{
    flex: 0 0 260px;
    min-width: 260px;
  }
}

@media (max-width: 600px){
  .home-collection-slider .collection-card{
    flex: 0 0 240px;
    min-width: 240px;
  }
}

/* ถ้า iPhone เปิด Reduce Motion → ไม่วิ่ง แต่เลื่อนด้วยนิ้ว */
@media (prefers-reduced-motion: reduce){
  .home-collection-slider{
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .home-collection-track{
    animation: none !important;
    transform: none !important;
    -webkit-transform: none !important;
  }
}

/* Hamburger */
.nav-toggle{
  display:none;
  background:none;
  border:0;
  cursor:pointer;
}
.nav-toggle span{
  display:block;
  width:22px;
  height:2px;
  margin:5px 0;
  background:#e5e7eb;
}

/* Mobile nav */
@media (max-width:768px){
  .nav-toggle{ display:block; }

  #nav-menu{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:#020617;
    border-top:1px solid rgba(30,64,175,.6);
    display:none;
    z-index:9999;
  }
  #nav-menu.is-open{ display:block; }

  .nav-menu{
    flex-direction:column;
    gap:0;
  }
  .nav-menu li a{
    display:block;
    padding:14px 20px;
    font-size:16px;
  }

  .nav-cta{ display:none; }
}

@media (max-width:768px){

  .nav-toggle{
    display:block;
  }

  /* ตัวครอบเมนู */
  #nav-menu{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:#020617;
    border-top:1px solid rgba(30,64,175,.6);
    display:none;
    z-index:9999;
  }

  /* ตอนเปิดเมนู */
  #nav-menu.is-open{
    display:block;
  }

  /* ul เมนู */
  #nav-menu .nav-menu{
    display:flex;
    flex-direction:column;
    gap:0;
  }

  #nav-menu .nav-menu li a{
    display:block;
    padding:14px 20px;
    font-size:16px;
  }

  .nav-cta{
    display:none;
  }
}


/* Mobile fix: prevent iOS Safari auto-slide disappearing issue */
@media (max-width:768px){
  .home-collection-slider{
    overflow-x:auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }

  .home-collection-track{
    animation: none !important;
    width: max-content;
  }
}

@media (max-width:768px){
  .home-collection-slider::after{
    content:"↔ ปัดดูสินค้า";
    display:block;
    text-align:right;
    font-size:11px;
    color:#9ca3af;
    padding:4px 12px 0;
  }
}


/* Premium mobile nav */
@media (max-width:768px){

  .nav-toggle{
    position:relative;
    z-index:10001; /* สูงกว่าเมนู */
    width:44px;
    height:44px;
    border-radius:12px;
    border:1px solid rgba(148,163,184,.35);
    background: rgba(2,6,23,.85);
    display:flex;
    align-items:center;
    justify-content:center;
  }

  .nav-toggle span{
    position:absolute;
    width:20px;
    height:2px;
    background:#ffffff;
    border-radius:999px;
    transition: transform .2s ease, opacity .2s ease;
  }

  .nav-toggle span:nth-child(1){ transform: translateY(-6px); }
  .nav-toggle span:nth-child(2){ transform: translateY(0); }
  .nav-toggle span:nth-child(3){ transform: translateY(6px); }

  /* เมื่อเมนูเปิด → เปลี่ยนเป็น X */
  #nav-menu.is-open ~ .nav-toggle span:nth-child(1){
    transform: rotate(45deg);
  }
  #nav-menu.is-open ~ .nav-toggle span:nth-child(2){
    opacity:0;
  }
  #nav-menu.is-open ~ .nav-toggle span:nth-child(3){
    transform: rotate(-45deg);
  }
}

/*ทำ menu panel ให้ดูเป็น “full menu” ไม่ใช่กล่องลอย */
@media (max-width:768px){

  #nav-menu{
    position:fixed;
    top:64px;
    left:12px;
    right:12px;
    bottom:auto;
    background: linear-gradient(180deg,#020617,#020617f2);
    border-radius:20px;
    padding:12px;
    box-shadow:0 30px 60px rgba(0,0,0,.45);
  }

  #nav-menu .nav-menu{
    padding:8px;
  }

  #nav-menu .nav-menu li{
    margin-bottom:6px;
  }

  #nav-menu .nav-menu a{
    font-size:17px;
    font-weight:500;
    padding:14px 16px;
  }
}

/* ---------- Active state (mobile nav) ---------- */
@media (max-width:768px){
  #nav-menu ul.nav-menu li a.is-active{
    background: linear-gradient(
      135deg,
      rgba(15,118,110,.35),
      rgba(37,99,235,.35)
    );
    border:1px solid rgba(59,130,246,.45);
  }
}

@media (max-width:768px){
  #nav-menu .nav-cta-item{
    margin-top:10px;
    padding: 8px;
  }

  #nav-menu .nav-cta-link{
    display:block;
    text-align:center;
    font-weight:700;
    padding:14px 16px;
    border-radius:14px;
    background: linear-gradient(135deg, rgba(34,197,94,.95), rgba(16,185,129,.85));
    color:#061016;
    border: 1px solid rgba(255,255,255,.18);
  }

  #nav-menu .nav-cta-link:active{
    transform: translateY(1px);
  }
}

/* ===== CTA in hamburger: mobile only ===== */

/* ซ่อนเมนู "สั่งจองสินค้า" ที่อยู่ใน <li> บน desktop */
.nav-cta-item{
  display:none;
}

/* แสดงเฉพาะบน mobile (hamburger menu) */
@media (max-width:768px){
  .nav-cta-item{
    display:block;
  }
}

.nav-menu,
.nav-menu li{
  list-style:none;
}