.rak-head { padding: 1rem 0 .45rem; }
.rak-head h1 { font: 650 clamp(1.85rem, 4vw, 3.15rem)/1.2 var(--editorial-serif); margin: 0; }
.rak-page .rak-filter { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(120px, 1fr); align-items: end; gap: 10px; margin: .8rem 0 0; }
.rak-page .rak-filter label { grid-column: auto; grid-row: auto; gap: 5px; }
.rak-page .rak-filter input { background: #fffefa; border-radius: 8px; }
.rak-dept-section { margin-top: clamp(18px, 3vw, 32px); }
.rak-dept-heading { display: flex; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.rak-dept-heading h2, .rak-category-section h2, .rak-model-section h2 { font-size: 1.08rem; line-height: 1.5; margin: 0; }
.rak-dept-heading button { color: var(--ink); min-height: 40px; padding: 4px 2px; border: 0; background: transparent; font-size: .9rem; text-decoration: underline; text-underline-offset: .2em; }
.rak-dept-buttons { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: clamp(6px,1vw,12px); }
.rak-dept-buttons button { display: grid; grid-template-rows: auto auto; align-content: start; gap: 5px; border: 1px solid #d5dcd0; border-radius: 9px; overflow: hidden; padding: 0; text-align: center; background: #fffefa; color: var(--ink); }
.rak-dept-buttons button img { display: block; width: 100%; aspect-ratio: 1.9; height: auto; object-fit: cover; }
.rak-dept-buttons button span { padding: 0 4px 6px; font-size: .89rem; font-weight: 700; line-height: 1.45; }
.rak-dept-buttons button[aria-pressed="true"] { border-color: #254835; background: #254835; color: #fff; }
.rak-page #rakCount { margin: .7rem 0 .3rem; color: #3c5746; }
.rak-page .rak-price-note { margin: 10px 0 0; font-size: .76rem; line-height: 1.5; }
.rak-page .rak-groups { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
.rak-category-section h2, .rak-model-section h2 { margin: 0 0 6px; }
.rak-category-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
.rak-category-link { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 9px 13px; text-decoration: none; line-height: 1.4; color: var(--ink); border: 1px solid #d3dbd1; border-radius: 8px; background: #fffefa; text-align: left; }
.rak-category-link span:first-child { min-width: 0; }
.rak-category-link strong { display: block; font-size: .96rem; overflow-wrap: anywhere; }
.rak-category-link small, .rak-product-title small, .rak-offer-line small { display: block; font-size: .78rem; color: #516654; }
.rak-category-link:hover, .rak-category-link:focus-visible, .rak-product-title:hover strong { color: #26583b; border-color: #688b70; }
.rak-next-arrow { flex: none; color: #50715b; }
.rak-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.rak-product-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid #d4dcd2; border-radius: 10px; background: #fffefa; padding: 12px; }
.rak-product-title { display: flex; align-items: center; width: 100%; gap: 9px; border: 0; min-height: 46px; text-align: left; padding: 0; background: transparent; color: var(--ink); }
.rak-product-title strong { display: block; font-size: 1rem; line-height: 1.5; }
.rak-product-title > span { overflow-wrap: anywhere; }
.rak-product-photo { width: 64px; height: 58px; border-radius: 4px; object-fit: contain; flex: none; background: #f2f3eb; }
.rak-product-card .rak-fit { font-size: .87rem; line-height: 1.55; margin: 8px 0 12px; color: #465c49; }
.rak-offer-line { margin-top: auto; }
.rak-offer-line strong { font-size: 1.16rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.rak-product-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 3px 9px; margin-top: 4px; }
.rak-product-actions button { border: 0; background: transparent; color: var(--ink); text-decoration: underline; text-underline-offset: .2em; padding: 4px 0; min-height: 44px; font-size: .88rem; }
.rak-product-actions .rak-out { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 12px; border-radius: 6px; color: #fff; background: #254835; font-size: .87rem; text-decoration: none; }
.rak-page .rak-scene-nav { margin-top: 1.5rem; }
@media (max-width: 700px) {
  .rak-dept-buttons { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .rak-dept-buttons button img { aspect-ratio: 2.2; }
  .rak-dept-tiles:not([data-active-dept=""]) .rak-dept-buttons button { grid-template: auto / 28px minmax(0,1fr); min-height: 40px; align-items: center; align-content: center; padding: 4px; gap: 4px; }
  .rak-dept-tiles:not([data-active-dept=""]) .rak-dept-buttons img { width: 28px; height: 28px; border-radius: 4px; }
  .rak-dept-tiles:not([data-active-dept=""]) .rak-dept-buttons span { padding: 0; font-size: .8rem; }
  .rak-category-list, .rak-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .rak-page .rak-filter { grid-template-columns: minmax(0, 1.7fr) minmax(98px, 1fr); }
}
@media (max-width: 500px) {
  .rak-category-link { padding: 8px; gap: 3px; }
  .rak-category-link strong { font-size: .9rem; }
  .rak-category-link small { font-size: .72rem; }
  .rak-product-grid { grid-template-columns: 1fr; }
}
