*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --brand: #c7352b;
  --brand-dark: #9f241d;
  --ice: #e9f8fb;
  --ice-strong: #bfeaf2;
  --mint: #d9f3e8;
  --ink: #15232b;
  --muted: #66747c;
  --line: #dce8eb;
  --paper: #ffffff;
  --soft: #f6fbfc;
  --shadow: 0 18px 44px rgba(21, 35, 43, 0.10);
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Sarabun', sans-serif;
  color: var(--ink);
  background: var(--soft);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

.topbar {
  background: #10252e;
  color: #fff;
  font-size: 13px;
  padding: 8px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.topbar a { color: #fff; opacity: 0.9; }
.topbar a:hover { opacity: 1; }
.top-links { display: flex; gap: 16px; flex-wrap: wrap; }

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  height: 76px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-star {
  font-size: 66px;
  color: #d71920;
  line-height: 1;
  filter: drop-shadow(0 5px 12px rgba(215,25,32,.48));
  flex-shrink: 0;
}
.nav-brand {
  display: flex;
  flex-direction: column;
  font-family: 'Kanit', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0;
  line-height: 1.1;
}
.nav-brand em {
  font-style: normal;
  font-family: 'Kanit', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.logo-fallback { font-size: 15px; }
.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--brand), #ef6957);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 0;
  box-shadow: 0 8px 20px rgba(199,53,43,0.25);
}
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-size: 14px;
  color: var(--muted);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--brand); border-color: var(--brand); }
.nav-cta {
  background: var(--brand);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--brand-dark); transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--ink); }
.nav-logo-img { height: 42px; width: auto; max-width: 120px; object-fit: contain; flex-shrink: 0; mix-blend-mode: multiply; }

/* ── Video section ── */
.video-section { background: #10252e; padding: 72px 60px; }
.video-section .section-label { color: rgba(255,255,255,0.55); }
.video-section .section-title { color: #fff; }
.video-section .section-sub { color: rgba(255,255,255,0.62); margin-bottom: 36px; }
.video-grid { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
.video-responsive { position: relative; padding-bottom: 56.25%; border-radius: 12px; overflow: hidden; background: #000; box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.video-responsive iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.video-side { display: flex; flex-direction: column; gap: 14px; }
.video-thumb-card {
  border-radius: 10px; overflow: hidden; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.1); transition: all 0.2s;
  background: rgba(255,255,255,0.05);
}
.video-thumb-card:hover { border-color: rgba(199,53,43,0.6); transform: translateY(-2px); }
.video-thumb-card img { width: 100%; height: 160px; object-fit: cover; display: block; }
.video-thumb-info { padding: 10px 12px; }
.video-thumb-title { font-size: 13px; color: #fff; font-weight: 500; line-height: 1.4; }
.video-thumb-ch { font-size: 11px; color: rgba(255,255,255,0.45); margin-top: 4px; }
.video-follow { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.video-follow a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 8px; font-size: 13px; font-weight: 600; transition: all 0.2s;
}
.vf-fb { background: #1877f2; color: #fff; }
.vf-fb:hover { background: #1565c0; color: #fff; }
.vf-yt { background: #ff0000; color: #fff; }
.vf-yt:hover { background: #cc0000; color: #fff; }
.vf-line { background: #06c755; color: #fff; }
.vf-line:hover { background: #059145; color: #fff; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  min-height: 560px;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.94), rgba(233,248,251,0.88)),
    radial-gradient(circle at 18% 10%, rgba(191,234,242,0.65), transparent 32%);
}
.hero-text {
  padding: 76px 60px 68px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.hero-tag {
  width: fit-content;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  background: #fff;
  border: 1px solid #ffd8d4;
  border-radius: 999px;
  padding: 6px 12px;
}
.hero-text h1 {
  font-family: 'Prompt', sans-serif;
  font-size: 42px;
  font-weight: 600;
  line-height: 1.22;
  max-width: 620px;
}
.hero-text h1 em { font-style: normal; color: var(--brand); }
.hero-text p { font-size: 16px; color: var(--muted); line-height: 1.85; max-width: 540px; }
.hero-btns { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.hero-img {
  min-height: 560px;
  padding: 40px 60px 40px 20px;
  display: flex;
  align-items: center;
}
.hero-img img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.hero-placeholder {
  width: 100%;
  min-height: 470px;
  border-radius: 18px;
  background:
    linear-gradient(150deg, rgba(255,255,255,0.86), rgba(191,234,242,0.9)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.26) 0 1px, transparent 1px 36px);
  box-shadow: var(--shadow);
  padding: 34px;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
}
.freezer-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: center; }
.freezer-tray {
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 14px;
  padding: 18px 16px;
  min-height: 128px;
  box-shadow: 0 10px 30px rgba(30,78,90,0.11);
}
.freezer-icon { font-size: 42px; line-height: 1; margin-bottom: 14px; }
.freezer-line { height: 8px; border-radius: 999px; background: #dce8eb; margin-top: 8px; }
.freezer-line.short { width: 62%; background: #f4c3bd; }
.hero-placeholder small { color: var(--muted); font-size: 13px; margin-top: 22px; }

.btn-primary, .btn-outline, .btn-white, .btn-white-outline {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); }
.btn-outline {
  background: #fff;
  color: var(--ink);
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 14px;
  border: 1px solid var(--line);
  transition: border-color 0.2s, transform 0.2s;
}
.btn-outline:hover { border-color: var(--brand); transform: translateY(-1px); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.stat { padding: 30px 24px; text-align: center; border-right: 1px solid var(--line); transition: background 0.2s; }
.stat:last-child { border-right: none; }
.stat:hover { background: var(--ice); }
.stat-num { font-family: 'Prompt', sans-serif; font-size: 29px; font-weight: 600; color: var(--brand); }
.stat-label { font-size: 12px; color: var(--muted); margin-top: 6px; }

section { padding: 74px 60px; background: var(--paper); }
section.alt { background: var(--soft); }
.section-label { font-size: 11px; font-weight: 700; color: var(--brand); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.section-title { font-family: 'Prompt', sans-serif; font-size: 28px; font-weight: 600; margin-bottom: 8px; }
.section-sub { font-size: 14px; color: var(--muted); margin-bottom: 36px; }

.page-hero {
  min-height: 320px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.94), rgba(233,248,251,0.88)),
    radial-gradient(circle at 80% 20%, rgba(244,195,189,0.45), transparent 32%);
}
.page-hero h1 {
  font-family: 'Prompt', sans-serif;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.25;
  max-width: 720px;
  margin-bottom: 14px;
}
.page-hero p { color: var(--muted); max-width: 720px; font-size: 16px; }

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 28px;
  align-items: stretch;
}
.about-copy p { color: var(--muted); margin-top: 14px; font-size: 15px; }
.rich-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: linear-gradient(160deg, #10252e, #1c5363);
  color: #fff;
}
.rich-panel h3 { font-size: 18px; margin-bottom: 10px; }
.rich-panel p { color: rgba(255,255,255,0.78); font-size: 14px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pill-list span {
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 12px;
  background: rgba(255,255,255,0.08);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.service-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--paper);
}
.service-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.service-card p { font-size: 14px; color: var(--muted); }

.job-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}
.job-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: linear-gradient(180deg, #fff, var(--soft));
  min-height: 150px;
}
.job-item span { display: block; color: var(--brand); font-weight: 700; font-size: 12px; margin-bottom: 18px; }
.job-item strong { display: block; font-size: 15px; line-height: 1.35; margin-bottom: 6px; }
.job-item p { color: var(--muted); font-size: 13px; }
.apply-box {
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.apply-box h3 { font-size: 18px; margin-bottom: 6px; }
.apply-box p { color: var(--muted); font-size: 14px; max-width: 700px; }

.cold-chain {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}
.chain-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: linear-gradient(180deg, #fff, var(--soft));
}
.chain-kicker { color: var(--brand); font-weight: 700; font-size: 12px; margin-bottom: 8px; }
.chain-item h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.chain-item p { font-size: 13px; color: var(--muted); }

.products-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-card {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(21,35,43,.07);
  transition: box-shadow .25s, transform .25s;
  display: flex;
  flex-direction: column;
}
.product-card:hover { box-shadow: 0 8px 28px rgba(21,35,43,.14); transform: translateY(-4px); }
.product-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-emoji { font-size: 52px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.15)); }
.badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  letter-spacing: .03em;
}
.cat-label {
  position: absolute;
  bottom: 8px;
  left: 8px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0,0,0,.45);
  color: #fff;
  backdrop-filter: blur(4px);
}
.product-info { padding: 14px 15px 16px; flex: 1; display: flex; flex-direction: column; }
.product-info h3 { font-size: 14px; font-weight: 600; margin-bottom: 5px; line-height: 1.4; color: var(--ink); }
.product-price { font-size: 15px; font-weight: 700; color: var(--brand); margin-bottom: 6px; }
.product-info p { font-size: 12px; color: var(--muted); line-height: 1.6; margin-bottom: 8px; flex: 1; }
.product-menus { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.menu-chip { font-size: 11px; background: var(--ice); color: var(--ink); border-radius: 6px; padding: 3px 8px; }
.product-profit { font-size: 11px; color: #2e7d32; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 6px; padding: 4px 9px; display: inline-block; margin-bottom: 10px; }
.product-actions { display: flex; gap: 6px; margin-top: auto; }
.pact-inquiry { flex: 1; text-align: center; font-size: 12px; font-weight: 600; padding: 7px 6px; border-radius: 8px; border: 1px solid var(--brand); color: var(--brand); transition: all .15s; }
.pact-inquiry:hover { background: var(--brand); color: #fff; }
.pact-detail { flex: 1; text-align: center; font-size: 12px; font-weight: 600; padding: 7px 6px; border-radius: 8px; background: var(--brand); color: #fff; transition: opacity .15s; }
.pact-detail:hover { opacity: .85; }
.product-link { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--brand); font-weight: 700; }

.promo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.promo-card { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--paper); transition: box-shadow 0.2s, transform 0.2s; }
.promo-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.promo-img { height: 210px; overflow: hidden; background: var(--ice); }
.promo-img img { width: 100%; height: 100%; object-fit: cover; }
.promo-info { padding: 18px 20px; }
.promo-date { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.promo-info h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.promo-info p { font-size: 13px; color: var(--muted); line-height: 1.7; }

.cat-filter-wrap { margin-bottom: 28px; }
.cat-filter { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.cat-btn {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12px;
  color: var(--muted);
  transition: all 0.2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.cat-btn:hover, .cat-btn.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.cat-count { font-size: 10px; opacity: 0.75; background: rgba(0,0,0,0.08); border-radius: 999px; padding: 1px 6px; }
.cat-btn.active .cat-count { background: rgba(255,255,255,0.25); }
.pagination { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.page-btn { padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-size: 13px; color: var(--ink); transition: all 0.2s; }
.page-btn:hover { background: var(--ice); border-color: var(--ice-strong); }
.page-btn.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.page-ellipsis { padding: 8px 6px; font-size: 13px; color: var(--muted); }

.staff-grid, .branch-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.staff-card, .branch-card, .contact-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}
.staff-card { padding: 20px; display: flex; gap: 16px; align-items: flex-start; }
.staff-avatar { flex-shrink: 0; }
.staff-avatar img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; }
.avatar-initials { width: 58px; height: 58px; border-radius: 50%; background: var(--ice); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; color: var(--brand); }
.staff-info h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.staff-role { font-size: 12px; color: var(--brand); margin-bottom: 6px; }
.staff-info p { font-size: 13px; color: var(--muted); }
.staff-info a { color: var(--brand); font-weight: 600; }
.branch-card { padding: 24px; transition: border-color 0.2s, transform 0.2s; }
.branch-card:hover { border-color: var(--ice-strong); transform: translateY(-2px); }
.branch-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.branch-card p { font-size: 13px; color: var(--muted); line-height: 1.65; margin-bottom: 8px; }
.branch-tel { font-size: 13px; color: var(--brand); font-weight: 700; }
.contact-box { margin-top: 42px; padding: 28px; }
.contact-box h3 { font-size: 17px; font-weight: 600; margin-bottom: 16px; }
.contact-links { display: flex; flex-direction: column; gap: 10px; }
.contact-item { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.contact-item:hover { color: var(--brand); }

.empty-state {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 28px;
  color: var(--muted);
  background: var(--soft);
}

.cta-band {
  background: linear-gradient(120deg, #10252e, #1c5363);
  padding: 54px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-band h2 { font-family: 'Prompt', sans-serif; font-size: 27px; font-weight: 600; color: #fff; }
.cta-band p { font-size: 14px; color: rgba(255,255,255,0.78); margin-top: 6px; }
.cta-btns { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }
.btn-white { background: #fff; color: var(--brand); padding: 12px 24px; border-radius: 8px; font-size: 14px; font-weight: 700; }
.btn-white-outline { background: transparent; color: #fff; padding: 12px 24px; border-radius: 8px; font-size: 14px; border: 1px solid rgba(255,255,255,0.42); }

footer { border-top: 1px solid var(--line); background: #f2f8fa; padding: 48px 60px 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-logo { font-family: 'Prompt', sans-serif; font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.footer-brand p { font-size: 13px; color: var(--muted); line-height: 1.8; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--muted); background: var(--paper); transition: all 0.2s; }
.footer-social a:hover { border-color: var(--brand); color: var(--brand); }
.footer-col h4 { font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: 13px; color: var(--muted); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--brand); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom span { font-size: 12px; color: var(--muted); }
.footer-admin {
  font-size: 11px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 9px;
  background: rgba(255,255,255,0.62);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.footer-admin:hover { color: var(--brand); border-color: var(--brand); background: #fff; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── Product card enhancements ── */
.product-img-link { display: block; }
.cat-label {
  position: absolute; bottom: 10px; left: 10px;
  font-size: 11px; padding: 3px 9px; border-radius: 999px;
  background: rgba(255,255,255,0.92); color: var(--muted);
  border: 1px solid var(--line); backdrop-filter: blur(4px);
}
.product-price {
  font-family: 'Prompt', sans-serif; font-size: 18px; font-weight: 600;
  color: var(--brand); margin: 10px 0 4px;
}
.product-price-date { font-size: 11px; color: var(--muted); margin-bottom: 7px; }
.product-menus { display: flex; flex-wrap: wrap; gap: 5px; margin: 7px 0; }
.menu-chip {
  font-size: 11px; background: var(--ice); color: #1a6e88;
  padding: 3px 9px; border-radius: 999px; border: 1px solid var(--ice-strong);
  white-space: nowrap;
}
.product-profit {
  font-size: 12px; color: #2e7d32; background: #e8f5e9;
  border: 1px solid #c8e6c9; border-radius: 6px; padding: 5px 10px; margin: 7px 0;
  display: flex; align-items: center; gap: 5px;
}
.product-profit::before { content: '✓'; font-weight: 700; }
.product-actions {
  display: flex; gap: 7px; margin-top: 13px;
  padding-top: 12px; border-top: 1px solid var(--line);
}
.pact-inquiry, .pact-detail {
  flex: 1; padding: 7px 10px; border-radius: 6px; font-size: 12px;
  font-weight: 600; text-align: center; transition: all 0.2s;
}
.pact-inquiry {
  background: var(--soft); color: var(--ink); border: 1px solid var(--line);
}
.pact-inquiry:hover { border-color: var(--brand); color: var(--brand); }
.pact-detail { background: var(--brand); color: #fff; border: 1px solid transparent; }
.pact-detail:hover { background: var(--brand-dark); color: #fff; }

/* ── Product detail page ── */
.product-detail-section { background: var(--soft); padding: 42px 60px 74px; }
.product-detail-wrap { max-width: 1120px; margin: 0 auto; }
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--muted); margin-bottom: 32px; transition: color 0.2s;
}
.back-link:hover { color: var(--brand); }
.product-detail-layout {
  display: grid; grid-template-columns: minmax(360px, .92fr) minmax(0, 1.08fr); gap: 44px; align-items: start;
}
.product-detail-img-col { position: sticky; top: 88px; }
.product-detail-img {
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: linear-gradient(135deg, #eefbfc, #fff7f6);
  min-height: 460px; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center;
  position: relative; box-shadow: 0 16px 46px rgba(21,35,43,.10);
}
.product-detail-img img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.product-detail-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: rgba(21,35,43,.44); font-weight: 600;
}
.product-detail-empty span { font-size: 92px; line-height: 1; filter: drop-shadow(0 8px 22px rgba(0,0,0,.15)); }
.product-detail-empty small { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.product-detail-badge { position: absolute; top: 14px; right: 14px; z-index: 2; }
.product-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.product-thumb {
  height: 74px; border: 1px solid var(--line); border-radius: 8px; background: #fff;
  padding: 4px; cursor: pointer; overflow: hidden; transition: border-color .2s, box-shadow .2s;
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }
.product-thumb.active { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(199,53,43,.14); }
.product-detail-info {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 34px 36px; box-shadow: 0 14px 36px rgba(21,35,43,.08);
}
.product-detail-cat {
  font-size: 11px; font-weight: 700; color: var(--brand);
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px;
}
.product-detail-name {
  font-family: 'Prompt', sans-serif; font-size: 30px; font-weight: 600;
  line-height: 1.25; margin-bottom: 14px;
}
.product-detail-price {
  font-family: 'Prompt', sans-serif; font-size: 22px; font-weight: 600; color: var(--brand);
  padding-top: 14px; border-top: 1px solid var(--line);
  margin-bottom: 4px;
}
.product-detail-price-date {
  color: var(--muted); font-size: 13px; padding-bottom: 14px;
  border-bottom: 1px solid var(--line); margin-bottom: 18px;
}
.product-detail-desc { font-size: 15px; color: var(--muted); line-height: 1.9; margin-bottom: 22px; }
.product-detail-block { margin-bottom: 20px; }
.detail-block-label {
  font-size: 11px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 8px;
}
.product-detail-cta {
  display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px;
  padding-top: 24px; border-top: 1px solid var(--line);
}
.product-detail-cta .btn-primary, .product-detail-cta .btn-outline { padding: 13px 24px; font-size: 14px; }
.product-detail-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.product-detail-profit {
  font-size: 14px; color: #2e7d32; background: #e8f5e9;
  border: 1px solid #c8e6c9; border-radius: 8px; padding: 12px 16px;
  display: flex; align-items: center; gap: 8px;
}
.product-detail-profit::before { content: '✓'; font-weight: 700; font-size: 16px; }
.product-detail-note {
  margin-top: 16px; color: var(--muted); background: var(--soft); border: 1px solid var(--line);
  border-radius: 8px; padding: 12px 14px; font-size: 13px;
}
.related-products-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

/* ── Promotions enhancements ── */
.promo-card { display: block; color: inherit; cursor: pointer; }
.promo-read-more {
  display: inline-block; margin-top: 10px; font-size: 13px;
  color: var(--brand); font-weight: 700;
}
.promo-img-empty {
  height: 130px; background: var(--ice);
  display: flex; align-items: center; justify-content: center; font-size: 48px;
}

/* ── Promotion detail page ── */
.promo-detail-section { padding: 40px 60px 74px; }
.promo-detail-wrap { max-width: 800px; }
.promo-detail-img {
  border-radius: 16px; overflow: hidden; margin-bottom: 28px;
}
.promo-detail-img img { width: 100%; max-height: 420px; object-fit: cover; }
.promo-detail-info h1 {
  font-family: 'Prompt', sans-serif; font-size: 28px; font-weight: 600;
  margin: 10px 0 18px; line-height: 1.3;
}
.promo-detail-content {
  font-size: 15px; color: var(--muted); line-height: 2.0;
  margin-bottom: 28px; white-space: pre-line;
}
.promo-detail-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Product Image Gallery ── */
.gallery-wrap {
  position: relative;
  max-width: 460px;
  width: 100%;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(21,35,43,.13);
  display: block;
}
.gallery-slider {
  display: flex;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.gallery-slide {
  flex: 0 0 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f8f8;
}
.gallery-slide img { width: 100%; height: 340px; object-fit: cover; display: block; }
.gallery-slide-empty { height: 300px; }
.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.92);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.gallery-btn:hover { background: #fff; }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.gallery-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
}
.gallery-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.55);
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}
.gallery-dot.active { background: #fff; transform: scale(1.3); }

@media (max-width: 980px) {
  .product-detail-section, .promo-detail-section { padding: 28px 20px 52px; }
  .product-detail-layout { grid-template-columns: 1fr; gap: 22px; }
  .product-detail-img-col { position: static; }
  .product-detail-img { min-height: 300px; }
  .product-detail-img img { height: 100%; padding: 18px; }
  .product-detail-info { padding: 24px 20px; }
  .product-detail-name { font-size: 24px; }
  .related-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-section { padding: 52px 20px; }
  .video-grid { grid-template-columns: 1fr; }
  .video-thumb-card img { height: 120px; }
  .topbar { padding: 8px 20px; }
  nav { height: 68px; padding: 0 20px; }
  .nav-logo { gap: 8px; }
  .nav-star { font-size: 54px; }
  .nav-brand { font-size: 20px; }
  .nav-brand em { font-size: 10px; letter-spacing: .06em; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 18px 20px;
    gap: 16px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-text { padding: 46px 20px 30px; }
  .hero-text h1 { font-size: 32px; }
  .hero-img { min-height: auto; padding: 0 20px 44px; }
  .hero-img img, .hero-placeholder { min-height: 330px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  section { padding: 52px 20px; }
  .products-grid, .promo-grid, .staff-grid, .branch-grid, .cold-chain, .about-layout, .service-grid, .job-list { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 30px; }
  .apply-box { flex-direction: column; align-items: flex-start; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 42px 20px; }
  footer { padding: 40px 20px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 560px) {
  .topbar { flex-direction: column; align-items: flex-start; gap: 4px; }
  .hero-text h1 { font-size: 28px; }
  .hero-btns, .cta-btns { width: 100%; }
  .btn-primary, .btn-outline, .btn-white, .btn-white-outline { width: 100%; }
  .product-detail-img { min-height: 240px; }
  .product-thumbs { grid-template-columns: repeat(4, 1fr); }
  .related-products-grid { grid-template-columns: 1fr; }
  .freezer-visual { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 12px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
}
