/**
 * FIFO Supermarket image-led homepage and FreshPass refinement.
 * Only loaded in the unpublished WPVibe theme preview for /home/.
 * References grocery category assets already stored on FIFO's website.
 */
body.fifo-preview-enhanced.page-id-15525 .elementor [data-id="mo3mcay"] .elementor-widget-wrap{
  max-width:100%;min-width:0;box-sizing:border-box;
}
body.fifo-preview-enhanced.page-id-15525 .elementor [data-id="bfed4c6"] h1,
body.fifo-preview-enhanced.page-id-15525 .elementor [data-id="06af820"] h2{
  word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;
  letter-spacing:-.042em!important;line-height:1.12!important;
}
body.fifo-preview-enhanced.page-id-15525 .elementor [data-id="327f367"] p{
  font-size:clamp(15px,1.55vw,19px)!important;
  line-height:1.6!important;max-width:685px!important;
}
body.fifo-preview-enhanced.page-id-15525 .elementor [data-id="55dc205"]{
  display:inline-flex!important;max-width:100%!important;
}
/* Buttons exist only for real destinations: Shop and the existing department anchor. */
body.fifo-preview-enhanced.page-id-15525 .fifo-hero-actions{
  display:flex;align-items:center;justify-content:flex-start;gap:12px;
  flex-wrap:wrap;margin-top:15px;
}
body.fifo-preview-enhanced.page-id-15525 .fifo-hero-departments{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:48px;padding:10px 19px;border:1px solid #b4d0bb;
  border-radius:11px;color:#17543c;background:#fff;
  font-weight:800;font-size:15px;letter-spacing:0;
  text-decoration:none;box-shadow:none;line-height:1.4;
}
body.fifo-preview-enhanced.page-id-15525 .fifo-hero-departments:hover,
body.fifo-preview-enhanced.page-id-15525 .fifo-hero-departments:focus-visible{
  background:#eaf5ed;color:#114b35;text-decoration:underline;
}
/* Actual section cards, full image backdrop, clear overlay and real product-category links. */
body.fifo-preview-enhanced.page-id-15525 .elementor .shopengine-product-category-lists .single-cat-list-item,
body.fifo-preview-enhanced.page-id-15525 .elementor .shopengine-product-category-lists .single-cat-list-item:nth-child(n){
  display:flex!important;align-items:stretch!important;justify-content:flex-end!important;
  flex-direction:column!important;position:relative!important;
  padding:20px 17px!important;min-height:208px!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  border:0!important;border-radius:16px!important;
  background-color:#205b42!important;background-repeat:no-repeat!important;
  background-size:cover!important;box-shadow:0 5px 18px rgba(5,49,30,.12)!important;
  overflow:hidden!important;isolation:isolate;
}
body.fifo-preview-enhanced.page-id-15525 .elementor .shopengine-product-category-lists .single-cat-list-item:nth-child(1){background-image:linear-gradient(0deg,rgba(6,34,25,.86) 0%,rgba(6,34,25,.36) 42%,rgba(6,34,25,.02) 87%),url("https://fifosupermarket.co.nz/wp-content/uploads/2026/08/pexels-boryslav-14571330-scaled.jpg")!important;background-position:center 45%!important;}
body.fifo-preview-enhanced.page-id-15525 .elementor .shopengine-product-category-lists .single-cat-list-item:nth-child(2){background-image:linear-gradient(0deg,rgba(6,34,25,.86) 0%,rgba(6,34,25,.36) 42%,rgba(6,34,25,.02) 87%),url("https://fifosupermarket.co.nz/wp-content/uploads/2026/08/038900014759_780101.webp")!important;background-position:center 48%!important;}
body.fifo-preview-enhanced.page-id-15525 .elementor .shopengine-product-category-lists .single-cat-list-item:nth-child(3){background-image:linear-gradient(0deg,rgba(6,34,25,.86) 0%,rgba(6,34,25,.36) 42%,rgba(6,34,25,.02) 87%),url("https://fifosupermarket.co.nz/wp-content/uploads/2026/08/Gemini_Generated_Image_mvl5vimvl5vimvl5.jpg")!important;background-position:center 50%!important;}
body.fifo-preview-enhanced.page-id-15525 .elementor .shopengine-product-category-lists .single-cat-list-item:nth-child(4){background-image:linear-gradient(0deg,rgba(6,34,25,.86) 0%,rgba(6,34,25,.36) 42%,rgba(6,34,25,.02) 87%),url("https://fifosupermarket.co.nz/wp-content/uploads/2026/08/Gemini_Generated_Image_vi54pvi54pvi54pv.jpg")!important;background-position:center 50%!important;}
body.fifo-preview-enhanced.page-id-15525 .elementor .shopengine-product-category-lists .single-cat-list-item:nth-child(5){background-image:linear-gradient(0deg,rgba(6,34,25,.86) 0%,rgba(6,34,25,.36) 42%,rgba(6,34,25,.02) 87%),url("https://fifosupermarket.co.nz/wp-content/uploads/2026/08/Gemini_Generated_Image_idsbebidsbebidsb.jpg")!important;background-position:center 52%!important;}
body.fifo-preview-enhanced.page-id-15525 .elementor .shopengine-product-category-lists .single-cat-list-item:nth-child(6){background-image:linear-gradient(0deg,rgba(6,34,25,.86) 0%,rgba(6,34,25,.36) 42%,rgba(6,34,25,.02) 87%),url("https://fifosupermarket.co.nz/wp-content/uploads/2026/08/9421903084224_824675.webp")!important;background-position:center 50%!important;}
body.fifo-preview-enhanced.page-id-15525 .elementor .shopengine-product-category-lists .single-cat-list-item:nth-child(7){background-image:linear-gradient(0deg,rgba(6,34,25,.86) 0%,rgba(6,34,25,.36) 42%,rgba(6,34,25,.02) 87%),url("https://fifosupermarket.co.nz/wp-content/uploads/2026/08/pexels-dhennynapitupulu-18258533-scaled.jpg")!important;background-position:center 48%!important;}
body.fifo-preview-enhanced.page-id-15525 .elementor .shopengine-product-category-lists .single-cat-list-item:nth-child(8){background-image:linear-gradient(0deg,rgba(6,34,25,.86) 0%,rgba(6,34,25,.36) 42%,rgba(6,34,25,.02) 87%),url("https://fifosupermarket.co.nz/wp-content/uploads/2026/08/pexels-roopsarkar-38377150.jpg")!important;background-position:center 45%!important;}
body.fifo-preview-enhanced.page-id-15525 .elementor .shopengine-product-category-lists .single-cat-list-item:before{content:none!important;display:none!important}
body.fifo-preview-enhanced.page-id-15525 .elementor .shopengine-product-category-lists .single-cat-list-item:after{
  content:"↗";display:flex;align-items:center;justify-content:center;
  position:absolute;top:12px;right:12px;z-index:1;
  font-size:18px;font-weight:700;color:#fff;
  width:32px;height:32px;border-radius:50%;background:rgba(3,32,23,.46);
  backdrop-filter:blur(3px);pointer-events:none;
}
body.fifo-preview-enhanced.page-id-15525 .elementor .shopengine-product-category-lists .single-cat-list-item .product-category-wrap{
  display:flex!important;position:relative!important;z-index:1;
  width:100%!important;min-width:0!important;max-width:100%!important;
  flex:0 0 auto!important;background:transparent!important;
  padding:0!important;margin:0!important;
}
body.fifo-preview-enhanced.page-id-15525 .elementor .shopengine-product-category-lists .single-cat-list-item .single-product-category{
  display:block!important;position:relative!important;z-index:1;
  width:100%!important;min-width:0!important;max-width:100%!important;
  padding:0!important;margin:0!important;
}
body.fifo-preview-enhanced.page-id-15525 .elementor .shopengine-product-category-lists .single-cat-list-item a{
  display:block!important;position:relative!important;width:100%!important;
  color:#fff!important;text-decoration:none!important;
  padding:5px 0!important;
}
body.fifo-preview-enhanced.page-id-15525 .elementor .shopengine-product-category-lists .single-cat-list-item .product-category-title{
  color:#fff!important;text-shadow:0 2px 12px rgba(0,0,0,.63)!important;
  font-size:clamp(16px,1.55vw,22px)!important;font-weight:850!important;
  line-height:1.3!important;margin:0!important;padding:0!important;
  max-width:100%!important;min-width:0!important;
}
/* Extend each genuine WooCommerce department link across the entire photo tile. */
body.fifo-preview-enhanced.page-id-15525 .elementor .shopengine-product-category-lists .single-cat-list-item .product-category-wrap,
body.fifo-preview-enhanced.page-id-15525 .elementor .shopengine-product-category-lists .single-cat-list-item .single-product-category{
  position:static!important;
}
body.fifo-preview-enhanced.page-id-15525 .elementor .shopengine-product-category-lists .single-cat-list-item a{
  position:static!important;
}
body.fifo-preview-enhanced.page-id-15525 .elementor .shopengine-product-category-lists .single-cat-list-item a:after{
  content:"";position:absolute;inset:0;z-index:2;cursor:pointer;
}
body.fifo-preview-enhanced.page-id-15525 .elementor .shopengine-product-category-lists .single-cat-list-item:focus-within{
  outline:3px solid #d0efd6!important;outline-offset:3px;
}
body.fifo-preview-enhanced.page-id-15525 .elementor .shopengine-product-category-lists .single-cat-list-item a:focus-visible{
  outline:3px solid #fff;outline-offset:3px;border-radius:5px;
}
/* FreshPass: branded card front only; marketing section has no public member ID or QR. */
body.fifo-preview-enhanced.page-id-15525 .elementor [data-id="4832f37"]:before,
body.fifo-preview-enhanced.page-id-15525 .elementor [data-id="4832f37"]:after{
  display:none!important;content:none!important;
}
body.fifo-preview-enhanced.page-id-15525 .fifo-freshpass-card{
  position:relative;display:flex;flex-direction:column;justify-content:space-between;
  width:100%;max-width:520px;min-height:270px;
  margin:0 auto;overflow:hidden;isolation:isolate;
  border-radius:19px;border:1px solid #e5e9e7;
  background:linear-gradient(145deg,#ffffff 0%,#ffffff 53%,#0c345f 54%,#071d43 100%);
  box-shadow:0 16px 40px rgba(10,35,45,.19);
  box-sizing:border-box;
}
body.fifo-preview-enhanced.page-id-15525 .fifo-freshpass-card:before{
  content:"";position:absolute;right:-60px;bottom:-78px;
  border-top:7px solid #138c46;
  border-radius:60% 0 0 0;width:85%;height:80%;
  transform:rotate(-22deg);
  box-shadow:0 -10px 0 #fdbe28,0 -20px 0 #1270bd,0 -30px 0 #682fa2,0 -40px 0 #de3644;
  z-index:-1;pointer-events:none;
}
body.fifo-preview-enhanced.page-id-15525 .fifo-card-brand{
  display:flex;align-items:center;gap:9px;padding:26px 25px 0;
  color:#092d56;line-height:1.1;
}
body.fifo-preview-enhanced.page-id-15525 .fifo-card-brand img{
  width:63px;height:63px;object-fit:contain;flex:none;
}
body.fifo-preview-enhanced.page-id-15525 .fifo-card-brand strong{
  display:block;font-size:17px;letter-spacing:-.015em;font-weight:900;
}
body.fifo-preview-enhanced.page-id-15525 .fifo-card-brand small{
  display:block;font-size:11px;margin-top:5px;font-style:italic;
  color:#118344;font-weight:600;
}
body.fifo-preview-enhanced.page-id-15525 .fifo-card-name{
  margin:auto 24px 22px;font-weight:950;font-size:clamp(33px,4vw,49px);
  font-style:italic;letter-spacing:-.055em;color:#fff;line-height:1.1;
}
body.fifo-preview-enhanced.page-id-15525 .fifo-card-name em{
  color:#69cc7d;font-style:italic;
}
body.fifo-preview-enhanced.page-id-15525 .fifo-card-name small{
  display:block;margin-top:7px;font-size:11px;font-weight:750;
  letter-spacing:.14em;color:#f2fcf4;font-style:normal;
}
body.fifo-preview-enhanced.page-id-15525 .fifo-freshpass-card-note{
  margin:10px auto 0;max-width:520px;text-align:center;
  font-size:12px;color:#596f61;line-height:1.5;
}
body.fifo-preview-enhanced.page-id-15525 .elementor [data-id="5208e67"]{
  padding-top:35px!important;padding-bottom:42px!important;
}
/* Keep each service panel informational, NOT a fake linked button. */
body.fifo-preview-enhanced.page-id-15525 .elementor [data-id="235d0db"] [data-element_type="e-flexbox"]{
  cursor:default!important;
}
@media(max-width:980px){
  body.fifo-preview-enhanced.page-id-15525 .elementor .shopengine-product-category-lists .single-cat-list-item:nth-child(n){
    min-height:190px!important;padding:17px 14px!important;
  }
}
@media(max-width:530px){
  body.fifo-preview-enhanced.page-id-15525 .fifo-freshpass-card{
    min-height:220px;border-radius:16px;
  }
  body.fifo-preview-enhanced.page-id-15525 .fifo-card-brand{
    padding:17px 16px 0;gap:7px;
  }
  body.fifo-preview-enhanced.page-id-15525 .fifo-card-brand img{width:45px;height:45px}
  body.fifo-preview-enhanced.page-id-15525 .fifo-card-brand strong{font-size:12px}
  body.fifo-preview-enhanced.page-id-15525 .fifo-card-brand small{font-size:9px}
  body.fifo-preview-enhanced.page-id-15525 .fifo-card-name{
    margin:auto 16px 15px;font-size:35px;
  }
  body.fifo-preview-enhanced.page-id-15525 .fifo-card-name small{font-size:9px}
  body.fifo-preview-enhanced.page-id-15525 .elementor .shopengine-product-category-lists .single-cat-list-item:nth-child(n){
    min-height:170px!important;padding:14px 12px!important;
  }
  body.fifo-preview-enhanced.page-id-15525 .elementor .shopengine-product-category-lists .single-cat-list-item .product-category-title{
    font-size:clamp(14px,4vw,17px)!important;
  }
  body.fifo-preview-enhanced.page-id-15525 .fifo-hero-departments{
    font-size:14px;min-height:46px;padding:10px 14px;
  }
}
