/* The product catalog: mobile first, no shared homepage dependencies. */
@font-face { font-family: Shubbak; src: url('../fonts/Shubbak-Medium.woff2') format('woff2'); font-style: normal; font-weight: 400 500; font-display: swap; }
@font-face { font-family: Shubbak; src: url('../fonts/Shubbak-Bold.woff2') format('woff2'); font-style: normal; font-weight: 600 800; font-display: swap; }
:root { color-scheme: light; --ink: #324669; --soft: #5f6b85; --mint: #7cb99e; --border: #e4e9ee; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Shubbak, Arial, sans-serif; font-size: 16px; line-height: 1.6; }
html[lang="en"] body { font-family: Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button, summary { font: inherit; color: inherit; cursor: pointer; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.container { width: min(100% - 32px, 1152px); margin-inline: auto; }
.skip-link { position: fixed; inset-block-start: -100px; inset-inline-start: 1rem; background: #fff; padding: 1rem; z-index: 20; }
.skip-link:focus { inset-block-start: 0; }
.catalog-nav { position: sticky; inset-block-start: 0; z-index: 10; height: 56px; background: #fff; border-block-end: 1px solid var(--border); }
.nav-inner, .nav-actions { display: flex; align-items: center; }
.nav-inner { height: 100%; justify-content: space-between; gap: 12px; }
.nav-brand { font-size: 17px; font-weight: 700; }
.nav-actions { gap: 6px; }
.lang-toggle, summary { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 8px; border: 0; background: transparent; border-radius: 50%; }
.lang-toggle { border: 1px solid var(--border); font-size: 13px; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.catalog-menu nav { position: absolute; inset-block-start: 55px; inset-inline-end: 16px; width: min(280px, calc(100vw - 32px)); padding: 8px; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 10px 30px #32466918; }
.catalog-menu nav a { display: block; padding: 10px 14px; border-radius: 6px; }
.catalog-menu nav a:hover, .catalog-menu [aria-current] { background: #eef5f0; }
.aff-catalog { padding-block: 20px 28px; }
#products-title { margin: 0 0 18px; max-width: 30ch; font-size: clamp(21px, 5.8vw, 28px); line-height: 1.45; font-weight: 700; }
.aff-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.card { min-width: 0; padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.aff-card { display: flex; flex-direction: column; gap: 8px; height: 100%; }
.aff-media { aspect-ratio: 1; padding: 4px; }
.aff-media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.aff-card h2 { margin: 0; font-size: 15px; line-height: 1.5; font-weight: 700; }
.aff-brand-name { font-family: Arial, sans-serif; }
.aff-description { margin: 0 0 4px; font-size: 13.5px; line-height: 1.6; color: var(--soft); }
.btn { display: flex; align-items: center; justify-content: center; margin-block-start: auto; padding: 10px 7px; min-height: 44px; border-radius: 24px; background: var(--mint); font-size: 13px; font-weight: 700; text-align: center; line-height: 1.4; }
.btn:hover { background: #a4d4bd; }
.aff-disclosure { margin: 20px 0 0; font-size: 12px; color: var(--soft); }
.catalog-footer { padding-block: 20px; border-block-start: 1px solid var(--border); font-size: 12px; color: var(--soft); }
.catalog-footer nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.catalog-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.catalog-footer p { margin: 8px 0 0; }
@media (min-width: 768px) {
  .aff-catalog { padding-block: 32px; }
  #products-title { font-size: 32px; margin-block-end: 24px; }
  .aff-products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .card { padding: 20px; }
  .aff-media { width: min(100%, 230px); align-self: center; }
  .aff-card { gap: 12px; }
  .aff-card h2 { font-size: 18px; }
  .aff-description { font-size: 15px; }
  .btn { font-size: 15px; }
}
