/* RideSkin Urban 3.4.6 — viewport-fit refinement.
   Purpose: make the first visible blocks on homepage and key internal pages
   sit more neatly inside common laptop, tablet and mobile viewports. */

/* Anchor targets stop cleanly below the fixed browser/admin/header chrome. */
#shop,#products,#difference,#how,#reviews,#refill,#story-origin,#science-foundation,
.page-hero,.shop-preview,.rs-tp-section{scroll-margin-top:110px}

/* Base guards against overflow within cards and headings. */
.shop-preview .section-heading,
.shop-preview .product-card,
.shop-preview .product-info,
.shop-preview .product-head,
.rs-inner-page .page-hero,
.rs-inner-page .section-heading,
.rs-inner-page .product-card,
.rs-inner-page .product-info,
.rs-inner-page .story-copy,
.rs-inner-page .rs-tp-review{min-width:0}

/* Homepage shop block: short-height desktop/laptop browsers. */
@media (min-width:901px) and (max-height:980px){
  .shop-preview.section{padding-block:54px 60px}
  .shop-preview .section-heading{margin-bottom:22px;align-items:start;gap:22px}
  .shop-preview .section-heading h2{font-size:clamp(54px,5.25vw,78px);line-height:.95;margin-top:10px}
  .shop-preview .section-heading p{max-width:360px;font-size:15px;line-height:1.48;margin-bottom:0}
  .shop-preview .product-grid{gap:18px}
  .shop-preview .product-media{height:clamp(260px,34vh,390px)}
  .shop-preview .product-image-link{padding:28px 26px 18px}
  .shop-preview .product-image-link img{max-height:100%;max-width:82%!important}
  .shop-preview .product-info{padding:20px 24px 22px}
  .shop-preview .product-name{font-size:clamp(34px,2.75vw,43px)}
  .shop-preview .price{font-size:clamp(29px,2.3vw,36px)}
  .shop-preview .product-info p{font-size:13.5px;line-height:1.48;margin:10px 0 14px}
  .shop-preview .product-specs{gap:8px;margin-bottom:16px}
  .shop-preview .product-specs span{font-size:10px;padding:4px 8px}
  .shop-preview .product-info .btn{min-height:46px;font-size:17px;padding:11px 14px}
  .shop-preview .product-purchase-note{margin-top:8px!important}
  .shop-preview .refill-inline{padding-top:12px}
}

/* Extra compression for shorter laptop screens. */
@media (min-width:901px) and (max-height:860px){
  .shop-preview.section{padding-block:44px 50px}
  .shop-preview .section-heading h2{font-size:clamp(50px,5vw,72px)}
  .shop-preview .product-media{height:clamp(220px,31vh,340px)}
  .shop-preview .product-info{padding:18px 20px 20px}
  .shop-preview .product-name{font-size:clamp(30px,2.45vw,39px)}
  .shop-preview .price{font-size:clamp(26px,2.1vw,33px)}
  .shop-preview .product-specs{margin-bottom:14px}
  .shop-preview .product-info .btn{font-size:16px;min-height:44px}
}

/* Tablet range: keep overview blocks visible and balanced. */
@media (min-width:700px) and (max-width:1024px){
  .shop-preview.section{padding-block:46px 56px}
  .shop-preview .section-heading{margin-bottom:22px;align-items:start;gap:18px}
  .shop-preview .section-heading h2{font-size:clamp(48px,7.2vw,70px);line-height:.96}
  .shop-preview .section-heading p{max-width:34ch;font-size:15px;line-height:1.48}
  .shop-preview .product-grid{gap:16px}
  .shop-preview .product-media{height:clamp(260px,36vw,350px)}
  .shop-preview .product-info{padding:18px 20px 20px}
  .shop-preview .product-name{font-size:clamp(31px,4.8vw,39px)}
  .shop-preview .price{font-size:clamp(27px,4.1vw,33px)}
  .shop-preview .product-info p{margin:10px 0 14px;line-height:1.48}
}

/* Internal pages: trim intro heights and tighten first sections. */
@media (min-width:901px) and (max-height:980px){
  .rs-inner-page .page-hero{padding-block:32px 22px}
  .rs-inner-page .page-hero h1{font-size:clamp(54px,5.7vw,84px);line-height:.98;margin:10px 0 12px}
  .rs-inner-page .page-hero p{font-size:17px;line-height:1.5;max-width:58ch}
  .rs-inner-page .page-subnav{margin-top:16px}
  .rs-inner-page .page-subnav .btn{min-height:44px;font-size:16px;padding:10px 14px}
  .rs-inner-page .section{padding-block:42px 52px}
  .rs-inner-page .section-heading{margin-bottom:22px;align-items:start;gap:18px}
  .rs-inner-page .section-heading h2,
  .rs-inner-page .page-spotlight h2,
  .rs-inner-page .story-copy h2{font-size:clamp(42px,4.2vw,62px);line-height:1}
  .rs-inner-page .product-grid{gap:18px}
  .rs-inner-page .product-media{height:clamp(250px,33vh,380px);aspect-ratio:auto;max-height:none}
  .rs-inner-page .product-info{padding:20px 24px 22px}
  .rs-inner-page .product-name{font-size:clamp(33px,2.8vw,42px)}
  .rs-inner-page .price{font-size:clamp(29px,2.35vw,35px)}
  .rs-inner-page .product-info p{font-size:13.5px;line-height:1.48;margin:10px 0 14px}
  .rs-inner-page .product-specs{gap:8px;margin-bottom:16px}
  .rs-inner-page .product-specs span{font-size:10px;padding:4px 8px}
  .rs-inner-page .product-info .btn{min-height:46px;font-size:17px;padding:11px 14px}
  .rs-inner-page .story-grid,.rs-inner-page .page-spotlight{gap:24px}
  .rs-inner-page .story-visual img{max-height:500px;min-height:0}
  .rs-inner-reviews .rs-tp-section{padding-top:24px}
  .rs-inner-reviews .rs-tp-overline{margin-bottom:18px}
  .rs-inner-reviews .rs-tp-rating-wrap{margin-bottom:18px}
  .rs-inner-reviews .rs-tp-review-grid{gap:16px}
}

@media (min-width:901px) and (max-height:860px){
  .rs-inner-page .page-hero{padding-block:26px 18px}
  .rs-inner-page .page-hero h1{font-size:clamp(48px,5.2vw,76px)}
  .rs-inner-page .section{padding-block:34px 44px}
  .rs-inner-page .product-media{height:clamp(220px,29vh,330px)}
  .rs-inner-page .product-info{padding:18px 20px 20px}
  .rs-inner-page .product-name{font-size:clamp(30px,2.5vw,38px)}
  .rs-inner-page .price{font-size:clamp(26px,2.1vw,32px)}
  .rs-inner-reviews .rs-tp-review-grid{gap:14px}
}

@media (min-width:700px) and (max-width:1024px){
  .rs-inner-page .page-hero{padding-block:34px 24px}
  .rs-inner-page .page-hero h1{font-size:clamp(48px,7.4vw,72px);line-height:.99}
  .rs-inner-page .page-hero p{font-size:16px;line-height:1.48}
  .rs-inner-page .section{padding-block:40px 52px}
  .rs-inner-page .section-heading{margin-bottom:20px;align-items:start;gap:16px}
  .rs-inner-page .product-grid{gap:16px}
  .rs-inner-page .product-media{height:clamp(250px,34vw,340px);aspect-ratio:auto;max-height:none}
  .rs-inner-page .product-info{padding:18px 20px 20px}
  .rs-inner-page .product-name{font-size:clamp(31px,4.8vw,39px)}
  .rs-inner-page .price{font-size:clamp(27px,4.1vw,33px)}
  .rs-inner-page .product-info p{margin:10px 0 14px}
  .rs-inner-reviews .rs-tp-section{padding-top:26px}
}

/* Mobile refinement: keep text blocks inside cards and reduce stray overhang. */
@media (max-width:570px){
  .shop-preview.section{padding-block:42px 48px}
  .shop-preview .section-heading{margin-bottom:18px;gap:10px}
  .shop-preview .section-heading h2{font-size:clamp(38px,11vw,56px);line-height:.98}
  .shop-preview .section-heading p{font-size:14px;line-height:1.48;max-width:100%}
  .shop-preview .product-media{height:360px}
  .shop-preview .product-info{padding:18px 18px 20px}
  .shop-preview .product-info p{font-size:14px;line-height:1.5}
  .shop-preview .product-specs{gap:8px;margin-bottom:16px}
  .shop-preview .product-specs span{font-size:10px}
  .shop-preview .product-info .btn{font-size:16px;min-height:44px}

  .rs-inner-page .page-hero{padding-block:30px 22px}
  .rs-inner-page .page-hero h1{font-size:clamp(40px,11.2vw,58px);line-height:1}
  .rs-inner-page .page-hero p{font-size:14px;line-height:1.48}
  .rs-inner-page .section{padding-block:34px 44px}
  .rs-inner-page .section-heading{margin-bottom:18px;gap:10px}
  .rs-inner-page .section-heading h2,
  .rs-inner-page .page-spotlight h2,
  .rs-inner-page .story-copy h2{font-size:clamp(37px,10.4vw,52px);line-height:1}
  .rs-inner-page .product-media{height:350px;aspect-ratio:auto;max-height:none}
  .rs-inner-page .product-info{padding:18px 18px 20px}
  .rs-inner-page .product-info p{font-size:14px;line-height:1.5}
  .rs-inner-page .product-specs{gap:8px;margin-bottom:16px}
  .rs-inner-page .product-specs span{font-size:10px}
  .rs-inner-page .product-info .btn{font-size:16px;min-height:44px}
  .rs-inner-page .story-visual img{max-height:420px}
}
