/*
Theme Name: Faster Printing NY Stage 22.3.3 Demo Main Image Fit
Author: LH & R Services Corp
Version: 22.3.3
Description: Clean standalone visual demo. No commerce plugin dependency.
*/
:root{--blue:#0b6fae;--blue2:#0c86c8;--navy:#07346f;--line:#d9e6f0;--text:#082f64;--shell:1450px}*{box-sizing:border-box}html,body{margin:0;padding:0}body{font-family:Arial,Helvetica,sans-serif;color:#0b315c;background:#fff}.fp-shell{width:min(var(--shell),calc(100% - 40px));margin:auto}.fp-top{background:linear-gradient(90deg,#0c679f,#1388c5);color:#fff;font-size:12px}.fp-top .fp-shell{display:flex;align-items:center;justify-content:space-between;min-height:34px}.fp-top nav{display:flex;gap:14px;align-items:center}.fp-top a{color:#fff;text-decoration:none}.fp-mainhead{background:#fff}.fp-mainhead-inner{height:78px;display:grid;grid-template-columns:180px 1fr auto auto auto;gap:20px;align-items:center}.fp-logo img{max-width:118px;max-height:60px;display:block}.fp-search{display:grid;grid-template-columns:1fr 54px;border:1px solid #cbdbe8;border-radius:5px;overflow:hidden;height:46px}.fp-search input{border:0;padding:0 18px;font-size:16px;outline:0}.fp-search button{border:0;background:#0d7bbd;color:white;font-size:22px}.fp-headtool{display:flex;gap:8px;align-items:center;text-decoration:none;color:#062c5a;font-size:12px;white-space:nowrap}.fp-headtool>span:first-child{font-size:22px;color:#0b7ebe}.fp-headtool small,.fp-headtool em{display:block;font-style:normal;font-size:10px}.fp-headtool b{display:block;font-size:13px}.fp-mobile-toggle{display:none}.fp-catnav{background:linear-gradient(90deg,#0a649e,#138bc9)}.fp-catnav-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:46px}.fp-catnav a{color:#fff;text-decoration:none;font-weight:700;font-size:12px;white-space:nowrap}.fp-approved-hero{position:relative;width:100%;background:#d7ecfa;overflow:hidden;aspect-ratio:1768/470;min-height:360px;max-height:540px}.fp-approved-slides{position:absolute;inset:0}.fp-approved-slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:0;transition:opacity .6s ease}.fp-approved-slide.is-active{opacity:1}.fp-hero-shop-hotspot{position:absolute;left:10.45%;top:73.4%;width:10.1%;height:11.7%;border-radius:5px;z-index:5}.fp-section{padding:28px 0 36px}.fp-section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.fp-section-title h2{margin:0;color:#07346f;font-size:28px}.fp-section-title a{color:#067cc1;text-decoration:none;font-weight:700;font-size:13px}.fp-category-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.fp-category-card,.fp-product-card{display:block;background:#fff;border:1px solid #d7e3ed;border-radius:10px;overflow:hidden;text-decoration:none;color:#082f64;box-shadow:0 8px 24px rgba(5,52,100,.08);transition:transform .2s ease,box-shadow .2s ease}.fp-category-card:hover,.fp-product-card:hover{transform:translateY(-8px);box-shadow:0 18px 34px rgba(5,52,100,.16)}.fp-category-card img{display:block;width:100%;height:135px;object-fit:cover;background:#f4f7f9}.fp-category-card>div{display:flex;justify-content:space-between;gap:8px;padding:12px}.fp-category-card b,.fp-product-card b{display:block;font-size:14px}.fp-category-card small,.fp-product-card small{display:block;color:#5a7087;margin-top:4px}.fp-category-card strong{color:#0784cc;font-size:20px}.fp-featured{background:#f7fbfe}.fp-product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.fp-product-card img{width:100%;height:220px;object-fit:cover}.fp-product-card>div{padding:15px}.fp-product-card strong{display:block;color:#0784cc;margin-top:8px}.fp-footer{background:#082f64;color:#fff;padding:28px 0}.fp-footer-inner{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:30px}.fp-footer img{max-width:110px;filter:brightness(0) invert(1)}.fp-footer small{display:block;margin-top:6px}.fp-footer nav{display:flex;gap:18px}.fp-footer a{color:#fff;text-decoration:none}.fp-footer-inner>div:last-child{text-align:right}.fp22-standalone-demo{min-height:60vh}.fp22-demo-pagehero{background:#eef7fd;padding:45px 0}.fp22-demo-pagehero small{font-weight:800;color:#0a78b8}.fp22-demo-pagehero h1{font-size:42px;color:#07346f;margin:8px 0}.fp22-demo-pagebody{padding:35px 0 55px}.fp22-demo-detail{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:center}.fp22-demo-detail img{width:100%;border-radius:14px}.fp22-demo-primary{display:inline-block;background:#0a83c7;color:#fff;text-decoration:none;padding:14px 22px;border-radius:6px;border:0;font-weight:800}.fp22-demo-options{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0}.fp22-demo-options label{font-weight:700}.fp22-demo-options select{display:block;width:100%;padding:11px;margin-top:6px}.fp22-demo-empty{padding:60px 0}.fp22-demo-space{margin-top:38px}
@media(max-width:1100px){.fp-mainhead-inner{grid-template-columns:130px 1fr auto}.fp-headtool:nth-of-type(3),.fp-headtool:nth-of-type(4){display:none}.fp-catnav-inner{overflow-x:auto;justify-content:flex-start;padding-bottom:2px}.fp-category-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.fp-shell{width:min(100% - 24px,var(--shell))}.fp-top nav a{display:none}.fp-mainhead-inner{height:auto;padding:12px 0;grid-template-columns:90px 1fr auto}.fp-logo img{max-width:85px}.fp-search{height:40px}.fp-headtool{display:none}.fp-mobile-toggle{display:block;border:0;background:#0b7fbe;color:#fff;border-radius:5px;padding:10px 12px}.fp-catnav{display:none}.fp-catnav.is-open{display:block}.fp-catnav-inner{display:grid;padding:12px 0}.fp-approved-hero{aspect-ratio:1768/470;min-height:0}.fp-hero-shop-hotspot{left:10.4%;top:73%;width:10.5%;height:12%}.fp-category-grid{grid-template-columns:repeat(2,1fr)}.fp-product-grid{grid-template-columns:1fr}.fp-category-card img{height:110px}.fp-section-title h2{font-size:23px}.fp-section-title a{font-size:11px}.fp-footer-inner{grid-template-columns:1fr;text-align:center}.fp-footer-inner>div:last-child{text-align:center}.fp-footer nav{justify-content:center}.fp22-demo-detail{grid-template-columns:1fr}}


/* Stage 22.3.2 — polished internal demo entry views only. Homepage intentionally unchanged. */
.fp22-demo-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}
.fp22-demo-title h2{margin:0;color:#07346f;font-size:28px;line-height:1.15}
.fp22-demo-title>a{color:#087fc2;text-decoration:none;font-weight:800;font-size:13px}
.fp22-demo-category-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}
.fp22-demo-category-card{display:block;background:#fff;border:1px solid #d8e5ef;border-radius:14px;overflow:hidden;text-decoration:none;color:#082f64;box-shadow:0 8px 24px rgba(5,52,100,.08);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.fp22-demo-category-card:hover{transform:translateY(-6px);box-shadow:0 18px 36px rgba(5,52,100,.15);border-color:#acd7ee}
.fp22-demo-category-card img{display:block;width:100%;height:155px;object-fit:cover;background:#f3f7fa}
.fp22-demo-category-card>div{min-height:76px;padding:13px 14px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.fp22-demo-category-card span{min-width:0}.fp22-demo-category-card b{display:block;font-size:15px;line-height:1.2}.fp22-demo-category-card small{display:block;margin-top:5px;color:#65798d;line-height:1.25}.fp22-demo-category-card strong{font-size:22px;color:#0b86ca;font-weight:500}
.fp22-demo-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.fp22-demo-product-card{display:block;background:#fff;border:1px solid #d8e5ef;border-radius:14px;overflow:hidden;text-decoration:none;color:#082f64;box-shadow:0 8px 24px rgba(5,52,100,.08);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.fp22-demo-product-card:hover{transform:translateY(-7px);box-shadow:0 18px 36px rgba(5,52,100,.16);border-color:#acd7ee}
.fp22-demo-product-card img{display:block;width:100%;height:190px;object-fit:cover;background:#f3f7fa}
.fp22-demo-product-card>div{padding:15px 16px 17px;min-height:108px;display:flex;flex-direction:column;align-items:flex-start}
.fp22-demo-product-card b{display:block;font-size:16px;line-height:1.25;color:#07346f}
.fp22-demo-product-card small{display:block;color:#687c8f;margin:6px 0 12px;line-height:1.35}
.fp22-demo-product-card strong{display:block;color:#0b83c7;margin-top:auto;font-size:14px}
.fp22-demo-detail{background:#fff;border:1px solid #dbe7f0;border-radius:18px;padding:26px;box-shadow:0 12px 34px rgba(5,52,100,.08)}
.fp22-demo-detail>div:first-child{border-radius:13px;overflow:hidden;background:#f4f8fb;min-height:300px;display:flex;align-items:center;justify-content:center}
.fp22-demo-detail img{height:360px;object-fit:cover;border-radius:0}
.fp22-demo-detail small{display:inline-block;color:#0b83c7;font-weight:800;letter-spacing:.08em;margin-bottom:6px}
.fp22-demo-detail h2{font-size:34px;color:#07346f;margin:5px 0 12px}.fp22-demo-detail p{font-size:16px;line-height:1.65;color:#4e6478;max-width:620px}
.fp22-demo-pagehero{background:linear-gradient(135deg,#eef8fd,#f9fcff);border-bottom:1px solid #dceaf3}.fp22-demo-pagehero p{margin:0;color:#60768a;max-width:720px;line-height:1.5}
@media(max-width:1100px){.fp22-demo-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.fp22-demo-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.fp22-demo-pagehero{padding:30px 0}.fp22-demo-pagehero h1{font-size:32px}.fp22-demo-pagebody{padding-top:24px}.fp22-demo-title{align-items:flex-start}.fp22-demo-category-grid,.fp22-demo-product-grid{grid-template-columns:1fr}.fp22-demo-category-card img,.fp22-demo-product-card img{height:210px}.fp22-demo-detail{padding:16px;gap:20px}.fp22-demo-detail img{height:260px}.fp22-demo-detail h2{font-size:28px}}

/* Stage 22.3.3 — category/product main image fit only */
.fp22-demo-detail>div:first-child{min-height:0;height:330px;padding:18px;background:#f4f8fb}
.fp22-demo-detail>div:first-child img{width:100%;height:100%;object-fit:contain!important;object-position:center!important;border-radius:10px}
@media(max-width:760px){.fp22-demo-detail>div:first-child{height:240px;padding:12px}.fp22-demo-detail>div:first-child img{height:100%!important;object-fit:contain!important}}
