:root {
  --red: #a90e12;
  --red-dark: #82090d;
  --gold: #c9912f;
  --gold-light: #f3d697;
  --cream: #fff8ec;
  --paper: #fffdf8;
  --ink: #201812;
  --muted: #665b53;
  --line: #ead8b8;
  --dark: #17130f;
  --shadow: 0 14px 38px rgba(67, 43, 18, 0.14);
  --max: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 20%, rgba(230, 192, 118, 0.12), transparent 25%),
    var(--paper);
  font-family: "Leelawadee UI", "Noto Sans Thai", Tahoma, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  background: rgba(255, 253, 249, 0.97);
  border-bottom: 1px solid rgba(180, 129, 45, 0.22);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.brand img {
  width: 54px;
  height: 60px;
  object-fit: contain;
}

.brand img.brand-logo {
  width: 68px;
  height: 68px;
  padding: 4px;
  object-fit: contain;
  object-position: center;
  background: #030303;
  border: 1px solid rgba(202, 153, 56, 0.68);
  border-radius: 18px;
  box-shadow: 0 9px 24px rgba(68, 40, 9, 0.2), inset 0 0 0 1px rgba(255, 221, 145, 0.1);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.brand:hover img.brand-logo {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(68, 40, 9, 0.22), inset 0 0 0 1px rgba(255, 221, 145, 0.14);
}

.brand strong {
  display: block;
  font-size: 1.24rem;
  line-height: 1.25;
  white-space: nowrap;
}

.brand small {
  display: block;
  color: #82633c;
  font-size: 0.76rem;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 17px;
  font-size: 0.82rem;
  font-weight: 700;
}

.nav-links > a:not(.btn):not(.social-link) {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  position: relative;
}

.nav-links > a:not(.btn):not(.social-link)::after {
  content: "";
  position: absolute;
  inset: auto 0 3px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav-links > a:hover,
.nav-links > a.active { color: var(--red); }

.nav-links > a:hover::after,
.nav-links > a.active::after { transform: scaleX(1); }

.btn {
  min-height: 44px;
  padding: 10px 25px;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #bd1518, #97090d);
  box-shadow: 0 10px 24px rgba(169, 14, 18, 0.2);
}

.btn-primary:hover { background: linear-gradient(180deg, #cb1b1e, #a30b10); }

.btn-light {
  color: #6d491e;
  background: rgba(255, 253, 248, 0.9);
  border-color: #bd8a3a;
}

.btn-outline-gold {
  color: #f5cf78;
  background: transparent;
  border-color: #bd8731;
}

.nav-cta { padding-inline: 20px; }

.social-link {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 900;
}

.facebook-link { font: 900 1.5rem/1 Arial, sans-serif; }
.line-link { color: #fff; background: #121212; font-size: 0.54rem; }

.menu {
  width: 46px;
  height: 46px;
  padding: 10px;
  display: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.menu span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--ink);
}

.hero {
  min-height: 615px;
  padding-top: 82px;
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, #fffaf0 0%, rgba(255, 250, 240, 0.98) 34%, rgba(255, 249, 236, 0.66) 55%, rgba(255, 249, 236, 0.04) 78%),
    url("../images/hero-farm-v2.png");
  background-position: center, center;
  background-size: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 95px;
  background: linear-gradient(transparent, rgba(255, 250, 241, 0.82));
}

.hero-grid {
  min-height: 533px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 16px;
}

.hero-copy {
  max-width: 660px;
  padding: 48px 0 72px;
}

.eyebrow {
  display: inline-flex;
  padding: 6px 14px;
  color: #fff;
  background: linear-gradient(180deg, #ca932e, #a76f17);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.hero h1 {
  margin: 16px 0 10px;
  font-size: clamp(3.2rem, 5.1vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-weight: 900;
}

.hero h1 span {
  display: block;
  color: var(--red);
}

.hero-copy > p {
  max-width: 580px;
  margin: 0;
  font-size: 1.08rem;
  color: #3f342d;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-art {
  height: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-art > img {
  width: min(68%, 440px);
  max-height: 535px;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
  object-fit: contain;
  filter: drop-shadow(0 22px 18px rgba(30, 18, 8, 0.36));
}

.seal {
  width: 132px;
  aspect-ratio: 1;
  padding: 18px;
  position: absolute;
  top: 30px;
  right: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #7d531a;
  background: radial-gradient(circle, #fffdf6 0 58%, #efd28f 59% 63%, #fff9e8 64%);
  border: 3px solid #a56c18;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(85, 55, 16, 0.22), inset 0 0 0 5px #f5ddb0;
  text-align: center;
  line-height: 1.05;
}

.seal::before,
.seal::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px dashed #a56c18;
  border-radius: 50%;
}

.seal::after { inset: 15px; border-style: solid; opacity: 0.45; }
.seal span { font-size: 1.55rem; }
.seal strong { font-size: 0.72rem; }
.seal small { font-size: 0.62rem; }
.seal b { font-size: 0.58rem; }

.trust {
  margin-top: -42px;
  position: relative;
  z-index: 5;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  background: rgba(255, 253, 249, 0.97);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.trust-item {
  min-height: 92px;
  padding: 19px 24px;
  display: flex;
  align-items: center;
  gap: 15px;
  border-right: 1px solid var(--line);
}

.trust-item:last-child { border-right: 0; }

.trust-icon {
  width: 48px;
  flex: 0 0 48px;
  color: #ba7d20;
  font-size: 2.15rem;
  line-height: 1;
  text-align: center;
}

.trust-item b {
  display: block;
  margin-bottom: 2px;
  font-size: 0.92rem;
}

.trust-item small {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
}

.section { padding: 36px 0; }
.chickens-section { padding-top: 30px; }

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.compact-title h2 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.2;
}

.compact-title h2 > span:first-child {
  color: var(--red);
  font-size: 1.1rem;
}

.section-link {
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 800;
}

.section-link:hover { color: var(--red-dark); }

.chicken-title-actions,
.chicken-carousel-controls {
  display: flex;
  align-items: center;
}

.chicken-title-actions { justify-content: flex-end; gap: 14px; }

.chicken-carousel-controls {
  gap: 6px;
  padding: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 5px 16px rgba(67, 43, 18, 0.08);
}

.chicken-carousel-controls button {
  width: 34px;
  height: 34px;
  padding: 0;
  color: #fff;
  background: var(--red);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font: 800 1.45rem/1 Arial, sans-serif;
  transition: transform 0.18s ease, background 0.18s ease, opacity 0.18s ease;
}

.chicken-carousel-controls button:hover:not(:disabled) {
  transform: scale(1.06);
  background: var(--red-dark);
}

.chicken-carousel-controls button:disabled {
  cursor: default;
  opacity: 0.28;
}

.chicken-carousel-controls span {
  min-width: 64px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}

.chicken-carousel { position: relative; }

.cards {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 15px;
  margin-inline: auto;
  padding: 4px 2px 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.cards::-webkit-scrollbar { display: none; }
.chicken-carousel:not(.is-overflowing) .cards { justify-content: center; }

.chicken-card {
  flex: 0 0 calc((100% - 60px) / 5);
  max-width: 224px;
  min-width: 0;
  padding: 0 0 12px;
  overflow: hidden;
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: 0 5px 14px rgba(67, 43, 18, 0.04);
  text-align: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chicken-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(67, 43, 18, 0.14);
}

.chicken-card img {
  width: 100%;
  height: 230px;
  margin-bottom: 8px;
  object-fit: cover;
  object-position: 50% 57%;
  background: #e8dfd2;
}

.chicken-card.tone-2 img { object-position: 42% 62%; filter: saturate(0.9) brightness(1.03); }
.chicken-card.tone-3 img { object-position: 57% 58%; filter: saturate(1.08) contrast(1.03); }
.chicken-card.tone-4 img { object-position: 47% 64%; filter: sepia(0.08) saturate(1.1); }
.chicken-card.tone-5 img { object-position: 53% 54%; filter: brightness(0.94) saturate(1.06); }
.chicken-card.tone-6 img { object-position: 46% 59%; filter: contrast(1.08); }

.tag {
  position: absolute;
  top: 7px;
  left: 0;
  z-index: 2;
  padding: 5px 14px;
  color: #fff;
  background: var(--red);
  border-radius: 0 14px 14px 0;
  font-size: 0.7rem;
  font-weight: 800;
}

.chicken-card h3 {
  margin: 0 8px 2px;
  font-size: 1rem;
  line-height: 1.3;
}

.chicken-card p {
  min-height: 22px;
  margin: 0 7px;
  color: var(--muted);
  font-size: 0.73rem;
}

.pill {
  display: inline-flex;
  width: calc(100% - 28px);
  min-height: 34px;
  margin: 9px auto 0;
  padding: 6px 12px;
  align-items: center;
  justify-content: center;
  color: #6b4210;
  background: linear-gradient(90deg, #e8b64e, #f4d88f, #d6a23d);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  transition: transform .22s ease, color .22s ease, box-shadow .22s ease;
}

.achievement { padding: 18px 0 28px; }

.achievement-panel {
  min-height: 640px;
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(235px, .78fr) minmax(390px, 1.42fr) minmax(340px, 1.15fr);
  gap: 16px;
  overflow: hidden;
  position: relative;
  color: #fff;
  background:
    radial-gradient(circle at 18% 38%, rgba(186, 128, 34, .18), transparent 31%),
    linear-gradient(112deg, #17140f, #241b10 58%, #100f0d);
  border-radius: 22px;
  box-shadow: 0 28px 70px rgba(55, 35, 15, .22);
}

.achievement-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 208, 106, .05), transparent 45%);
  pointer-events: none;
}

.achievement-copy {
  padding: clamp(28px, 3vw, 48px) clamp(18px, 2vw, 32px);
  align-self: center;
  position: relative;
  z-index: 2;
}

.achievement-copy h2 {
  margin: 0 0 20px;
  color: #f4c65d;
  font-size: clamp(2.25rem, 3.15vw, 3.75rem);
  line-height: 1.06;
  text-wrap: balance;
}

.achievement-copy p {
  max-width: 390px;
  margin: 0 0 25px;
  color: #f6eee2;
  font-size: .95rem;
  line-height: 1.75;
}

.achievement-visual {
  min-width: 0;
  min-height: 608px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border-radius: 16px;
  background: #0b0907;
  box-shadow: inset 0 0 0 1px rgba(231, 185, 86, .15);
}

.achievement-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 16, 11, .48), transparent 23%, rgba(12, 11, 9, .08) 70%, rgba(16, 13, 9, .48));
}

.achievement-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 46%;
  filter: brightness(.86) saturate(.94);
}

.certificate {
  width: 118px;
  height: 118px;
  padding: 20px;
  position: absolute;
  right: 27px;
  top: 28px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #24201a;
  background: radial-gradient(circle at 36% 28%, #fffdf4 0, #f8edcf 62%, #ead093 100%);
  border: 3px solid #5d492f;
  border-radius: 50%;
  text-align: center;
  box-shadow:
    0 0 0 4px #d4ac52,
    inset 0 0 0 3px #d4ac52,
    inset 0 0 0 6px #6b4b24,
    0 9px 18px rgba(0, 0, 0, 0.4);
}

.certificate span { margin-bottom: 3px; color: #bc8627; font-size: 1.85rem; line-height: 1; }
.certificate strong { font-size: .61rem; letter-spacing: .05em; line-height: 1.2; }
.certificate small { margin-top: 2px; font-size: .48rem; letter-spacing: .08em; line-height: 1.2; }

.medal {
  width: 64px;
  height: 64px;
  position: absolute;
  right: 9px;
  bottom: 9px;
  z-index: 3;
  display: grid;
  place-items: center;
  color: #7c4d08;
  background: radial-gradient(circle, #ffd66e 0 43%, #b8750d 45% 53%, #f5c348 55%);
  border: 3px solid #f8df94;
  border-radius: 50%;
  box-shadow: 0 5px 10px #0008;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  position: relative;
  z-index: 1;
}

.stat {
  min-height: 0;
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(42, 31, 18, .72);
  border: 1px solid #a77526;
  border-radius: 13px;
  text-align: center;
}

.stat .stat-icon { display: block; min-height: 38px; color: #f4c65d; font-size: clamp(1.75rem, 2.2vw, 2.35rem); line-height: 1; filter: drop-shadow(0 4px 8px rgba(0,0,0,.28)); }
.stat .stat-label { display: block; color: #edbd54; font-size: .96rem; font-weight: 800; }
.stat strong { margin: 12px 0 0; color: #efc568; font-family: Georgia, serif; font-size: clamp(2.7rem, 3.7vw, 4.3rem); line-height: .92; }

.services {
  padding: 0 0 18px;
  position: relative;
}

.services-inner { position: relative; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.service-card {
  min-height: 112px;
  padding: 15px 13px;
  display: flex;
  align-items: center;
  gap: 13px;
  background: #fffdfa;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card i {
  width: 50px;
  flex: 0 0 50px;
  color: #b87818;
  font-size: 2.35rem;
  font-style: normal;
  filter: sepia(0.55) saturate(1.4);
  text-align: center;
}

.service-card h3 {
  margin: 0 0 4px;
  font-size: 0.88rem;
  line-height: 1.25;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
}

.videos { padding: 0 0 16px; }
.youtube-mark { color: #fff !important; background: var(--red); border-radius: 6px; padding: 2px 7px; font-size: 0.68rem !important; }

.video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.video-mascot-card { display: grid; place-items: center; height: 150px; overflow: hidden; border: 1px solid rgba(197,145,54,.18); border-radius: 9px; background: radial-gradient(circle at 50% 70%, rgba(205,151,54,.15), transparent 46%); }
.video-mascot-lottie { position: relative; width: 164px; height: 150px; filter: drop-shadow(0 7px 9px rgba(57,35,14,.22)); }
.video-mascot-lottie svg { position: relative; z-index: 2; display: block; width: 100% !important; height: 100% !important; }
.video-mascot-fallback { position: absolute; z-index: 1; inset: 2px 0 0; width: 100%; height: calc(100% - 4px); object-fit: contain; transition: opacity .2s ease; }
.video-mascot-lottie.is-ready .video-mascot-fallback { opacity: 0; }

.video-card {
  height: 150px;
  position: relative;
  overflow: hidden;
  border-radius: 9px;
  background: #2c241d;
  box-shadow: 0 6px 16px rgba(36, 25, 14, 0.12);
  cursor: pointer;
}

.video-thumb {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background-position: center;
  background-size: cover;
  transition: transform 0.25s ease;
}
.video-thumb > img, .video-thumb > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.video-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.homepage-empty { grid-column: 1 / -1; padding: 36px; border: 1px dashed var(--line); border-radius: 16px; color: var(--muted); text-align: center; background: #fffaf1; }

.video-card:hover .video-thumb { transform: scale(1.045); }
.video-farm .video-thumb { background-image: url("../images/hero-farm-v2.png"); }
.video-breeding .video-thumb,
.video-care .video-thumb { background-image: url("../images/chickens/ck001-1.jpg"); }
.video-breeding .video-thumb { background-position: center 45%; }
.video-care .video-thumb { background-position: center 68%; filter: sepia(0.18); }
.video-arena .video-thumb { background-image: linear-gradient(22deg, #24130eaa, #24130e22), url("../images/chickens/ck001-1.jpg"); background-position: center 30%; }

.video-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 34%, rgba(0, 0, 0, 0.72));
}

.play {
  width: 48px;
  height: 48px;
  padding-left: 3px;
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(18, 14, 10, 0.72);
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  font-size: 1rem;
}

.video-card h3 {
  margin: 0;
  position: absolute;
  inset: auto 14px 10px;
  z-index: 3;
  color: #fff;
  font-size: 0.84rem;
  text-align: center;
  text-shadow: 0 2px 5px #000;
}

.video-popup-open { overflow: hidden; }
.video-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  background: rgba(10, 7, 5, .88);
  backdrop-filter: blur(8px);
  transition: opacity .2s ease, visibility .2s ease;
}
.video-popup-overlay.open { visibility: visible; opacity: 1; }
.video-popup-modal {
  width: min(940px, 100%);
  padding: 18px;
  color: #fff4df;
  background: linear-gradient(145deg, #1d160f, #0c0907);
  border: 1px solid rgba(222, 175, 84, .72);
  border-radius: 20px;
  box-shadow: 0 32px 100px rgba(0, 0, 0, .68), inset 0 0 0 4px rgba(222, 175, 84, .08);
  transform: translateY(14px) scale(.98);
  transition: transform .2s ease;
}
.video-popup-overlay.open .video-popup-modal { transform: translateY(0) scale(1); }
.video-popup-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 2px 2px 14px; }
.video-popup-head span { color: #d7a33f; font: 700 .68rem Georgia, serif; letter-spacing: 1.6px; }
.video-popup-head h2 { margin: 3px 0 0; color: #fff2d3; font-size: clamp(1.2rem, 2.4vw, 1.8rem); line-height: 1.25; }
.video-popup-close { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(234, 196, 121, .6); border-radius: 50%; color: #fff4df; background: rgba(255,255,255,.07); font-size: 1.75rem; line-height: 1; cursor: pointer; }
.video-popup-close:hover { color: #2c1907; background: #efc568; }
.video-popup-player { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 13px; background: #000; }
.video-popup-player iframe, .video-popup-player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; background: #000; }
.video-popup-message { margin: 14px 0 0; padding: 14px; border-radius: 10px; color: #ebddc3; text-align: center; background: rgba(255,255,255,.06); }
.video-popup-message a { margin-left: 5px; color: #efc568; font-weight: 900; text-decoration: underline; }

.video-library-page { min-height: 100vh; background: #fffaf2; }
.video-library-hero { padding: 145px 0 80px; color: #fff8e9; background: radial-gradient(circle at 80% 25%, rgba(182,31,24,.32), transparent 28%), linear-gradient(120deg, #17100a, #3b1b0b 65%, #711619); }
.video-library-hero h1 { max-width: 760px; margin: 20px 0 12px; color: #fff7e4; font-size: clamp(2.7rem, 6vw, 5.4rem); line-height: .98; }
.video-library-hero h1 span { color: #efbd54; }
.video-library-hero p { max-width: 660px; color: #e2d2bc; font-size: 1.05rem; }
.video-library-count { display: inline-flex; align-items: center; gap: 12px; margin-top: 25px; padding: 12px 20px; border: 1px solid rgba(235,190,90,.45); border-radius: 14px; background: rgba(0,0,0,.18); }
.video-library-count strong { color: #f2c25e; font: 700 2rem Georgia, serif; }
.video-library-count span { color: #eadcc9; }
.video-library-content { padding: 55px 0 90px; }
.video-library-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.video-library-grid .video-card { height: 230px; border: 1px solid rgba(183,126,34,.22); }

@media (max-width: 900px) {
  .video-library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .video-library-hero { padding: 115px 0 60px; }
  .video-library-grid { grid-template-columns: 1fr; }
  .video-library-grid .video-card { height: 210px; }
}

footer {
  color: #e5d7c8;
  background:
    radial-gradient(circle at 82% 25%, rgba(168, 111, 30, 0.12), transparent 20%),
    #17130f;
  border-top: 1px solid #2f261d;
}

.footer-grid {
  padding: 28px 0 24px;
  display: grid;
  grid-template-columns: 1.35fr 1.2fr 0.65fr 1.05fr 0.9fr;
  gap: 25px;
  align-items: start;
}

footer .brand { align-items: center; }
footer .brand img { width: 48px; height: 58px; }
footer .brand img.brand-logo { width: 62px; height: 62px; border-radius: 16px; }
footer .brand strong { color: #e7b94f; font-size: 1rem; }
footer .brand small { color: #dab56a; font-size: 0.68rem; }

.footer-brand p {
  max-width: 280px;
  margin: 12px 0;
  color: #c8baae;
  font-size: 0.72rem;
}

.footer-socials { display: flex; gap: 9px; }
.footer-socials a {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #1b1611;
  background: #efe5d7;
  border-radius: 50%;
  font-size: 0.66rem;
  font-weight: 900;
}

footer h4 {
  margin: 0 0 10px;
  color: #dba83f;
  font-size: 0.93rem;
}

.footer-contact p,
.footer-contact a,
.footer-menu a {
  margin: 0 0 7px;
  display: block;
  color: #cbbdb0;
  font-size: 0.7rem;
}

.footer-contact span { color: #e0ad43; margin-right: 5px; }
.footer-contact a:hover,
.footer-menu a:hover { color: #efc564; }

.map-card {
  height: 102px;
  padding: 14px 12px 12px 60px;
  position: relative;
  display: flex;
  align-items: center;
  color: #a31217;
  background:
    linear-gradient(35deg, transparent 48%, #d7d0be 49% 51%, transparent 52%),
    linear-gradient(-26deg, transparent 47%, #d7d0be 48% 50%, transparent 51%),
    #eae7dc;
  border-radius: 12px;
  font-size: 0.66rem;
}

.map-pin {
  width: 26px;
  height: 26px;
  position: absolute;
  left: 30px;
  top: 37px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #bd1116;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.map-pin::first-letter { transform: rotate(45deg); }

.map-button {
  width: 86%;
  min-height: 36px;
  margin: -9px auto 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #4d3010;
  background: linear-gradient(180deg, #f1cd7e, #d69a34);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.footer-badge {
  min-height: 178px;
  padding-right: 82px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-left: 1px solid rgba(221, 181, 103, 0.14);
  text-align: center;
}

.footer-badge img {
  width: 88px;
  height: 110px;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px #0008);
}

.footer-badge img.official-farm-logo {
  width: 136px;
  height: 136px;
  padding: 5px;
  object-fit: contain;
  background: #020202;
  border: 1px solid rgba(226, 180, 79, 0.5);
  border-radius: 26px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42), inset 0 0 0 1px rgba(255, 226, 151, 0.08);
  filter: none;
}

.footer-badge strong,
.footer-badge span { color: #e6b649; line-height: 1.2; }
.footer-badge strong { font-size: 1rem; }
.footer-badge span { font-size: 0.86rem; }

.copyright {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(180deg, #a7090d, #87070a);
  font-size: 0.78rem;
}

.back-to-top {
  width: 48px;
  height: 48px;
  position: fixed;
  right: 20px;
  bottom: 16px;
  z-index: 20;
  display: grid;
  place-items: center;
  color: #fff;
  background: #bd1116;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(138, 7, 11, 0.3);
  font-size: 1.5rem;
}

.contact-balloon {
  position: fixed;
  z-index: 55;
  right: max(20px, calc(50vw - (var(--max) / 2) - 82px));
  bottom: 82px;
}

.contact-balloon-toggle {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  gap: 0;
  padding: 7px;
  color: #fff;
  background: linear-gradient(145deg, #c3171d, #84090e);
  border: 3px solid #f2cd7b;
  border-radius: 50% 50% 50% 18%;
  box-shadow: 0 14px 34px rgba(116, 7, 11, 0.34), 0 0 0 5px rgba(255,255,255,.72);
  cursor: pointer;
  transition: transform .22s ease, border-radius .22s ease;
}

.contact-balloon-toggle span { font-size: 1.25rem; line-height: 1; }
.contact-balloon-toggle b { font-size: .68rem; line-height: 1; }
.contact-balloon-toggle:hover { transform: translateY(-3px); }
.contact-balloon.open .contact-balloon-toggle { border-radius: 50%; transform: rotate(-6deg); }

.contact-balloon-menu {
  min-width: 190px;
  position: absolute;
  right: 0;
  bottom: 78px;
  display: grid;
  gap: 8px;
  padding: 10px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(14px) scale(.94);
  transform-origin: right bottom;
  background: rgba(255, 252, 245, .97);
  border: 1px solid #dfc28b;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(54, 31, 13, .23);
  transition: .22s ease;
}

.contact-balloon-menu::after { content: ""; position: absolute; right: 22px; bottom: -8px; width: 14px; height: 14px; background: #fffaf2; border-right: 1px solid #dfc28b; border-bottom: 1px solid #dfc28b; transform: rotate(45deg); }
.contact-balloon.open .contact-balloon-menu { visibility: visible; opacity: 1; transform: translateY(0) scale(1); }
.contact-channel { display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 10px; min-height: 45px; padding: 3px 10px 3px 3px; border-radius: 12px; color: #37271e; font-size: .76rem; font-weight: 800; transition: .18s ease; }
.contact-channel:hover { color: #8e0d12; background: #f7ecda; transform: translateX(3px); }
.contact-channel > span { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #876b4d; font-size: .78rem; font-weight: 900; }
.channel-phone > span { background: #bd8628; }
.channel-line > span { background: #06b84e; font-size: .55rem; }
.channel-facebook > span { background: #1877f2; font-size: 1.15rem; }
.channel-youtube > span { background: #e21a22; }
.channel-tiktok > span { background: #141414; font-size: 1.1rem; }
.channel-email > span { background: #8e311f; }

.promo-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  padding: 20px;
  display: grid;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  background: rgba(7, 6, 5, 0.76);
  backdrop-filter: blur(5px);
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.promo-overlay.open { visibility: visible; opacity: 1; }

.promo-modal {
  width: min(720px, 100%);
  padding: 24px 30px 20px;
  position: relative;
  overflow: hidden;
  color: #2b2018;
  background:
    radial-gradient(circle at 85% 26%, rgba(225, 190, 121, 0.18), transparent 31%),
    #fffaf0;
  border: 2px solid #c59035;
  border-radius: 25px;
  box-shadow: 0 28px 90px #0009, inset 0 0 0 4px #f5dca7;
}

.promo-close {
  width: 42px;
  height: 42px;
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: grid;
  place-items: center;
  color: #4a3419;
  background: #fff8e9;
  border: 1px solid #b98633;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
}

.promo-head { text-align: center; }
.promo-head-logo {
  display: block;
  width: 58px;
  height: 58px;
  margin: 0 auto 5px;
  object-fit: cover;
  border: 2px solid rgba(189, 133, 38, 0.68);
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(74, 45, 13, 0.2);
}
.promo-head > div { color: #7a5a2d; font-weight: 700; }
.promo-head h2 { margin: 2px 0 8px; font-size: clamp(2rem, 5vw, 3.15rem); line-height: 1.02; }
.promo-head p { max-width: 530px; margin: 0 auto 14px; color: #5f5148; font-size: 0.87rem; }

.promo-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  align-items: center;
  gap: 18px;
  width: min(100%, 650px);
  margin: 0 auto;
}

.promo-modal.video-only .promo-body {
  grid-template-columns: minmax(0, 650px);
  justify-content: center;
}

.promo-modal.image-only .promo-body {
  grid-template-columns: minmax(220px, 440px);
  justify-content: center;
}

.promo-modal.image-only .promo-mascot img {
  width: min(100%, 420px);
  max-height: min(52vh, 420px);
}

.promo-video {
  width: 100%;
  aspect-ratio: var(--promo-video-aspect, 16 / 9);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-image: linear-gradient(transparent, #0007), url("../images/hero-farm-v2.png");
  background-size: cover;
  background-position: center;
  border: 3px solid #c18a31;
  border-radius: 16px;
  cursor: pointer;
}

.promo-video video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #160d08;
}

.promo-modal.has-portrait-video .promo-body {
  grid-template-columns: minmax(220px, 250px) 180px;
  justify-content: center;
}

.promo-video-play {
  width: 62px;
  height: 62px;
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 0 0 0 5px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(34, 22, 16, 0.38);
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
  font-size: 1.4rem;
  opacity: 0.66;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.promo-video-play:hover {
  opacity: 0.88;
  transform: translate(-50%, -50%) scale(1.05);
}
.promo-video.is-playing .promo-video-play { opacity: 0; pointer-events: none; }

.promo-sound-toggle {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  color: #fff;
  background: rgba(20, 13, 9, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  font: inherit;
  font-size: 0.7rem;
  font-weight: 800;
  cursor: pointer;
  backdrop-filter: blur(5px);
  transition: background 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.promo-sound-toggle:hover {
  background: rgba(153, 15, 19, 0.72);
  transform: translateY(-1px);
}

.promo-sound-toggle:not(.is-muted) { opacity: 0.58; }
.promo-sound-toggle:not(.is-muted):hover { opacity: 1; }

.promo-label {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  padding: 6px 13px;
  color: #fff;
  background: var(--red);
  border-radius: 0 0 11px 0;
  font-size: 0.76rem;
  font-weight: 800;
}

.promo-mascot img {
  width: 190px;
  max-height: 235px;
  object-fit: contain;
  filter: drop-shadow(0 12px 12px rgba(56, 34, 13, 0.25));
}

.promo-mascot { display: grid; place-items: center; }

.promo-actions {
  display: none;
}

.promo-check { margin-top: 14px; display: block; color: #66584e; font-size: 0.76rem; text-align: center; }

:focus-visible { outline: 3px solid rgba(202, 145, 47, 0.6); outline-offset: 3px; }

/* Homepage motion: scroll reveal, fade and pointer interaction */
.home-motion-enabled .motion-reveal {
  opacity: 0;
  translate: 0 30px;
  scale: .985;
  transition:
    opacity .72s cubic-bezier(.2, .72, .22, 1),
    translate .72s cubic-bezier(.2, .72, .22, 1),
    scale .72s cubic-bezier(.2, .72, .22, 1);
  transition-delay: 0ms;
  will-change: opacity, translate, scale;
}

.home-motion-enabled .motion-reveal-left { translate: -42px 0; scale: 1; }
.home-motion-enabled .motion-reveal-right { translate: 42px 0; scale: 1; }
.home-motion-enabled .motion-reveal-scale { translate: 0 18px; scale: .92; }
.home-motion-enabled .motion-reveal.is-revealed {
  opacity: 1;
  translate: 0 0;
  scale: 1;
  transition-delay: var(--motion-delay, 0ms);
  will-change: auto;
}

.motion-pointer {
  --pointer-x: 0px;
  --pointer-y: 0px;
  --pointer-x-inverse: 0px;
  --pointer-y-inverse: 0px;
  --pointer-rotate: 0deg;
  --pointer-rotate-inverse: 0deg;
}

.hero-art > img,
.hero-art .seal,
.achievement-visual > img,
.achievement-visual .certificate,
.achievement-visual .medal {
  transition: transform .42s cubic-bezier(.2, .72, .22, 1), filter .35s ease, box-shadow .35s ease;
}

.hero-art.is-pointer-active > img {
  transform: translate3d(var(--pointer-x), var(--pointer-y), 0) rotate(var(--pointer-rotate)) scale(1.018);
  filter: drop-shadow(0 28px 24px rgba(30, 18, 8, .42));
}

.hero-art.is-pointer-active .seal {
  transform: translate3d(var(--pointer-x-inverse), var(--pointer-y-inverse), 0) rotate(var(--pointer-rotate-inverse)) scale(1.035);
}

.achievement-visual.is-pointer-active > img {
  transform: translate3d(var(--pointer-x), var(--pointer-y), 0) scale(1.035);
  filter: brightness(.92) saturate(1.02);
}

.achievement-visual.is-pointer-active .certificate,
.achievement-visual.is-pointer-active .medal {
  transform: translate3d(var(--pointer-x-inverse), var(--pointer-y-inverse), 0) scale(1.04);
}

@media (hover: hover) and (pointer: fine) {
  .trust-item,
  .service-card,
  .stat,
  .video-mascot-card {
    position: relative;
    transition: transform .28s cubic-bezier(.2, .72, .22, 1), border-color .28s ease, background-color .28s ease, box-shadow .28s ease;
  }

  .trust-item:hover {
    z-index: 2;
    transform: translateY(-5px);
    background: #fffaf0;
    box-shadow: 0 15px 28px rgba(77, 47, 15, .12);
  }

  .trust-item:hover .trust-icon,
  .service-card:hover i {
    transform: translateY(-3px) scale(1.1) rotate(-4deg);
    filter: drop-shadow(0 7px 8px rgba(172, 111, 23, .23));
  }

  .trust-icon,
  .service-card i {
    transition: transform .28s cubic-bezier(.2, .72, .22, 1), filter .28s ease;
  }

  .chicken-card img { transition: transform .4s cubic-bezier(.2, .72, .22, 1), filter .28s ease; }
  .chicken-card:hover img { transform: scale(1.045); }
  .chicken-card:hover .tag { box-shadow: 0 7px 15px rgba(151, 13, 18, .28); }

  .service-card:hover {
    z-index: 2;
    transform: translateY(-7px);
    border-color: rgba(195, 137, 42, .48);
    background: #fffaf0;
    box-shadow: 0 17px 32px rgba(74, 45, 14, .13);
  }

  .stat:hover {
    transform: translateY(-6px) scale(1.018);
    border-color: #e4af49;
    background: rgba(62, 44, 22, .92);
    box-shadow: 0 17px 30px rgba(0, 0, 0, .23);
  }

  .stat:hover .stat-icon { transform: translateY(-4px) scale(1.1); }
  .stat .stat-icon { transition: transform .28s cubic-bezier(.2, .72, .22, 1); }

  .video-card { transition: transform .28s cubic-bezier(.2, .72, .22, 1), box-shadow .28s ease; }
  .video-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 34px rgba(36, 25, 14, .24);
  }

  .video-card:hover .play { transform: scale(1.1); background: rgba(157, 13, 18, .92); }
  .video-card .play { transition: transform .28s cubic-bezier(.2, .72, .22, 1), background-color .28s ease; }

  .video-mascot-card:hover {
    transform: translateY(-6px);
    border-color: rgba(197, 145, 54, .46);
    box-shadow: 0 16px 28px rgba(57, 35, 14, .13);
  }

  .video-mascot-card:hover .video-mascot-lottie { transform: scale(1.055); }
  .video-mascot-lottie { transition: transform .3s cubic-bezier(.2, .72, .22, 1); }

  .section-link span,
  .pill {
    transition: transform .22s ease, color .22s ease, background-color .22s ease, border-color .22s ease;
  }

  .section-link:hover span { display: inline-block; transform: translateX(5px); }
  .pill:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(151, 13, 18, .2); }
}

@media (max-width: 1220px) {
  .nav-links { gap: 12px; }
  .nav-links > a:not(.btn):not(.social-link) { font-size: 0.76rem; }
  .brand strong { font-size: 1.08rem; }
}

@media (max-width: 1280px) {
  .site-header { position: fixed; }
  .menu { display: block; }
  .nav-links {
    position: fixed;
    inset: 82px 0 auto;
    max-height: calc(100vh - 82px);
    padding: 18px 20px 28px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    overflow: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-14px);
    background: rgba(255, 253, 249, 0.99);
    box-shadow: 0 20px 35px rgba(37, 24, 12, 0.18);
    transition: 0.2s ease;
  }
  .nav-links.open { visibility: visible; opacity: 1; transform: translateY(0); }
  .nav-links > a:not(.btn):not(.social-link) { justify-content: center; font-size: 0.92rem; }
  .social-link { display: none; }
  .nav-cta { margin-top: 8px; }
  .hero { padding-top: 82px; }
  .chicken-card { flex-basis: calc((100% - 30px) / 3); max-width: 300px; }
  .chicken-card img { height: 320px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .achievement-panel { min-height: 0; grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr); }
  .achievement-visual { min-height: 560px; }
  .stats { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); }
  .stat { min-height: 150px; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .service-card:last-child { padding-right: 13px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 0.7fr; }
  .footer-map, .footer-badge { grid-column: span 1; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav { min-height: 72px; }
  .brand img { width: 44px; height: 52px; }
  .brand img.brand-logo { width: 50px; height: 50px; padding: 3px; border-radius: 13px; }
  footer .brand img.brand-logo { width: 56px; height: 56px; }
  .brand strong { font-size: 0.92rem; }
  .brand small { font-size: 0.62rem; }
  .nav-links { inset: 72px 0 auto; max-height: calc(100vh - 72px); }
  .hero { min-height: auto; padding-top: 72px; background-position: center, 61% center; }
  .hero-grid { min-height: 650px; grid-template-columns: 1fr; align-content: start; }
  .hero-copy { padding: 52px 0 10px; text-align: center; }
  .eyebrow { font-size: 0.72rem; }
  .hero h1 { margin-top: 13px; font-size: clamp(3rem, 14vw, 4.4rem); }
  .hero-copy > p { margin-inline: auto; font-size: 0.94rem; }
  .hero-actions { justify-content: center; }
  .hero-art { min-height: 310px; }
  .hero-art > img { width: 250px; max-height: 325px; }
  .seal { width: 96px; right: 3%; top: 14px; padding: 12px; }
  .seal span { font-size: 1.2rem; }
  .trust { margin-top: -22px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { min-height: 82px; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .section-title { align-items: center; }
  .compact-title h2 { font-size: 1.25rem; }
  .chicken-title-actions { gap: 8px; }
  .chicken-carousel-controls span { min-width: 54px; }
  .cards { gap: 10px; }
  .chicken-card { flex-basis: calc((100% - 10px) / 2); max-width: none; }
  .chicken-card img { height: 250px; }
  .achievement-panel { padding: 10px; grid-template-columns: 1fr; }
  .achievement-copy { padding: 20px 14px; text-align: center; }
  .achievement-copy p { margin-inline: auto; }
  .achievement-visual { min-height: 560px; }
  .stats { grid-column: auto; grid-template-columns: repeat(2, 1fr); }
  .service-grid, .video-grid { grid-template-columns: 1fr; }
  .video-mascot-card { height: 135px; }
  .video-mascot-lottie { width: 148px; height: 135px; }
  .service-card { min-height: 96px; }
  .video-card { height: 190px; }
  .video-popup-overlay { padding: 12px; }
  .video-popup-modal { padding: 12px; border-radius: 15px; }
  .video-popup-head { padding-bottom: 10px; }
  .video-popup-close { flex-basis: 38px; width: 38px; height: 38px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-badge { padding-top: 18px; padding-right: 0; border-left: 0; border-top: 1px solid rgba(221, 181, 103, 0.14); }
  .footer-brand p { max-width: none; }
  .promo-modal { padding: 22px 17px 18px; }
  .promo-body { grid-template-columns: 1fr; }
  .promo-modal.has-portrait-video .promo-body { grid-template-columns: 1fr; max-width: 240px; }
  .promo-modal.media-both .promo-mascot { display: none; }
  .promo-modal.image-only .promo-mascot { display: grid; }
  .promo-video { height: auto; }
  .contact-balloon { right: 13px; bottom: 78px; }
  .contact-balloon-toggle { width: 58px; height: 58px; }
  .contact-balloon-menu { right: 0; left: auto; bottom: 69px; min-width: 175px; transform-origin: right bottom; }
  .contact-balloon-menu::after { right: 22px; left: auto; }
}

@media (max-width: 430px) {
  .brand strong { max-width: 190px; white-space: normal; }
  .brand small { display: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .chicken-card { flex-basis: 100%; max-width: 360px; }
  .chicken-card img { height: 400px; }
  .chickens-section .section-title { align-items: flex-start; }
  .chicken-title-actions { flex-direction: column-reverse; align-items: flex-end; gap: 7px; }
  .section-link { font-size: 0.72rem; }
  .stats { gap: 6px; }
  .achievement-visual { min-height: 470px; }
  .certificate { width: 88px; height: 88px; padding: 14px; right: 18px; top: 19px; }
  .certificate span { font-size: 1.4rem; }
  .certificate strong { font-size: .49rem; }
  .certificate small { font-size: .39rem; }
  .stat strong { font-size: 2rem; }
  .copyright { padding: 12px 62px 12px 16px; text-align: center; }
}

.chicken-catalog-page { color: #281c15; background: #fffaf1; }
.catalog-hero { position: relative; min-height: 630px; padding: 126px 0 54px; overflow: hidden; color: #fff8e8; background: radial-gradient(circle at 72% 42%, rgba(201,145,47,.25), transparent 27%), linear-gradient(125deg, #120d09 0%, #25190c 56%, #721012 130%); }
.catalog-hero::before { content: ""; position: absolute; inset: 0; opacity: .13; background: url('../images/hero-farm-v2.png') center / cover no-repeat; mix-blend-mode: luminosity; }
.catalog-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 160px; background: linear-gradient(transparent, rgba(255,250,241,.08)); }
.catalog-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .98fr) minmax(380px, .82fr); align-items: center; min-height: 450px; gap: clamp(36px, 7vw, 110px); }
.catalog-breadcrumb { display: flex; align-items: center; gap: 9px; margin-bottom: 35px; color: #cebfae; font-size: .76rem; }
.catalog-breadcrumb a { color: #f2c766; font-weight: 800; }
.catalog-eyebrow { display: inline-flex; padding: 7px 13px; border: 1px solid rgba(239,193,89,.43); border-radius: 999px; color: #e9bd58; font: 800 .65rem Georgia, serif; letter-spacing: 2px; }
.catalog-hero h1 { max-width: 760px; margin: 18px 0 20px; color: #fff8e8; font-size: clamp(3.25rem, 5vw, 5.1rem); line-height: .98; letter-spacing: -1.5px; text-wrap: balance; }
.catalog-hero h1 span { display: inline-block; color: #efbd56; }
.catalog-hero-copy > p { max-width: 650px; margin: 0; color: #d7c8b4; font-size: 1rem; line-height: 1.85; }
.catalog-hero-stats { display: flex; gap: 12px; margin-top: 31px; }
.catalog-hero-stats > div { min-width: 150px; padding: 14px 18px; border: 1px solid rgba(224,171,69,.28); border-radius: 15px; background: rgba(255,255,255,.055); backdrop-filter: blur(8px); }
.catalog-hero-stats strong, .catalog-hero-stats span { display: block; }
.catalog-hero-stats strong { color: #efbd56; font: 800 1.65rem Georgia, serif; line-height: 1; }
.catalog-hero-stats span { margin-top: 5px; color: #cfc1ae; font-size: .69rem; }
.catalog-hero-art { position: relative; align-self: end; height: 485px; }
.catalog-hero-art > img { position: absolute; z-index: 2; right: 4%; bottom: -50px; width: min(390px, 85%); height: 535px; object-fit: contain; object-position: bottom; filter: drop-shadow(0 28px 35px rgba(0,0,0,.58)); }
.catalog-orbit { position: absolute; z-index: 1; border: 1px solid rgba(226,175,68,.25); border-radius: 50%; }
.orbit-one { width: 380px; height: 380px; right: 3%; bottom: 5%; }
.orbit-two { width: 290px; height: 290px; right: 14%; bottom: 15%; border-color: rgba(226,175,68,.17); }
.catalog-seal { position: absolute; z-index: 3; top: 12%; right: 0; display: grid; place-items: center; width: 100px; height: 100px; border: 2px solid #c68a23; border-radius: 50%; color: #37210b; background: radial-gradient(circle, #fff9e9 57%, #e8c66f 58% 65%, #986316 66% 69%, #fff7e5 70%); box-shadow: 0 13px 28px rgba(0,0,0,.28); }
.catalog-seal span { color: #b87517; font-size: 1.25rem; line-height: 1; }
.catalog-seal strong { margin-top: -6px; font: 800 .57rem Georgia, serif; }
.catalog-seal small { margin-top: -11px; font: .43rem Georgia, serif; letter-spacing: 1px; }
.catalog-main { padding: 0 0 86px; }
.catalog-filter { position: relative; z-index: 4; display: grid; grid-template-columns: minmax(260px, 1.7fr) minmax(180px, .8fr) minmax(180px, .72fr) auto; align-items: end; gap: 12px; margin-top: -31px; padding: 20px; border: 1px solid rgba(190,132,42,.27); border-radius: 22px; background: rgba(255,253,248,.96); box-shadow: 0 20px 50px rgba(80,47,17,.14); backdrop-filter: blur(14px); }
.catalog-filter label > span { display: block; margin: 0 0 7px 3px; color: #705b49; font-size: .68rem; font-weight: 800; }
.catalog-filter input, .catalog-filter select { width: 100%; height: 48px; border: 1px solid #e4d0ae; border-radius: 13px; outline: none; color: #2b2018; background: #fffdf8; font: inherit; font-size: .82rem; }
.catalog-filter input { padding: 0 14px 0 43px; }
.catalog-filter select { padding: 0 38px 0 13px; cursor: pointer; }
.catalog-filter input:focus, .catalog-filter select:focus { border-color: #b67b1d; box-shadow: 0 0 0 3px rgba(193,136,39,.12); }
.catalog-search-field > div { position: relative; }
.catalog-search-field i { position: absolute; z-index: 1; top: 50%; left: 15px; translate: 0 -50%; color: #a26e21; font-style: normal; font-size: 1.35rem; }
.catalog-filter-submit { min-width: 112px; min-height: 48px; border: 0; cursor: pointer; }
.catalog-filter-reset { position: absolute; top: calc(100% + 8px); right: 4px; color: #921017; font-size: .7rem; font-weight: 800; }
.catalog-result-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 70px 0 24px; padding-bottom: 17px; border-bottom: 1px solid #e7d6b9; }
.catalog-result-head span { color: #a56e1b; font: 800 .63rem Georgia, serif; letter-spacing: 2px; }
.catalog-result-head h2 { margin: 3px 0 0; font-size: clamp(1.8rem, 3vw, 2.65rem); }
.catalog-result-head p { margin: 0; color: #786959; font-size: .78rem; }
.catalog-result-head p strong { color: #941016; font-size: 1.15rem; }
.catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.catalog-card { min-width: 0; overflow: hidden; border: 1px solid #e4cfaa; border-radius: 20px; background: #fffdf9; box-shadow: 0 8px 24px rgba(73,44,14,.07); transition: translate .24s ease, box-shadow .24s ease, border-color .24s ease; }
.catalog-card:hover { translate: 0 -7px; border-color: #c99843; box-shadow: 0 24px 48px rgba(73,44,14,.16); }
.catalog-card-image { position: relative; display: block; aspect-ratio: 4 / 4.6; overflow: hidden; background: #e9dfd1; }
.catalog-card-image::after { content: ""; position: absolute; inset: 42% 0 0; background: linear-gradient(transparent, rgba(18,11,7,.48)); }
.catalog-card-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transition: scale .5s ease; }
.catalog-card:hover .catalog-card-image img { scale: 1.035; }
.catalog-card-image > span { position: absolute; z-index: 1; left: 14px; bottom: 13px; max-width: calc(100% - 28px); overflow: hidden; padding: 6px 10px; border: 1px solid rgba(255,219,145,.4); border-radius: 999px; color: #fff3d4; background: rgba(116,10,14,.84); font: 800 .58rem Georgia, serif; letter-spacing: 1px; text-overflow: ellipsis; white-space: nowrap; }
.catalog-card-body { padding: 19px 18px 18px; }
.catalog-card-title { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.catalog-card-title small { color: #a46d1b; font: 800 .55rem Georgia, serif; letter-spacing: 1.3px; }
.catalog-card-title h3 { margin: 3px 0 0; overflow-wrap: anywhere; font-size: 1.25rem; line-height: 1.25; }
.catalog-card-title > span { display: grid; place-items: center; flex: 0 0 auto; width: 32px; height: 32px; border: 1px solid #dcc399; border-radius: 50%; color: #8f0d12; }
.catalog-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.catalog-tags span { padding: 5px 9px; border-radius: 999px; color: #795114; background: #f4e2b9; font-size: .61rem; font-weight: 800; }
.catalog-card-summary { display: -webkit-box; min-height: 42px; margin: 13px 0 0; overflow: hidden; color: #786b5e; font-size: .7rem; line-height: 1.55; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.catalog-lineage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin: 15px 0 0; }
.catalog-lineage div { min-width: 0; padding: 9px 10px; border: 1px solid #eee0c8; border-radius: 10px; background: #fffaf0; }
.catalog-lineage dt { color: #a17e53; font-size: .55rem; }
.catalog-lineage dd { margin: 2px 0 0; overflow: hidden; color: #3f2f23; font-size: .68rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.catalog-profile-link { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 13px; border-top: 1px solid #eadcc4; color: #941016; font-size: .72rem; font-weight: 900; }
.catalog-profile-link span { font-size: 1rem; transition: translate .2s ease; }
.catalog-profile-link:hover span { translate: 5px 0; }
.catalog-empty { display: grid; justify-items: center; max-width: 650px; margin: 25px auto 0; padding: 52px 30px; border: 1px dashed #d8b774; border-radius: 24px; text-align: center; background: rgba(255,255,255,.7); }
.catalog-empty img { width: 110px; height: 110px; object-fit: contain; border-radius: 50%; background: #090909; }
.catalog-empty > span { margin-top: 18px; color: #a46d1c; font: 800 .62rem Georgia, serif; letter-spacing: 2px; }
.catalog-empty h3 { margin: 6px 0; font-size: 1.55rem; }
.catalog-empty p { max-width: 470px; margin: 0 0 21px; color: #766858; font-size: .8rem; }
.catalog-contact { padding: 0 0 76px; }
.catalog-contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: clamp(30px, 5vw, 58px); border: 1px solid rgba(207,151,47,.38); border-radius: 28px; color: #fff4da; background: radial-gradient(circle at 82% 22%, rgba(200,145,44,.23), transparent 30%), #1b130c; box-shadow: 0 25px 60px rgba(58,33,10,.18); }
.catalog-contact-inner > div:first-child { max-width: 720px; }
.catalog-contact-inner > div:first-child > span { color: #e9b84f; font: 800 .65rem Georgia, serif; letter-spacing: 2px; }
.catalog-contact h2 { margin: 6px 0; color: #f3c35d; font-size: clamp(1.8rem, 3.4vw, 3.25rem); line-height: 1.16; }
.catalog-contact p { margin: 0; color: #c9baa8; font-size: .8rem; }
.catalog-contact-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }

@media (max-width: 1100px) {
  .catalog-hero { padding-top: 112px; }
  .catalog-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(290px, .62fr); }
  .catalog-hero-art { height: 420px; }
  .catalog-hero-art > img { height: 455px; right: -3%; }
  .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .catalog-hero { min-height: 0; padding: 104px 0 52px; }
  .catalog-hero-grid { grid-template-columns: 1fr; }
  .catalog-hero-copy { text-align: center; }
  .catalog-breadcrumb, .catalog-hero-stats { justify-content: center; }
  .catalog-hero-copy > p { margin-inline: auto; }
  .catalog-hero-art { display: none; }
  .catalog-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: -24px; }
  .catalog-search-field { grid-column: 1 / -1; }
  .catalog-filter-submit { width: 100%; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-contact-inner { align-items: flex-start; flex-direction: column; }
  .catalog-contact-actions { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .catalog-hero { padding-top: 94px; }
  .catalog-breadcrumb { margin-bottom: 24px; }
  .catalog-hero h1 { font-size: clamp(2.35rem, 11.5vw, 3.5rem); line-height: 1; letter-spacing: -1px; }
  .catalog-hero-copy > p { font-size: .87rem; }
  .catalog-hero-stats { gap: 7px; }
  .catalog-hero-stats > div { min-width: 0; flex: 1; padding: 12px 9px; }
  .catalog-filter { grid-template-columns: 1fr; padding: 15px; border-radius: 17px; }
  .catalog-search-field { grid-column: auto; }
  .catalog-result-head { align-items: flex-start; flex-direction: column; gap: 8px; margin-top: 63px; }
  .catalog-grid { grid-template-columns: 1fr; }
  .catalog-card { width: min(100%, 410px); margin-inline: auto; }
  .catalog-card-image { aspect-ratio: 4 / 4.5; }
  .catalog-contact-inner { padding: 28px 22px; border-radius: 20px; }
  .catalog-contact-actions, .catalog-contact-actions .btn { width: 100%; }
}

.chicken-profile-page { color: #281c15; background: #fffaf1; }
.profile-hero { position: relative; overflow: hidden; padding: 128px 0 76px; background: radial-gradient(circle at 78% 24%, rgba(210,153,52,.19), transparent 28%), linear-gradient(135deg, #fffdf7 0%, #f4e6ce 100%); }
.profile-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(255,255,255,.75), transparent 48%), url('../images/hero-farm-v2.png') right center / 58% 100% no-repeat; opacity: .12; }
.profile-hero .container { position: relative; z-index: 1; }
.profile-breadcrumb { display: flex; align-items: center; gap: 9px; margin-bottom: 24px; color: #8b725c; font-size: .78rem; }
.profile-breadcrumb a { color: #9d0d12; font-weight: 800; }
.profile-breadcrumb b { max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-hero-grid { display: grid; grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr); align-items: center; gap: clamp(36px, 7vw, 92px); }
.profile-main-image { position: relative; max-width: 500px; aspect-ratio: 4 / 5; padding: 12px; border: 1px solid rgba(165,112,26,.34); border-radius: 32px 32px 90px 32px; background: rgba(255,255,255,.74); box-shadow: 0 30px 70px rgba(84,50,18,.22); cursor: zoom-in; }
.profile-main-image::after { content: ""; position: absolute; inset: auto -18px -18px auto; width: 110px; height: 110px; border: 1px solid rgba(196,137,38,.42); border-radius: 50%; }
.profile-main-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; border-radius: 23px 23px 78px 23px; }
.profile-main-image > span { position: absolute; left: 29px; bottom: 28px; padding: 8px 14px; border-radius: 18px; color: #fff4d8; background: rgba(128,8,12,.88); font: 800 .68rem Georgia, serif; letter-spacing: 1.5px; }
.profile-copy .eyebrow { display: inline-flex; }
.profile-code { margin: 19px 0 3px; color: #a66f1c; font: 800 .78rem Georgia, serif; letter-spacing: 1.6px; }
.profile-copy h1 { margin: 0; color: #1d1510; font-size: clamp(3rem, 5.7vw, 5.8rem); line-height: .96; letter-spacing: -2px; }
.profile-copy h1 small { display: block; margin-top: 13px; color: #9d0d12; font-size: .46em; letter-spacing: -.5px; }
.profile-breed { margin: 20px 0 25px; color: #7f5c31; font-size: 1.12rem; font-weight: 800; }
.profile-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.profile-facts div { min-height: 86px; padding: 16px 18px; border: 1px solid rgba(167,119,39,.2); border-radius: 16px; background: rgba(255,255,255,.73); box-shadow: 0 12px 24px rgba(90,54,21,.07); }
.profile-facts span { display: block; color: #9a7a59; font-size: .72rem; }
.profile-facts strong { display: block; margin-top: 5px; color: #37271b; font-size: 1rem; }
.profile-description { margin-top: 22px; padding-left: 18px; border-left: 3px solid #bf8a2a; }
.profile-description h2 { margin: 0 0 5px; font-size: 1rem; }
.profile-description p { margin: 0; color: #665344; line-height: 1.75; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
.profile-actions .btn-certificate { display: inline-flex; align-items: center; gap: 9px; border-color: #9c6a16; color: #fff7e4; background: linear-gradient(135deg, #8e0c11, #bd171c); box-shadow: 0 12px 26px rgba(145,10,15,.2); cursor: pointer; }
.profile-actions .btn-certificate span { font-size: 1.05rem; }
.profile-actions .btn-certificate:hover { color: #fff; background: linear-gradient(135deg, #a10c12, #d1262b); transform: translateY(-2px); }
.profile-section { padding: 78px 0; }
.profile-section-heading { max-width: 620px; margin-bottom: 28px; }
.profile-section-heading > span { color: #ad761f; font: 800 .73rem Georgia, serif; letter-spacing: 1.5px; }
.profile-section-heading h2 { margin: 5px 0 7px; font-size: clamp(2rem, 3vw, 3.2rem); }
.profile-section-heading p { margin: 0; color: #806d5e; line-height: 1.7; }
.profile-gallery-section { background: #fffdf8; }
.profile-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.profile-gallery a { position: relative; overflow: hidden; min-height: 260px; border-radius: 22px; background: #261b15; box-shadow: 0 14px 32px rgba(65,40,19,.13); }
.profile-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.profile-gallery span { position: absolute; right: 13px; bottom: 13px; padding: 7px 11px; border-radius: 18px; color: #fff; background: rgba(122,8,11,.82); font-size: .7rem; font-weight: 800; opacity: 0; transform: translateY(6px); transition: .25s ease; }
.profile-gallery a:hover img { transform: scale(1.04); }
.profile-gallery a:hover span { opacity: 1; transform: translateY(0); }
.profile-video-section { color: #fff6e4; background: radial-gradient(circle at 15% 30%, rgba(190,126,28,.2), transparent 34%), #15110d; }
.profile-video-grid { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: clamp(30px, 6vw, 80px); }
.profile-video-section .profile-section-heading { margin: 0; }
.profile-video-section .profile-section-heading h2 { color: #f0c15d; }
.profile-video-section .profile-section-heading p { color: #c6b8a6; }
.profile-video-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid rgba(232,184,82,.35); border-radius: 24px; background: #050505; box-shadow: 0 25px 60px rgba(0,0,0,.42); }
.profile-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.profile-certificate-modal { position: fixed; z-index: 1300; inset: 0; display: grid; place-items: center; padding: 22px; opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility .22s ease; }
.profile-certificate-modal.is-open { opacity: 1; visibility: visible; }
.profile-certificate-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(17,10,5,.88); backdrop-filter: blur(12px); cursor: zoom-out; }
.profile-certificate-dialog { position: relative; z-index: 1; width: min(1180px, 96vw); max-height: calc(100vh - 44px); overflow: auto; border-radius: 22px; box-shadow: 0 38px 120px rgba(0,0,0,.72); transform: translateY(18px) scale(.985); transition: transform .24s ease; scrollbar-color: #b98935 #271a10; }
.profile-certificate-modal.is-open .profile-certificate-dialog { transform: translateY(0) scale(1); }
.profile-certificate-close { position: sticky; z-index: 5; top: 12px; float: right; display: grid; place-items: center; width: 46px; height: 46px; margin: 12px 12px -58px 0; border: 1px solid rgba(101,59,13,.28); border-radius: 50%; color: #fff7e4; background: #861015; box-shadow: 0 8px 22px rgba(70,6,9,.25); cursor: pointer; font-size: 1.8rem; line-height: 1; }
.profile-certificate-close:hover { background: #b0161b; transform: rotate(5deg); }
.profile-certificate-document { padding: 14px; color: #332316; background: linear-gradient(145deg, #c8953e, #7a4c0e 36%, #dcb85e 62%, #6c400b); }
.profile-certificate-inner { position: relative; min-height: 720px; padding: clamp(30px, 4vw, 58px); border: 2px solid #a77424; outline: 1px solid rgba(167,116,35,.55); outline-offset: -10px; background: radial-gradient(circle at 50% 40%, rgba(209,169,82,.11), transparent 26rem), linear-gradient(135deg, rgba(255,255,255,.96), rgba(250,243,225,.96)), #f7efdd; }
.profile-certificate-inner::before, .profile-certificate-inner::after { content: "◆"; position: absolute; color: #b98225; font-size: 1.1rem; }
.profile-certificate-inner::before { top: 17px; left: 20px; }
.profile-certificate-inner::after { right: 20px; bottom: 17px; }
.profile-certificate-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid rgba(160,108,28,.45); }
.profile-certificate-head > img { width: 104px; height: 104px; padding: 4px; border: 2px solid #c69642; border-radius: 22px; object-fit: contain; background: #050505; box-shadow: 0 8px 22px rgba(87,54,15,.16); }
.profile-certificate-head span { color: #9a6416; font: 800 .7rem Georgia, serif; letter-spacing: 2.3px; }
.profile-certificate-head h2 { margin: 3px 0 1px; color: #281b13; font-size: clamp(1.5rem, 2.3vw, 2.25rem); }
.profile-certificate-head p { margin: 0; color: #7d6955; font-size: .78rem; }
.profile-certificate-seal { display: grid; place-items: center; width: 102px; height: 102px; border: 2px solid #b27d25; border-radius: 50%; background: radial-gradient(circle, #fff9e9 58%, #e7c36a 59% 65%, #9d681a 66% 69%, #fff8e8 70%); }
.profile-certificate-seal b { color: #b47918; font-size: 1.45rem; line-height: 1; }
.profile-certificate-seal strong { margin-top: 2px; font: 800 .62rem Georgia, serif; }
.profile-certificate-seal small { margin-top: -4px; font: .45rem Georgia, serif; letter-spacing: .5px; }
.profile-certificate-title { display: grid; justify-items: center; padding: 25px 0 20px; text-align: center; }
.profile-certificate-title > p { margin: 0; color: #a36e1c; font: 800 .72rem Georgia, serif; letter-spacing: 3px; }
.profile-certificate-title h2 { margin: 5px 0 1px; color: #781015; font-size: clamp(2rem, 3.6vw, 3.35rem); }
.profile-certificate-title > strong { font: 700 1rem Georgia, "Times New Roman", serif; letter-spacing: 1px; }
.profile-certificate-demo { margin-bottom: 11px; padding: 5px 12px; border: 1px solid rgba(141,91,18,.3); border-radius: 20px; color: #865512 !important; background: rgba(205,163,77,.14); font-family: inherit !important; letter-spacing: .4px !important; }
.profile-certificate-content { display: grid; grid-template-columns: minmax(220px, .68fr) minmax(0, 1.32fr); gap: clamp(26px, 4vw, 54px); align-items: center; }
.profile-certificate-content figure { margin: 0; padding: 9px; border: 1px solid rgba(166,111,28,.42); background: rgba(255,255,255,.55); box-shadow: 0 16px 36px rgba(71,43,13,.13); }
.profile-certificate-content figure img { width: 100%; height: 300px; object-fit: contain; object-position: center; background: #f3ead6; }
.profile-certificate-content figcaption { padding: 7px 4px 1px; color: #8b704e; font-size: .65rem; text-align: center; }
.profile-certificate-copy > span { display: block; color: #8b735d; font-size: .76rem; text-align: center; }
.profile-certificate-copy h3 { margin: 5px 0 17px; padding-bottom: 13px; border-bottom: 1px solid rgba(167,111,25,.44); color: #795015; font: 800 clamp(1.75rem, 3vw, 2.7rem) Georgia, "Noto Serif Thai", serif; text-align: center; }
.profile-certificate-copy dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-top: 1px solid rgba(169,118,40,.28); border-left: 1px solid rgba(169,118,40,.28); }
.profile-certificate-copy dl div { min-width: 0; padding: 10px 12px; border-right: 1px solid rgba(169,118,40,.28); border-bottom: 1px solid rgba(169,118,40,.28); }
.profile-certificate-copy dt { color: #967754; font-size: .64rem; }
.profile-certificate-copy dd { margin: 3px 0 0; overflow-wrap: anywhere; color: #332316; font-size: .82rem; font-weight: 800; }
.profile-certificate-note { margin: 12px 0 0; padding: 9px 12px; border-left: 2px solid #aa741f; color: #80674f; background: rgba(183,132,49,.07); font-size: .68rem; line-height: 1.55; }
.profile-certificate-footer { display: grid; grid-template-columns: 1fr auto auto; align-items: end; gap: 30px; margin-top: 25px; padding-top: 17px; border-top: 1px solid rgba(161,110,30,.4); }
.profile-certificate-official { display: flex; align-items: center; gap: 10px; align-self: center; }
.profile-certificate-official > span { display: grid; place-items: center; width: 38px; height: 38px; border: 2px solid #a87522; border-radius: 50%; color: #8b0c11; font-weight: 900; }
.profile-certificate-official strong, .profile-certificate-official small { display: block; }
.profile-certificate-official strong { color: #724b12; font-size: .75rem; }
.profile-certificate-official small { margin-top: 2px; color: #8d755d; font-size: .58rem; }
.profile-certificate-signature { display: grid; justify-items: center; min-width: 180px; text-align: center; }
.profile-certificate-signature > span { width: 150px; height: 35px; border-bottom: 1px solid #745431; }
.profile-certificate-signature strong { margin-top: 5px; font-size: .7rem; }
.profile-certificate-signature small { color: #88715a; font-size: .55rem; }
.profile-certificate-qr { display: grid; justify-items: center; gap: 2px; color: #7c5314; }
.profile-certificate-qr img { width: 92px; height: 92px; padding: 4px; border: 1px solid rgba(161,107,23,.35); background: #fff; }
.profile-certificate-qr span { font: 800 .45rem Georgia, serif; letter-spacing: 1.4px; }
.profile-certificate-verify { display: flex; justify-content: center; gap: 8px; margin: 14px auto 0; color: #8c5d14; font-size: .66rem; font-weight: 800; text-align: center; }
.profile-certificate-verify:hover { color: #951015; }
.profile-certificate-modal-open { overflow: hidden; }

.image-lightbox { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 30px; opacity: 0; visibility: hidden; contain: layout paint style; background: rgba(15,8,5,.94); transition: opacity .16s ease, visibility .16s ease; }
.image-lightbox.is-open { opacity: 1; visibility: visible; }
.image-lightbox figure { position: relative; display: grid; justify-items: center; gap: 10px; max-width: min(1100px, 94vw); max-height: 90vh; margin: 0; }
.image-lightbox img { max-width: 100%; max-height: 82vh; border: 1px solid rgba(226,179,84,.55); border-radius: 14px; object-fit: contain; box-shadow: 0 30px 90px rgba(0,0,0,.6); transform: translateZ(0); }
.image-lightbox-loader { position: absolute; z-index: 2; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; opacity: 0; pointer-events: none; border: 3px solid rgba(255,244,217,.28); border-top-color: #e7b856; border-radius: 50%; transition: opacity .12s ease; animation: image-lightbox-spin .7s linear infinite; }
.image-lightbox.is-loading .image-lightbox-loader { opacity: 1; }
.image-lightbox figcaption { color: #fff1d2; font-size: .82rem; text-align: center; }
.image-lightbox-close { position: fixed; top: 18px; right: 20px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.34); border-radius: 50%; color: white; background: rgba(70,10,12,.78); cursor: pointer; font-size: 1.65rem; }
.image-lightbox-open { overflow: hidden; }
.image-lightbox.is-poster { place-items: start center; overflow-y: auto; }
.image-lightbox.is-poster figure { width: min(920px, 94vw); max-height: none; margin: auto; padding: 20px 0; }
.image-lightbox.is-poster img { width: 100%; max-width: none; max-height: none; }
@keyframes image-lightbox-spin { to { rotate: 360deg; } }

@media (max-width: 900px) {
  .profile-hero { padding-top: 104px; }
  .profile-hero-grid, .profile-video-grid { grid-template-columns: 1fr; }
  .profile-main-image { width: min(100%, 480px); margin-inline: auto; }
  .profile-copy { text-align: center; }
  .profile-facts { text-align: left; }
  .profile-description { text-align: left; }
  .profile-actions { justify-content: center; }
  .profile-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-certificate-modal { padding: 12px; }
  .profile-certificate-dialog { width: min(760px, 97vw); max-height: calc(100vh - 24px); }
  .profile-certificate-inner { padding: 38px 28px; }
  .profile-certificate-content { grid-template-columns: 1fr; }
  .profile-certificate-content figure { width: min(100%, 380px); margin-inline: auto; }
  .profile-certificate-content figure img { height: 350px; }
  .profile-certificate-footer { grid-template-columns: 1fr 1fr; }
  .profile-certificate-official { grid-column: 1 / -1; justify-content: center; }
}

@media (max-width: 560px) {
  .profile-hero { padding: 92px 0 52px; }
  .profile-breadcrumb { align-items: flex-start; }
  .profile-hero-grid { gap: 30px; }
  .profile-main-image { border-radius: 22px 22px 58px 22px; }
  .profile-main-image img { border-radius: 15px 15px 50px 15px; }
  .profile-copy h1 { font-size: 3.15rem; }
  .profile-facts { grid-template-columns: 1fr; }
  .profile-actions .btn { width: 100%; }
  .profile-section { padding: 54px 0; }
  .profile-gallery { grid-template-columns: 1fr; }
  .profile-gallery a { min-height: 300px; }
  .profile-certificate-document { padding: 7px; }
  .profile-certificate-inner { padding: 31px 18px 24px; outline-offset: -6px; }
  .profile-certificate-head { grid-template-columns: auto 1fr; gap: 12px; text-align: left; }
  .profile-certificate-head > img { width: 67px; height: 67px; }
  .profile-certificate-head span { font-size: .51rem; letter-spacing: 1.2px; }
  .profile-certificate-head h2 { font-size: 1.2rem; }
  .profile-certificate-head p { font-size: .58rem; }
  .profile-certificate-seal { grid-column: 1 / -1; justify-self: center; width: 86px; height: 86px; }
  .profile-certificate-title { padding-top: 20px; }
  .profile-certificate-title > p { font-size: .55rem; letter-spacing: 1.8px; }
  .profile-certificate-content figure img { height: 300px; }
  .profile-certificate-copy dl { grid-template-columns: 1fr; }
  .profile-certificate-footer { grid-template-columns: 1fr; justify-items: center; }
  .profile-certificate-official { grid-column: auto; text-align: left; }
  .profile-certificate-signature { order: 2; }
  .profile-certificate-qr { order: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .home-motion-enabled .motion-reveal { opacity: 1 !important; translate: 0 0 !important; scale: 1 !important; }
}

/* Chicken marketplace */
.homepage-sale-section { padding: 72px 0; background: linear-gradient(180deg, #fffaf1, #fffdf8); border-block: 1px solid rgba(201,145,47,.16); }
.homepage-sale-section .section-title > div { display: grid; gap: 3px; }
.homepage-sale-section .catalog-eyebrow { font-size: .68rem; }
.homepage-sale-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; }
.homepage-sale-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 12px 30px rgba(67,43,18,.09); transition: transform .2s ease, box-shadow .2s ease; }
.homepage-sale-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.homepage-sale-card > a { position: relative; display: block; aspect-ratio: 4 / 4.7; overflow: hidden; background: #1b140e; }
.homepage-sale-card > a img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.homepage-sale-card:hover > a img { transform: scale(1.035); }
.homepage-sale-card > a span, .homepage-sale-card > a b { position: absolute; z-index: 1; top: 13px; padding: 6px 10px; border-radius: 20px; color: #fff; font-size: .67rem; }
.homepage-sale-card > a span { left: 13px; background: #158153; }
.homepage-sale-card > a b { right: 13px; background: var(--red); }
.homepage-sale-card > div { padding: 16px; }
.homepage-sale-card small { color: var(--gold); font-weight: 800; }
.homepage-sale-card h3 { margin: 3px 0 8px; font-size: 1.1rem; }
.homepage-sale-card p { display: flex; align-items: baseline; gap: 8px; margin: 0 0 12px; }
.homepage-sale-card p strong { color: var(--red); font: 800 1.35rem Georgia, serif; }
.homepage-sale-card p del { color: #9a918a; font-size: .75rem; }
.homepage-sale-card > div > a { color: var(--red); font-size: .78rem; font-weight: 800; }

.sale-hero { position: relative; min-height: 520px; padding: 154px 0 78px; overflow: hidden; color: #fff8e8; background: radial-gradient(circle at 77% 40%, rgba(211,157,55,.3), transparent 18rem), linear-gradient(120deg, #130e09 0%, #2c1d0c 58%, #710b0e 140%); }
.sale-hero::after { position: absolute; inset: auto -6% -54% auto; width: 530px; aspect-ratio: 1; content: "฿"; display: grid; place-items: center; border: 1px solid rgba(239,193,100,.22); border-radius: 50%; color: rgba(239,193,100,.09); font: 800 19rem Georgia, serif; }
.sale-hero-inner { position: relative; z-index: 1; max-width: 900px; }
.sale-hero .catalog-breadcrumb a, .sale-hero .catalog-breadcrumb span { color: #d6c29d; }
.sale-hero h1 { max-width: 820px; margin: 17px 0 18px; font-size: clamp(2.75rem, 4.8vw, 5rem); line-height: 1.08; letter-spacing: -.025em; }
.sale-hero h1 span { color: #efbd59; }
.sale-hero p { max-width: 730px; margin: 0; color: #e4d9c7; font-size: clamp(.95rem, 1.2vw, 1.08rem); line-height: 1.75; }
.sale-hero-stats { display: flex; gap: 12px; margin-top: 28px; }
.sale-hero-stats div { min-width: 145px; padding: 13px 17px; border: 1px solid rgba(232,183,83,.32); border-radius: 14px; background: rgba(255,255,255,.04); backdrop-filter: blur(7px); }
.sale-hero-stats strong, .sale-hero-stats span { display: block; }
.sale-hero-stats strong { color: #f2c66e; font: 800 1.65rem Georgia, serif; }
.sale-hero-stats span { color: #d8cdbb; font-size: .7rem; }
.sale-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.sale-guide-hero-link { color: #f7d98f; border-color: rgba(239,193,100,.55); background: rgba(255,255,255,.055); backdrop-filter: blur(8px); }
.sale-guide-hero-link:hover { color: #2c1b08; background: #f2c568; }

.purchase-guide-panel { scroll-margin-top: 100px; margin: 0 0 54px; padding: clamp(24px, 4vw, 44px); border: 1px solid #e1c890; border-radius: 28px; background: radial-gradient(circle at 88% 12%, rgba(231,189,98,.2), transparent 27%), #fffaf0; box-shadow: 0 22px 55px rgba(67,43,18,.1); }
.purchase-guide-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(260px, .52fr); align-items: center; gap: clamp(30px, 5vw, 62px); }
.purchase-guide-copy > span { color: #a86f17; font: 800 .67rem Georgia, serif; letter-spacing: .18em; }
.purchase-guide-copy h2 { margin: 8px 0 12px; color: #183e25; font-size: clamp(2rem, 3.8vw, 3.65rem); line-height: 1.05; }
.purchase-guide-copy h2 b { color: #9b1116; font-weight: 900; }
.purchase-guide-copy > p { max-width: 720px; margin: 0; color: #6d5d50; font-size: .87rem; line-height: 1.75; }
.purchase-guide-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 25px 0 0; padding: 0; list-style: none; }
.purchase-guide-steps li { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 12px; border: 1px solid #ead9b8; border-radius: 15px; background: rgba(255,255,255,.78); }
.purchase-guide-steps i { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 12px; color: #fff; background: #154c2a; font: normal 900 1rem Georgia, serif; }
.purchase-guide-steps span, .purchase-guide-steps strong, .purchase-guide-steps small { display: block; min-width: 0; }
.purchase-guide-steps strong { color: #243828; font-size: .82rem; }
.purchase-guide-steps small { margin-top: 2px; color: #88796c; font-size: .65rem; line-height: 1.45; }
.purchase-guide-poster { position: relative; display: block; max-width: 330px; justify-self: center; overflow: hidden; border: 2px solid #d0a64d; border-radius: 24px; background: #f1e3c6; box-shadow: 0 20px 38px rgba(54,35,13,.18); cursor: zoom-in; }
.purchase-guide-poster img { display: block; width: 100%; height: auto; transition: transform .35s ease; }
.purchase-guide-poster:hover img { transform: scale(1.025); }
.purchase-guide-poster > span { position: absolute; inset: auto 10px 10px; display: grid; padding: 10px 13px; border: 1px solid rgba(255,230,173,.5); border-radius: 14px; color: #fff; text-align: center; background: rgba(19,62,34,.92); backdrop-filter: blur(8px); }
.purchase-guide-poster b { font-size: .75rem; }
.purchase-guide-poster small { color: #e7d5a9; font-size: .59rem; }
.purchase-guide-warning { display: flex; align-items: center; gap: 8px; margin: 25px 0 0; padding: 12px 15px; border-radius: 14px; color: #6f341e; background: #fff0dc; font-size: .72rem; }
.purchase-guide-warning > span { display: grid; place-items: center; flex: 0 0 25px; width: 25px; height: 25px; border-radius: 50%; color: #fff; background: #a01718; font-weight: 900; }
.purchase-guide-compact { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 13px; margin-top: 20px; padding: 14px; border: 1px solid #dfc58c; border-radius: 17px; background: #fff8e9; }
.purchase-guide-compact-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: #fff; background: #154c2a; font: 900 1.2rem Georgia, serif; }
.purchase-guide-compact small, .purchase-guide-compact strong { display: block; }
.purchase-guide-compact small { color: #a26c19; font-size: .58rem; font-weight: 900; letter-spacing: .08em; }
.purchase-guide-compact strong { color: #243828; font-size: .86rem; }
.purchase-guide-compact p { margin: 2px 0 0; color: #7b6b5d; font-size: .64rem; line-height: 1.5; }
.purchase-guide-open { min-width: 172px; padding-inline: 15px; font-size: .7rem; }

.sale-market { padding: 58px 0 82px; }
.sale-filter { display: grid; grid-template-columns: minmax(220px, 1.6fr) repeat(4, minmax(130px, .65fr)) auto; gap: 11px; align-items: end; padding: 17px; margin: -92px 0 45px; position: relative; z-index: 3; border: 1px solid rgba(204,151,60,.32); border-radius: 18px; background: rgba(255,253,248,.97); box-shadow: 0 22px 52px rgba(39,24,10,.2); }
.sale-filter label { display: grid; gap: 6px; }
.sale-filter label > span { color: #796a5d; font-size: .68rem; font-weight: 800; }
.sale-filter select, .sale-filter input { width: 100%; min-height: 44px; border: 1px solid #e5d5ba; border-radius: 10px; color: var(--ink); background: #fff; }
.sale-filter select { padding: 0 10px; }
.sale-filter .catalog-search-field > div { display: flex; align-items: center; border: 1px solid #e5d5ba; border-radius: 10px; background: #fff; }
.sale-filter .catalog-search-field i { padding-left: 11px; color: var(--gold); font-style: normal; }
.sale-filter .catalog-search-field input { border: 0; outline: 0; }
.sale-filter-reset { grid-column: 1 / -1; justify-self: end; color: var(--red); font-size: .72rem; font-weight: 800; }
.sale-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.sale-card { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 12px 34px rgba(67,43,18,.1); transition: transform .22s ease, box-shadow .22s ease; }
.sale-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.sale-card-image { position: relative; display: block; aspect-ratio: 4 / 3.9; overflow: hidden; background: #1c150f; }
.sale-card-image::after { position: absolute; inset: auto 0 0; height: 35%; content: ""; background: linear-gradient(transparent, rgba(0,0,0,.48)); }
.sale-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.sale-card:hover .sale-card-image img { transform: scale(1.035); }
.sale-status { display: inline-flex; align-items: center; justify-content: center; padding: 7px 11px; border-radius: 30px; color: #fff; font-size: .68rem; font-weight: 900; }
.sale-card-image .sale-status { position: absolute; z-index: 2; top: 14px; left: 14px; }
.sale-status-available { background: #147c51; }
.sale-status-reserved { background: #b57a10; }
.sale-status-sold { background: #6d6763; }
.sale-card-image > b { position: absolute; z-index: 2; top: 14px; right: 14px; padding: 7px 10px; border-radius: 20px; color: #fff; background: var(--red); font-size: .66rem; }
.sale-card-body { padding: 20px; }
.sale-card-body > small { color: var(--gold); font-size: .65rem; font-weight: 800; letter-spacing: .6px; }
.sale-card-body h3 { margin: 3px 0 10px; font-size: 1.35rem; }
.sale-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sale-tags span { padding: 5px 9px; border-radius: 20px; color: #775d37; background: #fbf0d9; font-size: .66rem; }
.sale-price { display: flex; align-items: baseline; gap: 9px; margin: 17px 0; }
.sale-price strong { color: var(--red); font: 800 1.8rem Georgia, serif; }
.sale-price del { color: #998f86; font-size: .8rem; }
.sale-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 0 0 18px; }
.sale-card dl div { min-width: 0; padding: 9px; border: 1px solid #efe2cc; border-radius: 9px; }
.sale-card dt { color: #9a897a; font-size: .6rem; }
.sale-card dd { margin: 2px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .72rem; font-weight: 800; }
.sale-detail-link { display: flex; justify-content: space-between; padding-top: 14px; border-top: 1px solid #efe2cc; color: var(--red); font-size: .76rem; font-weight: 900; }

.sale-detail-hero { min-height: 100vh; padding: 125px 0 75px; background: linear-gradient(180deg, #fff8ec, #fffdf8); }
.sale-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, .82fr); gap: clamp(34px, 6vw, 82px); align-items: start; margin-top: 28px; }
.sale-detail-main-image { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 1px solid #d8b56f; border-radius: 26px; background: #17110c; cursor: zoom-in; box-shadow: 0 28px 64px rgba(57,35,13,.18); }
.sale-detail-main-image > img { width: 100%; aspect-ratio: 4 / 4.65; object-fit: cover; }
.sale-detail-main-image .sale-status { position: absolute; top: 17px; left: 17px; }
.sale-detail-gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.sale-detail-gallery a { overflow: hidden; border: 1px solid #e0c694; border-radius: 12px; background: #1a130e; }
.sale-detail-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .25s ease; }
.sale-detail-gallery a:hover img { transform: scale(1.06); }
.sale-detail-copy { position: sticky; top: 105px; padding: 10px 0; }
.sale-detail-copy h1 { margin: 10px 0 2px; color: var(--ink); font-size: clamp(2.7rem, 5vw, 5.1rem); line-height: 1; }
.sale-detail-breed { margin: 0 0 23px; color: #7d6c5f; }
.sale-detail-price { display: grid; justify-items: start; padding: 20px; border-left: 4px solid var(--red); border-radius: 0 15px 15px 0; background: #fff0e8; }
.sale-detail-price small, .sale-detail-price span { color: #8d7565; font-size: .7rem; }
.sale-detail-price strong { color: var(--red); font: 800 clamp(2.5rem, 5vw, 4rem) Georgia, serif; line-height: 1.05; }
.sale-detail-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 24px 0; border-top: 1px solid #ead8b8; border-left: 1px solid #ead8b8; }
.sale-detail-facts div { min-width: 0; padding: 13px; border-right: 1px solid #ead8b8; border-bottom: 1px solid #ead8b8; }
.sale-detail-facts dt { color: #9a8878; font-size: .66rem; }
.sale-detail-facts dd { margin: 3px 0 0; overflow-wrap: anywhere; font-size: .85rem; font-weight: 800; }
.sale-detail-facts a { color: var(--red); }
.sale-detail-description h2 { margin: 0 0 6px; font-size: 1.15rem; }
.sale-detail-description p { margin: 0; color: #665b53; font-size: .88rem; }
.sale-detail-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.sale-detail-actions form { margin: 0; }
.sale-detail-note { margin: 14px 0 0; color: #8c7c70; font-size: .68rem; }
.sale-inquiry-inline-status { align-self: center; margin: 0; color: #806e5d; font-size: .72rem; font-weight: 700; }
.sale-inquiry-inline-status[data-state="error"] { color: var(--red); }
.sale-inquiry-inline-status[data-state="loading"] { color: #9b701f; }
body.sale-inquiry-modal-open { overflow: hidden; }
.sale-inquiry-modal[hidden] { display: none; }
.sale-inquiry-modal { position: fixed; z-index: 6000; inset: 0; display: grid; place-items: center; padding: 24px; opacity: 0; transition: opacity .18s ease; }
.sale-inquiry-modal.is-open { opacity: 1; }
.sale-inquiry-backdrop { position: absolute; inset: 0; background: rgba(18, 11, 6, .78); backdrop-filter: blur(9px); }
.sale-inquiry-dialog { position: relative; width: min(960px, 100%); max-height: calc(100vh - 36px); padding: clamp(22px, 3vw, 34px); overflow: auto; border: 1px solid #d6a744; border-radius: 30px; outline: none; background: radial-gradient(circle at 85% 12%, rgba(232, 173, 53, .14), transparent 28%), #fffaf0; box-shadow: 0 34px 90px rgba(0, 0, 0, .42); transform: translateY(18px) scale(.98); transition: transform .18s ease; }
.sale-inquiry-modal.is-open .sale-inquiry-dialog { transform: translateY(0) scale(1); }
.sale-inquiry-close { position: absolute; top: 16px; right: 18px; z-index: 2; width: 42px; height: 42px; border: 1px solid #e3c888; border-radius: 50%; color: #6c4b20; background: rgba(255, 255, 255, .84); font-size: 1.65rem; line-height: 1; cursor: pointer; }
.sale-inquiry-close:hover { color: #fff; border-color: var(--red); background: var(--red); }
.sale-inquiry-heading { max-width: 680px; margin: 0 auto 16px; padding: 0 42px; text-align: center; }
.sale-inquiry-heading > span { color: #a97113; font: 800 .68rem Georgia, serif; letter-spacing: .2em; }
.sale-inquiry-heading h2 { margin: 5px 0 3px; color: var(--ink); font-size: clamp(1.65rem, 2.7vw, 2.25rem); }
.sale-inquiry-heading p { margin: 0; color: #756556; font-size: .85rem; }
.sale-inquiry-content { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 16px; align-items: start; }
.sale-inquiry-product { display: grid; grid-template-columns: minmax(150px, 210px) minmax(0, 1fr); gap: 22px; align-items: center; padding: 18px; border: 1px solid #ead4a7; border-radius: 22px; background: #fff; }
.sale-inquiry-product img { width: 100%; height: 210px; object-fit: cover; border-radius: 16px; background: #21170d; }
.sale-inquiry-product small { color: #a27022; font: 800 .7rem Georgia, serif; letter-spacing: .1em; }
.sale-inquiry-product h3 { margin: 7px 0; color: var(--ink); font-size: clamp(1.45rem, 3vw, 2.2rem); line-height: 1.08; }
.sale-inquiry-product strong { color: var(--red); font: 800 1.65rem Georgia, serif; }
.sale-inquiry-qr-card { display: grid; place-items: center; align-content: center; padding: 16px; border: 1px solid #d7aa4e; border-radius: 22px; background: #20170f; }
.sale-inquiry-qr-card img { width: min(195px, 100%); height: auto; aspect-ratio: 1; padding: 8px; border-radius: 14px; background: #fffaf0; }
.sale-inquiry-qr-card span { margin-top: 8px; color: #f0c263; font-size: .7rem; font-weight: 800; }
.sale-inquiry-reference { display: grid; justify-items: center; margin-top: 12px; padding: 11px 18px; border-radius: 16px; color: #f7dfaa; text-align: center; background: linear-gradient(135deg, #21170d, #3b2713); }
.sale-inquiry-reference span { font-size: .7rem; }
.sale-inquiry-reference strong { margin: 2px 0; color: #ffd36d; font: 800 clamp(1.25rem, 2.7vw, 1.8rem) Georgia, serif; letter-spacing: .08em; }
.sale-inquiry-reference small { color: #d7c3a2; font-size: .65rem; }
.sale-inquiry-message { max-height: 92px; margin: 10px 0 0; padding: 10px 14px; overflow: auto; border: 1px dashed #d8bc82; border-radius: 13px; color: #594a3d; white-space: pre-wrap; overflow-wrap: anywhere; background: #fff; font-family: inherit; font-size: .7rem; font-weight: 500; line-height: 1.55; }
.sale-inquiry-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 12px; }
.sale-inquiry-actions .btn { min-width: 165px; }
.sale-inquiry-status { min-height: 18px; margin: 7px 0 0; color: #2e805b; text-align: center; font-size: .7rem; font-weight: 800; }
.sale-inquiry-status[data-state="error"] { color: var(--red); }

@media (max-width: 1120px) {
  .homepage-sale-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sale-filter { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sale-filter .catalog-search-field { grid-column: span 2; }
  .sale-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .purchase-guide-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; }
  .sale-detail-grid { grid-template-columns: minmax(0, 1fr) minmax(330px, .85fr); gap: 34px; }
}

@media (max-width: 760px) {
  .homepage-sale-section { padding: 54px 0; }
  .homepage-sale-grid, .sale-grid { grid-template-columns: 1fr; }
  .sale-hero { min-height: auto; padding: 122px 0 118px; }
  .sale-hero::after { width: 360px; font-size: 12rem; }
  .sale-hero h1 { max-width: 620px; font-size: clamp(2.35rem, 11vw, 3.8rem); line-height: 1.1; }
  .sale-hero-stats { flex-wrap: wrap; }
  .sale-filter { grid-template-columns: 1fr; margin-top: -82px; }
  .sale-filter .catalog-search-field { grid-column: auto; }
  .sale-filter-reset { grid-column: auto; justify-self: center; }
  .purchase-guide-panel { padding: 23px 17px; border-radius: 22px; }
  .purchase-guide-layout { grid-template-columns: 1fr; }
  .purchase-guide-poster { width: min(100%, 350px); }
  .purchase-guide-compact { grid-template-columns: auto minmax(0, 1fr); }
  .purchase-guide-compact .purchase-guide-open { grid-column: 1 / -1; width: 100%; }
  .sale-detail-hero { padding-top: 102px; }
  .sale-detail-grid { grid-template-columns: 1fr; }
  .sale-detail-copy { position: static; }
  .sale-detail-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sale-inquiry-modal { padding: 12px; }
  .sale-inquiry-dialog { max-height: calc(100vh - 24px); padding: 27px 17px 22px; border-radius: 23px; }
  .sale-inquiry-heading { padding: 0 32px; }
  .sale-inquiry-content { grid-template-columns: 1fr; }
  .sale-inquiry-product { grid-template-columns: 105px minmax(0, 1fr); padding: 12px; }
  .sale-inquiry-product img { height: 150px; }
  .sale-inquiry-qr-card img { width: min(190px, 62vw); }
}

@media (max-width: 480px) {
  .homepage-sale-grid { gap: 13px; }
  .sale-hero-stats div { flex: 1; min-width: 120px; }
  .sale-card-body { padding: 17px; }
  .purchase-guide-steps { grid-template-columns: 1fr; }
  .purchase-guide-warning { align-items: flex-start; }
  .sale-detail-facts { grid-template-columns: 1fr; }
  .sale-detail-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sale-detail-actions form, .sale-detail-actions .btn { width: 100%; }
  .sale-inquiry-product { grid-template-columns: 82px minmax(0, 1fr); gap: 12px; }
  .sale-inquiry-actions .btn { width: 100%; }
}

/* Breeding reservation */
.breeding-hero { min-height: 610px; padding: 150px 0 90px; color: #fff9e9; background: radial-gradient(circle at 76% 28%, rgba(226,179,78,.24), transparent 20rem), linear-gradient(125deg, #120d08 0%, #30200f 62%, #6f0c10 145%); }
.breeding-hero-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(340px,.72fr); align-items: center; gap: clamp(38px,7vw,100px); }
.breeding-hero .catalog-breadcrumb a, .breeding-hero .catalog-breadcrumb span { color: #d9c39a; }
.breeding-hero h1 { max-width: 820px; margin: 18px 0; font-size: clamp(2.8rem,5.1vw,5.4rem); line-height: 1.05; }
.breeding-hero h1 span { color: #f1c364; }
.breeding-hero p { max-width: 760px; margin: 0; color: #e1d5c2; font-size: 1rem; line-height: 1.8; }
.breeding-steps { display: grid; gap: 9px; margin: 0; padding: 18px; border: 1px solid rgba(236,194,107,.3); border-radius: 25px; list-style: none; background: rgba(255,255,255,.045); backdrop-filter: blur(12px); }
.breeding-steps li { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: rgba(8,5,3,.23); }
.breeding-steps b { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 12px; color: #2e1b08; background: linear-gradient(135deg,#f6d780,#b87a20); font: 900 1rem Georgia,serif; }
.breeding-steps span, .breeding-steps strong, .breeding-steps small { display: block; }
.breeding-steps strong { color: #ffe3a3; font-size: .82rem; }
.breeding-steps small { margin-top: 2px; color: #cfc1ad; font-size: .67rem; }
.breeding-content { padding: 52px 0 90px; background: linear-gradient(180deg,#fff9ef,#fffdf8); }
.breeding-alert { margin-bottom: 12px; padding: 13px 16px; border-radius: 13px; font-size: .8rem; }
.breeding-alert-error { color: #8f171a; border: 1px solid #e7b9aa; background: #fff0ea; }
.breeding-search { display: grid; grid-template-columns: minmax(260px,1fr) auto auto; align-items: end; gap: 10px; margin: -90px 0 38px; padding: 18px; position: relative; z-index: 2; border: 1px solid #dec48e; border-radius: 20px; background: rgba(255,253,248,.98); box-shadow: 0 25px 55px rgba(48,29,10,.18); }
.breeding-search label { display: grid; gap: 6px; }
.breeding-search label > span { color: #756558; font-size: .68rem; font-weight: 800; }
.breeding-search label > div { display: flex; align-items: center; border: 1px solid #e5d4b7; border-radius: 11px; background: #fff; }
.breeding-search i { padding-left: 12px; color: #b27b24; font-style: normal; }
.breeding-search input { width: 100%; min-height: 44px; border: 0; outline: 0; background: transparent; }
.breeding-search > a { align-self: center; color: var(--red); font-size: .72rem; font-weight: 800; }
.breeding-empty { display: grid; place-items: center; min-height: 440px; padding: 45px; text-align: center; border: 1px solid #e7d5b3; border-radius: 26px; background: #fff; }
.breeding-empty img { width: 145px; height: 145px; object-fit: contain; }
.breeding-empty h2 { margin: 8px 0 3px; }
.breeding-empty p { margin: 0; color: #7d6e61; }
.breeding-booking-form { display: grid; gap: 24px; }
.breeding-section { padding: clamp(24px,4vw,42px); border: 1px solid #e3cfa7; border-radius: 28px; background: #fff; box-shadow: 0 15px 42px rgba(59,38,15,.08); }
.breeding-section-head { max-width: 780px; margin-bottom: 24px; }
.breeding-section-head > span { color: #a46b14; font: 800 .67rem Georgia,serif; letter-spacing: .16em; }
.breeding-section-head h2 { margin: 5px 0 4px; color: #21170f; font-size: clamp(1.7rem,3vw,2.65rem); }
.breeding-section-head p { margin: 0; color: #76685d; font-size: .82rem; line-height: 1.7; }
.breeding-calendar-shell { padding: 16px; border: 1px solid #e5d2aa; border-radius: 21px; background: #fffaf1; }
.breeding-calendar-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.breeding-calendar-toolbar button, .breeding-calendar-toolbar > a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #d7b979; border-radius: 50%; color: #7b4f13; background: #fff; cursor: pointer; font-weight: 900; }
.breeding-calendar-toolbar strong { color: #2e2116; font-size: 1rem; }
.breeding-calendar-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 5px; }
.breeding-calendar-weekday { padding: 7px; color: #8e785d; text-align: center; font-size: .68rem; }
.breeding-calendar-day { min-height: 112px; padding: 7px; border: 1px solid #eadfc9; border-radius: 10px; background: #fff; }
.breeding-calendar-day.is-empty { opacity: .4; background: #f8f3ea; }
.breeding-calendar-day > span { display: grid; place-items: center; width: 26px; height: 26px; margin-bottom: 5px; color: #766453; border-radius: 50%; font-size: .68rem; font-weight: 900; }
.breeding-calendar-day.is-today > span { color: #fff; background: var(--red); }
.breeding-calendar-event { display: block; width: 100%; margin: 3px 0 0; padding: 6px; overflow: hidden; border: 0; border-radius: 7px; color: #fff; text-align: left; background: #1c653c; cursor: pointer; font-family: inherit; font-size: .58rem; line-height: 1.35; }
.breeding-calendar-event strong, .breeding-calendar-event small { display: block; overflow: hidden; text-overflow: ellipsis; }
.breeding-calendar-event small { color: #dcebdc; font-size: .52rem; white-space: nowrap; }
.breeding-calendar-event.is-full { opacity: .55; background: #756e66; cursor: not-allowed; }
.breeding-period-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; margin-top: 20px; }
.breeding-period-card { position: relative; display: grid; grid-template-rows: 225px 1fr; overflow: hidden; border: 2px solid transparent; border-radius: 20px; background: #fff9ef; box-shadow: inset 0 0 0 1px #e5d0a7; cursor: pointer; transition: .22s ease; }
.breeding-period-card:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(59,38,15,.13); }
.breeding-period-card:has(input:checked) { border-color: #b78625; box-shadow: 0 18px 42px rgba(160,105,20,.2); }
.breeding-period-card.is-full { opacity: .7; cursor: not-allowed; }
.breeding-period-card > input { position: absolute; opacity: 0; pointer-events: none; }
.breeding-period-card > img { width: 100%; height: 225px; object-fit: cover; background: #23180d; }
.breeding-period-check { position: absolute; top: 13px; right: 13px; display: none; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; background: #17844f; box-shadow: 0 5px 15px rgba(0,0,0,.25); }
.breeding-period-card:has(input:checked) .breeding-period-check { display: grid; }
.breeding-period-card > div { padding: 17px; }
.breeding-period-card small { color: #a36e1c; font-size: .62rem; font-weight: 900; }
.breeding-period-card h3 { margin: 4px 0 0; font-size: 1.25rem; }
.breeding-period-card p { margin: 0 0 10px; color: #847365; font-size: .7rem; }
.breeding-period-card > div > strong { display: block; padding-top: 10px; border-top: 1px solid #ead9b9; color: #4f3821; font-size: .8rem; }
.breeding-period-card dl { display: grid; gap: 5px; margin: 10px 0; }
.breeding-period-card dl div { display: flex; justify-content: space-between; gap: 10px; }
.breeding-period-card dt { color: #9a8977; font-size: .62rem; }
.breeding-period-card dd { margin: 0; color: #33251a; font-size: .7rem; font-weight: 800; text-align: right; }
.breeding-period-card > div > b { display: inline-flex; padding: 6px 10px; border-radius: 20px; color: #fff; background: #167b4c; font-size: .67rem; }
.breeding-period-card > div > b.full { background: #77716b; }
.breeding-period-card em { display: block; margin-top: 9px; color: #7c6d61; font-size: .64rem; font-style: normal; line-height: 1.55; }
.breeding-selected-summary { display: grid; grid-template-columns: minmax(0,1fr) auto; margin-top: 16px; padding: 16px 19px; border: 1px solid #cfa64e; border-radius: 16px; background: #24190f; }
.breeding-selected-summary span, .breeding-selected-summary strong, .breeding-selected-summary p { display: block; grid-column: 1; }
.breeding-selected-summary span { color: #c8a75f; font-size: .62rem; }
.breeding-selected-summary strong { color: #ffe096; }
.breeding-selected-summary p { margin: 3px 0 0; color: #d0c0a8; font-size: .7rem; }
.breeding-selected-summary b { grid-column: 2; grid-row: 1 / 4; align-self: center; color: #f3c664; font: 800 1.8rem Georgia,serif; }
.breeding-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.breeding-form-grid label, .breeding-note { display: grid; gap: 6px; }
.breeding-form-grid label.full { grid-column: 1 / -1; }
.breeding-form-grid label > span, .breeding-note > span { color: #5e4e42; font-size: .72rem; font-weight: 900; }
.breeding-form-grid input, .breeding-form-grid select, .breeding-form-grid textarea, .breeding-note textarea { width: 100%; min-height: 46px; border: 1px solid #e1d1b7; border-radius: 11px; color: #21170f; background: #fffdf9; }
.breeding-form-grid textarea, .breeding-note textarea { padding: 11px 13px; resize: vertical; }
.breeding-form-grid small { color: #8f7f71; font-size: .6rem; }
.breeding-bank-card { display: grid; justify-items: center; margin-bottom: 18px; padding: 18px; border: 1px solid #c99a3b; border-radius: 18px; color: #f9dda0; text-align: center; background: linear-gradient(135deg,#173a25,#0c2719); }
.breeding-bank-card span { font-size: .66rem; }
.breeding-bank-card strong { margin-top: 4px; }
.breeding-bank-card b { color: #fff; font: 800 1.75rem Georgia,serif; letter-spacing: .08em; }
.breeding-bank-card small { color: #c8dfcd; }
.breeding-payment-methods { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-bottom: 18px; }
.breeding-payment-methods label { display: flex; gap: 10px; padding: 14px; border: 1px solid #e2cfaa; border-radius: 15px; background: #fffaf0; cursor: pointer; }
.breeding-payment-methods label:has(input:checked) { border-color: #af761b; box-shadow: inset 0 0 0 1px #d4a54a; }
.breeding-payment-methods input { accent-color: var(--red); }
.breeding-payment-methods span, .breeding-payment-methods b, .breeding-payment-methods small { display: block; }
.breeding-payment-methods b { font-size: .78rem; }
.breeding-payment-methods small { margin-top: 3px; color: #87786b; font-size: .62rem; }
.breeding-note { margin-top: 15px; }
.breeding-terms { display: flex; gap: 11px; margin-top: 17px; padding: 15px; border: 1px solid #e4ca96; border-radius: 15px; background: #fff8e8; }
.breeding-terms input { margin-top: 3px; accent-color: var(--red); }
.breeding-terms strong, .breeding-terms small { display: block; }
.breeding-terms strong { color: #413222; font-size: .76rem; }
.breeding-terms small { margin-top: 3px; color: #806f61; font-size: .65rem; line-height: 1.55; }
.breeding-submit { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; border-radius: 20px; color: #e2d3bb; background: #21170f; }
.breeding-submit p { margin: 0; font-size: .72rem; }
.breeding-confirmation-page { min-height: 100vh; padding: 140px 0 80px; background: radial-gradient(circle at 50% 15%,rgba(224,178,78,.16),transparent 26rem),#fffaf1; }
.breeding-confirmation-card { width: min(850px,100%); margin: 0 auto; padding: clamp(28px,5vw,54px); border: 1px solid #d6b36a; border-radius: 30px; text-align: center; background: #fff; box-shadow: 0 28px 70px rgba(58,36,13,.16); }
.breeding-confirmation-mark { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 50%; color: #fff; background: #158151; font-size: 2.2rem; }
.breeding-confirmation-card > span { color: #a46d18; font: 800 .68rem Georgia,serif; letter-spacing: .2em; }
.breeding-confirmation-card h1 { margin: 6px 0; font-size: clamp(2rem,4vw,3.2rem); }
.breeding-confirmation-card > p { max-width: 650px; margin: 0 auto; color: #796a5d; }
.breeding-confirmation-number { margin: 24px 0 12px; padding: 17px; border-radius: 17px; color: #f8dc9b; background: #23180e; }
.breeding-confirmation-number small, .breeding-confirmation-number strong { display: block; }
.breeding-confirmation-number strong { color: #ffd36f; font: 800 clamp(1.5rem,4vw,2.35rem) Georgia,serif; letter-spacing: .08em; }
.breeding-confirmation-status { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.breeding-confirmation-status div { padding: 13px; border: 1px solid #e7d5b3; border-radius: 13px; background: #fffaf0; }
.breeding-confirmation-status span, .breeding-confirmation-status strong { display: block; }
.breeding-confirmation-status span { color: #8c7968; font-size: .64rem; }
.breeding-confirmation-status strong { color: #6c4916; }
.breeding-confirmation-details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; margin: 20px 0; border: 1px solid #e3d1ae; background: #e3d1ae; text-align: left; }
.breeding-confirmation-details div { padding: 12px; background: #fff; }
.breeding-confirmation-details dt { color: #998675; font-size: .63rem; }
.breeding-confirmation-details dd { margin: 3px 0 0; font-size: .78rem; font-weight: 800; }
.breeding-confirmation-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
.breeding-confirmation-note { display: block; margin-top: 16px; color: #8a7b6e; }

@media (max-width: 1000px) {
  .breeding-hero-grid { grid-template-columns: 1fr; }
  .breeding-steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .breeding-period-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .breeding-calendar-day { min-height: 95px; }
}
@media (max-width: 720px) {
  .breeding-hero { min-height: auto; padding: 120px 0 120px; }
  .breeding-steps { grid-template-columns: 1fr; }
  .breeding-search { grid-template-columns: 1fr; margin-top: -90px; }
  .breeding-period-grid, .breeding-form-grid, .breeding-payment-methods { grid-template-columns: 1fr; }
  .breeding-form-grid label.full { grid-column: auto; }
  .breeding-section { padding: 22px 15px; border-radius: 21px; }
  .breeding-calendar-shell { padding: 9px; overflow-x: auto; }
  .breeding-calendar-grid { min-width: 720px; }
  .breeding-selected-summary { grid-template-columns: 1fr; }
  .breeding-selected-summary b { grid-column: 1; grid-row: auto; margin-top: 7px; }
  .breeding-submit { align-items: stretch; flex-direction: column; }
  .breeding-submit .btn { width: 100%; }
  .breeding-confirmation-status, .breeding-confirmation-details { grid-template-columns: 1fr; }
}
