/* Mobile homepage correction, 9 Nov 2026 — mobile-first, scoped to homepage only.
   Category browse shortcuts do real searches or use a matching live category ID.
   Actual database child categories remain accessible in an expandable list. */
.pw-mobile-categories { padding-top:24px; padding-bottom:16px; }
.pw-home-browse-grid {
  display:grid; grid-template-columns:repeat(8,minmax(0,1fr)); gap:10px;
}
.pw-home-browse-card {
  display:flex; min-width:0; flex-direction:column; align-items:center; justify-content:flex-start;
  overflow:hidden; border:1px solid #2c6d9e; border-radius:14px;
  text-align:center; text-decoration:none; background:#0b2139; color:#fff;
  box-shadow:0 3px 12px rgba(0,0,0,.21);
}
.pw-home-browse-card:hover,.pw-home-browse-card:focus-visible { border-color:#74d8ff; box-shadow:0 0 0 2px rgba(41,192,255,.32); color:#fff; }
.pw-home-browse-art { display:grid;place-items:center; width:100%; min-height:94px;
  background:radial-gradient(circle at 25% 8%,rgba(255,255,255,.28),transparent 60%),linear-gradient(145deg,#159cdb,#0454ba); }
.pw-home-browse-1 .pw-home-browse-art { background:radial-gradient(circle at 25% 8%,rgba(255,255,255,.28),transparent 60%),linear-gradient(145deg,#55c761,#00883c); }
.pw-home-browse-2 .pw-home-browse-art { background:radial-gradient(circle at 25% 8%,rgba(255,255,255,.28),transparent 60%),linear-gradient(145deg,#ffb52f,#e46800); }
.pw-home-browse-3 .pw-home-browse-art { background:radial-gradient(circle at 25% 8%,rgba(255,255,255,.28),transparent 60%),linear-gradient(145deg,#b45de0,#692fc0); }
.pw-home-browse-4 .pw-home-browse-art { background:radial-gradient(circle at 25% 8%,rgba(255,255,255,.28),transparent 60%),linear-gradient(145deg,#35d6d9,#00839d); }
.pw-home-browse-5 .pw-home-browse-art { background:radial-gradient(circle at 25% 8%,rgba(255,255,255,.28),transparent 60%),linear-gradient(145deg,#f2495a,#ac1636); }
.pw-home-browse-6 .pw-home-browse-art { background:radial-gradient(circle at 25% 8%,rgba(255,255,255,.28),transparent 60%),linear-gradient(145deg,#9fa9b5,#515967); }
.pw-home-browse-7 .pw-home-browse-art { background:radial-gradient(circle at 25% 8%,rgba(255,255,255,.28),transparent 60%),linear-gradient(145deg,#e3be3e,#a56b00); }
.pw-home-browse-icon { width:70px; height:70px; fill:none; stroke:#fff; stroke-width:2.15; stroke-linecap:round; stroke-linejoin:round; filter:drop-shadow(0 2px 4px rgba(0,24,69,.45)); }
.pw-home-browse-label { display:flex; align-items:center; justify-content:center; padding:8px 3px; min-height:49px;
  font-size:.74rem; font-weight:850; line-height:1.35; text-wrap:balance; overflow-wrap:anywhere; }
.pw-home-catalog-details { margin-top:14px; border:1px solid #325878; border-radius:12px; background:#0f2940; }
.pw-home-catalog-details>summary { padding:10px 14px; font-size:.87rem; font-weight:750; color:#cbecff; }
.pw-home-catalog-links { display:flex; flex-wrap:wrap; gap:7px; padding:0 12px 12px; }
.pw-home-catalog-links a { padding:6px 10px; min-height:36px; border-radius:9px; border:1px solid #346a91;
  color:#eaf8ff; background:#153651; font-size:.8rem; text-decoration:none; }
@media(max-width:1050px) {
 .pw-home-browse-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
}
@media(max-width:700px) {
 .pw-mobile-categories { padding-top:16px; padding-bottom:9px; }
 .pw-mobile-categories .visual-section-title { margin-bottom:10px; }
 .pw-mobile-categories .visual-section-title h2 { font-size:1.22rem; }
 .pw-home-browse-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:7px; }
 .pw-home-browse-card { border-radius:11px; }
 .pw-home-browse-art { min-height:72px; height:72px; }
 .pw-home-browse-icon { width:53px; height:53px; }
 .pw-home-browse-label { padding:6px 2px; min-height:43px; font-size:.67rem; font-weight:850; line-height:1.32; }
 .pw-home-catalog-details { margin-top:10px; }
 .pw-ref-offers-grid { grid-template-columns:1fr; gap:9px; }
 .pw-ref-offers-section { margin-top:12px; padding:12px; }
 .pw-ref-offers-section .visual-section-title { margin-bottom:10px; }
 .pw-ref-offers-section .visual-section-title h2 { font-size:1.25rem; }
 .pw-ref-offers-section .visual-section-title a { font-size:.8rem; }
 .pw-ref-offer { display:grid; grid-template-columns:108px minmax(0,1fr); gap:0;
   background:linear-gradient(120deg,#102c4b,#0b2137); border:1px solid #346e9b;
   color:#fff; border-radius:12px; min-height:130px; }
 .pw-ref-offer-image { grid-column:1; grid-row:1; width:100px; height:112px;
   align-self:center; margin:7px 5px; background:#f5f8fc; border-radius:9px; }
 .pw-ref-offer-detail { grid-column:2; grid-row:1; min-width:0; padding:9px 9px 9px 4px;
   min-height:0; gap:3px; }
 .pw-ref-offer-detail h3 { font-size:.9rem; line-height:1.35; margin:0; }
 .pw-ref-offer-detail h3 a { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2;
   line-clamp:2; overflow:hidden; color:#fff; overflow-wrap:anywhere; }
 .pw-ref-offer-detail small { font-size:.72rem; color:#a9c0d6; }
 .pw-ref-offer-detail>strong { font-size:1.1rem; color:#ffd34e; line-height:1.3; }
 .pw-ref-offer-store { font-size:.76rem; color:#b5e2ff; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
 .pw-ref-offer-action.btn { padding:5px 7px; min-height:36px; font-size:.73rem; line-height:1.2; text-wrap:balance; }
}
@media(max-width:600px) {
 .pw-ref-hero { min-height:0; }
 .pw-ref-hero .hero-content { padding:16px 0 18px; }
 .pw-ref-hero .hero-layout { display:block; }
 .pw-ref-hero .hero-copy .eyebrow { display:none; }
 .pw-ref-hero .hero-copy h1 { font-size:1.88rem; margin:0 0 5px; line-height:1.25; }
 .pw-ref-hero .hero-copy h1 small { display:none; }
 .pw-ref-hero .hero-copy .hero-lead { font-size:.87rem; line-height:1.5; max-width:none; margin:4px 0 8px; color:#d6e5f1; }
 .pw-ref-trust { display:none; }
 .pw-ref-hero .hero-search { display:grid; grid-template-columns:minmax(0,1fr) 52px; gap:4px;
   padding:5px; margin-top:10px; min-height:0; border-radius:13px; }
 .pw-ref-hero .hero-search input { display:block; min-width:0; width:100%; min-height:45px!important;
   height:45px!important; padding:8px 10px; font-size:.89rem; border-radius:9px; }
 .pw-ref-hero .hero-search .btn { display:grid;place-items:center; width:52px; min-width:52px;
   height:45px; min-height:45px; padding:0!important; gap:0; font-size:0; border-radius:9px; }
 .pw-ref-hero .hero-search .pw-icon { width:24px; height:24px; }
 .pw-ref-hero .hero-illustration { display:none; }
 .pw-ref-offer-image { width:92px; height:102px; }
 .pw-ref-offer { grid-template-columns:100px minmax(0,1fr); min-height:118px; }
}
@media(max-width:370px) {
 .pw-home-browse-grid { gap:5px; }
 .pw-home-browse-art { height:62px; min-height:62px; }
 .pw-home-browse-icon { width:46px; height:46px; }
 .pw-home-browse-label { font-size:.62rem; padding:5px 1px; }
 .pw-ref-offer { grid-template-columns:93px minmax(0,1fr); }
 .pw-ref-offer-image { width:86px;height:100px; }
}

/* Each icon is an independent 512 x 384 WebP cropped from the supplied image. */
.pw-home-browse-grid .pw-home-browse-art {
  background: none;
  overflow: hidden;
  height: 108px;
  min-height: 0;
}
.pw-home-browse-grid .pw-home-browse-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 700px) {
  .pw-home-browse-grid .pw-home-browse-art { height: 72px; }
}
@media (max-width: 370px) {
  .pw-home-browse-grid .pw-home-browse-art { height: 62px; }
}
