/* IslandOrder category-aware public storefront refresh. Scoped to index.php storefront and marketplace components. */
:root{--io-deep:#123b26;--io-green:#176534;--io-green-soft:#eaf7ee;--io-line:#dce8df;--io-ink:#162d20;--io-muted:#637368;--io-card-shadow:0 12px 34px rgba(18,59,38,.075)}
/* Shared store hero */
.business-hero-cover.io-storefront-hero{position:relative;width:100%;height:clamp(310px,35vw,430px);min-height:310px;max-height:470px;margin:16px auto 24px;border:1px solid rgba(255,255,255,.38);border-radius:26px;overflow:hidden;isolation:isolate;box-shadow:var(--io-card-shadow);background:#dcebe0;box-sizing:border-box}
.business-hero-cover.io-storefront-hero .business-hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 52%;transform:scale(1.001)}
.business-hero-cover.io-storefront-hero .business-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,32,19,.82) 0%,rgba(8,32,19,.55) 43%,rgba(8,32,19,.10) 100%),linear-gradient(0deg,rgba(7,29,18,.40),transparent 62%);pointer-events:none}
.business-hero-cover.io-storefront-hero .business-hero-content{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:flex-end;gap:18px;padding:clamp(22px,3.5vw,42px);box-sizing:border-box;max-width:none}
.business-hero-cover.io-storefront-hero .business-hero-logo{position:static;flex:0 0 78px;width:78px;height:78px;border-radius:19px;background:rgba(255,255,255,.96);border:1px solid rgba(255,255,255,.75);box-shadow:0 8px 25px rgba(0,0,0,.15);overflow:hidden;display:flex;align-items:center;justify-content:center}
.business-hero-cover.io-storefront-hero .business-hero-logo img{display:block;width:100%;height:100%;object-fit:contain;padding:6px;box-sizing:border-box}
.business-hero-cover.io-storefront-hero .business-hero-logo span{font-size:34px;line-height:1}
.business-hero-cover.io-storefront-hero .business-hero-copy{padding:0;max-width:min(820px,calc(100% - 100px));min-width:0;color:#fff}
.business-hero-cover.io-storefront-hero .business-hero-kicker{display:inline-flex;align-items:center;border-radius:999px;background:rgba(239,250,242,.16);border:1px solid rgba(255,255,255,.25);color:#fff;padding:6px 11px;margin:0 0 9px;font-size:11px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;backdrop-filter:blur(8px)}
.business-hero-cover.io-storefront-hero .business-hero-copy h1{color:#fff;font-size:clamp(29px,4.3vw,50px);font-weight:900;letter-spacing:-.045em;line-height:1.03;margin:0 0 10px;text-wrap:balance}
.business-hero-cover.io-storefront-hero .business-hero-address{display:flex;align-items:flex-start;gap:6px;color:rgba(255,255,255,.88);font-size:13px;line-height:1.45;margin:0 0 7px}
.business-hero-cover.io-storefront-hero .business-hero-description{color:rgba(255,255,255,.88);max-width:700px;font-size:14px;line-height:1.6;margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.business-hero-cover.io-storefront-hero .business-hero-details{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px;color:#fff}
.business-hero-cover.io-storefront-hero .business-hero-details span{background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.2);padding:6px 9px;border-radius:9px;color:#fff;font-size:12px}
.business-hero-cover.io-storefront-hero .business-hero-actions{display:flex;gap:8px;flex-wrap:wrap;top:16px;right:16px;left:auto;z-index:4}
.business-hero-cover.io-storefront-hero .business-glass-action{min-height:40px;border-radius:12px;padding:0 13px;display:inline-flex;align-items:center;justify-content:center;gap:7px;background:rgba(255,255,255,.9);border:1px solid rgba(255,255,255,.72);color:#183c28;font-weight:850;box-shadow:0 6px 20px rgba(0,0,0,.1);text-decoration:none;backdrop-filter:blur(9px)}
.business-hero-cover.io-storefront-hero .business-glass-action:hover{background:#fff;transform:translateY(-1px)}
/* Modern homepage cards, filters and listing sections */
.marketplace-categories{display:flex;flex-wrap:wrap;gap:9px;margin:12px 0 24px}
.marketplace-categories .market-category{display:inline-flex;align-items:center;gap:7px;border:1px solid #dce8df;background:#fff;border-radius:999px;padding:9px 13px;color:#345440;font-size:12px;font-weight:850;text-decoration:none;box-shadow:0 2px 6px rgba(17,62,34,.025);transition:all .16s ease}
.marketplace-categories .market-category:hover{border-color:#a9d3b5;transform:translateY(-1px)}
.marketplace-categories .market-category.active{background:var(--io-deep);color:#fff;border-color:var(--io-deep)}
.store-card{display:flex;flex-direction:column;height:100%;border-radius:20px;overflow:hidden;border:1px solid #e0e9e2;background:#fff;box-shadow:0 7px 24px rgba(18,59,38,.055);text-decoration:none;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;min-width:0}
.store-card:hover{transform:translateY(-4px);box-shadow:0 15px 36px rgba(18,59,38,.11);border-color:#bfd9c5}
.store-cover{height:auto;aspect-ratio:1.62/1;min-height:150px;position:relative;background:linear-gradient(135deg,#edf7ef,#d6e9d9);overflow:hidden}
.store-cover img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.store-card:hover .store-cover img{transform:scale(1.035)}
.store-info{flex:1;display:flex;flex-direction:column;align-items:stretch;gap:9px;padding:16px}
.store-card-topline{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}
.store-card-topline .pill{max-width:100%;background:#edf7ef;color:#23633a;border:1px solid #dceee0;font-size:10px;font-weight:850}
.store-info h3{font-size:17px;line-height:1.25;letter-spacing:-.025em;color:#153b27;margin:0!important;overflow-wrap:anywhere}
.store-info p{font-size:12px;line-height:1.55;color:#617267;min-height:0;margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.store-meta{margin-top:auto;display:flex;justify-content:space-between;align-items:center;gap:9px;flex-wrap:wrap;color:#66766b;font-size:11px}
.store-meta strong{color:#176534;font-weight:900;white-space:nowrap}
.starting-price{color:#66756a;font-size:10px}.starting-price strong{color:#176534;font-size:12px}
.popular-section,.category-section-head,.listing-grid{scroll-margin-top:22px}
.category-section-head{margin-top:26px}
.io-map-panel,.io-nearby-results{border-radius:22px;border:1px solid #dfe9e2;box-shadow:var(--io-card-shadow);overflow:hidden}
/* Restaurant / retail catalogue */
.catalog-layout.io-storefront-catalog{max-width:1380px;width:100%;margin:27px auto 42px;padding:0;display:grid;grid-template-columns:minmax(0,1fr) 335px;gap:22px;align-items:start;box-sizing:border-box}
.catalog-layout.io-storefront-catalog>section{min-width:0}
.io-catalog-welcome{display:flex;justify-content:space-between;align-items:center;gap:16px;border:1px solid #dce9df;border-radius:21px;background:linear-gradient(120deg,#f0faf3,#fff 74%);padding:19px 22px;margin-bottom:17px;box-shadow:0 7px 22px rgba(18,59,38,.04)}
.io-catalog-welcome .io-catalog-eyebrow{font-size:10px;font-weight:900;letter-spacing:.12em;color:#287448;display:block;margin-bottom:6px}
.io-catalog-welcome h2{font-size:clamp(21px,2.2vw,28px);line-height:1.1;color:#143c26;letter-spacing:-.035em;margin:0 0 6px}
.io-catalog-welcome p{font-size:13px;line-height:1.5;color:#637368;margin:0;max-width:650px}
.io-catalog-count{flex:0 0 auto;min-width:78px;text-align:center;border-radius:15px;padding:10px 12px;background:#e7f6eb;color:#22663a}
.io-catalog-count strong{display:block;font-size:22px;line-height:1.1}.io-catalog-count span{display:block;font-size:10px;font-weight:850;margin-top:4px;max-width:100px}
.io-catalog-search{padding:10px;border:1px solid #dfe9e2;border-radius:15px;background:#fff;box-shadow:0 4px 14px rgba(18,59,38,.04);display:flex;gap:9px;margin:0 0 13px}
.io-catalog-search input{flex:1;min-width:0;width:100%;height:45px;border:1px solid #dce8df;border-radius:11px;padding:0 13px;box-sizing:border-box}
.io-catalog-search .btn{flex:0 0 auto;min-height:45px;border-radius:11px;padding:0 19px}
.io-catalog-categories{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 22px}
.io-catalog-categories .category-link{display:inline-flex;align-items:center;justify-content:center;max-width:100%;border:1px solid #dce8df;background:#fff;color:#355540;border-radius:999px;padding:8px 12px;text-decoration:none;font-size:12px;font-weight:800;transition:all .16s ease}
.io-catalog-categories .category-link:hover{border-color:#a9d3b5}
.io-catalog-categories .category-link.active{background:#176534;color:#fff;border-color:#176534}
.io-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.io-store-product-card{min-width:0;border-radius:19px;overflow:hidden;border:1px solid #e0e9e2;background:#fff;box-shadow:0 7px 22px rgba(18,59,38,.05);transition:transform .17s ease,box-shadow .17s ease}
.io-store-product-card:hover{transform:translateY(-3px);box-shadow:0 13px 28px rgba(18,59,38,.1)}
.io-store-product-card>img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;background:#edf5ef}
.io-store-product-card.io-product-retail>img{aspect-ratio:1/1}
.io-store-product-card .product-body{display:flex;flex:1;flex-direction:column;align-items:stretch;gap:9px;padding:15px;min-width:0}
.io-store-product-card .product-body h3{margin:0;color:#173d28;font-size:17px;line-height:1.25;letter-spacing:-.025em;overflow-wrap:anywhere}
.io-store-product-card .product-body>p{margin:0;color:#607166;font-size:12px;line-height:1.55;min-height:0;overflow-wrap:anywhere}
.io-store-product-card .option-control,.io-store-product-card .extras-control{border:1px solid #e3ece5;border-radius:11px;padding:9px 10px;background:#f8fbf8;font-size:12px}
.io-store-product-card .option-control label{display:block;margin-bottom:5px;color:#607166;font-size:10px;font-weight:850}
.io-store-product-card .option-control select{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
.io-store-product-card .extras-control summary{color:#2d603d;font-weight:850;cursor:pointer}
.io-store-product-card .extras-control label{display:flex;gap:7px;align-items:flex-start;margin-top:8px;line-height:1.4;overflow-wrap:anywhere}
.io-store-product-card .product-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:auto;padding-top:11px;border-top:1px solid #edf1ed}
.io-store-product-card .product-foot .price{font-size:18px;font-weight:900;color:#176534;white-space:nowrap}
.io-store-product-card .product-foot .btn{min-height:39px;padding:0 13px;border-radius:10px;white-space:nowrap}
.io-retail-public-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:1px}
.io-retail-public-tag{display:inline-flex;align-items:center;max-width:100%;border-radius:8px;background:#edf7ef;color:#27613a;padding:5px 7px;font-size:10px;font-weight:800;overflow-wrap:anywhere}
.io-retail-public-tag.subtle{background:#f4f6f4;color:#5c6d61}.io-retail-public-tag.stock{background:#e1f8e8;color:#147a3d}.io-retail-public-tag.featured{background:#fff5dc;color:#875e0e}
.io-menu-item-details{gap:6px}.io-menu-item-tag{border-radius:8px}
.io-store-cart{border:1px solid #dce8df;border-radius:22px;padding:21px;background:linear-gradient(180deg,#fff,#f9fcf9);box-shadow:0 10px 30px rgba(18,59,38,.07);position:sticky;top:20px;max-height:calc(100vh - 38px);overflow:auto;min-width:0;box-sizing:border-box}
.io-store-cart h2{color:#153b27;margin:0 0 13px;font-size:22px;letter-spacing:-.03em}
.io-store-cart .cart-empty{border:1px dashed #cbded0;background:#f8fbf8;border-radius:13px;padding:16px;color:#66766a;font-size:13px;line-height:1.5}
.io-store-cart .cart-totals{border-top:1px solid #e1ebe3;margin-top:14px;padding-top:12px}
.io-store-cart .btn{border-radius:12px;min-height:46px}
.popular-products-section{margin-bottom:24px;padding:18px;border:1px solid #e2ebe4;border-radius:22px;background:linear-gradient(135deg,#f5fbf6,#fff 75%)}
.product-section-heading{display:flex;justify-content:space-between;align-items:end;gap:13px;margin-bottom:14px}
.product-section-heading h2{font-size:22px;line-height:1.15;color:#173d28;letter-spacing:-.03em;margin:0 0 5px}.product-section-heading p{margin:0;font-size:12px;color:#65756a}
.io-products-restaurant .product-card>img{aspect-ratio:4/3}
/* Shared form polish for enquiry-first tour, activities and services storefronts */
.tour-public-form,.io-activity-enquiry,.io-services-panel form{box-shadow:0 12px 32px rgba(18,59,38,.045)}
.tour-public-form input,.tour-public-form select,.tour-public-form textarea,.io-activity-page input,.io-activity-page select,.io-activity-page textarea,.io-services-page input,.io-services-page select,.io-services-page textarea{border-radius:11px;border-color:#d8e5db;min-width:0;max-width:100%;box-sizing:border-box}
.tour-public-form .btn,.io-activity-page .btn,.io-services-page .btn{border-radius:12px}
/* Accommodation-specific layout spacing and responsive polish */
.stay-page{max-width:1380px;width:100%;box-sizing:border-box;padding:0 12px;margin:26px auto 44px}
.stay-info,.stay-booking,.stay-section{box-shadow:0 10px 30px rgba(18,59,38,.055);border-color:#dfe9e2}
.stay-room-card{border-radius:18px;overflow:hidden;border-color:#e0e9e2;box-shadow:0 6px 22px rgba(18,59,38,.045)}
/* Mobile */
@media(max-width:1100px){.catalog-layout.io-storefront-catalog{grid-template-columns:minmax(0,1fr) 300px;gap:16px}.io-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:860px){.catalog-layout.io-storefront-catalog{grid-template-columns:minmax(0,1fr)}.io-store-cart{position:static;max-height:none;order:2}.catalog-layout.io-storefront-catalog>section{order:1}.business-hero-cover.io-storefront-hero{height:350px;min-height:300px}.business-hero-cover.io-storefront-hero .business-hero-content{padding:26px}.business-hero-cover.io-storefront-hero .business-hero-logo{width:64px;height:64px;flex-basis:64px;border-radius:15px}.business-hero-cover.io-storefront-hero .business-hero-copy{max-width:calc(100% - 80px)}.tour-public,.io-activity-page,.io-services-page{padding-left:16px;padding-right:16px}}
@media(max-width:600px){.business-hero-cover.io-storefront-hero{height:320px;min-height:280px;border-radius:18px;margin-top:10px}.business-hero-cover.io-storefront-hero .business-hero-shade{background:linear-gradient(0deg,rgba(7,29,18,.84),rgba(7,29,18,.32) 60%,rgba(7,29,18,.05))}.business-hero-cover.io-storefront-hero .business-hero-content{display:flex;align-items:flex-end;gap:12px;padding:18px}.business-hero-cover.io-storefront-hero .business-hero-logo{width:52px;height:52px;flex-basis:52px;border-radius:13px}.business-hero-cover.io-storefront-hero .business-hero-logo span{font-size:25px}.business-hero-cover.io-storefront-hero .business-hero-copy{max-width:calc(100% - 64px)}.business-hero-cover.io-storefront-hero .business-hero-copy h1{font-size:clamp(24px,8vw,34px)}.business-hero-cover.io-storefront-hero .business-hero-description{font-size:12px;-webkit-line-clamp:2}.business-hero-cover.io-storefront-hero .business-hero-actions{top:9px;right:9px;left:auto;gap:5px}.business-hero-cover.io-storefront-hero .business-glass-action{min-height:34px;font-size:10px;padding:0 9px;border-radius:9px}.catalog-layout.io-storefront-catalog{margin-top:18px;margin-bottom:28px;padding:0 0}.io-catalog-welcome{padding:15px;border-radius:16px;align-items:flex-start;gap:10px}.io-catalog-welcome h2{font-size:21px}.io-catalog-welcome p{font-size:12px}.io-catalog-count{min-width:58px;padding:9px 8px;border-radius:12px}.io-catalog-count strong{font-size:19px}.io-catalog-count span{font-size:9px}.io-catalog-search{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:7px;gap:7px}.io-catalog-search input{height:43px;font-size:14px;padding:0 10px}.io-catalog-search .btn{min-height:43px;padding:0 12px}.io-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.io-store-product-card{border-radius:14px}.io-store-product-card .product-body{padding:11px;gap:7px}.io-store-product-card .product-body h3{font-size:14px}.io-store-product-card .product-body>p{font-size:11px;line-height:1.45}.io-store-product-card .product-foot{align-items:flex-start;flex-direction:column;gap:8px}.io-store-product-card .product-foot .price{font-size:16px}.io-store-product-card .product-foot .btn{width:100%;padding:0 8px;font-size:11px}.io-catalog-categories .category-link{font-size:11px;padding:7px 10px}.popular-products-section{padding:12px;border-radius:16px}.store-cover{min-height:0}.store-info{padding:12px;gap:7px}.store-info h3{font-size:15px!important}.store-info p{font-size:11px}.store-meta{display:block}.store-meta strong{display:block;margin-top:6px}.marketplace-categories{gap:6px}.marketplace-categories .market-category{font-size:10px;padding:7px 10px}.tour-public,.io-activity-page,.io-services-page{padding-left:10px;padding-right:10px}.stay-page{padding:0 4px}}
@media(max-width:380px){.io-product-grid{grid-template-columns:1fr}.io-catalog-welcome{display:block}.io-catalog-count{display:inline-block;margin-top:11px;text-align:left}.io-catalog-count strong,.io-catalog-count span{display:inline;margin:0 4px 0 0}}


/* Previously approved shared hero fix, integrated so stylesheet replacement preserves it. */
/* IslandOrder shared storefront hero overlap fix.
   Append this file's contents to the END of /orders/assets/storefront-category-refresh.css.
   Applies only to public storefront hero sections that use .io-storefront-hero. */

.business-hero-cover.io-storefront-hero > .business-hero-content {
  position: absolute !important;
  top: auto !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: clamp(18px, 3vw, 34px) !important;
  box-sizing: border-box !important;
  z-index: 3 !important;
}

.business-hero-cover.io-storefront-hero .business-hero-logo {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  display: flex !important;
  flex: 0 0 62px !important;
  width: 62px !important;
  height: 62px !important;
  min-width: 62px !important;
  max-width: 62px !important;
  margin: 0 0 2px !important;
  padding: 0 !important;
  transform: none !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  z-index: 1 !important;
}

.business-hero-cover.io-storefront-hero .business-hero-copy {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  flex: 0 1 auto !important;
  width: 100% !important;
  max-width: min(900px, 100%) !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  box-sizing: border-box !important;
  z-index: 1 !important;
}

.business-hero-cover.io-storefront-hero .business-hero-kicker {
  margin-top: 0 !important;
}

.business-hero-cover.io-storefront-hero .business-hero-copy h1 {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 9px !important;
  padding: 0 !important;
  line-height: 1.08 !important;
  overflow-wrap: anywhere;
  word-break: normal;
}

.business-hero-cover.io-storefront-hero .business-hero-address,
.business-hero-cover.io-storefront-hero .business-hero-description,
.business-hero-cover.io-storefront-hero .business-hero-details {
  position: relative !important;
  max-width: 100% !important;
  margin-left: 0 !important;
}

.business-hero-cover.io-storefront-hero .business-hero-actions {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  left: auto !important;
  bottom: auto !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
  max-width: calc(100% - 28px) !important;
  z-index: 5 !important;
}

@media (max-width: 600px) {
  .business-hero-cover.io-storefront-hero {
    height: auto !important;
    min-height: 370px !important;
    max-height: none !important;
  }
  .business-hero-cover.io-storefront-hero .business-hero-content {
    gap: 8px !important;
    padding: 16px !important;
  }
  .business-hero-cover.io-storefront-hero .business-hero-logo {
    flex-basis: 48px !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    border-radius: 12px !important;
  }
  .business-hero-cover.io-storefront-hero .business-hero-logo span {
    font-size: 24px !important;
  }
  .business-hero-cover.io-storefront-hero .business-hero-copy h1 {
    font-size: clamp(24px, 7.2vw, 34px) !important;
    line-height: 1.08 !important;
  }
  .business-hero-cover.io-storefront-hero .business-hero-actions {
    top: 8px !important;
    right: 8px !important;
    max-width: calc(100% - 16px) !important;
    gap: 5px !important;
  }
  .business-hero-cover.io-storefront-hero .business-glass-action {
    min-height: 32px !important;
    padding: 0 8px !important;
    font-size: 10px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .business-hero-cover.io-storefront-hero .business-glass-action {
    transition: none !important;
  }
}


/* IslandOrder mobile/tablet storefront polish — appended in the updated stylesheet.
   Scope: public business storefronts only; responsive breakpoints only. */
@media (max-width: 1024px) {
  .container .stay-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .catalog-layout.io-storefront-catalog {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .catalog-layout.io-storefront-catalog .io-store-cart {
    position: static !important;
    max-height: none !important;
    overflow: visible !important;
    order: 2;
  }
  .catalog-layout.io-storefront-catalog > section {
    order: 1;
  }

  .business-hero-cover.io-storefront-hero {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 12px 0 20px !important;
    box-sizing: border-box !important;
  }

  /* Match the hero width to each category's content sections. */
  .stay-page,
  .catalog-layout.io-storefront-catalog,
  .tour-public,
  .io-activity-page,
  .io-services-page,
  .io-restaurant-public-gallery,
  .io-retail-public-gallery {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  .stay-layout,
  .stay-main-column,
  .stay-info,
  .stay-section,
  .stay-booking,
  .catalog-layout.io-storefront-catalog > *,
  .tour-public-form,
  .io-activity-panel,
  .io-services-panel,
  .io-restaurant-public-gallery-inner,
  .io-retail-public-gallery-panel {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Reservation, stay, booking and checkout panels must stay inside the page. */
  #reservationPanel,
  #bookingPanel,
  #checkoutPanel {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 18px 0 22px !important;
    padding: clamp(14px, 3vw, 22px) !important;
    box-sizing: border-box !important;
    overflow: hidden;
    scroll-margin-top: 94px;
  }

  .form-grid,
  .io-services-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 13px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .form-grid > .field,
  .form-grid > .field.full,
  .io-services-contact-grid > .io-services-field,
  .io-services-contact-grid > .io-services-field.full {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .form-grid .field input,
  .form-grid .field select,
  .form-grid .field textarea,
  .stay-booking input,
  .stay-booking select,
  .stay-booking textarea,
  #reservationPanel input,
  #reservationPanel select,
  #reservationPanel textarea,
  #bookingPanel input,
  #bookingPanel select,
  #bookingPanel textarea,
  #checkoutPanel input,
  #checkoutPanel select,
  #checkoutPanel textarea,
  .tour-public-form input,
  .tour-public-form select,
  .tour-public-form textarea,
  .io-activity-page input,
  .io-activity-page select,
  .io-activity-page textarea,
  .io-services-page input,
  .io-services-page select,
  .io-services-page textarea,
  .io-services-field input,
  .io-services-field select,
  .io-services-field textarea {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-size: 16px;
  }

  .io-catalog-search,
  .io-catalog-welcome,
  .io-catalog-categories,
  .io-product-grid,
  .stay-room-grid,
  .tour-public-cards,
  .io-activity-list,
  .io-service-list {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .business-hero-cover.io-storefront-hero .business-hero-content {
    min-width: 0 !important;
    max-width: 100% !important;
  }
}

@media (max-width: 600px) {
  .form-grid,
  .io-services-contact-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .business-hero-cover.io-storefront-hero {
    border-radius: 18px !important;
  }

  .business-hero-cover.io-storefront-hero .business-hero-content {
    padding: 16px !important;
  }

  .business-hero-cover.io-storefront-hero .business-hero-copy {
    width: 100% !important;
    max-width: 100% !important;
  }

  .business-hero-cover.io-storefront-hero .business-hero-copy h1 {
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    font-size: clamp(24px, 7.2vw, 34px) !important;
  }

  .stay-page {
    padding: 0 !important;
  }

  .stay-info,
  .stay-booking,
  .stay-section,
  .io-activity-panel,
  .io-services-panel,
  .io-restaurant-public-gallery-inner,
  .io-retail-public-gallery-panel {
    padding: 15px !important;
    border-radius: 16px !important;
  }

  .io-restaurant-public-gallery,
  .io-retail-public-gallery {
    margin-top: 16px !important;
    margin-bottom: 20px !important;
  }

  .io-catalog-search {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .io-catalog-search .btn {
    width: 100% !important;
  }
}

/* Floating cart shortcut is shown by JS only on mobile/tablet when cart has items. */
.io-mobile-order-jump {
  display: none;
}
@media (max-width: 1024px) {
  .io-mobile-order-jump {
    position: fixed;
    left: 50%;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 14px);
    z-index: 10020;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 54px;
    width: max-content;
    max-width: calc(100vw - 28px);
    padding: 9px 12px 9px 16px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    background: rgba(18,59,38,.97);
    color: #fff !important;
    box-shadow: 0 12px 32px rgba(10,38,22,.28);
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.15;
    transform: translateX(-50%);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-sizing: border-box;
  }
  .io-mobile-order-jump.is-visible {
    display: flex !important;
  }
  .io-mobile-order-jump:active {
    transform: translateX(-50%) scale(.98);
  }
  .io-mobile-order-jump-icon {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 50%;
    background: rgba(255,255,255,.13);
    font-size: 17px;
  }
  .io-mobile-order-jump-label {
    min-width: 0;
    white-space: nowrap;
  }
  .io-mobile-order-jump-count {
    display: inline-grid;
    place-items: center;
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    border-radius: 999px;
    background: #e8f7ed;
    color: #176534;
    font-size: 12px;
    font-weight: 950;
    box-sizing: border-box;
  }
  body.io-mobile-order-jump-active {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important;
  }
  #cartPanel {
    scroll-margin-top: 92px;
  }
}
/* IslandOrder mobile/tablet form overflow fix
   Fixes native date/time input overflow in iOS Safari and restores horizontal
   checkbox rows (notably Hotels & Villas additional services).
   Append this block to the END of /orders/assets/storefront-category-refresh.css.
   Scoped to responsive widths only; desktop layout is not changed. */

@media (max-width: 1024px) {
  /* Native date/time controls can have an intrinsic width larger than their grid
     cell on mobile Safari. Constrain the control and its inner date display. */
  input[type="date"],
  input[type="time"],
  input[type="datetime-local"],
  input[type="month"],
  input[type="week"] {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    min-inline-size: 0 !important;
    max-width: 100% !important;
    max-inline-size: 100% !important;
    box-sizing: border-box !important;
    margin-inline: 0 !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
  }

  input[type="date"]::-webkit-date-and-time-value,
  input[type="time"]::-webkit-date-and-time-value,
  input[type="datetime-local"]::-webkit-date-and-time-value {
    min-width: 0 !important;
    min-inline-size: 0 !important;
    text-align: left;
  }

  input[type="date"]::-webkit-datetime-edit,
  input[type="time"]::-webkit-datetime-edit,
  input[type="datetime-local"]::-webkit-datetime-edit {
    min-width: 0 !important;
    min-inline-size: 0 !important;
    padding: 0 !important;
  }

  /* Ensure form grid cells and their wrappers can shrink below intrinsic input
     size, which prevents a native date/time control expanding past its card. */
  .form-grid,
  .form-grid > .field,
  .form-grid .field,
  .stay-layout,
  .stay-main-column,
  .stay-booking,
  .stay-booking form,
  .stay-booking .field,
  #reservationPanel,
  #reservationPanel .field,
  #bookingPanel,
  #bookingPanel .field,
  #checkoutPanel,
  #checkoutPanel .field,
  .tour-public-form,
  .tour-public-form .field,
  .io-activity-page,
  .io-activity-page .field,
  .io-services-page,
  .io-services-page .field {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Global form-control rules must not stretch a checkbox to the full row width.
     Keep the checkbox compact and allow the service/consent label to wrap normally. */
  .checkbox-line {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 9px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    line-height: 1.45 !important;
  }

  .checkbox-line input[type="checkbox"],
  .checkbox-line input[type="radio"] {
    display: inline-block !important;
    width: 20px !important;
    min-width: 20px !important;
    max-width: 20px !important;
    min-inline-size: 20px !important;
    max-inline-size: 20px !important;
    height: 20px !important;
    flex: 0 0 20px !important;
    box-sizing: border-box !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
  }

  .stay-booking .checkbox-line,
  #reservationPanel .checkbox-line,
  #bookingPanel .checkbox-line,
  #checkoutPanel .checkbox-line,
  .tour-public-form .checkbox-line,
  .io-activity-page .checkbox-line,
  .io-services-page .checkbox-line {
    max-width: 100% !important;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 600px) {
  input[type="date"],
  input[type="time"],
  input[type="datetime-local"],
  input[type="month"],
  input[type="week"] {
    padding-left: 9px !important;
    padding-right: 9px !important;
  }

  .stay-booking .checkbox-line,
  #reservationPanel .checkbox-line,
  #bookingPanel .checkbox-line,
  #checkoutPanel .checkbox-line {
    align-items: flex-start !important;
  }
}


/* IslandOrder retail card UOM & quantity controls — retail storefront only. */
.io-product-retail .io-retail-product-foot{display:flex;flex-direction:column;align-items:stretch;gap:11px}
.io-product-retail .io-retail-card-pricing{display:flex;flex-direction:column;align-items:flex-start;min-width:0;gap:3px}
.io-product-retail .io-retail-card-pricing .price{display:block;font-size:18px;font-weight:900;line-height:1.1;white-space:normal;overflow-wrap:anywhere}
.io-product-retail .io-retail-unit-price{display:block;font-size:11px;font-weight:650;line-height:1.3;color:#6b7b70;letter-spacing:.005em}
.io-product-retail .io-retail-purchase-controls{display:flex;align-items:stretch;gap:9px;min-width:0}
.io-product-retail .io-retail-quantity-stepper{display:grid;grid-template-columns:32px minmax(30px,1fr) 32px;align-items:center;flex:0 1 122px;min-width:0;max-width:132px;height:42px;border:1px solid #d6e5d9;border-radius:11px;background:#f7fbf8;overflow:hidden}
.io-product-retail .io-retail-qty-action{appearance:none;border:0;background:transparent;color:#186338;font-size:19px;font-weight:800;cursor:pointer;min-width:0;min-height:40px;padding:0;display:grid;place-items:center;touch-action:manipulation}
.io-product-retail .io-retail-qty-action:hover{background:#e3f3e7}
.io-product-retail .io-retail-qty-action:focus-visible,.io-product-retail [data-retail-quantity]:focus-visible{outline:2px solid #15803d;outline-offset:-2px}
.io-product-retail [data-retail-quantity]{appearance:textfield;-moz-appearance:textfield;border:0!important;box-shadow:none!important;background:transparent;width:100%;height:40px;min-width:0;max-width:100%;padding:0 1px!important;text-align:center;font-size:14px;font-weight:850;color:#173d28}
.io-product-retail [data-retail-quantity]::-webkit-inner-spin-button,.io-product-retail [data-retail-quantity]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.io-product-retail .io-retail-add-button{flex:1 1 auto;min-height:42px;min-width:0;white-space:normal!important;line-height:1.2;text-align:center;padding:7px 10px!important;font-size:12px}
@media(max-width:600px){
 .io-product-retail .io-retail-card-pricing .price{font-size:16px}
 .io-product-retail .io-retail-purchase-controls{flex-wrap:wrap;gap:7px}
 .io-product-retail .io-retail-quantity-stepper{max-width:none;flex:1 1 100%;height:40px;grid-template-columns:38px minmax(30px,1fr) 38px}
 .io-product-retail .io-retail-qty-action{min-height:38px}
 .io-product-retail .io-retail-add-button{flex:1 1 100%;min-height:40px}
}

/* Retail basket: visibly preserve the seller-selected UOM through checkout. */
.io-catalog-retail .io-cart-line-info{min-width:0;overflow-wrap:anywhere}
.io-catalog-retail .io-cart-unit-detail{display:block;margin-top:5px;color:#63756a;font-size:11px;line-height:1.45}
.io-catalog-retail .io-cart-line-total{display:block;margin-top:4px;color:#17633a;font-size:13px;line-height:1.35}
.io-catalog-retail .cart-line{grid-template-columns:minmax(0,1fr) auto;align-items:center}
.io-catalog-retail .cart-line .qty{flex-shrink:0}
@media(max-width:400px){
 .io-catalog-retail .cart-line{gap:5px}
 .io-catalog-retail .cart-line .qty{gap:4px}
}

/* === Homepage discovery refresh (2026-10-28): business card order, nearby results, mobile filters === */
/* These selectors target the marketplace homepage only; product and vendor storefront cards stay untouched. */
.io-category-strip{min-width:0;max-width:100%}
.io-category-swipe-hint{display:none}
.marketplace-categories .market-category{min-width:0;justify-content:center;white-space:nowrap}
.marketplace-categories .market-category:focus-visible,.store-card:focus-visible{outline:3px solid #2e9953;outline-offset:3px}

/* Shared homepage cards: category > name > description > price > address > distance > link. */
.popular-grid>.store-card,.listing-grid .store-card,#io-nearby-grid>.store-card{min-width:0;width:100%;height:100%;text-align:left}
.store-card .store-cover{flex:0 0 auto;min-height:0;aspect-ratio:1.75 / 1;max-height:240px}
.store-card .store-info{display:flex;flex:1;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:10px;padding:17px;min-width:0;text-align:left}
.store-card .store-card-topline{display:block;width:100%;margin:0;min-width:0}
.store-card .store-card-topline .pill{display:inline-flex;font-size:11px;font-weight:850;padding:6px 11px;margin:0;max-width:100%;text-align:left}
.store-card .store-info h3{font-size:19px!important;line-height:1.24;margin:0!important;letter-spacing:-.025em;color:#153b27;text-align:left;overflow-wrap:anywhere}
.store-card .store-info p.store-description{font-size:12px;line-height:1.58;min-height:0;max-height:none;margin:0;color:#65756a;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;text-align:left}
.store-card .store-price{display:block;margin:0;font-size:12px;min-width:0;text-align:left}
.store-card .starting-price{display:inline-flex;flex-wrap:wrap;align-items:baseline;justify-content:flex-start;gap:4px;max-width:100%;border:1px solid #d4ecda;background:#f0faf2;color:#536d5b;border-radius:9px;padding:7px 9px;font-size:11px;line-height:1.35;text-align:left}
.store-card .starting-price strong{font-size:14px;font-weight:900;line-height:1.2;color:#176534;overflow-wrap:anywhere}
.store-card .io-price-enquiry{font-size:11px;color:#66796b;display:inline-flex;align-items:center;background:#f4f7f5;border:1px solid #e5ede7;padding:7px 9px;border-radius:9px}
.store-card .store-address{display:flex;align-items:flex-start;justify-content:flex-start;gap:7px;margin:0;color:#66776b;font-size:12px;line-height:1.5;min-width:0;text-align:left;overflow-wrap:anywhere}
.store-card .store-address-icon{flex:0 0 auto;line-height:1.5;font-size:12px}
.store-card .store-distance[hidden]{display:none!important}
.store-card .store-distance:not([hidden]){display:flex;align-items:center;justify-content:flex-start;gap:7px;min-width:0;color:#15633b;font-weight:850;font-size:12px;text-align:left}
.store-card .io-distance-badge{display:inline-flex;align-items:center;max-width:100%;background:#e4f7ea;color:#146037;border:1px solid #c4e7d0;border-radius:999px;padding:6px 11px;font-size:12px;line-height:1.3;white-space:normal}
.store-card .store-action{display:flex;justify-content:flex-end;align-items:center;margin-top:auto;padding-top:9px;border-top:1px solid #eaf0eb;width:100%}
.store-card .store-action strong{display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;font-size:12px;color:#176534;font-weight:900;background:#eef8f0;padding:8px 12px;border-radius:9px;transition:background .15s}
.store-card:hover .store-action strong{background:#dcefe1}

/* Dedicated nearby container with consistent padding and a responsive header. */
#io-nearby-results{padding:clamp(14px,2.5vw,24px);background:linear-gradient(180deg,#f8fcf9,#fff 42%);overflow:visible;margin:22px 0 30px;min-width:0}
#io-nearby-results .io-nearby-heading{display:flex;align-items:center;justify-content:space-between;flex-direction:row;gap:14px;margin:0 0 18px;min-width:0}
#io-nearby-results .io-nearby-heading-copy{min-width:0;flex:1;text-align:left}
#io-nearby-results .io-nearby-eyebrow{display:block;color:#277447;font-size:10px;font-weight:900;letter-spacing:.09em;margin-bottom:6px}
#io-nearby-results .io-nearby-heading h2{font-size:clamp(20px,2.2vw,26px);line-height:1.2;color:#153b27;letter-spacing:-.04em}
#io-nearby-results .io-nearby-heading p{font-size:12px;line-height:1.5;color:#627267;margin:5px 0 0;overflow-wrap:anywhere}
#io-nearby-results #io-clear-nearby{flex:0 0 auto;white-space:nowrap;font-size:11px;padding:10px 12px}
/* Consistent homepage grid across featured, category and nearest-business sections. */
.popular-grid.grid,.listing-grid.grid,#io-nearby-grid.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px;min-width:0;align-items:stretch}
.listing-grid>.listing-grid-item{min-width:0;width:100%}
#io-nearby-grid .io-nearby-empty{grid-column:1/-1}

@media (min-width:681px) and (max-width:1023px){
 .popular-grid.grid,.listing-grid.grid,#io-nearby-grid.grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:13px}
}
@media (max-width:680px){
 /* Native one-row swipe navigation, replacing the crowded 3-line chip layout. */
 .io-category-strip{position:relative;margin:0 0 18px;overflow:hidden}
 .io-category-strip .marketplace-categories{display:flex;flex-wrap:nowrap!important;gap:9px;overflow-x:auto;overflow-y:hidden;max-width:100%;width:100%;margin:0;padding:5px 2px 9px;scroll-snap-type:x proximity;scroll-padding:2px;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none}
 .io-category-strip .marketplace-categories::-webkit-scrollbar{display:none}
 .io-category-strip .marketplace-categories .market-category{flex:0 0 auto;white-space:nowrap;scroll-snap-align:start;min-height:41px;border-radius:999px;padding:9px 13px;font-size:11px;gap:7px;box-shadow:0 3px 10px rgba(23,74,39,.04)}
 .io-category-strip .marketplace-categories .market-category span{font-size:15px;line-height:1}
 .io-category-swipe-hint{display:flex;justify-content:flex-end;align-items:center;gap:5px;color:#657c6d;font-size:10px;margin:1px 3px 0;line-height:1.25}
 .io-category-swipe-hint span{font-size:16px;color:#1b7042}
 /* Two compact business cards per row on phones, including nearby results. */
 #io-nearby-grid.grid,.popular-grid.grid,.listing-grid.grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}
 .store-card .store-cover{aspect-ratio:1.26/1;max-height:none}
 .store-card .store-info{padding:11px;gap:8px}
 .store-card .store-card-topline .pill{font-size:9px;line-height:1.2;padding:5px 7px;white-space:normal}
 .store-card .store-info h3{font-size:15px!important;line-height:1.25}
 .store-card .store-info p.store-description{font-size:10.5px;line-height:1.4;-webkit-line-clamp:2}
 .store-card .store-price,.store-card .starting-price,.store-card .io-price-enquiry{font-size:10px}
 .store-card .starting-price{gap:3px;padding:5px 7px}
 .store-card .starting-price strong{font-size:12px}
 .store-card .io-price-enquiry{padding:5px 7px}
 .store-card .store-address{font-size:10px;line-height:1.4;gap:4px}
 .store-card .store-address>span:last-child{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
 .store-card .store-address-icon{font-size:10px;line-height:1.4}
 .store-card .store-distance:not([hidden]){font-size:10px}
 .store-card .io-distance-badge{font-size:10px;padding:5px 7px}
 .store-card .store-action{padding-top:7px}
 .store-card .store-action strong{font-size:10px;padding:7px 8px;gap:4px}
 #io-nearby-results{padding:14px;border-radius:20px}
 #io-nearby-results .io-nearby-heading{align-items:flex-start;flex-direction:column;gap:11px;margin-bottom:16px}
 #io-nearby-results #io-clear-nearby{align-self:flex-end;min-height:39px}
 #io-nearby-results .io-nearby-heading h2{font-size:21px}
}
@media (max-width:390px){
 .popular-grid.grid,.listing-grid.grid,#io-nearby-grid.grid{gap:8px}
 .store-card .store-cover{aspect-ratio:1.16/1}
 .store-card .store-info{padding:9px;gap:7px}
 .store-card .store-info h3{font-size:14px!important}
 .store-card .store-card-topline .pill{font-size:9px}
 .store-card .starting-price strong{font-size:11px}
 #io-nearby-results{padding:11px}
}
