.affiliate-offers { margin:32px 0 48px; padding:clamp(16px,3vw,28px); border:1px solid #d7ddcf; border-radius:18px; background:#eef2e9; }
.affiliate-offers [hidden] { display:none !important; }
.affiliate-offers h2 { margin:0 0 8px; }
.affiliate-offers p { margin:6px 0 12px; }
.affiliate-offers .offers-note { color:#465449; font-size:14px; }
.offers-filters { display:grid; grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(0,1fr)); gap:10px; }
.offers-filters label { display:grid; align-content:start; gap:4px; font-size:14px; font-weight:700; min-width:0; }
.offers-filters input,.offers-filters select,.offers-page button { min-width:0; width:100%; min-height:44px; border:1px solid #a7b1a0; border-radius:8px; padding:8px 10px; background:#fffdf8; color:#27372b; font:inherit; }
.offers-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.offer-card { display:flex; min-width:0; flex-direction:column; gap:8px; padding:13px; border:1px solid #d8dcd0; border-radius:12px; background:#fffdf8; }
.offer-card figure { display:grid; place-items:center; height:145px; margin:0; border-radius:8px; background:white; }
.offer-card img { display:block; width:100%; height:100%; min-height:0; object-fit:contain; }
.offer-card small { color:#465449; font-size:13px; }
.offer-card h3 { font-size:16px; line-height:1.32; overflow-wrap:anywhere; margin:0; }
.offer-card .offer-price { margin-top:auto; padding-top:3px; font-size:19px; font-weight:800; }
.offer-card > a { display:block; margin-top:auto; border-radius:8px; padding:9px 10px; background:#354b3a; color:white; font-size:14px; font-weight:750; text-decoration:none; text-align:center; }
.offer-card > a:hover { background:#273d2e; text-decoration:underline; }
.offers-page { display:flex; gap:10px; align-items:center; flex-wrap:wrap; margin:14px 0 0; }
.offers-page button { width:auto; cursor:pointer; font-weight:700; }
.offers-page button:disabled { opacity:.55; cursor:default; }
.offers-count { font-weight:700; }
@media(max-width:900px){.offers-filters,.offers-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.offers-filters,.offers-grid{grid-template-columns:minmax(0,1fr)}.offer-card figure{height:130px}}


.offers-quick{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.offers-quick button,.offers-clear{border:1px solid #a7b1a0;border-radius:8px;background:#fffdf8;color:#27372b;font:inherit;font-weight:700;font-size:14px;cursor:pointer;padding:8px 12px;min-height:40px}
.offers-quick button[aria-pressed="true"]{background:#354b3a;border-color:#354b3a;color:white}
.offers-quick button:disabled{opacity:.55;cursor:default}
.offers-filters input,.offers-filters select{box-sizing:border-box}
.offers-extra{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,145px)) max-content 1fr;gap:10px;align-items:end}
.offers-extra.offers-with-merchants{grid-template-columns:repeat(2,minmax(0,145px)) minmax(140px,180px) max-content 1fr}
.offers-extra .offers-stock{display:flex;align-items:center;min-height:44px;gap:8px;padding-inline:4px;cursor:pointer}
.offers-extra input[type="checkbox"]{width:18px;height:18px;min-height:0;margin:0;accent-color:#354b3a}
.offers-clear{justify-self:end;min-height:44px}
.offers-extra input[aria-invalid="true"]{border-color:#a33c2e}
.offers-count{scroll-margin-top:90px}
@media(max-width:760px){.offers-extra,.offers-extra.offers-with-merchants{grid-template-columns:repeat(2,minmax(0,1fr))}.offers-clear{justify-self:stretch}}
