/* OfferBuggy "store" skin, after phonelcdparts.com: soft pill header, rounded category bar, a hero banner,
   boxed product cards with a full-width button, rounded tiles. Uses OfferBuggy's own tokens (lime, soft, line). */

/* header: grey pill search and pill buttons instead of the green outline */
body .hdr .srch,body .msrch .srch{border:0;background:var(--soft);height:50px;padding-left:22px}
body .hdr .srch button,body .msrch .srch button{background:transparent;color:var(--ink);width:40px;height:40px}
body .msrch{border-bottom:0}
body .hdr .acts .ic,body .hdr .acts .acct{background:var(--soft);border-radius:999px;min-height:46px;padding:0 16px;display:inline-flex;align-items:center;gap:8px}
body .hdr .acts{gap:10px}
body .hdr .acts .ic{width:46px;padding:0;justify-content:center}
body .hdr .acts svg{width:20px;height:20px}

/* category bar: one rounded grey pill under the header */
body .cats{border-bottom:0;padding:4px 0 10px;box-shadow:0 6px 12px -12px rgba(20,32,11,.35)}
body .cats>.wrap{background:var(--soft);border-radius:999px;padding-top:6px;padding-bottom:6px;max-width:calc(var(--max) - 48px);margin:0 24px}
@media(min-width:1409px){body .cats>.wrap{margin:0 auto}}
body .cats a{font-weight:600;padding:8px 12px;border-radius:999px;border-bottom:0}
body .cats a:hover,body .cats a.on{background:#fff}
/* Reels keeps its red, a shade darker so it reads on the grey bar */
body .cats a[href="/reels.html"]{color:#c01a50!important}

/* hero banner */
.obh{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr) minmax(0,.62fr);align-items:center;gap:28px;margin:22px 0 10px;padding:34px 40px;border-radius:24px;border:1px solid var(--line);background:linear-gradient(120deg,#f5f8f1 0%,#eaf3df 55%,#f3f4f2 100%);overflow:hidden}
.obh-k{display:inline-flex;align-items:center;gap:8px;background:#fff;border-radius:999px;padding:6px 14px;font-size:13px;font-weight:700;color:var(--lime-d)}
.obh h1{font-size:clamp(34px,4.2vw,56px);line-height:1.02;letter-spacing:-.03em;color:var(--ink);margin:16px 0 0;text-wrap:balance}
.obh h1 em{font-style:normal;color:var(--lime)}
.obh p{font-size:17px;line-height:1.5;color:var(--text);margin:14px 0 22px;max-width:460px}
.obh-go{display:inline-flex;align-items:center;gap:10px;height:50px;padding:0 26px;border-radius:999px;background:var(--lime);color:#fff;font-weight:700;font-size:16px;text-decoration:none}
.obh-go:hover{background:var(--lime-d)}
.obh-art{position:relative;aspect-ratio:1/1;max-width:420px;justify-self:center;width:100%}
.obh-art a{position:absolute;display:block;border-radius:16px;overflow:hidden;box-shadow:0 18px 36px -18px rgba(20,32,11,.45);background:#fff}
.obh-art img{display:block;width:100%;height:100%;object-fit:cover}
.obh-art a:nth-child(1){width:66%;aspect-ratio:4/3;left:0;top:6%;transform:rotate(-4deg);z-index:2}
.obh-art a:nth-child(2){width:58%;aspect-ratio:4/3;right:0;top:30%;transform:rotate(5deg);z-index:3}
.obh-art a:nth-child(3){width:56%;aspect-ratio:4/3;left:12%;bottom:2%;transform:rotate(-1deg);z-index:1}
.obh-pills{display:flex;flex-direction:column;gap:10px}
.obh-pills a{display:flex;flex-direction:column;justify-content:center;min-height:76px;padding:12px 18px;border-radius:16px;background:rgba(255,255,255,.75);border:1px solid #fff;color:var(--ink);text-decoration:none;font-weight:700;font-size:15px}
.obh-pills a small{font-weight:500;font-size:13px;color:var(--muted);margin-top:2px}
.obh-pills a:hover{background:#fff;border-color:var(--pill)}

/* product cards: a rounded box, centred title, big price, full-width button */
body .rail{gap:16px;grid-auto-columns:calc((100% - 48px)/4)}
body .grid.g3{gap:16px}
html body a.card,html body .grid a.card,html body .rail a.card{border:1px solid var(--line);border-radius:18px;padding:12px 12px 14px;background:#fff;transition:box-shadow .15s,border-color .15s}
body a.card:hover{border-color:var(--pill);box-shadow:0 14px 28px -20px rgba(20,32,11,.45)}
body a.card .im{border-radius:12px}
/* text stays left-aligned with its one-line summary: a centred, clamped title spilled past its box */
body a.card .tx{display:flex;flex-direction:column;flex:1}
body a.card .pr{margin-top:auto;padding-top:8px}
body a.card .now{font-size:22px}
body a.card .tx::after{content:"View deal";display:flex;align-items:center;justify-content:center;height:44px;margin-top:10px;border-radius:999px;background:var(--lime);color:#fff;font-weight:700;font-size:15px}
body a.card:hover .tx::after{background:var(--lime-d)}

/* category tiles: rounded grey tiles like the brand row */
body .ct{border-radius:18px;overflow:hidden;box-shadow:0 0 0 1px var(--line)}

/* phones */
@media(max-width:760px){
  .obh{grid-template-columns:1fr;padding:22px 18px;gap:18px;margin-top:14px;border-radius:20px}
  .obh-art{display:none}
  body .cats>.wrap{margin:0 12px}
  .obh-pills{flex-direction:row;flex-wrap:wrap}
  .obh-pills a{flex:0 0 auto;min-height:0;padding:10px 14px;font-size:14px}
  .obh-pills a small{display:none}
  body .rail{grid-auto-columns:72%;gap:12px}
  body .cats>.wrap{border-radius:16px}
  body a.card{flex-direction:column}
  body a.card .im{width:100%;flex:none}
}
@media(min-width:761px) and (max-width:1100px){
  .obh{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:28px}
  .obh-pills{grid-column:1/-1;flex-direction:row}
  .obh-pills a{flex:1}
  body .rail{grid-auto-columns:calc((100% - 32px)/3)}
}

/* phones: no separate button under the text; the price itself is the green button ($12.99 · View deal) */
@media(max-width:820px){
  body a.card .tx::after{content:none}
  body a.card .pr{margin-top:auto;padding:0 14px;min-height:40px;border-radius:999px;background:var(--lime);color:#fff;justify-content:space-between;flex-wrap:nowrap;gap:6px}
  body a.card .pr .now,html body .grid a.card .now{color:#fff;font-size:16px}
  body a.card .pr .was{color:rgba(255,255,255,.8);font-size:13px}
  body a.card .pr .pill{background:rgba(255,255,255,.22);color:#fff}
  body a.card .pr::after{content:"View deal \203A";margin-left:auto;font-weight:700;font-size:14px;white-space:nowrap}
  body a.card:hover .pr{background:var(--lime-d)}
  /* list rows: picture and title side by side, the price button across the whole card underneath */
  html body .grid a.card{display:grid;grid-template-columns:42% minmax(0,1fr);grid-template-rows:auto auto auto 1fr auto;column-gap:14px;row-gap:0;align-items:start;align-content:start}
  html body .grid a.card .sub{margin-top:4px}
  html body .grid a.card .im,html body .grid a.card.lg .im{grid-column:1;grid-row:1/5;width:100%;flex:none}
  html body .grid a.card .tx{display:contents}
  html body .grid a.card .kline,html body .grid a.card h3,html body .grid a.card .sub{grid-column:2;min-width:0}
  html body .grid a.card .pr{grid-column:1/-1;grid-row:5;margin-top:12px;padding-top:0}
}
/* category bar: items close together, fits phones (owner 2026-11-13) */
body .cats .wrap{gap:4px}
@media(max-width:760px){body .cats{padding:2px 0 8px}body .cats>.wrap{height:auto;padding:4px;gap:2px}body .cats a{padding:7px 11px;font-size:13.5px;gap:6px}body .cats a svg{width:16px;height:16px}body .cats .ar{display:none!important}}
