.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.category-tile {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: #fcf8f0;
  box-shadow: 0 7px 22px #78521c08;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.category-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px #4a341a1c;
}
.category-photo {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: calc(var(--cw) / var(--ch));
  overflow: hidden;
  background: #ddd0b9;
}
.category-photo img {
  position: absolute;
  max-width: none;
  width: calc(1095 / var(--cw) * 100%);
  left: calc(var(--cx) / var(--cw) * -100%);
  top: calc(var(--cy) / var(--ch) * -100%);
  height: auto;
}
/* Exclude the baked-in badges along the bottom of the reference photos.
   Keep the tile dimensions and the separate HTML category icon unchanged. */
.category-tile > .category-photo img {
  width: calc(1095 / var(--cw) * 116%);
  left: calc(var(--cx) / var(--cw) * -116% - 8%);
  top: calc(var(--cy) / var(--ch) * -116%);
}
.category-copy {
  display: block;
  position: relative;
  padding: 11px 28px 15px 70px;
  min-height: 92px;
}
.category-copy strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 18px;
  line-height: 1.2;
  color: #2e1b11;
}
.category-description {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  color: #65625d;
  margin-top: 7px;
}
.category-icon {
  position: absolute;
  left: 14px;
  top: -20px;
  width: 51px;
  height: 51px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #607849, #263d0d);
  border: 2px solid #fff9e9;
  border-radius: 50%;
  color: #fff;
}
.category-icon svg {
  width: 27px;
  height: 27px;
}
.category-arrow {
  position: absolute;
  right: 12px;
  top: 11px;
  border-radius: 50%;
  background: #fff;
  width: 23px;
  height: 23px;
  text-align: center;
  color: #493728;
  font-size: 22px;
  line-height: 20px;
}
.catalog-all-link {
  display: block;
  width: fit-content;
  margin: 25px auto 0;
  color: #3f5928;
  font-weight: 700;
}
.catalog-page {
  background: radial-gradient(ellipse at 60% 40%, #fffaf1, #f4ecdf);
  color: #312219;
}
.catalog-wrap {
  width: min(1200px, 93%);
  margin-inline: auto;
}
.catalog-header {
  background: #fbf7ee;
  border-bottom: 1px solid #e9dfcf;
  position: relative;
  z-index: 3;
}
.catalog-header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.catalog-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}
.catalog-brand > svg {
  color: #986019;
  width: 47px;
  height: 47px;
  stroke-width: 2.4;
}
.catalog-brand strong {
  display: block;
  font:
    700 26px Georgia,
    serif;
  white-space: nowrap;
}
.catalog-brand small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.3px;
  color: #62564c;
}
.catalog-header nav {
  display: flex;
  align-items: stretch;
  gap: 28px;
  font-size: 14px;
  align-self: stretch;
}
.catalog-header nav a {
  display: flex;
  align-items: center;
  position: relative;
  color: #55595d;
}
.catalog-header nav a:hover {
  color: #385521;
}
.catalog-header nav a[aria-current] {
  color: #24170d;
}
.catalog-header nav a[aria-current]:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 25%;
  right: 25%;
  height: 2px;
  background: #556b42;
}
.catalog-phone {
  display: flex;
  align-items: center;
  gap: 11px;
  white-space: nowrap;
}
.phone-circle {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #35521e;
  color: white;
}
.phone-circle svg {
  width: 23px;
  height: 23px;
}
.catalog-phone strong {
  display: block;
  font-size: 17px;
  color: #2d4819;
}
.catalog-phone small {
  font-size: 11px;
  display: block;
}
.catalog-hero {
  min-height: 330px;
  padding: 35px 0 28px;
  position: relative;
  background:
    linear-gradient(90deg, #faf5eb 0%, #faf5eb 46%, #faf5eb15 72%),
    url('assets/catalog-reference.png');
  background-size:
    100% 100%,
    auto 1900px;
  background-position:
    center,
    right -78px;
  overflow: hidden;
}
.catalog-hero h1 {
  font:
    700 clamp(38px, 5vw, 60px) / 1.05 Georgia,
    serif;
  letter-spacing: -1.3px;
}
.catalog-hero h2 {
  font:
    700 clamp(21px, 2.8vw, 32px) / 1.2 Georgia,
    serif;
  color: #996018;
  margin-top: 4px;
  max-width: 780px;
}
.catalog-hero p {
  color: #626566;
  font-size: 17px;
  line-height: 1.45;
  margin-top: 10px;
}
.catalog-benefits {
  display: flex;
  gap: 38px;
  margin-top: 27px;
}
.catalog-benefits > div {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #5b5f5a;
  font-size: 14px;
}
.catalog-benefits svg {
  width: 53px;
  height: 53px;
  border-radius: 50%;
  padding: 12px;
  background: linear-gradient(120deg, #35452c, #76806a);
  color: #fff;
  border: 2px solid #fff8;
}
.category-overview {
  padding-block: 24px 28px;
}
.category-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}
.category-heading h2 {
  font-size: 36px;
}
.category-heading > a {
  font-size: 13px;
  color: #666;
}
.catalog-layout {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 16px;
  border-radius: 18px;
  background: #fffaf470;
  scroll-margin-top: 20px;
}
.catalog-sidebar {
  align-self: start;
  background: #faf6ed85;
  border-radius: 14px;
  padding: 6px 0 15px;
}
.catalog-sidebar > h2 {
  font-size: 24px;
  padding: 0 16px 12px;
}
.catalog-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.catalog-sidebar a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid #e7ddcb66;
  font-size: 14px;
  border-radius: 9px;
  color: #55504a;
}
.catalog-sidebar svg {
  width: 21px;
  height: 21px;
  color: #3d2c1d;
}
.catalog-sidebar a[aria-current] {
  background: #dbdcc0;
  color: #2c281a;
}
.catalog-sidebar a:hover {
  background: #e9e6d8;
}
.sidebar-arrow {
  margin-left: auto;
  opacity: 0;
}
.catalog-sidebar a[aria-current] .sidebar-arrow {
  opacity: 1;
}
.catalog-section-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 16px;
}
.catalog-section-heading h2 {
  font-size: 35px;
}
.availability-label {
  font-size: 12px;
  color: #80501f;
  background: #faecd7;
  border: 1px solid #ecd4af;
  border-radius: 20px;
  padding: 4px 10px;
}
.catalog-category[hidden] {
  display: none;
}
.catalog-category {
  margin-bottom: 20px;
  scroll-margin-top: 22px;
}
.category-placeholder {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fffcf6;
  border-radius: 14px;
  overflow: hidden;
  min-height: 320px;
}
.category-placeholder > .category-photo {
  align-self: center;
}
.placeholder-details {
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.placeholder-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #96744e;
}
.placeholder-details h3 {
  font:
    700 25px Georgia,
    serif;
  margin: 10px 0 0;
}
.placeholder-details > p {
  font-size: 15px;
  line-height: 1.6;
  color: #68635b;
  margin: 13px 0 20px;
}
.stock-note {
  display: flex;
  gap: 11px;
  background: #f6ead8;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 12px;
  line-height: 1.45;
  width: 100%;
  margin-top: auto;
}
.stock-note > span:first-child {
  font-size: 22px;
  color: #a9670c;
}
.stock-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 13px 16px;
  margin-top: 9px;
  background: linear-gradient(110deg, #263f0e, #4a642b);
  color: #fff;
  border: 1px solid #48612c;
  border-radius: 12px;
  font-size: 15px;
  text-align: center;
  transition: background 0.2s;
}
.stock-button:hover {
  background: #4b6c2f;
}
.stock-button svg {
  width: 24px;
  height: 24px;
}
.stock-button small {
  display: block;
  font-size: 13px;
  margin-top: 3px;
  opacity: 0.9;
}
.catalog-help {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 18px;
  margin-top: 18px;
  margin-bottom: 20px;
}
.help-copy,
.help-action {
  background: linear-gradient(120deg, #f3ead9, #eae0cc);
  border-radius: 15px;
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.help-copy h2 {
  font-size: 27px;
}
.help-copy p {
  font-size: 15px;
  color: #65635c;
  line-height: 1.5;
}
.help-phone-icon {
  display: grid;
  place-items: center;
  width: 73px;
  height: 73px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #3e5928;
  color: white;
}
.help-phone-icon svg {
  width: 37px;
  height: 37px;
}
.help-action {
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}
.help-action .stock-button {
  border-radius: 30px;
  margin: 0;
  max-width: 320px;
}
.help-number {
  font-weight: 700;
  font-size: 18px;
}
.catalog-page .catalog-bottom {
  padding: 20px 0;
  background: #b08556;
  color: #fffaed;
  border-top: 5px solid #d5b88f;
}
.catalog-bottom > div {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.catalog-page .menu-toggle {
  color: #3f542c;
  border-color: #b1b498;
  background: #e5e4d5;
}
@media (max-width: 1100px) {
  .catalog-header-inner {
    gap: 15px;
  }
  .catalog-header nav {
    gap: 18px;
    font-size: 13px;
  }
  .catalog-brand strong {
    font-size: 23px;
  }
  .catalog-phone strong {
    font-size: 14px;
  }
  .catalog-phone small {
    font-size: 10px;
  }
  .category-copy {
    padding-left: 61px;
    padding-right: 25px;
  }
  .category-copy strong {
    font-size: 16px;
  }
  .category-description {
    font-size: 12px;
  }
  .category-icon {
    left: 10px;
    width: 46px;
    height: 46px;
  }
  .catalog-layout {
    grid-template-columns: 210px minmax(0, 1fr);
  }
  .placeholder-details {
    padding: 23px;
  }
  .catalog-help {
    grid-template-columns: 1.5fr 1fr;
  }
  .help-copy {
    gap: 18px;
  }
  .help-copy h2 {
    font-size: 24px;
  }
  .help-copy p {
    font-size: 13px;
  }
}
@media (max-width: 800px) {
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .catalog-header-inner {
    flex-wrap: wrap;
    padding-block: 14px;
    gap: 12px;
  }
  .catalog-header .menu-toggle {
    display: block;
    margin-left: auto;
    order: 2;
  }
  .catalog-header .catalog-phone {
    order: 1;
  }
  .catalog-header nav {
    display: none;
    order: 3;
    width: 100%;
    gap: 0;
    flex-direction: column;
    padding: 10px 0;
  }
  .catalog-header nav.open {
    display: flex;
  }
  .catalog-header nav a {
    padding: 12px;
  }
  .catalog-header nav a[aria-current]:after {
    left: 12px;
    right: auto;
    width: 30px;
  }
  .catalog-hero {
    padding-block: 30px;
    min-height: 330px;
    background-image:
      linear-gradient(90deg, #faf5eb, #faf5ebe6 55%, #faf5eb77), url('assets/catalog-reference.png');
  }
  .catalog-hero p {
    font-size: 15px;
    max-width: 560px;
  }
  .catalog-benefits {
    gap: 20px;
  }
  .catalog-benefits > div {
    font-size: 12px;
    gap: 8px;
  }
  .catalog-benefits svg {
    width: 44px;
    height: 44px;
    padding: 9px;
  }
  .category-heading h2 {
    font-size: 30px;
  }
  .catalog-layout {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .catalog-sidebar {
    padding: 0;
    background: none;
  }
  .catalog-sidebar > h2 {
    display: none;
  }
  .catalog-sidebar nav {
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 10px;
  }
  .catalog-sidebar a {
    white-space: nowrap;
    padding: 10px 14px;
    background: #eee8d9;
  }
  .catalog-sidebar .sidebar-arrow {
    display: none;
  }
  .catalog-section-heading h2 {
    font-size: 31px;
  }
  .catalog-help {
    grid-template-columns: 1fr;
  }
  .help-copy p br {
    display: none;
  }
  .help-action {
    padding: 20px;
  }
  .category-copy {
    min-height: 96px;
  }
  .catalog-all-link {
    font-size: 15px;
  }
}
@media (max-width: 480px) {
  .catalog-brand strong {
    font-size: 22px;
  }
  .catalog-header .catalog-phone {
    order: 3;
    width: 100%;
    justify-content: center;
    padding-top: 5px;
  }
  .catalog-header nav {
    order: 4;
  }
  .catalog-header .menu-toggle {
    order: 2;
  }
  .catalog-brand > svg {
    width: 38px;
    height: 38px;
  }
  .catalog-phone strong {
    font-size: 17px;
  }
  .catalog-phone small {
    font-size: 11px;
  }
  .catalog-hero h1 {
    font-size: 40px;
  }
  .catalog-hero h2 {
    font-size: 23px;
  }
  .catalog-hero p br {
    display: none;
  }
  .catalog-benefits {
    gap: 14px;
    flex-wrap: wrap;
  }
  .catalog-benefits > div {
    font-size: 11px;
  }
  .catalog-benefits svg {
    width: 38px;
    height: 38px;
  }
  .category-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .category-heading h2 {
    font-size: 29px;
  }
  .category-grid {
    gap: 12px;
  }
  .category-copy {
    padding: 22px 10px 12px;
    min-height: 122px;
  }
  .category-icon {
    top: -24px;
    left: 10px;
    width: 40px;
    height: 40px;
  }
  .category-icon svg {
    width: 22px;
    height: 22px;
  }
  .category-copy strong {
    font-size: 16px;
    padding-right: 14px;
  }
  .category-description {
    font-size: 12px;
  }
  .category-arrow {
    top: 23px;
    right: 6px;
    width: 19px;
    height: 19px;
    font-size: 19px;
  }
  .catalog-layout {
    padding: 12px;
  }
  .catalog-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
  .catalog-section-heading h2 {
    font-size: 31px;
  }
  .category-placeholder {
    grid-template-columns: 1fr;
  }
  .placeholder-details {
    padding: 22px;
  }
  .help-copy {
    padding: 22px;
    gap: 15px;
  }
  .help-phone-icon {
    width: 49px;
    height: 49px;
  }
  .help-phone-icon svg {
    width: 27px;
    height: 27px;
  }
  .help-copy h2 {
    font-size: 23px;
  }
  .catalog-bottom > div {
    gap: 15px;
    font-size: 11px;
  }
}

.catalog-hero {
  background-image:
    linear-gradient(90deg, #faf5ebd9, #faf5ebaa 42%, transparent 75%),
    url('assets/catalog-hero.png');
  background-size: cover, cover;
  background-position: center, center;
}
@media (max-width: 800px) {
  .catalog-hero {
    background-image:
      linear-gradient(90deg, #faf5ebf0, #faf5ebc9 65%, #faf5eb80), url('assets/catalog-hero.png');
    background-position:
      center,
      65% center;
  }
}
.stoves-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.stove-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 12px;
  border-radius: 14px;
  background: #fffcf6;
  box-shadow: 0 4px 18px #78521c06;
}
.stove-photo {
  height: 205px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 9px;
  overflow: hidden;
  margin-bottom: 14px;
}
.stove-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}
.stove-card h3 {
  font-size: 17px;
  line-height: 1.3;
  margin: 0 0 13px;
  min-height: 44px;
  color: #231c14;
}
.stove-specs {
  margin: 0 0 16px;
  font-size: 12px;
  line-height: 1.4;
}
.stove-specs > div {
  padding: 7px 0;
  border-bottom: 1px solid #e9dece80;
}
.stove-specs > div:first-child {
  padding-top: 0;
}
.stove-specs dt {
  color: #79746b;
  font-size: 11px;
}
.stove-specs dd {
  margin: 2px 0 0;
  color: #3e3a32;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.stove-card .stock-note {
  padding: 10px 8px;
  font-size: 11px;
  gap: 8px;
  margin-top: auto;
}
.stove-card .stock-note > span:first-child {
  font-size: 20px;
}
.stove-card .stock-button {
  padding: 10px 5px;
  gap: 6px;
  font-size: 12px;
  border-radius: 10px;
}
.stove-card .stock-button svg {
  width: 18px;
  height: 18px;
}
.stove-card .stock-button small {
  font-size: 11px;
  white-space: nowrap;
}
.catalog-sidebar {
  position: sticky;
  top: 20px;
}
@media (max-width: 1100px) and (min-width: 801px) {
  .stoves-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .stove-photo {
    height: 185px;
  }
}
@media (max-width: 800px) {
  .stoves-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .catalog-sidebar {
    position: static;
  }
  .stove-photo {
    height: 190px;
  }
}
@media (max-width: 600px) {
  .stoves-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .stove-card {
    padding: 10px;
  }
  .stove-photo {
    height: 180px;
  }
  .stove-card h3 {
    font-size: 16px;
  }
  .stove-card .stock-button {
    font-size: 11px;
  }
  .stove-card .stock-button small {
    font-size: 10px;
  }
}
@media (max-width: 360px) {
  .stoves-grid {
    grid-template-columns: 1fr;
  }
  .stove-photo {
    height: 260px;
  }
  .stove-card h3 {
    min-height: 0;
  }
  .stove-card .stock-button {
    font-size: 15px;
  }
  .stove-card .stock-button small {
    font-size: 13px;
  }
}

.stove-photo {
  background: transparent;
}
.stove-card .stock-button {
  margin-top: auto;
}
.stove-card .stove-specs {
  margin-bottom: 18px;
}

.grills-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grill-card .stove-photo {
  height: 300px;
}
.grill-card h3 {
  min-height: 0;
  font-size: 20px;
}
.grill-description {
  font-size: 14px;
  line-height: 1.6;
  color: #65625d;
  margin: 0 0 16px;
}
.grill-dimensions-label {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 10px;
}
.grill-card .stock-button {
  font-size: 14px;
}
.grill-card .stock-button small {
  font-size: 12px;
}
@media (max-width: 600px) {
  .grills-grid {
    grid-template-columns: 1fr;
  }
  .grill-card .stove-photo {
    height: 280px;
  }
}

.simple-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.simple-product-card {
  overflow: hidden;
  border-radius: 12px;
  background: #fffcf6;
  box-shadow: 0 4px 18px #78521c06;
}
.simple-product-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: calc(var(--photo-w) / var(--photo-h));
  background: #ded0ba;
}
.simple-product-photo img {
  position: absolute;
  max-width: none;
  width: calc(1536 / var(--photo-w) * 100%);
  height: auto;
  left: calc(var(--photo-x) / var(--photo-w) * -100%);
  top: calc(var(--photo-y) / var(--photo-h) * -100%);
}
.simple-product-card h3 {
  margin: 0;
  padding: 18px 12px;
  text-align: center;
  font:
    400 21px/1.25 Georgia,
    serif;
  color: #312219;
}
@media (max-width: 600px) {
  .simple-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .simple-product-card h3 {
    font-size: 18px;
    padding: 14px 8px;
  }
}
@media (max-width: 360px) {
  .simple-products-grid {
    grid-template-columns: 1fr;
  }
}

.simple-products-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.simple-product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 12px;
}
.simple-product-photo {
  border-radius: 9px;
}
.simple-product-card h3 {
  font:
    600 17px/1.3 Arial,
    sans-serif;
  text-align: left;
  padding: 14px 0;
  min-height: 72px;
}
.simple-product-card .stock-button {
  margin-top: auto;
  padding: 10px 5px;
  gap: 6px;
  font-size: 12px;
  border-radius: 10px;
}
.simple-product-card .stock-button svg {
  width: 18px;
  height: 18px;
}
.simple-product-card .stock-button small {
  font-size: 11px;
  white-space: nowrap;
}
@media (max-width: 1100px) {
  .simple-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .simple-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .simple-product-card {
    padding: 10px;
  }
  .simple-product-card h3 {
    font-size: 16px;
  }
  .simple-product-card .stock-button {
    font-size: 11px;
  }
  .simple-product-card .stock-button small {
    font-size: 10px;
  }
}
@media (max-width: 360px) {
  .simple-products-grid {
    grid-template-columns: 1fr;
  }
}

.wood-product-photo {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 9px;
}
.wood-product-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
