/* Azenlyx catalogue interface. Loaded after shared theme variables. */
:root {
  --color-primary: #17211d;
  --color-secondary: #34443c;
  --color-accent: #b48a24;
  --color-bg: #ffffff;
  --color-bg-alt: #f2f4f1;
  --color-text: #202622;
  --color-text-muted: #647069;
  --color-border: #d8ddd8;
  --color-header-bg: #17211d;
  --color-header-text: #ffffff;
  --color-link: #246247;
  --color-link-hover: #173f2e;
  --color-btn-bg: #246247;
  --radius: 3px;
  --radius-lg: 5px;
  --shadow-sm: 0 1px 2px rgba(23, 33, 29, .08);
  --shadow-md: 0 8px 22px rgba(23, 33, 29, .12);
}

.azenlyx-logo-link {
  display: inline-flex;
  text-decoration: none;
}
.site-header .azenlyx-logo {
  display: block;
  height: 34px;
  max-width: 154px;
  width: auto;
}

.home .site-footer { margin-top: 0; }
.azenlyx-home { background: var(--color-bg); }
.azenlyx-home .container { max-width: 1180px; }

.azenlyx-command {
  background: #1d2723;
  border-bottom: 4px solid var(--color-accent);
  color: #fff;
  padding: 3rem 0;
}
.azenlyx-command__layout {
  align-items: center;
  display: grid;
  gap: 4rem;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
}
.azenlyx-kicker,
.azenlyx-section-label {
  color: #946f17;
  font-size: .75rem;
  font-weight: 800;
  margin: 0 0 .55rem;
  text-transform: uppercase;
}
.azenlyx-kicker { color: #e4bd5a; }
.azenlyx-kicker span { color: #819087; padding-inline: .45rem; }
.azenlyx-command h1 {
  color: #fff;
  font-size: 2.65rem;
  line-height: 1.08;
  margin: 0;
  max-width: 680px;
}
.azenlyx-command__intro > p:last-child {
  color: #c9d1cc;
  font-size: 1.02rem;
  line-height: 1.6;
  margin: 1rem 0 0;
  max-width: 650px;
}
.azenlyx-command__tools {
  border-left: 1px solid #526059;
  padding-left: 2rem;
}
.azenlyx-search label {
  color: #fff;
  display: block;
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: .55rem;
}
.azenlyx-search > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}
.azenlyx-search input[type="search"] {
  background: #fff;
  border: 1px solid #fff;
  border-radius: 3px 0 0 3px;
  color: var(--color-text);
  min-height: 50px;
  min-width: 0;
  padding-inline: .9rem;
}
.azenlyx-search button {
  border-radius: 0 3px 3px 0;
  min-height: 50px;
  padding-inline: 1.2rem;
}
.azenlyx-shop-link {
  color: #f4d88f;
  display: inline-flex;
  font-size: .88rem;
  font-weight: 700;
  margin-top: .85rem;
  min-height: 44px;
  padding-block: .65rem;
}

.azenlyx-facts { border-bottom: 1px solid var(--color-border); }
.azenlyx-facts dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}
.azenlyx-facts dl > div {
  border-right: 1px solid var(--color-border);
  padding: 1rem 1.25rem;
}
.azenlyx-facts dl > div:first-child { padding-left: 0; }
.azenlyx-facts dl > div:last-child { border-right: 0; }
.azenlyx-facts dt {
  color: var(--color-text-muted);
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
}
.azenlyx-facts dd { font-size: .92rem; font-weight: 700; margin: .15rem 0 0; }

.azenlyx-brands { background: var(--color-bg-alt); padding: 1.75rem 0 2rem; }
.azenlyx-section-head {
  align-items: end;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  margin-bottom: 1.15rem;
}
.azenlyx-section-head h2 { font-size: 1.55rem; margin: 0; }
.azenlyx-section-head > a {
  color: var(--color-link);
  font-size: .86rem;
  font-weight: 750;
  min-height: 44px;
  padding-block: .65rem;
}
.azenlyx-brands ul {
  display: grid;
  gap: .65rem;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
.azenlyx-brands li { margin: 0; }
.azenlyx-brands li a {
  align-items: center;
  background: #fff;
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  display: flex;
  font-size: .9rem;
  font-weight: 700;
  justify-content: space-between;
  min-height: 48px;
  padding: .65rem .8rem;
  text-decoration: none;
}
.azenlyx-brands li a:hover { border-color: #87978e; color: var(--color-link); }
.azenlyx-brands small { color: var(--color-text-muted); font-weight: 600; }

.azenlyx-products { padding: 2.75rem 0 3.25rem; }
.azenlyx-products .azenlyx-section-head { margin-bottom: 1.25rem; }
.azenlyx-products .woocommerce ul.products {
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 0;
}
.azenlyx-products .woocommerce ul.products::before,
.azenlyx-products .woocommerce ul.products::after {
  content: none !important;
  display: none !important;
}
.azenlyx-products .woocommerce ul.products li.product {
  border-radius: 3px;
  box-shadow: none;
  min-width: 0;
}
.azenlyx-products .woocommerce ul.products li.product:hover {
  border-color: #9aa69f;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.azenlyx-products .woocommerce ul.products li.product a img {
  aspect-ratio: 4 / 5;
  background: #fff;
  min-height: 0;
  object-fit: contain;
  padding: .85rem;
}
.azenlyx-products .woocommerce-loop-product__title {
  font-size: .9rem !important;
  line-height: 1.35 !important;
  overflow-wrap: anywhere;
}
.azenlyx-products .woocommerce ul.products li.product .price { font-size: 1.02rem; }
.azenlyx-products .woocommerce ul.products li.product .button {
  align-self: stretch;
  margin-top: auto;
  text-align: center;
}

.azenlyx-check {
  background: #edf1ed;
  border-bottom: 1px solid var(--color-border);
  border-top: 1px solid var(--color-border);
  padding: 2.25rem 0;
}
.azenlyx-check__layout {
  align-items: center;
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr);
}
.azenlyx-check h2 { font-size: 1.55rem; margin: 0; }
.azenlyx-check ol {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
.azenlyx-check li {
  border-left: 1px solid #c4ccc6;
  display: grid;
  gap: .35rem;
  padding: .25rem 1.15rem;
}
.azenlyx-check li span { color: #8a6818; font-size: .7rem; font-weight: 800; }
.azenlyx-check li strong { font-size: .88rem; }

.azenlyx-guides { padding: 3rem 0; }
.azenlyx-guides ul {
  border-top: 1px solid var(--color-border);
  list-style: none;
  margin: 0;
  padding: 0;
}
.azenlyx-guides li { border-bottom: 1px solid var(--color-border); margin: 0; }
.azenlyx-guides li a {
  align-items: center;
  color: var(--color-primary);
  display: grid;
  font-weight: 700;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 58px;
  padding: .75rem 0;
  text-decoration: none;
}
.azenlyx-guides li a:hover { color: var(--color-link); }
.azenlyx-guides time { color: var(--color-text-muted); font-size: .76rem; font-weight: 500; }

.azenlyx-notice {
  background: #f7efed;
  border-top: 1px solid #e6d4cf;
  padding: 1.35rem 0;
}
.azenlyx-notice .container {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 190px minmax(0, 1fr);
}
.azenlyx-notice h2 { color: #762f26; font-size: .95rem; margin: 0; }
.azenlyx-notice p { color: #643f39; font-size: .86rem; margin: 0; }

.azenlyx-journal__header {
  background: #edf1ed;
  border-bottom: 1px solid var(--color-border);
  padding: 2.75rem 0 2.25rem;
}
.azenlyx-journal__header h1 { font-size: 2.35rem; margin: 0; }
.azenlyx-journal__header > .container > p:not(.azenlyx-section-label) {
  color: var(--color-text-muted);
  margin: .75rem 0 1rem;
  max-width: 780px;
}
.azenlyx-journal__header nav { display: flex; flex-wrap: wrap; gap: .55rem 1.25rem; }
.azenlyx-journal__header nav a {
  color: var(--color-link);
  font-size: .86rem;
  font-weight: 750;
  min-height: 44px;
  padding-block: .6rem;
}
.azenlyx-journal__body { padding-block: 2.5rem 3.5rem; }
.azenlyx-journal__grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.azenlyx-guide-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}
.azenlyx-guide-card__image {
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  display: block;
}
.azenlyx-guide-card__image img {
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: contain;
  padding: 1rem;
  width: 100%;
}
.azenlyx-guide-card__body { display: flex; flex: 1; flex-direction: column; padding: 1rem; }
.azenlyx-guide-card time { color: #806117; font-size: .7rem; font-weight: 750; text-transform: uppercase; }
.azenlyx-guide-card h2 { font-size: 1.12rem; line-height: 1.35; margin: .45rem 0 .65rem; }
.azenlyx-guide-card h2 a { color: var(--color-primary); text-decoration: none; }
.azenlyx-guide-card h2 a:hover { color: var(--color-link); }
.azenlyx-guide-card__excerpt { color: var(--color-text-muted); font-size: .88rem; }
.azenlyx-guide-card__excerpt p { margin: 0; }
.azenlyx-guide-card .btn { align-self: flex-start; margin-top: auto; min-height: 44px; }

.azenlyx-article-layout { padding-block: 2.5rem 4rem; }
.azenlyx-article-layout > main {
  align-items: start;
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 760px) minmax(240px, 1fr);
}
.azenlyx-article { max-width: none; }
.azenlyx-article .entry-title { font-size: 2.2rem; line-height: 1.16; }
.azenlyx-article__product {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  margin: 1.5rem 0 2rem;
}
.azenlyx-article__product > a { background: #fff; display: block; }
.azenlyx-article__product img {
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: contain;
  padding: 1.25rem;
  width: 100%;
}
.azenlyx-article__product figcaption {
  color: var(--color-text-muted);
  font-size: .8rem;
  line-height: 1.45;
  margin: 0;
  padding: .7rem .85rem;
  text-align: left;
}
.azenlyx-article__footer {
  align-items: center;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
}
.azenlyx-article__footer .btn { min-height: 44px; }
.azenlyx-related {
  border-top: 3px solid var(--color-accent);
  position: sticky;
  top: 2rem;
}
.azenlyx-related h2 { font-size: 1.05rem; margin: 1rem 0 .65rem; }
.azenlyx-related ul { border-top: 1px solid var(--color-border); list-style: none; margin: 0; padding: 0; }
.azenlyx-related li { border-bottom: 1px solid var(--color-border); padding: .75rem 0; }
.azenlyx-related li a { color: var(--color-primary); display: block; font-size: .88rem; font-weight: 700; line-height: 1.4; }
.azenlyx-related li time { color: var(--color-text-muted); display: block; font-size: .7rem; margin-top: .25rem; }
.azenlyx-related nav { display: flex; flex-wrap: wrap; gap: .35rem .75rem; padding-top: .8rem; }
.azenlyx-related nav a { align-items: center; color: var(--color-link); display: inline-flex; font-size: .8rem; font-weight: 700; min-height: 44px; padding-block: .45rem; }

.azenlyx-contact { padding-block: 2.5rem 4rem; }
.azenlyx-contact main { max-width: 860px; }
.azenlyx-contact .entry-header { margin-bottom: 1.25rem; }
.azenlyx-contact .entry-header > p:last-child { color: var(--color-text-muted); max-width: 720px; }
.azenlyx-contact__notes {
  border-bottom: 1px solid var(--color-border);
  border-top: 1px solid var(--color-border);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1.5rem;
}
.azenlyx-contact__notes p { display: grid; gap: .2rem; margin: 0; padding: .8rem 1rem .8rem 0; }
.azenlyx-contact__notes p + p { border-left: 1px solid var(--color-border); padding-left: 1rem; }
.azenlyx-contact__notes span { color: var(--color-text-muted); font-size: .85rem; }
.azenlyx-contact .sgeo-contact-form { margin-top: 0; }
.azenlyx-contact .sgeo-contact-form button { min-height: 44px; }
.azenlyx-product-meta { display: flex; flex-wrap: wrap; gap: .35rem 1rem; }
.single-product form.cart .quantity .qty { min-height: 44px; }

/* Product archives use a fixed catalogue grid instead of WooCommerce floats. */
.woocommerce-shop .content-area,
.tax-product_cat .content-area { padding-block: 1.75rem 3.5rem; }
.woocommerce-shop .wc-main > .woocommerce-breadcrumb,
.tax-product_cat .wc-main > .woocommerce-breadcrumb { margin-bottom: .75rem; }
.woocommerce-shop .wc-main > .page-title,
.tax-product_cat .wc-main > .page-title {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 1.25rem;
}
.woocommerce-shop .woocommerce-result-count,
.tax-product_cat .woocommerce-result-count {
  align-items: center;
  display: inline-flex;
  min-height: 44px;
  margin: 0 0 1.25rem;
}
.woocommerce-shop .woocommerce-ordering,
.tax-product_cat .woocommerce-ordering { margin: 0 0 1.25rem; }
.woocommerce-shop .woocommerce-ordering select,
.tax-product_cat .woocommerce-ordering select {
  background: #fff;
  min-height: 44px;
  padding-inline: .8rem 2.2rem;
}
.woocommerce-shop ul.products,
.tax-product_cat ul.products {
  clear: both;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.woocommerce-shop ul.products::before,
.woocommerce-shop ul.products::after,
.tax-product_cat ul.products::before,
.tax-product_cat ul.products::after {
  content: none !important;
  display: none !important;
}
.woocommerce-shop ul.products li.product,
.tax-product_cat ul.products li.product {
  height: 100%;
  min-width: 0;
}
.woocommerce-shop ul.products li.product a img,
.tax-product_cat ul.products li.product a img {
  aspect-ratio: 4 / 5;
  background: #fff;
  min-height: 0;
  object-fit: contain;
  padding: .8rem;
}
.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
.tax-product_cat ul.products li.product .woocommerce-loop-product__title {
  font-size: .9rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.woocommerce-shop ul.products li.product .button,
.woocommerce-shop ul.products li.product .added_to_cart,
.tax-product_cat ul.products li.product .button,
.tax-product_cat ul.products li.product .added_to_cart {
  align-self: stretch;
  margin-top: auto;
  text-align: center;
}
.woocommerce-shop nav.woocommerce-pagination ul.page-numbers,
.tax-product_cat nav.woocommerce-pagination ul.page-numbers {
  border: 0;
  display: flex;
  gap: .35rem;
  justify-content: center;
}
.woocommerce-shop nav.woocommerce-pagination ul.page-numbers li,
.tax-product_cat nav.woocommerce-pagination ul.page-numbers li { border: 0; }
.woocommerce-shop nav.woocommerce-pagination ul.page-numbers a,
.woocommerce-shop nav.woocommerce-pagination ul.page-numbers span,
.tax-product_cat nav.woocommerce-pagination ul.page-numbers a,
.tax-product_cat nav.woocommerce-pagination ul.page-numbers span {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
}

@media (max-width: 1024px) {
  .woocommerce-shop ul.products,
  .tax-product_cat ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .azenlyx-command__layout { gap: 2rem; grid-template-columns: 1fr; }
  .azenlyx-command__tools { border-left: 0; border-top: 1px solid #526059; padding: 1.4rem 0 0; }
  .azenlyx-products .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .azenlyx-check__layout { gap: 1.75rem; grid-template-columns: 1fr; }
  .azenlyx-journal__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .azenlyx-article-layout > main { gap: 2rem; grid-template-columns: minmax(0, 1fr) 230px; }
}

@media (max-width: 640px) {
  .site-header .azenlyx-logo { height: 30px; max-width: 135px; }
  .azenlyx-command { padding: 1.8rem 0; }
  .azenlyx-command h1 { font-size: 2rem; }
  .azenlyx-command__intro > p:last-child { font-size: .95rem; line-height: 1.5; margin-top: .75rem; }
  .azenlyx-command__layout { gap: 1.2rem; }
  .azenlyx-command__tools { padding-top: 1rem; }
  .azenlyx-facts dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .azenlyx-facts dl > div { border-bottom: 1px solid var(--color-border); padding: .75rem; }
  .azenlyx-facts dl > div:nth-child(odd) { padding-left: 0; }
  .azenlyx-facts dl > div:nth-child(even) { border-right: 0; }
  .azenlyx-facts dl > div:nth-last-child(-n+2) { border-bottom: 0; }
  .azenlyx-brands { padding: 1.25rem 0; }
  .azenlyx-brands ul {
    display: flex;
    gap: .6rem;
    overflow-x: auto;
    padding-bottom: .35rem;
  }
  .azenlyx-brands li { flex: 0 0 145px; }
  .azenlyx-section-head { margin-bottom: .8rem; }
  .azenlyx-section-head h2 { font-size: 1.35rem; }
  .azenlyx-products { padding: 1.75rem 0 2.5rem; }
  .azenlyx-products .woocommerce ul.products {
    gap: .7rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .azenlyx-products .woocommerce ul.products li.product a img { padding: .5rem; }
  .azenlyx-products .woocommerce-loop-product__title {
    font-size: .78rem !important;
    line-height: 1.3 !important;
    padding: .65rem .65rem .2rem !important;
  }
  .azenlyx-products .woocommerce ul.products li.product .price {
    font-size: .92rem;
    padding-inline: .65rem;
  }
  .azenlyx-products .woocommerce ul.products li.product .button {
    font-size: .78rem;
    margin: .65rem;
    min-height: 44px;
    padding: .6rem .35rem;
  }
  .azenlyx-check { padding: 1.75rem 0; }
  .azenlyx-check ol { grid-template-columns: 1fr; }
  .azenlyx-check li { border-left: 0; border-top: 1px solid #c4ccc6; grid-template-columns: 2.25rem 1fr; padding: .7rem 0; }
  .azenlyx-check li span { align-self: center; }
  .azenlyx-guides { padding: 2.25rem 0; }
  .azenlyx-guides li a { align-items: start; grid-template-columns: 1fr; gap: .2rem; }
  .azenlyx-notice .container { gap: .4rem; grid-template-columns: 1fr; }
  .azenlyx-journal__header { padding: 1.75rem 0 1.4rem; }
  .azenlyx-journal__header h1 { font-size: 1.85rem; }
  .azenlyx-journal__body { padding-block: 1.5rem 2.5rem; }
  .azenlyx-journal__grid { grid-template-columns: 1fr; }
  .azenlyx-guide-card { display: grid; grid-template-columns: 130px minmax(0, 1fr); }
  .azenlyx-guide-card__image { border-bottom: 0; border-right: 1px solid var(--color-border); }
  .azenlyx-guide-card__image img { aspect-ratio: 1 / 1; height: 100%; padding: .5rem; }
  .azenlyx-guide-card__body { padding: .8rem; }
  .azenlyx-guide-card h2 { font-size: .95rem; margin: .3rem 0 .45rem; }
  .azenlyx-guide-card__excerpt { display: none; }
  .azenlyx-guide-card .btn { font-size: .78rem; margin-top: .65rem; min-height: 44px; padding: .45rem .7rem; }
  .azenlyx-article-layout { padding-block: 1.5rem 3rem; }
  .azenlyx-article-layout > main { display: block; }
  .azenlyx-article .entry-title { font-size: 1.8rem; }
  .azenlyx-article__product img { aspect-ratio: 4 / 3; padding: .75rem; }
  .azenlyx-related { margin-top: 2.5rem; position: static; }
  .azenlyx-contact { padding-block: 1.5rem 3rem; }
  .azenlyx-contact__notes { grid-template-columns: 1fr; }
  .azenlyx-contact__notes p { padding-inline: 0; }
  .azenlyx-contact__notes p + p { border-left: 0; border-top: 1px solid var(--color-border); }

  .woocommerce-shop ul.products,
  .tax-product_cat ul.products {
    gap: .7rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .woocommerce-shop ul.products li.product a img,
  .tax-product_cat ul.products li.product a img {
    aspect-ratio: 4 / 5;
    min-height: 0;
    object-fit: contain;
    padding: .5rem;
  }
  .woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
  .tax-product_cat ul.products li.product .woocommerce-loop-product__title {
    font-size: .78rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
    padding: .65rem .65rem .2rem;
  }
  .woocommerce-shop ul.products li.product .price,
  .tax-product_cat ul.products li.product .price {
    font-size: .92rem;
    padding-inline: .65rem;
  }
  .woocommerce-shop ul.products li.product .button,
  .tax-product_cat ul.products li.product .button {
    align-self: stretch;
    font-size: .78rem;
    margin: auto .65rem .65rem;
    min-height: 44px;
    padding: .6rem .35rem;
    text-align: center;
  }
  .woocommerce .woocommerce-result-count {
    display: block;
    margin: 0 0 .75rem;
  }
  .woocommerce .woocommerce-ordering {
    float: none;
    margin: 0 0 1.25rem;
    width: 100%;
  }
  .woocommerce .woocommerce-ordering select { min-height: 44px; width: 100%; }
}

@media (max-width: 390px) {
  .azenlyx-search button { padding-inline: .85rem; }
  .azenlyx-facts dd { font-size: .82rem; }
}
