body.home .hero {
  min-height: 340px;
}

body.home .hero-content {
  padding: 42px 0 48px;
}

body.home .hero h1 {
  font-size: 3.5rem;
  line-height: 1.08;
}

body.home .hero .eyebrow {
  margin-top: 0;
  font-size: 0.8rem;
}

body.home .hero-content > p:not(.eyebrow) {
  max-width: 500px;
  font-size: 1rem;
  margin-top: 16px;
}

body.home .hero-actions {
  margin-top: 22px;
}

body.home .hero-actions a {
  min-height: 44px;
  border-radius: 4px;
  text-align: center;
  white-space: normal;
}

.home-collections {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 30px 0;
  scroll-margin-top: 180px;
}

.home-collections-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.home-collections-heading h2 {
  font-size: 1.65rem;
  line-height: 1.25;
  margin: 0;
}

.home-view-all {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #7d2230;
  text-underline-offset: 4px;
  flex-shrink: 0;
}

.home-collection-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
}

.home-collection {
  display: block;
  min-width: 0;
  text-decoration: none;
}

.home-collection img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: #252527;
}

.home-collection h3 {
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 12px 0 6px;
  overflow-wrap: anywhere;
}

.home-collection > span {
  font-size: 0.8rem;
  color: #5b5b61;
}

.home-collection:hover h3 {
  color: #7d2230;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-collection:focus-visible,
.home-collections a:focus-visible,
.home-collections input:focus-visible,
.home-collections button:focus-visible {
  outline: 2px solid #9d2f3d;
  outline-offset: 4px;
}

.home-collections .catalog-categories {
  margin-top: 24px;
}

.home-search {
  margin-bottom: 0;
}

body.home .assurance-strip {
  transform: none;
  box-shadow: none;
  border-radius: 0;
}

body.home .process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 780px) {
  body.home .hero { min-height: 310px; }
  body.home .hero-content { width: calc(100% - 32px); padding: 28px 0 34px; }
  body.home .hero h1 { font-size: 2.75rem; }
  body.home .hero-content > p:not(.eyebrow) { font-size: 0.95rem; line-height: 1.6; }
  body.home .hero-actions { gap: 10px; margin-top: 18px; }
  body.home .hero-actions a { padding: 8px 12px; font-size: 0.85rem; }
  .home-collections { width: calc(100% - 32px); padding: 24px 0; scroll-margin-top: 240px; }
  .home-collections-heading { gap: 12px; margin-bottom: 16px; }
  .home-collections-heading h2 { font-size: 1.4rem; }
  .home-view-all { font-size: 0.85rem; }
  .home-collection-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 12px; }
  .home-collection h3 { font-size: 0.8rem; margin: 9px 0 4px; }
  .home-collection > span { font-size: 0.75rem; }
  body.home .process-grid { grid-template-columns: minmax(0, 1fr); }
}

.collection-checklist {
  clear: both;
  padding: 28px 0;
  margin-top: 28px;
  border-top: 1px solid #dddde1;
  max-width: 100%;
}

.collection-checklist h2,
.article-products h2 {
  font-size: 1.35rem;
  line-height: 1.35;
  margin: 0 0 20px;
}

.collection-checklist dl,
.article-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.collection-checklist dl { margin: 0 0 20px; }
.collection-checklist dt { font-weight: 650; margin-bottom: 8px; }
.collection-checklist dd { margin: 0; line-height: 1.65; color: #5b5b61; }
.collection-checklist nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.collection-checklist a,
.article-product-link { color: #7d2230; text-underline-offset: 3px; }

.article-products {
  padding: 28px 0;
  margin: 28px 0 0;
  border-top: 1px solid #dddde1;
}

.article-product { min-width: 0; }
.article-product a { text-decoration: none; }
.article-product img {
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  object-fit: contain;
  display: block;
  background: #252527;
}
.article-product h3 { font-size: 1rem; line-height: 1.4; margin: 12px 0 8px; overflow-wrap: anywhere; }
.article-product .price { color: #7d2230; font-weight: 650; margin: 0 0 12px; }
.article-product-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.9rem; }

@media (max-width: 680px) {
  .collection-checklist dl { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .article-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
}

.single-post .article-page {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 32px 0 64px;
}

.single-post .article-shell {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.single-post .article-shell > h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin: 20px 0;
  overflow-wrap: anywhere;
}

.article-overview.has-contents {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin: 24px 0 32px;
}

.single-post .article-featured-image {
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
}

.single-post .article-featured-image img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: contain;
  background: #252527;
}

.article-overview .article-contents {
  margin: 0;
}

@media (max-width: 680px) {
  .single-post .article-page {
    width: calc(100% - 32px);
    padding-top: 24px;
  }
  .single-post .article-shell > h1 {
    font-size: 1.8rem;
  }
  .article-overview.has-contents {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .single-post .article-featured-image img {
    height: 240px;
  }
}

.article-breadcrumb,
.article-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
}

.article-breadcrumb {
  margin-bottom: 20px;
  font-size: 0.85rem;
}

.article-contents {
  margin: 28px 0;
  padding: 20px 0;
  border-top: 1px solid #dddde1;
  border-bottom: 1px solid #dddde1;
  font-size: 0.95rem;
  line-height: 1.7;
}

.article-contents ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.article-contents a,
.article-breadcrumb a {
  color: #7d2230;
  text-underline-offset: 3px;
}

.entry-content h2[id] {
  scroll-margin-top: 24px;
}

.entry-content img,
.article-featured-image img {
  max-width: 100%;
  height: auto;
}

.entry-content figcaption {
  font-size: 0.85rem;
  color: #5b5b61;
  line-height: 1.5;
}

.single-product #primary {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 64px;
  float: none;
}

.single-product.woocommerce div.product .summary .product_title {
  font-size: 2.5rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.single-product.woocommerce div.product .summary p.price,
.single-product.woocommerce div.product .summary span.price,
.single-product.woocommerce div.product .related .price {
  color: #7d2230;
  font-weight: 650;
}

.single-product .product-audience {
  margin: 12px 0 18px;
  color: #5b5b61;
  font-size: 0.85rem;
}

.single-product .summary form.cart .quantity {
  margin: 0 10px 16px 0;
}

.single-product .summary .quantity input.qty {
  min-height: 44px;
  width: 64px;
  border: 1px solid #b5b5bb;
  border-radius: 4px;
}

.single-product .summary .single_add_to_cart_button {
  min-height: 44px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.single-product .product-checkout-note,
.single-product .product-details-links {
  display: block;
  clear: both;
  line-height: 1.6;
}

.single-product .product-details-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.single-product .product_meta {
  line-height: 1.7;
}

.single-product .woocommerce-tabs .panel {
  max-width: 820px;
  line-height: 1.7;
}

@media (max-width: 600px) {
  .single-product #primary {
    width: calc(100% - 32px);
    padding-top: 16px;
  }
  .single-product.woocommerce div.product .summary .product_title {
    font-size: 2rem;
  }
}

.shuomu-catalog {
  background: #fff;
}

.shuomu-catalog #primary {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 30px 0 64px;
  float: none;
}

.shuomu-catalog #main {
  width: 100%;
  margin: 0;
}

.shuomu-catalog .woocommerce-products-header h1 {
  margin: 20px 0 16px;
  font-size: 2.5rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.catalog-discovery {
  margin-bottom: 26px;
}

.catalog-intro {
  max-width: 720px;
  margin: 0 0 20px;
  color: #5b5b61;
  line-height: 1.6;
}

.catalog-search {
  max-width: 520px;
  margin: 16px 0 22px;
}

.catalog-search label {
  display: block;
  margin-bottom: 8px;
  color: #44444a;
  font-size: 0.85rem;
  font-weight: 700;
}

.catalog-search-controls {
  display: flex;
  gap: 8px;
}

.catalog-search input[type="search"] {
  min-width: 0;
  width: 100%;
  min-height: 44px;
  border: 1px solid #b5b5bb;
  border-radius: 4px;
  padding: 10px 12px;
  background: #fff;
  color: #171717;
}

.catalog-search button {
  min-height: 44px;
  border: 0;
  border-radius: 4px;
  padding: 10px 18px;
  color: #fff;
  background: #9d2f3d;
  font-weight: 700;
}

.catalog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  padding: 14px 0;
  border-top: 1px solid #dddde1;
  border-bottom: 1px solid #dddde1;
}

.catalog-categories a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: #505057;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.catalog-categories a[aria-current="page"],
.catalog-categories a:hover {
  color: #7d2230;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

.catalog-guide {
  margin: 16px 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.catalog-guide a {
  color: #7d2230;
  text-underline-offset: 4px;
}

.shuomu-catalog.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 24px;
  clear: both;
  margin: 20px 0 38px;
}

.shuomu-catalog.woocommerce ul.products::before,
.shuomu-catalog.woocommerce ul.products::after {
  display: none;
}

.shuomu-catalog.woocommerce ul.products li.product {
  width: 100%;
  min-width: 0;
  float: none;
  margin: 0;
  padding: 0;
}

.shuomu-catalog.woocommerce ul.products li.product a img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  margin: 0 0 14px;
}

.shuomu-catalog.woocommerce ul.products li.product h2 {
  font-size: 1rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.shuomu-catalog.woocommerce ul.products li.product .price {
  color: #7d2230;
  line-height: 1.6;
  font-weight: 650;
}

.shuomu-catalog.woocommerce ul.products li.product .button {
  margin-top: 12px;
  border-radius: 4px;
  max-width: 100%;
  line-height: 1.4;
  white-space: normal;
}

.journal-guide-index {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  margin-bottom: 8px;
}

.journal-guide-index h2 {
  margin: 0 0 20px;
  font-size: 1.45rem;
}

.journal-guide-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 28px;
}

.journal-guide-links a {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 0 0 16px;
  border-bottom: 2px solid #9d2f3d;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.journal-guide-links strong {
  font-size: 1rem;
  line-height: 1.4;
}

.journal-guide-links a > span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.journal-guide-links a:hover strong {
  color: var(--accent-strong);
}

.catalog-search button:hover {
  background: #7d2230;
}

.catalog-discovery :focus-visible,
.journal-guide-links a:focus-visible {
  outline: 2px solid #9d2f3d;
  outline-offset: 4px;
}

@media (min-width: 781px) and (max-width: 1600px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px 18px;
  }

  .site-header .brand { grid-column: 1; grid-row: 1; min-width: 0; }
  .site-header .shuomu-language-control { grid-column: 2; grid-row: 1; }
  .site-header .cart-button { grid-column: 3; grid-row: 1; }
  .site-header .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    overflow-x: auto;
    max-width: 100%;
  }
  .site-header .main-nav a { padding: 8px 12px; }
}

@media (max-width: 1050px) {
  .shuomu-catalog.woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .journal-guide-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
  }
  .site-header .brand { grid-column: 1 / -1; min-width: 0; }
  body .site-header .main-nav {
    grid-column: 1 / -1;
    max-width: 100%;
    flex-wrap: wrap !important;
    overflow-x: visible;
    white-space: normal;
    gap: 2px 8px !important;
  }
  .site-header .main-nav a { padding: 8px 4px; }
  .site-header .shuomu-language-control { min-width: 0; width: 100%; }
  .site-header .shuomu-language-control span { font-size: 0.7rem; }
  .site-header .shuomu-language-control select { min-width: 0; width: 100%; }
  .site-header .cart-button { width: auto; }
  .shuomu-catalog #primary {
    width: calc(100% - 28px);
    padding-top: 22px;
  }
  .shuomu-catalog .woocommerce-products-header h1 { font-size: 2rem; }
  .shuomu-catalog.woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
  }
  .catalog-categories { gap: 4px 16px; }
  .catalog-categories a { min-height: 30px; font-size: 0.85rem; }
  .shuomu-catalog.woocommerce .woocommerce-result-count,
  .shuomu-catalog.woocommerce .woocommerce-ordering {
    float: none;
    margin: 0 0 16px;
  }
  .shuomu-catalog.woocommerce .woocommerce-ordering select { max-width: 100%; min-height: 40px; }
}

@media (max-width: 420px) {
  .journal-guide-links { grid-template-columns: 1fr; }
  .shuomu-catalog.woocommerce ul.products li.product h2 { font-size: 0.9rem; }
}
