/* nn-card-tile 2026-11-28 v36 = v35 + tile-size block at the end. v35 header: (tilelink-2026-11-28, John t630u): drop the black 'Shop at' bar;
   the whole tile is one tracked link (a.sf-card-link). Wishlist star and colour swatches stay
   their own controls above the link. Modestly larger photos and name/price text. Two columns
   kept at 320/390. Scoped to home + pages so /small-bust-lingerie-uk/ (a post) is untouched. */
html body.page-template article.sf-card > a.sf-card-link,
html body.home-template article.sf-card > a.sf-card-link,
html body.page-template article.sf-card > a.sf-card-link:hover,
html body.page-template article.sf-card > a.sf-card-link:focus,
html body.page-template article.sf-card > a.sf-card-link:focus-visible,
html body.home-template article.sf-card > a.sf-card-link:hover,
html body.home-template article.sf-card > a.sf-card-link:focus,
html body.home-template article.sf-card > a.sf-card-link:focus-visible,
html body.page-template article.nnt > a.sf-card-link,
html body.home-template article.nnt > a.sf-card-link{
  display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-width:0!important;
  color:inherit!important;text-decoration:none!important;background:none!important;border:0!important;
  box-shadow:none!important;margin:0!important;padding:0!important;width:auto!important;max-width:100%!important;
  min-height:0!important;text-transform:none!important;letter-spacing:normal!important;white-space:normal!important;
  line-height:inherit!important;font-weight:inherit!important;border-radius:0!important
}
html body.page-template article.sf-card > a.sf-card-link:focus-visible,
html body.home-template article.sf-card > a.sf-card-link:focus-visible,
html body.page-template article.nnt > a.sf-card-link:focus-visible,
html body.home-template article.nnt > a.sf-card-link:focus-visible{
  outline:2px solid #5a1f47!important;outline-offset:2px!important
}
html body.page-template article.sf-card:has(> a.sf-card-link:focus-visible),
html body.home-template article.sf-card:has(> a.sf-card-link:focus-visible),
html body.page-template article.nnt:has(> a.sf-card-link:focus-visible),
html body.home-template article.nnt:has(> a.sf-card-link:focus-visible){
  box-shadow:0 0 0 2px #5a1f47!important;border-radius:6px
}
/* leftover bars (in case a card is missed) — never on posts */
html body.page-template article.sf-card a.sf-card-btn,
html body.home-template article.sf-card a.sf-card-btn,
html body.page-template article.nnt a.nn-pc-btn,
html body.home-template article.nnt a.nn-pc-btn{display:none!important}
/* slightly bigger photos: a little less side padding and gap, a little less image inset */
html body.page-template .gh-content .sf-root .sf-gridwrap,
html body.home-template .gh-content .sf-root .sf-gridwrap{padding-left:10px!important;padding-right:10px!important}
html body.page-template .gh-content .sf-root .sf-grid,
html body.home-template .gh-content .sf-root .sf-grid{gap:18px 8px!important}
@media (min-width:700px){
  html body.page-template .gh-content .sf-root .sf-grid,
  html body.home-template .gh-content .sf-root .sf-grid{gap:22px 12px!important}
}
html body.page-template .gh-content .sf-root .sf-card-img img,
html body.home-template .gh-content .sf-root .sf-card-img img{padding:4px!important}
/* slightly bigger name and price */
html body.page-template .gh-content .sf-root h3.sf-card-name,
html body.home-template .gh-content .sf-root h3.sf-card-name{font-size:15px!important}
html body.page-template .gh-content .sf-root .sf-card-price,
html body.home-template .gh-content .sf-root .sf-card-price{font-size:17px!important}
/* span.sf-card-img keeps the same square frame as the old a.sf-card-img */
html body.page-template .gh-content .sf-root span.sf-card-img,
html body.home-template .gh-content .sf-root span.sf-card-img{
  position:relative!important;display:block!important;aspect-ratio:1/1!important;width:100%!important;
  flex:0 0 auto!important;background:#fff!important;border:1px solid #f0e9de!important;border-radius:3px!important;
  overflow:hidden!important;line-height:0!important
}
/* star + swatches stay above the tile link */
html body.page-template article.sf-card > button.nn-star,
html body.home-template article.sf-card > button.nn-star{z-index:3!important}
html body.page-template article.sf-card > .sf-card-sw,
html body.home-template article.sf-card > .sf-card-sw{z-index:2!important}

/* /which-sex-toy/ pick cards (div.nn-pc): drop the Shop at bar; the photo link is stretched over the card.
   Inner "pairs with" links stay their own tap targets. Image sizes match the current stacked layout. */
html body.page-template .gh-content .nn-pc{position:relative!important}
html body.page-template .gh-content .nn-pc > a.sf-card-link,
html body.page-template .gh-content .nn-pc > a.sf-card-link:hover,
html body.page-template .gh-content .nn-pc > a.sf-card-link:focus,
html body.page-template .gh-content .nn-pc > a.sf-card-link:focus-visible{
  display:block!important;color:inherit!important;text-decoration:none!important;background:none!important;
  border:0!important;box-shadow:none!important;margin:0!important;padding:0!important;width:auto!important;
  max-width:100%!important;min-height:0!important;text-transform:none!important;letter-spacing:normal!important;
  line-height:0!important;font-weight:inherit!important;border-radius:0!important
}
html body.page-template .gh-content .nn-pc > a.sf-card-link::after{
  content:""!important;position:absolute!important;inset:0!important;z-index:1!important
}
html body.page-template .gh-content .nn-pc > a.sf-card-link:focus-visible{
  outline:2px solid #5a1f47!important;outline-offset:2px!important
}
html body.page-template .gh-content .nn-pc:has(> a.sf-card-link:focus-visible){
  box-shadow:0 0 0 2px #5a1f47!important;border-radius:12px
}
html body.page-template .gh-content .nn-pc a.nn-inl,
html body.page-template .gh-content .nn-pc .nn-ease a,
html body.page-template .gh-content .nn-pc dl a{
  position:relative!important;z-index:2!important
}
html body.page-template .gh-content .nn-pc a.nn-pc-btn{display:none!important}
html body.page-template .gh-content .nn-pc.nn-pc--img > a.sf-card-link > .nn-pc-img{
  display:block!important;width:100%!important;height:280px!important;max-width:none!important;
  object-fit:contain!important;object-position:center!important;background:#fff!important;
  border:1px solid var(--nn-line,#f0e9de)!important;border-radius:12px!important;padding:10px!important;
  margin:0 0 1rem!important;box-sizing:border-box!important
}
@media (max-width:560px){
  html body.page-template .gh-content .nn-pc.nn-pc--img > a.sf-card-link > .nn-pc-img{height:240px!important}
}

/* ---- v36 tile-size-2026-11-28 (John t635u): bigger tiles, 3:4 portrait photos, no "from £x at N shops" line ---- */
/* 1. phones: grid 10px from the screen edge (was 18px theme padding + 10px wrap = 28px); gap stays 8px, 2 columns */
@media (max-width:699px){
  html body.page-template .gh-content .sf-root{overflow-x:visible!important}
  html body.page-template .gh-content .sf-root .sf-gridwrap{padding-left:0!important;padding-right:0!important;margin-left:-8px!important;margin-right:-8px!important}
  html body.home-template .gh-content .sf-root.sf-home .sf-sec{padding-left:10px!important;padding-right:10px!important}
}
/* 2. portrait 3:4 photo frame. Default: whole product shown (contain) on white, so toys are never cropped */
html body.page-template .gh-content .sf-root span.sf-card-img,
html body.page-template .gh-content .sf-root a.sf-card-img,
html body.home-template .gh-content .sf-root.sf-home span.sf-card-img,
html body.home-template .gh-content .sf-root.sf-home a.sf-card-img{aspect-ratio:3/4!important;background:#fff!important}
html body.page-template .gh-content .sf-root .sf-card-img img,
html body.home-template .gh-content .sf-root.sf-home .sf-card-img img{
  display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;
  padding:4px!important;box-sizing:border-box!important;object-fit:contain!important;object-position:50% 50%!important}
/* lingerie and dress-up pages (model photos): fill the frame, trims only the sides of square shots */
html body.page-matching-lingerie-sets .gh-content .sf-root .sf-card-img img,
html body.page-lingerie .gh-content .sf-root .sf-card-img img,
html body.page-christmas-lingerie-gifts-uk .gh-content .sf-root .sf-card-img img,
html body.page-small-busts .gh-content .sf-root .sf-card-img img,
html body.page-fancy-dress .gh-content .sf-root .sf-card-img img,
html body.page-top-4 .gh-content .sf-root .sf-card-img img{padding:0!important;object-fit:cover!important;object-position:50% 20%!important}
/* 3. drop the "from £x at N shops : …" comparison line (the tile links to one shop) */
html body.page-template .gh-content .sf-root .sf-card .sf-card-body > p.sf-card-cmp.sf-card-cmp.sf-card-cmp.sf-card-cmp.sf-card-cmp.sf-card-cmp,
html body.home-template .gh-content .sf-root .sf-card .sf-card-body > p.sf-card-cmp.sf-card-cmp.sf-card-cmp.sf-card-cmp.sf-card-cmp.sf-card-cmp,
html body.page-template .gh-content .sf-root p.sf-card-cmp,
html body.home-template .gh-content .sf-root p.sf-card-cmp{display:none!important}
/* Lovehoney lingerie photos are flat product shots on grey: show them whole */
html body.page-template .gh-content .sf-root article.sf-card[data-shop="Lovehoney" i] .sf-card-img img{padding:4px!important;object-fit:contain!important;object-position:50% 50%!important}
