:root {
  --green: #187c45;
  --ink: #24382c;
  --muted: #647166;
  --line: #dce4dd;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: white; font: 16px/1.6 Manrope, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; border: 0; }
button:focus-visible, a:focus-visible { outline: 3px solid #244e38; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 30px; max-width: 1440px; padding: 22px 48px; margin: auto; }
.wordmark { display: flex; flex-direction: column; font-size: 25px; font-weight: 800; line-height: 1.04; letter-spacing: -.055em; color: var(--green); }
.wordmark span:last-child { font-weight: 500; }
.site-header nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 600; }
.site-header nav [aria-current] { color: var(--green); border-bottom: 1px solid; }
.contact-link { font-size: 14px; color: var(--green); border-bottom: 1px solid; }
.catalog-intro { background: #e8f0df; position: relative; overflow: hidden; }
.intro-inner { max-width: 1280px; margin: auto; padding: 60px 48px 45px; position: relative; z-index: 1; }
.eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--green); margin-bottom: 18px; }
h1 { font-size: clamp(52px, 7vw, 94px); font-weight: 600; letter-spacing: -.065em; line-height: 1.02; }
.intro-text { margin-top: 24px; font-size: 17px; }
.intro-pet { position: absolute; width: 410px; height: 547px; background: url('pets.png') no-repeat left top / 820px 547px; bottom: -155px; right: max(4%, calc((100% - 1184px) / 2)); }
.pet-tabs { display: flex; gap: 10px; margin-top: 32px; }
.pet-tabs button { padding: 10px 24px; border-radius: 30px; background: #ffffffb3; font-size: 14px; font-weight: 600; }
.pet-tabs [aria-pressed=true] { color: white; background: var(--green); }
.catalog-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 45px; max-width: 1360px; margin: auto; padding: 55px 48px 85px; align-items: start; }
.catalog-sidebar { position: sticky; top: 24px; }
.catalog-sidebar h2 { font-size: 22px; font-weight: 600; letter-spacing: -.035em; margin-bottom: 24px; }
.field { display: flex; flex-direction: column; gap: 7px; font-size: 14px; font-weight: 500; margin-bottom: 18px; }
input, select, textarea { border: 1px solid #c9d6cb; border-radius: 9px; padding: 12px; background: white; min-width: 0; width: 100%; }
select { appearance: none; padding-right: 35px; background-image: linear-gradient(45deg, transparent 50%, #46674c 50%), linear-gradient(135deg, #46674c 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
input:focus, select:focus, textarea:focus { outline: 2px solid #91b79a; outline-offset: 2px; }
.reset-button { padding: 0 0 3px; background: none; border-bottom: 1px solid; color: var(--green); font-size: 14px; }
.help { margin-top: 36px; border-radius: 14px; padding: 22px; background: #f0eafa; }
.help p { font-size: 21px; line-height: 1.3; letter-spacing: -.035em; }
.help a { display: inline-block; font-size: 13px; border-bottom: 1px solid; margin-top: 15px; }
.search-label { display: block; font-size: 14px; margin-bottom: 8px; }
#catalogSearch { font-size: 16px; padding: 15px 18px; }
.catalog-toolbar { margin-top: 20px; display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.catalog-toolbar p { font-size: 14px; }
.catalog-toolbar label { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.catalog-toolbar select { padding: 7px 30px 7px 10px; width: auto; font-size: 13px; }
.catalog-note { font-size: 13px; color: var(--muted); margin: 12px 0 28px; }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 22px; }
.card { display: flex; flex-direction: column; min-width: 0; }
.card-image { display: flex; align-items: center; justify-content: center; width: 100%; height: 250px; padding: 22px; border-radius: 14px; background: #f4f6f2; overflow: hidden; position: relative; }
.card-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; mix-blend-mode: multiply; }
.card-image:hover img { transform: scale(1.035); }
.image-fallback { text-align: center; color: #63846b; font-size: 25px; font-weight: 800; letter-spacing: -.04em; }
.card-brand { margin: 17px 0 7px; color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.card h2 { font-size: 16px; line-height: 1.5; font-weight: 600; overflow-wrap: anywhere; }
.card h2 a:hover { color: var(--green); }
.card-meta { color: var(--muted); font-size: 12px; margin-top: 9px; }
.card-actions { margin-top: auto; padding-top: 18px; display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.card-order { background: var(--green); color: white; padding: 10px 16px; font-size: 13px; border-radius: 30px; }
.card-details { border-bottom: 1px solid #aebfb2; font-size: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; background: var(--green); color: white; padding: 13px 22px; border-radius: 30px; font-size: 14px; font-weight: 600; }
.button:hover, .card-order:hover { background: #116537; }
.load-more { display: block; background: #e8f0df; color: var(--green); padding: 14px 34px; border-radius: 30px; margin: 40px auto; font-weight: 600; }
.empty-state { background: #f3f5f0; border-radius: 18px; text-align: center; padding: 45px 22px; }
.empty-state h2 { font-size: 26px; letter-spacing: -.04em; }
.empty-state p { margin: 14px auto 22px; color: var(--muted); max-width: 430px; }
.sources { margin-top: 50px; border-top: 1px solid var(--line); padding-top: 24px; font-size: 13px; color: var(--muted); }
.sources summary { cursor: pointer; font-size: 15px; color: var(--ink); }
.sources p, .sources ul { margin-top: 15px; }
.sources a { border-bottom: 1px solid #aebfb2; }
.sources ul { padding-left: 20px; columns: 2; }
.sources li { margin-bottom: 10px; break-inside: avoid; }
footer { background: #1a8146; color: white; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 45px max(48px, calc((100% - 1184px) / 2)); }
.footer-title { font-size: 42px; letter-spacing: -.05em; line-height: 1.15; margin-bottom: 25px; }
footer img { width: 260px; height: auto; max-width: 100%; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 20px; font-size: 14px; }
dialog { width: min(950px, calc(100% - 36px)); max-height: calc(100svh - 40px); padding: 42px; border: 0; border-radius: 22px; color: var(--ink); overflow: auto; }
dialog::backdrop { background: #19332288; backdrop-filter: blur(5px); }
.close-dialog { position: absolute; top: 9px; right: 12px; width: 40px; height: 40px; border-radius: 50%; font-size: 30px; line-height: 1; background: #edf3e9; z-index: 2; }
.product-details { display: grid; grid-template-columns: 1fr 1.15fr; gap: 35px; align-items: start; }
.detail-image { background: #f4f6f2; border-radius: 16px; padding: 25px; display: flex; align-items: center; justify-content: center; min-height: 350px; }
.detail-image img { width: 100%; height: 350px; object-fit: contain; mix-blend-mode: multiply; }
.detail-copy h2 { font-size: 26px; letter-spacing: -.035em; line-height: 1.3; }
.detail-copy .eyebrow { margin-bottom: 12px; }
#detailDescription { margin-top: 16px; font-size: 14px; color: var(--muted); }
dl { font-size: 13px; }
dl div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); }
dt { color: var(--muted); }
dd { margin: 0; }
.source-link { display: inline-block; font-size: 13px; color: var(--green); border-bottom: 1px solid; margin: 10px 0 22px; }
.order-fields { display: grid; grid-template-columns: 1.8fr 1fr; gap: 12px; }
.order-fields .field { font-size: 12px; }
.order-button { width: 100%; }
.order-note { font-size: 12px; color: var(--muted); margin-top: 14px; }
.order-message { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 25px; }
.order-message h3 { font-size: 22px; font-weight: 600; letter-spacing: -.03em; margin-bottom: 18px; }
.order-message textarea { resize: vertical; font-size: 14px; }
.message-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.secondary-button { display: inline-flex; align-items: center; border-radius: 30px; background: #edf3e9; color: var(--green); padding: 12px 18px; font-size: 13px; }
.toast { position: fixed; bottom: 25px; left: 50%; transform: translateX(-50%); background: #23452d; color: white; padding: 12px 24px; border-radius: 30px; z-index: 100; font-size: 14px; max-width: 90%; }
.noscript { padding: 30px; text-align: center; }
@media (max-width: 1100px) {
  .catalog-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 28px; padding-left: 28px; padding-right: 28px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-header { padding-left: 28px; padding-right: 28px; gap: 15px; }
  .site-header nav { gap: 20px; }
  .intro-pet { right: 2%; }
}
@media (max-width: 720px) {
  .site-header { flex-wrap: wrap; padding: 18px 22px; gap: 18px; }
  .wordmark { font-size: 23px; }
  .site-header nav { order: 3; width: 100%; justify-content: space-between; gap: 12px; font-size: 12px; }
  .contact-link { font-size: 13px; }
  .intro-inner { padding: 35px 22px 28px; }
  .eyebrow { font-size: 10px; letter-spacing: .1em; }
  h1 { font-size: 57px; }
  .intro-text { font-size: 14px; width: 66%; margin-top: 18px; }
  .intro-text br { display: none; }
  .intro-pet { width: 210px; height: 280px; background-size: 420px 280px; bottom: 0; right: -40px; }
  .pet-tabs { gap: 6px; margin-top: 28px; }
  .pet-tabs button { padding: 9px 16px; font-size: 12px; }
  .catalog-layout { grid-template-columns: 1fr; padding: 30px 18px 55px; gap: 28px; }
  .catalog-sidebar { position: static; }
  .catalog-sidebar form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
  .catalog-sidebar h2 { grid-column: 1 / -1; margin-bottom: 7px; }
  .catalog-sidebar .field { margin: 0; font-size: 12px; }
  .catalog-sidebar .field:last-of-type { grid-column: 1 / -1; }
  .catalog-sidebar select { font-size: 14px; }
  .reset-button { justify-self: start; font-size: 12px; }
  .help { display: none; }
  .catalog-toolbar { gap: 8px; align-items: start; }
  .catalog-toolbar label { font-size: 0; }
  .catalog-toolbar p { font-size: 12px; padding-top: 6px; }
  .catalog-toolbar select { font-size: 12px; }
  .catalog-note { font-size: 12px; }
  .products { gap: 30px 14px; }
  .card-image { height: 200px; padding: 13px; border-radius: 12px; }
  .card h2 { font-size: 14px; }
  .card-brand { font-size: 11px; }
  .card-meta { font-size: 11px; }
  .card-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .card-order { font-size: 12px; padding: 11px 9px; }
  .card-details { align-self: start; }
  .sources ul { columns: 1; }
  footer { padding: 35px 22px; flex-direction: column; gap: 20px; align-items: start; }
  .footer-title { font-size: 36px; }
  footer img { align-self: center; width: 230px; }
  dialog { padding: 45px 20px 25px; width: calc(100% - 20px); max-height: calc(100svh - 20px); }
  .product-details { grid-template-columns: 1fr; gap: 25px; }
  .detail-image { min-height: 220px; padding: 15px; }
  .detail-image img { height: 230px; }
  .detail-copy h2 { font-size: 23px; }
}
@media (max-width: 370px) {
  .card-image { height: 170px; }
  .pet-tabs button { padding: 9px 12px; }
  h1 { font-size: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.brand-folders {
  max-width: 1280px;
  padding: 55px 48px 80px;
  margin: auto;
}
.folder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 24px;
}
.brand-folder {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 225px;
  border-radius: 0 18px 18px 18px;
  padding: 32px;
  margin-top: 20px;
  background: var(--folder-color);
  transition: transform .2s, box-shadow .2s;
}
.brand-folder::before {
  content: '';
  position: absolute;
  height: 21px;
  width: 42%;
  left: 0;
  top: -20px;
  border-radius: 13px 15px 0 0;
  background: var(--folder-color);
}
.brand-folder:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px #29483312;
}
.brand-folder h2 {
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: 1.2;
}
.brand-folder p {
  margin-top: 10px;
  font-size: 14px;
}
.folder-open {
  margin-top: auto;
  padding-top: 24px;
  font-size: 13px;
  border-bottom: 1px solid #24382c55;
}
.lilac { --folder-color: #e7dcf3; }
.mint { --folder-color: #e2edcf; }
.yellow { --folder-color: #f5e8b3; }
.pink { --folder-color: #f5dbe2; }
.brand-breadcrumb {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  font-size: 14px;
}
.brand-breadcrumb a {
  color: var(--green);
  border-bottom: 1px solid;
}
.brand-breadcrumb span::before {
  content: '/';
  padding-right: 16px;
  color: #8d9f90;
}
.catalog-intro h1 {
  font-size: clamp(44px, 6vw, 80px);
  overflow-wrap: anywhere;
}
@media (max-width: 900px) {
  .folder-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .brand-folders { padding: 35px 22px 55px; }
  .folder-grid { gap: 28px 16px; }
  .brand-folder { min-height: 190px; padding: 23px 18px; }
  .brand-folder h2 { font-size: 23px; }
  .brand-folder p { font-size: 12px; }
  .folder-open { font-size: 12px; }
  .intro-text { width: 100%; }
}
@media (max-width: 370px) {
  .folder-grid { grid-template-columns: 1fr; }
  .brand-folder { min-height: 180px; }
}

/* Messenger choices wrap within the order dialog on narrow screens. */
.message-actions a { justify-content: center; text-align: center; }
@media (max-width: 520px) { .message-actions a { width: 100%; } }
