/* 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)}
/* Homepage business listing styles moved to io-homepage.css (Stage 1 Release B). */
/* 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}.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 overrides moved to io-homepage.css (Stage 1 Release B). */
