/* Package E: product rows (Best Deals / Recently viewed), homepage FAQ cards, "Why shop" facts layout. Loaded by inc/product-rows.php. */
.s4s-home-hero{text-align:center;padding:36px 0 10px}.s4s-home-hero .main_container{max-width:960px}.s4s-home-hero h1{font-size:44px;font-weight:800;color:#f06f41;line-height:1.15;margin:0 0 14px}.s4s-home-hero .s4s-home-sub{font-size:18px;line-height:1.6;color:#444;margin:0 auto 20px;max-width:860px}.s4s-home-hero .s4s-home-ctas{margin:0 0 10px}.s4s-home-hero .s4s-btn{font-size:17px;padding:13px 28px;font-weight:700}.s4s-home-hero .s4s-home-small{color:#666;font-size:15px;margin:0 0 16px}
.s4s-hero-facts .s4s-facts{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 12px;margin:6px 0 0}.s4s-hero-facts .s4s-facts li{background:#fff7f3;border:1px solid #f6c9b8;border-radius:30px;padding:8px 18px 8px 38px;font-size:15px;font-weight:600;color:#222;position:relative}.s4s-hero-facts .s4s-facts li::before{content:"\2713";position:absolute;left:15px;top:7px;color:#f06f41;font-weight:800}
.s4s-prow{width:100%;float:left;padding:36px 0 10px;background:#fff}.s4s-prow-inner{width:100%;margin:0 auto}.s4s-prow-title{font-weight:800;font-size:38px;text-align:center;color:#f06f41;margin:0 0 4px}.s4s-prow .listinn{padding-top:20px}/* same container width and float layout as the category listing, so the cards are identical */.s4s-prow-more{text-align:center;clear:both;margin:4px 0 20px;padding-top:8px}.s4s-prow-more .s4s-btn{font-size:17px;padding:12px 30px;font-weight:700}
.why_us.s4s-why2 .fl img{width:100%;height:auto;float:none}.s4s-video{display:block;width:100%;padding:0;border:7px solid #ffddd1;background:#000;cursor:pointer;position:relative}.s4s-video img{display:block;width:100%;height:auto;border:0!important;float:none}.s4s-video-play{position:absolute;left:50%;top:50%;width:84px;height:56px;margin:-28px 0 0 -42px;background:#f06f41;border-radius:14px}.s4s-video-play::after{content:"";position:absolute;left:34px;top:16px;border-style:solid;border-width:12px 0 12px 22px;border-color:transparent transparent transparent #fff}.why_us.s4s-why2 .fl iframe{width:100%;aspect-ratio:16/9;border:7px solid #ffddd1;display:block}
.why_us.s4s-why2 .list .t1{color:#000!important;text-transform:uppercase}.why_us.s4s-why2 .list .t3{color:#444}
/* Category tiles (22 Oct): image on top, orange title, hover lift; section heading styled like the other homepage headings */
.s4s-home-categories{padding:30px 0 10px!important}.s4s-home-categories h2{font-weight:800;font-size:38px;text-align:center;color:#f06f41;margin:0 0 22px!important}
.s4s-home-categories .s4s-tiles{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:18px}
.s4s-home-categories .s4s-tiles li{padding:0;border:1px solid #eee;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.05);transition:transform .15s,box-shadow .15s;display:flex;flex-direction:column}
.s4s-home-categories .s4s-tiles li:hover{transform:translateY(-3px);box-shadow:0 8px 20px rgba(0,0,0,.10)}
.s4s-home-categories .s4s-tiles li .s4s-tile-img{display:block;width:100%;height:120px;background:#fff7f3;overflow:hidden}.s4s-home-categories .s4s-tiles li .s4s-tile-img img{width:100%;height:120px;object-fit:contain;display:block;padding:10px;box-sizing:border-box}
.s4s-home-categories .s4s-tiles li a{display:block;padding:12px 14px 2px;font-size:17px;font-weight:700;color:#f06f41;text-decoration:none}.s4s-home-categories .s4s-tiles li a strong{font-weight:700}
.s4s-home-categories .s4s-tiles li span{display:block;padding:0 14px 14px;font-size:14px;color:#555;line-height:1.5;margin:0}
.s4s-home-categories .s4s-tiles li a.s4s-tile-desc{display:block;padding:0 14px 14px;font-size:14px;font-weight:400;color:#555;line-height:1.5;text-decoration:none}.s4s-home-categories .s4s-tiles li:hover a.s4s-tile-desc{color:#222}
@media screen and (max-width:700px){.s4s-home-categories h2{font-size:28px}.s4s-home-categories .s4s-tiles{grid-template-columns:1fr 1fr;gap:12px}.s4s-home-categories .s4s-tiles li .s4s-tile-img,.s4s-home-categories .s4s-tiles li .s4s-tile-img img{height:90px}}
/* Merged hero (22 Oct): copy + points left, media right */
.s4s-hero2{padding:64px 0 24px;clear:both}.s4s-hero2 .main_container{max-width:1230px}
.s4s-hero2-head{text-align:center;max-width:980px;margin:0 auto 30px}.s4s-hero2-head h1{font-size:44px;font-weight:800;color:#f06f41;line-height:1.15;margin:0 0 14px}.s4s-hero2-head .s4s-home-sub{font-size:18px;line-height:1.6;color:#444;margin:0 auto}
.s4s-hero2-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}
.s4s-hero2-ctas{text-align:center;margin:30px 0 0}.s4s-hero2-ctas .s4s-home-ctas{margin:0}.s4s-hero2-ctas .s4s-btn{font-size:17px;padding:13px 30px;font-weight:700;margin:6px 6px}
.s4s-hero2 .s4s-hero2-points.why_us{float:none!important;width:auto!important;padding:0!important;background:none!important}
.s4s-hero2 .s4s-hero2-points .fr{float:none!important;width:100%!important;margin:0!important}
.s4s-hero2 .s4s-hero2-points .list{display:flex!important;align-items:center;gap:16px;float:none!important;width:100%!important;margin:0 0 16px!important}
.s4s-hero2 .s4s-hero2-points .list .img{float:none!important;flex:0 0 84px;width:84px!important;height:84px!important;margin:0!important}
.s4s-hero2 .s4s-hero2-points .list .img img{width:50px!important;height:50px!important;margin:17px auto!important;display:block}
.s4s-hero2 .s4s-hero2-points .list .right{float:none!important;width:auto!important;flex:1;padding:0!important}
.s4s-hero2 .s4s-hero2-media.why_us{float:none!important;width:auto!important;padding:0!important;background:none!important}
.s4s-hero2 .s4s-hero2-media .fl{display:block!important;float:none!important;width:100%!important;margin:0!important;padding:0!important}
.s4s-hero2 .s4s-hero2-media{display:block!important}
.s4s-hero2 .s4s-hero2-media .fl img{width:100%!important;max-width:480px;height:auto!important;display:block;margin:0 auto;border:7px solid #ffddd1}
.s4s-hero2 .s4s-hero2-media .fl video.s4s-video-file{width:100%!important;max-width:none;height:auto!important;aspect-ratio:16/9;display:block;margin:0 auto;border:7px solid #ffddd1;background:#000;border-radius:4px;box-sizing:border-box}
.why_us.s4s-why2 .fl video.s4s-video-file{width:100%;height:auto;display:block;border:7px solid #ffddd1;background:#000}
@media screen and (max-width:900px){.s4s-hero2-grid{grid-template-columns:1fr;gap:24px}.s4s-hero2-head h1{font-size:30px}.s4s-hero2-head .s4s-home-sub{font-size:16px}.s4s-hero2-media{order:-1}}
.faqs .faq.s4s-faq-cards{width:100%!important;float:none!important;padding:0}.s4s-faq-cards h3{text-align:center;color:#f06f41;font-size:40px;font-weight:800;margin-bottom:30px}
.s4s-faq-cards ul.FrequentlyQuestions{display:grid;grid-template-columns:1fr 1fr;gap:16px;list-style:none;margin:0;padding:0}
/* FAQ cards (22 Oct UI pass): white cards, dark question, orange round +/- icon, answer in grey; cards align to the top of each row.
   Selectors carry .faqs .faq.s4s-faq-cards so they beat the theme's orange ".faqs .faq ul li" rules. */
.faqs .faq.s4s-faq-cards ul.FrequentlyQuestions{align-items:start}
.faqs .faq.s4s-faq-cards .s4s-faq-item{background:#fff;border:1px solid #ececec;border-left:4px solid #f6c9b8;border-radius:10px;box-shadow:0 2px 8px rgba(0,0,0,.05);overflow:hidden;transition:box-shadow .15s,border-color .15s}
.faqs .faq.s4s-faq-cards .s4s-faq-item:hover{box-shadow:0 6px 18px rgba(0,0,0,.09)}.faqs .faq.s4s-faq-cards .s4s-faq-item.is-open{border-left-color:#f06f41}
.faqs .faq.s4s-faq-cards ul li{width:100%!important;float:none!important;list-style:none;margin:0!important;padding:18px 64px 18px 20px!important;font-weight:700;font-size:17px;line-height:1.4;color:#222!important;background:none!important;border:0!important;border-radius:0!important;position:relative;cursor:pointer;box-shadow:none!important}
.faqs .faq.s4s-faq-cards ul li span{position:absolute!important;right:16px!important;top:50%!important;margin-top:-16px;width:32px;height:32px;border:2px solid #f06f41;border-radius:50%;color:#f06f41!important;background:#fff!important;text-align:center;line-height:28px!important;padding:0!important;float:none!important}
.faqs .faq.s4s-faq-cards ul li span i{font-size:13px;color:#f06f41!important;line-height:28px}
.faqs .faq.s4s-faq-cards .s4s-faq-item.is-open ul li span,.faqs .faq.s4s-faq-cards .s4s-faq-item.is-open li span{background:#f06f41!important}.faqs .faq.s4s-faq-cards .s4s-faq-item.is-open li span i{color:#fff!important}
.faqs .faq.s4s-faq-cards .contentDiv{float:none!important;width:100%!important;padding:0 20px 18px!important;font-size:15px;line-height:1.65;color:#444;border-top:1px dashed #f1e2db;margin-top:-2px;padding-top:12px!important}
.s4s-faq-more{text-align:center;margin:22px 0 0;clear:both}.s4s-faq-more a{display:inline-block;color:#f06f41;font-weight:700;text-decoration:none;border:1px solid #f06f41;border-radius:4px;padding:10px 22px}.s4s-faq-more a:hover{background:#f06f41;color:#fff}
@media screen and (max-width:700px){.s4s-home-hero h1{font-size:30px}.s4s-home-hero .s4s-home-sub{font-size:16px}.s4s-prow-inner{width:100%}.s4s-prow-title{font-size:28px}.s4s-hero-facts .s4s-facts li{font-size:14px}.s4s-faq-cards ul.FrequentlyQuestions{grid-template-columns:1fr}.s4s-faq-cards h3{font-size:28px}}

/* Homepage category artwork: full 3:2 composition without cropped packs. */
.s4s-home-categories .s4s-tiles li .s4s-tile-img{padding:0;height:auto;aspect-ratio:3/2;background:#fff6f1}
.s4s-home-categories .s4s-tiles li .s4s-tile-img img{padding:0;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain}

/* Homepage "Browse by category": soft yellow full-width band (owner request 23 Oct). Tiles stay white. */
.s4s-home.s4s-home-categories{background:#fff4cc;padding:48px 0!important;margin:24px 0}
.s4s-home-categories .s4s-tiles li{background:#fff}
@media screen and (max-width:700px){.s4s-home.s4s-home-categories{padding:32px 0!important}}

/* Hero buttons (owner 24 Oct): one row on every screen; sign-up hidden for members even on a cached page. */
.s4s-hero2-ctas .s4s-home-ctas{display:flex;flex-wrap:nowrap;justify-content:center;gap:10px}
.s4s-hero2-ctas .s4s-btn{margin:0!important;white-space:nowrap}
body.logged-in .s4s-hero2-ctas a[href*="/signup"]{display:none!important}
@media screen and (max-width:700px){.s4s-hero2-ctas .s4s-home-ctas{gap:8px}.s4s-hero2-ctas .s4s-btn{flex:1 1 0;min-width:0;font-size:15px;padding:12px 10px;text-align:center}}

/* Homepage "View all" + FAQ block (owner 24 Oct, UX): View-all buttons are a quieter outline style so they do not compete with section titles; the FAQ title matches the other section titles on every screen; even spacing between the deals row and the FAQ. */
.s4s-prow-more{margin:8px 0 8px;padding-top:4px}
.s4s-prow-more .s4s-btn{display:inline-flex;align-items:center;gap:6px;background:#fff!important;color:#f06f41!important;border:2px solid #f06f41!important;border-radius:999px;font-size:15px;padding:10px 26px;box-shadow:none}
.s4s-prow-more .s4s-btn:hover,.s4s-prow-more .s4s-btn:focus-visible{background:#f06f41!important;color:#fff!important}
.faq.s4s-faq-cards{margin-top:8px!important;padding-top:40px!important}
.faq.s4s-faq-cards h3,.faq.s4s-faq-cards > .main_container > h3{color:#f06f41!important;font-size:38px!important;font-weight:800!important;text-align:center;line-height:1.2;margin:0 0 24px!important}
@media screen and (max-width:700px){.s4s-prow-more .s4s-btn{font-size:14px;padding:9px 22px}.faq.s4s-faq-cards{padding-top:28px!important}.faq.s4s-faq-cards h3,.faq.s4s-faq-cards > .main_container > h3{font-size:28px!important;margin-bottom:18px!important}}
/* Category tiles: shimmer placeholder until the (now right-sized) image has loaded, then fade in (owner 24 Oct). */
.s4s-home-categories .s4s-tiles li .s4s-tile-img{position:relative}
.s4s-home-categories .s4s-tiles li .s4s-tile-img img{transition:opacity .3s ease}
.s4s-home-categories .s4s-tiles li .s4s-tile-img.s4s-img-wait img{opacity:0}
.s4s-home-categories .s4s-tiles li .s4s-tile-img.s4s-img-wait::before{content:"";position:absolute;inset:0;background:linear-gradient(100deg,#fbe9df 30%,#fff6f1 50%,#fbe9df 70%);background-size:200% 100%;animation:s4s-tile-shimmer 1.2s linear infinite}
@keyframes s4s-tile-shimmer{from{background-position:100% 0}to{background-position:-100% 0}}
/* Product grids (category listings, search, homepage/product-page rows): CSS grid instead of floats, so a taller card
 (e.g. one with a sale price) can no longer push the next card into a gap (owner 24 Oct). Same columns as before: 4 / 3 / 2. */
.listing .products.listinn{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:2%;row-gap:30px;align-items:stretch}
.listing .products.listinn>*{grid-column:1/-1}
.listing .products.listinn>.box{grid-column:auto;width:auto!important;float:none!important;margin:0!important;min-width:0}
.listing .products.listinn::before,.listing .products.listinn::after{display:none!important}
@media screen and (max-width:1050px){.listing .products.listinn{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media screen and (max-width:700px){.listing .products.listinn{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:8px;row-gap:16px}}
/* Homepage tabs: Best Deals and Featured Products */
.s4s-sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.s4s-tabs{display:flex;justify-content:center;gap:8px;margin:0 0 22px;border-bottom:2px solid #eee}
.s4s-tab{appearance:none;background:none;border:0;border-bottom:3px solid transparent;margin:0 0 -2px;padding:10px 22px;min-height:48px;font-family:inherit;font-weight:800;font-size:30px;line-height:1.2;color:#5b6770;cursor:pointer}
.s4s-tab:hover{color:#f06f41}
.s4s-tab.is-active{color:#f06f41;border-bottom-color:#f06f41}
.s4s-tab:focus-visible{outline:3px solid #1c6391;outline-offset:2px}
@media screen and (max-width:700px){.s4s-tabs{gap:2px}.s4s-tab{flex:1 1 50%;padding:10px 4px;font-size:16px}}
.s4s-tab:focus:not(:focus-visible){outline:none}
