:root {
  --bg: #FBF7F2;
  --surface: #FFFFFF;
  --surface-2: #F7EFE7;
  --ink: #2F2622;
  --muted: #7C6A5E;
  --line: #E8DED5;
  --accent: #D19971;
  /* warm tan */
  --accent-2: #C88961;
  --shadow: 0 10px 30px rgba(47, 38, 34, .08);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1120px;
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  font-family: "Kanit", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: url('../image/HOME.jfif') no-repeat center center fixed;
  background-size: cover;
  line-height: 1.55;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(47, 38, 34, 0.75) 0%,
      rgba(47, 38, 34, 0.55) 50%,
      rgba(47, 38, 34, 0.65) 100%);
  z-index: -1;
}

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

img {
  max-width: 100%;
  display: block
}

button,
input,
select,
textarea {
  font-family: inherit
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(47, 38, 34, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
}

.brand-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #E7C1A6);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}

.brand-badge svg {
  opacity: .95;
  color: #fff
}

.brand h1 {
  font-size: 16px;
  margin: 0;
  letter-spacing: .3px;
  color: #fff;
}

.brand p {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: -2px;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.navlinks a {
  padding: 10px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
}

.navlinks a:hover {
  background: rgba(209, 153, 113, .25);
  color: #fff
}

.navlinks a.active {
  background: rgba(209, 153, 113, .3);
  color: #fff
}

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

.search {
  position: relative;
  width: min(360px, 42vw);
}

.search input {
  width: 100%;
  padding: 12px 14px 12px 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  color: #fff;
}

.search input::placeholder {
  color: rgba(255, 255, 255, 0.6)
}

.search input:focus {
  border-color: rgba(209, 153, 113, .55);
  box-shadow: 0 0 0 4px rgba(209, 153, 113, .14);
  background: rgba(255, 255, 255, 0.15)
}

.search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  opacity: .7;
  color: #fff;
}

.iconbtn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #fff;
}

.iconbtn:hover {
  border-color: rgba(209, 153, 113, .55);
  box-shadow: 0 8px 18px rgba(47, 38, 34, .2);
  background: rgba(255, 255, 255, 0.15)
}

.burger {
  display: none
}

.burger span {
  width: 18px;
  height: 2px;
  background: #fff;
  display: block;
  border-radius: 2px;
  opacity: .9;
}

.burger span+span {
  margin-top: 4px
}

.hero {
  padding: 34px 0 18px;
}

.hero-card {
  background: linear-gradient(135deg, #F6EEE6 0%, #FFF 55%);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  min-height: 420px;
}

.hero-left {
  padding: 44px 44px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}

.pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(209, 153, 113, .16);
  border: 1px solid rgba(209, 153, 113, .22);
  color: color-mix(in srgb, var(--ink) 80%, var(--muted) 20%);
}

.hero-left h2 {
  font-size: 44px;
  line-height: 1.05;
  margin: 0 0 12px;
  letter-spacing: .2px;
}

.hero-left h2 span {
  color: var(--accent-2);
}

.hero-left p {
  margin: 0 0 22px;
  color: var(--muted);
  max-width: 48ch;
}

.cta-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), #E7C1A6);
  border-color: rgba(209, 153, 113, .55);
}

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

.btn:active {
  transform: translateY(0px)
}

.smallnote {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-right {
  position: relative;
  padding: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-right .pet {
  width: 100%;
  max-width: 420px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(47, 38, 34, .08);
  box-shadow: 0 16px 40px rgba(47, 38, 34, .12);
}

.hero-right .float-card {
  position: absolute;
  right: 22px;
  top: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 12px;
  box-shadow: var(--shadow);
  width: 210px;
}

.float-card b {
  display: block
}

.float-card small {
  color: var(--muted)
}

.float-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px
}

.badge {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(209, 153, 113, .14);
  border: 1px solid rgba(209, 153, 113, .22);
}

.section {
  padding: 26px 0;
}

.section h3 {
  font-size: 22px;
  margin: 0 0 12px;
  letter-spacing: .2px;
}

.sectionhead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.sectionhead p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 62ch;
}

.link {
  font-size: 14px;
  color: color-mix(in srgb, var(--accent-2) 78%, var(--ink) 22%);
  font-weight: 600;
}

.link:hover {
  text-decoration: underline
}

.grid {
  display: grid;
  gap: 14px;
}

.grid.cols-5 {
  grid-template-columns: repeat(5, 1fr)
}

.grid.cols-4 {
  grid-template-columns: repeat(4, 1fr)
}

.grid.cols-3 {
  grid-template-columns: repeat(3, 1fr)
}

.grid.cols-2 {
  grid-template-columns: repeat(2, 1fr)
}

.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(47, 38, 34, .06);
}

.category {
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  transition: .15s ease;
}

.category:hover {
  transform: translateY(-2px);
  border-color: rgba(209, 153, 113, .55)
}

.caticon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(209, 153, 113, .16);
  border: 1px solid rgba(209, 153, 113, .20);
}

.category b {
  display: block
}

.category small {
  color: var(--muted)
}

.products {
  margin-top: 6px;
}

.product {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product .thumb {
  aspect-ratio: 4/3;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.product .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.product .body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pactions {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  gap: 10px;
}

.product h4 {
  margin: 0 0 6px;
  font-size: 16px
}

.price {
  display: flex;
  gap: 10px;
  align-items: baseline;
  color: var(--ink);
}

.price span {
  font-weight: 700
}

.price del {
  color: var(--muted);
  font-size: 13px
}

.stars {
  display: flex;
  gap: 2px;
  margin-top: 8px;
  opacity: .8
}

.stars svg {
  width: 14px;
  height: 14px
}

.pmeta {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
}



.pactions .btn {
  padding: 10px 14px;
  font-size: 13px
}

.pactions .btn.primary {
  flex: 1
}

.banner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
  align-items: stretch;
}

.banner .card {
  padding: 22px
}

.banner h3 {
  margin-top: 0
}

.banner p {
  color: var(--muted);
  margin: 6px 0 14px
}

.formrow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.formrow input {
  flex: 1;
  min-width: 220px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  outline: none;
  background: white;
}

.formrow input:focus {
  border-color: rgba(209, 153, 113, .55);
  box-shadow: 0 0 0 4px rgba(209, 153, 113, .12)
}

.quote {
  padding: 18px 18px;
  display: flex;
  gap: 12px;
}

.quote .q {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(209, 153, 113, .14);
  border: 1px solid rgba(209, 153, 113, .20);
}

.quote p {
  margin: 0;
  color: var(--muted)
}

.quote b {
  display: block;
  margin-top: 10px;
  color: var(--ink)
}

.footer {
  margin-top: 28px;
  padding: 26px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(47, 38, 34, 0.9);
  backdrop-filter: blur(10px);
}

.footgrid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr .8fr;
  gap: 16px;
}

.footgrid h5 {
  margin: 0 0 10px;
  font-size: 14px;
  color: #fff;
}

.footgrid a {
  display: block;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px
}

.footgrid a:hover {
  color: #fff
}

.footer small {
  color: rgba(255, 255, 255, 0.6)
}

.footer .brand h1 {
  color: #fff;
}

.footer .brand p {
  color: rgba(255, 255, 255, 0.6);
}

.bottom {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.pagehead {
  padding: 24px 0 8px;
}

.breadcrumb {
  color: var(--muted);
  font-size: 13px;
}

.pagehead h2 {
  margin: 8px 0 8px;
  font-size: 34px;
  line-height: 1.1;
}

.pagehead p {
  margin: 0;
  color: var(--muted);
  max-width: 70ch
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.chip {
  border: 1px solid var(--line);
  background: white;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
}

.chip.active {
  background: rgba(209, 153, 113, .16);
  border-color: rgba(209, 153, 113, .40);
  color: var(--ink);
}

.promo-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 14px;
}

.promo-card {
  padding: 18px;
}

.promo-card h4 {
  margin: 0 0 6px
}

.promo-card p {
  margin: 0;
  color: var(--muted)
}

.code {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  border: 1px dashed rgba(209, 153, 113, .55);
  background: rgba(209, 153, 113, .12);
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 700;
}

.code button {
  border: none;
  background: white;
  border-radius: 999px;
  padding: 10px 12px;
  cursor: pointer;
  border: 1px solid var(--line);
}

.code button:hover {
  border-color: rgba(209, 153, 113, .55)
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 13px;
  color: var(--muted)
}

.field input,
.field textarea {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  outline: none;
  background: white;
}

.field textarea {
  min-height: 140px;
  resize: vertical
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(209, 153, 113, .55);
  box-shadow: 0 0 0 4px rgba(209, 153, 113, .12)
}

.map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
  min-height: 330px;
  display: grid;
  place-items: center;
  color: var(--muted);
}

.notice {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(209, 153, 113, .35);
  background: rgba(209, 153, 113, .10);
  color: color-mix(in srgb, var(--ink) 80%, var(--muted) 20%);
  font-size: 13px;
}

@media (max-width: 980px) {
  .search {
    display: none
  }

  .hero-card {
    grid-template-columns: 1fr;
    min-height: auto
  }

  .hero-right {
    padding-top: 0
  }

  .grid.cols-5 {
    grid-template-columns: repeat(2, 1fr)
  }

  .grid.cols-4 {
    grid-template-columns: repeat(2, 1fr)
  }

  .grid.cols-3 {
    grid-template-columns: repeat(2, 1fr)
  }

  .banner {
    grid-template-columns: 1fr
  }

  .promo-grid {
    grid-template-columns: 1fr
  }

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

  .footgrid {
    grid-template-columns: 1fr 1fr
  }

  .burger {
    display: grid
  }

  .navlinks {
    position: fixed;
    inset: 72px 14px auto 14px;
    background: rgba(47, 38, 34, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    z-index: 100;
    backdrop-filter: blur(12px);
  }

  .navlinks a {
    padding: 12px 14px;
    color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
  }

  .navlinks a:hover {
    background: rgba(209, 153, 113, 0.3);
    color: #fff;
  }

  .navlinks.open {
    display: flex
  }
}

@media (max-width: 520px) {
  .hero-left {
    padding: 28px 22px
  }

  .hero-left h2 {
    font-size: 34px
  }

  .hero-right {
    padding: 18px
  }

  .hero-right .float-card {
    display: none
  }

  .container {
    padding: 0 12px;
  }

  .footgrid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
  }

  .footgrid>div:first-child {
    grid-column: 1 / -1;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer {
    padding: 14px 0 18px;
  }

  .footgrid h5 {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .footgrid a {
    padding: 3px 0;
    font-size: 11px;
  }

  .footer .brand h1 {
    font-size: 13px !important;
  }

  .footer .brand p,
  .footer p {
    font-size: 10px !important;
    margin-top: 6px !important;
  }

  .footer .brand-badge {
    width: 28px !important;
    height: 28px !important;
  }

  .bottom {
    margin-top: 8px;
  }

  .bottom small {
    font-size: 10px;
  }

  .brand {
    min-width: auto;
  }

  .nav {
    padding: 10px 0;
  }

  .grid.cols-4,
  .grid.cols-3,
  .grid.cols-2 {
    grid-template-columns: 1fr;
  }
}