/* pc.css: desktop (>=641px) copy of the phone look for the desktop preview (helmets + landing). Phone files untouched. */
@media (min-width:641px){

  html.pc{--e4:#1b3a8a;--e4l:#eaf0ff;--e4b:#c9d6ff}
  html.pc,html.pc body{overflow-x:hidden;background:#fffaf2}
  html.pc body{display:flex;flex-direction:column;background:#fffaf2;padding-top:0!important;margin-top:0}
  html.pc body>.ph-top{order:-4}
  html.pc body>.seo-head{order:-3}
  html.pc body>.ph-subbar{order:-2}
  html.pc body>.ph-menu-wrap{order:-1}
  html.pc .ph-top{display:block;background:var(--e4);color:#fff;margin:0 -14px;padding:10px 14px 0}
  html.pc .ph-subbar{display:block;background:var(--e4);margin:0 -14px;padding:0 14px 14px;border-radius:0 0 22px 22px}
  html.pc .ph-bar{display:flex;align-items:center;gap:10px;min-height:44px}
  html.pc .ph-logo{display:block;flex:0 0 auto;line-height:0;padding:3px 0}
  html.pc .ph-logo img{width:90px;height:38px;object-fit:contain;background:#fff;border-radius:8px;padding:2px}
  html.pc .ph-name{flex:1;font-size:14px;font-weight:600;opacity:.95;text-align:center;line-height:1.2;word-spacing:100vw;overflow:hidden}
  html.pc .ph-call{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 14px;background:#fff;color:var(--e4);font-weight:800;font-size:15px;border-radius:22px;text-decoration:none}
  html.pc .ph-crumb{margin:8px 0 0;font-size:14px}
  html.pc .ph-crumb a{color:#dbe4ff;text-decoration:none;display:inline-block;line-height:24px;padding:10px 12px 10px 0;margin:-10px 0}
  html.pc .ph-home-title{font-size:26px;font-weight:800;margin:2px 0 0;line-height:1.15;text-align:center}
  html.pc .seo-head{background:var(--e4);color:#fff;margin:0 -14px 0!important;padding:0 14px}
  html.pc .seo-head h1{color:#fff!important;font-size:26px!important;line-height:1.15;margin:2px 0 0!important}
  html.pc .seo-head p{display:none}
  html.pc .page-links,html.pc .tabs,html.pc #dataHint,html.pc .note{display:none!important}
  html.pc .ph-sub{margin:4px 0 0;font-size:14px;color:#dbe4ff;min-height:19px}
  html.pc .ph-menu-wrap{display:block;margin:12px 0 0;position:relative}
  html.pc .ph-more{width:100%;min-height:48px;border:0;border-radius:24px;background:var(--e4);color:#fff;font:inherit;font-size:17px;font-weight:800;cursor:pointer}
  html.pc .ph-menu{margin:8px 0 0;background:#fff;border:2px solid var(--e4b);border-radius:16px;overflow:hidden}
  html.pc .ph-menu a{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:46px;padding:0 14px;border-bottom:1px solid #eef1fb;color:var(--e4);font-weight:700;text-decoration:none;font-size:15px}
  html.pc .ph-menu a.on{background:var(--e4l)}
  html.pc .ph-menu a .n{font-weight:500;font-size:13px;color:#5b6678;white-space:nowrap}
  html.pc .ph-menu a.sale{color:#c8102e}
  html.pc .ph-menu a.home{border-top:3px solid var(--e4);border-bottom:0;background:#f4f7ff}
  html.pc .ph-filters{display:block;margin:12px 0 0}
  html.pc .ph-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
  html.pc .ph-row+.ph-row{margin-top:8px}
  html.pc .ph-seg{display:inline-flex;background:var(--e4);border-radius:24px;padding:3px}
  html.pc .ph-seg button{min-height:44px;border:0;background:transparent;color:#fff;font:inherit;font-size:14px;font-weight:700;padding:0 12px;border-radius:20px;cursor:pointer}
  html.pc .ph-seg button.on{background:#fff;color:var(--e4)}
  html.pc .ph-btn{min-height:44px;border:2px solid var(--e4b);background:#fff;color:var(--e4);font:inherit;font-size:14px;font-weight:700;padding:0 14px;border-radius:24px;cursor:pointer;display:inline-flex;align-items:center;gap:6px}
  html.pc .ph-btn[hidden]{display:none}
  html.pc .ph-btn.ph-clear{background:#fff;border-color:var(--e4);color:var(--e4)}
  html.pc .ph-btn.on{background:var(--e4);border-color:var(--e4);color:#fff}
  html.pc .ph-sw{display:inline-block;width:12px;height:12px;border-radius:50%;border:1px solid #9aa4b8;vertical-align:middle}
  html.pc .ph-colours{display:none}
  html.pc #phColour #phColSw{display:none}
  html.pc .ph-colours.open{display:flex}
  html.pc .ph-count{margin:10px 2px 0;font-size:13px;color:#5b6678;min-height:17px}
  html.pc #grid:empty{min-height:100vh}
  /* existing side panel: search + size + brand chips, under the phone filter bar */
  html.pc .layout>.side{margin:0}
  html.pc .layout>.side .panel{display:flex;flex-direction:column;background:transparent;border:0;box-shadow:none;padding:0}
  html.pc #stockWrap,html.pc #rideWrap,html.pc #genderWrap,html.pc .panel>.chip-label{display:none!important}
  html.pc body.ph-type-open .panel>#rideWrap{display:block!important;order:0;margin:4px 0 6px;padding-bottom:76px}
  html.pc #rideWrap .chip-label{display:none}
  html.pc #rideChips .chip[data-n]::after{content:" (" attr(data-n) ")";font-weight:500}
  html.pc .panel>#chips{order:1;display:none;margin:4px 0 6px}
  html.pc body.ph-brand-open .panel>#chips{display:flex}
  html.pc .panel>#sizeWrap{order:2;display:none!important;margin:4px 0 6px}
  html.pc body.ph-size-open .panel>#sizeWrap{display:block!important}
  html.pc #sizeWrap .chip-label{display:none}
  html.pc .panel>label[for=q]{display:none}
  html.pc .panel>#q{order:3;min-height:44px;font-size:16px;margin:6px 0 0}
  html.pc .panel .chips{flex-wrap:wrap;gap:8px}
  html.pc .panel .chip{min-height:44px;padding:0 14px;border-radius:22px;font-size:14px}
  html.pc .meta{margin:10px 0 6px}
  html.pc .meta .count{display:none}
  /* product cards */
  html.pc .card{border:2px solid #dbe4ff;border-radius:16px}
  html.pc .card h2{font-size:13px!important;line-height:1.25!important;color:#222}
  html.pc .card .price{font-size:16px!important;color:var(--e4);font-weight:800}
  html.pc .card .brand{font-size:10px!important}
  html.pc .ph-tag{display:inline-block;font-size:11px;font-weight:800;border-radius:6px;padding:2px 6px;margin-right:4px}
  html.pc .ph-tag.in{background:#e3f6e8;color:#1f7a45}
  html.pc .ph-tag.order{background:#dbe4ff;color:var(--e4)}
  html.pc .ph-sizes{display:inline;font-size:11px;color:#5b6678}
  html.pc .ph-meta{line-height:1.6}
  html.pc .card[data-for-modal="0"] .sizes-meta,html.pc .card[data-for-modal="0"] .card-desc,html.pc .card[data-for-modal="0"] .size-row,html.pc .card[data-for-modal="0"] .size-label{display:none!important}
  html.pc .card[data-for-modal="0"] .cta.enlarge{font-size:0!important;min-height:44px;width:100%;background:var(--e4);color:#fff;border-color:var(--e4);border-radius:12px}
  html.pc .card[data-for-modal="0"] .cta.enlarge::after{content:"View";font-size:15px;font-weight:800}
  html.pc .tile-host .sz{min-height:44px;min-width:44px}
  html.pc .tile-host .cta{min-height:44px}
  /* cart + quote buttons: plain grey browser buttons on phone before (existing fault, also on production) */
  html.pc #quoteCheckout,html.pc #quoteFormSubmit,html.pc #quoteSuccessOk{min-height:48px;border:0;border-radius:12px;background:var(--e4);color:#fff;font:inherit;font-size:16px;font-weight:800;cursor:pointer}
  html.pc #quoteFormCancel{min-height:48px;border:2px solid var(--e4b);border-radius:12px;background:#fff;color:var(--e4);font:inherit;font-size:16px;font-weight:700;cursor:pointer}
  /* Garry 22 Oct 3:35pm: option counts (data-n), zero options hidden, room under an open panel so the Cart button never covers an option */
  html.pc #sizeChips .chip[data-n]::after,html.pc #chips .chip[data-n]::after{content:" (" attr(data-n) ")";font-weight:500}
  html.pc .panel .chip.ph-zero{display:none!important}
  html.pc body.ph-size-open .panel>#sizeWrap,html.pc body.ph-brand-open .panel>#chips,html.pc .ph-colours.open{padding-bottom:76px}
  html.pc body.ph-type-open .quote-fab,html.pc body.ph-size-open .quote-fab,html.pc body.ph-brand-open .quote-fab,html.pc body.ph-colour-open .quote-fab{display:none!important}
  /* Garry 22 Oct 4:11pm: short heading only on phones (Boots, Helmets, Sale ...). The full keyword H1 stays in the HTML, visually hidden (not display:none). */
  html.pc .ph-top{padding-bottom:12px;border-radius:0 0 22px 22px}
  html.pc .ph-crumb,html.pc .ph-subbar{display:none!important}
  html.pc .seo-head{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;margin:0!important;padding:0!important;border:0!important}
  html.pc .ph-home-title{font-size:24px;margin:4px 0 0}
  html.pc .ph-foot{display:block;margin:18px -14px 0;padding:18px 14px 90px;background:var(--e4);color:#dbe4ff;font-size:14px;line-height:1.6;text-align:center}
  html.pc .ph-endnav{display:flex;flex-direction:column;align-items:center;gap:12px;margin:22px 0 4px}
  html.pc.ph-home .ph-endnav{display:none}
  html.pc .ph-end-btn{min-height:48px;width:min(260px,70%);background:var(--e4);color:#fff;border:0;border-radius:12px;font:inherit;font-size:15px;font-weight:800;cursor:pointer}
  html.pc .ph-foot b{color:#fff}
  html.pc .ph-foot a{color:#fff;font-weight:700;display:inline-block;line-height:24px;padding:10px 8px;margin:-6px 0}

html.pc .ph-seg button:disabled{background:#eef0f3!important;color:#9aa1ab!important;border-color:#d5d9df!important;cursor:not-allowed;pointer-events:none}

  html.pc.ph-home .ph-filters,html.pc.ph-home .layout,html.pc.ph-home .note{display:none!important}
  html.pc.ph-home .ph-landing{display:block}
  html.pc.ph-home .ph-bar{display:grid;grid-template-columns:1fr auto 1fr;gap:10px;align-items:center}   /* Garry 8:18pm: logo centred on the landing only */
  html.pc.ph-home .ph-name{grid-column:1;grid-row:1;text-align:center;min-width:0}
  html.pc.ph-home .ph-logo{grid-column:2;grid-row:1}
  html.pc.ph-home .ph-call{grid-column:3;grid-row:1;justify-self:end}
  html.pc.ph-home,html.pc.ph-home body{background:#fffaf2}
  html.pc.ph-home .ph-foot{padding-bottom:16px}
  html.pc .lgrid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 12px 14px}
  html.pc .lt{display:block;background:#fff;border:1px solid #d6def2;border-radius:14px;overflow:hidden;text-decoration:none}
  html.pc .lt img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:#fff;padding:8px;box-sizing:border-box}
  html.pc .lt span{display:block;background:#1b3888;color:#fff;font-weight:700;font-size:15px;text-align:center;padding:8px 4px}


  html.pc .grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:8px;
  }
  html.pc .card{
    border-radius:10px;
    box-shadow:0 1px 2px rgba(16,24,40,.04);
  }
  html.pc .card .body{ padding:6px 8px 8px; gap:3px; }
  html.pc .card .brand{ font-size:9px; letter-spacing:.03em; }
  html.pc .card h2{ font-size:11px; line-height:1.2; }
  html.pc .card .price{ font-size:13px; }
  html.pc .card .size-label{ font-size:9px; margin-top:0; }
  html.pc .card .sizes-meta{ font-size:9px !important; }
  html.pc .card .size-row{ gap:4px; margin:1px 0 2px; }
  html.pc .card .sz{
    min-width:28px; padding:4px 6px; font-size:11px;
  }
  html.pc .card .sz .sz-hint{ font-size:8px; margin-top:1px; }
  html.pc .card .sz.warehouse::after{
    width:14px; height:14px; font-size:10px; line-height:14px;
    top:-4px; right:-4px;
  }
  html.pc .card .cta{
    font-size:11px; padding:6px 8px; border-radius:8px;
  }
  html.pc .card .cta-stack{ gap:4px; }
  html.pc .card .photo-missing{ font-size:10px; padding:8px; gap:2px; }
  html.pc .card .photo-missing img.ph-logo{ max-height:50%; }
  html.pc .card.card-clearout{ border-width:2px; box-shadow:0 2px 8px rgba(0,0,0,.12); }
  html.pc .card.card-clearout .co-ribbon{
    top:8px; left:-3px; font-size:9px; padding:4px 10px 4px 8px;
    letter-spacing:.04em;
  }
  html.pc .card.card-clearout .co-pct{
    font-size:11px; padding:4px 6px; top:8px; right:6px;
  }
  html.pc .card.card-clearout .co-banner{ font-size:10px; padding:4px 8px; }
  html.pc .card.card-clearout .price .was{ font-size:10px; }
  html.pc .card.card-clearout .price .now{ font-size:13px; }
  html.pc .card.card-clearout .price .save{ font-size:9px; }

  /* desktop layer (Garry 24 Oct 9:02pm preview): centred page column, multi-column card grid */
  html.pc body{max-width:1240px;margin:0 auto!important;padding-left:24px!important;padding-right:24px!important}
  html.pc .ph-top,html.pc .ph-foot{margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;padding-left:calc(50vw - 50% + 24px)!important;padding-right:calc(50vw - 50% + 24px)!important}
  html.pc #grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))!important;gap:16px!important}
  html.pc .ph-filters,html.pc .ph-subbar,html.pc .ph-menu-wrap{max-width:900px;margin-left:auto!important;margin-right:auto!important}
html.pc .layout{grid-template-columns:1fr!important}
html.pc .layout>.side{position:static!important;max-height:none!important;overflow:visible!important;max-width:900px;margin:0 auto;width:100%}
html.pc .lgrid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))!important;gap:16px!important}
html.pc .ph-top{box-shadow:0 0 0 100vmax var(--e4);clip-path:inset(0 -100vmax);border-radius:0!important;margin-left:0!important;margin-right:0!important;padding:14px 0 16px!important}
html.pc .ph-bar,html.pc.ph-home .ph-bar{display:grid!important;grid-template-columns:1fr auto 1fr!important;align-items:center;gap:20px}
html.pc .ph-logo{grid-column:1!important;grid-row:1!important;justify-self:start}
html.pc .ph-logo img{width:130px!important;height:54px!important}
html.pc .ph-name{grid-column:2!important;grid-row:1!important;font-size:24px!important;font-weight:800!important;word-spacing:normal!important;white-space:nowrap}
html.pc .ph-call{display:none!important}
html.pc .pc-contact{display:flex!important;grid-column:3;grid-row:1;justify-self:end;flex-direction:column;align-items:flex-end;gap:4px;font-size:15px;font-weight:600}
html.pc .pc-contact a{color:#fff;text-decoration:none}
html.pc .pc-contact a:hover{text-decoration:underline}
html.pc body{overflow:visible!important}
}
/* Sale tile + extra landing tiles: PC only (phone keeps its 12 tiles) */
.lgrid .lt.pc-only{display:none}
html.pc .lgrid .lt.pc-only{display:block}
html.pc .lgrid .lt-sale{grid-column:span 2;position:relative;border:3px solid #d71920;display:flex!important;flex-direction:column}
html.pc .lt-sale .sale-imgs{display:grid!important;grid-template-columns:1fr 1fr;background:#fff!important;padding:0!important;flex:1}
html.pc .lt-sale .sale-imgs img{aspect-ratio:1;object-fit:contain}
html.pc .lt-sale .sale-flag{position:absolute;top:10px;left:10px;background:#d71920;color:#fff;font-weight:900;font-size:22px;letter-spacing:.08em;padding:4px 14px;border-radius:8px;z-index:1}
html.pc .lt-sale .sale-cta{background:#d71920!important;font-size:17px!important;font-weight:800!important}
