/* Internal enhancements use the approved storefront's existing design tokens. */
.gift-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.gift-filters a { display: inline-flex; align-items: center; min-height: 42px; padding: 9px 17px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--green); text-decoration: none; }
.gift-filters a.active { color: #fff; background: var(--green); border-color: var(--green); }
.gift-filters a:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.gift-card > a:first-child { display: block; overflow: hidden; flex-shrink: 0; }

/* Compact storefront: keep the approved artwork, typography and palette. */
html { scroll-padding-top: 84px; scrollbar-gutter: stable; }
/* Keep an open layer's wheel/touch scroll inside that layer. Lock both roots:
   locking body alone does not contain the document scroll on every browser. */
html:has(body > .modal.open, body > .drawer.open, body > #mobileNav.open) {
  overflow: hidden; overscroll-behavior: none;
}
body:has(> .modal.open, > .drawer.open, > #mobileNav.open) {
  overflow: clip; overscroll-behavior: none;
}
@media (max-width: 620px) {
  html { scrollbar-gutter: auto; }
}
.site-header { height: 72px; gap: 16px; }
/* Header focus targets already occupy the reserved sticky-header space. */
.site-header a, .site-header button { scroll-margin-top: -84px; }
.site-header .logo-image { width: 196px; }
.site-header .main-nav { gap: 15px; }
.main-nav a { min-height: 44px; display: inline-flex; align-items: center; }
.main-nav a[aria-current="page"], .main-nav a.active { color: var(--green); text-decoration: underline; font-weight: 700; }
.head-actions button, .head-actions .contact-action { min-height: 44px; }
@media (max-width: 560px) {
  .head-actions #cartBtn::before {
    content: ""; display: block; width: 20px; height: 20px; flex-shrink: 0;
    background: url('/assets/cart.svg') center / contain no-repeat;
  }
}
.cta { min-height: 44px; padding: 10px 18px; }
.hero { min-height: 0; padding: 36px var(--page-gutter) 40px; }
.hero-copy { max-width: 730px; }
.hero h1 { font-size: clamp(32px, 3.3vw, 46px); line-height: 1.13; margin-bottom: 14px; }
.hero p { font-size: 16px; margin-bottom: 18px; }
.hero-actions { gap: 9px; }
.hero .hero-note { margin-top: 16px !important; margin-bottom: 0; }
.hero-trust { margin-top: 12px; gap: 7px; }
.hero-trust span { padding: 5px 10px; line-height: 1.45; }
.catalog-section, .plants-section, .stems-section, .gifts-section, .balloons-section,
.delivery, .trust-section, .faq-section, .reviews-bottom, .video-story,
body[data-page="home"] section.carousel-section { padding: 32px var(--page-gutter) 36px; }
.sectionhead { align-items: center; gap: 18px; margin-bottom: 18px; }
.sectionhead h2 { font-size: clamp(25px, 2.25vw, 30px); line-height: 1.18; }
.sectionhead p { margin-top: 6px; font-size: 13px; }
.section-link, .link-button { min-height: 32px; display: inline-flex; align-items: center; }
.searchrow { gap: 8px; }
.searchrow input, .searchrow select { height: 44px; min-width: 0; }
.searchrow form { width: 260px; }
.searchrow form > button {
  flex: 0 0 auto; min-height: 44px; padding: 9px 14px; border: 1px solid var(--green);
  border-radius: 8px; background: var(--green); color: #fff; font-size: 13px; font-weight: 600;
}
.searchrow form > button:hover { background: var(--green-dark); border-color: var(--green-dark); }
.filters, .subfilters { margin-bottom: 16px; gap: 7px; }
.filters button, .subfilters button { min-height: 42px; padding: 8px 14px; }
.gift-filters { margin-bottom: 16px; }
.gift-filters a { min-height: 44px; padding: 8px 14px; border-radius: 8px; }
.page-breadcrumbs { margin-bottom: 16px; font-size: 13px; line-height: 1.5; }
.page-breadcrumbs a { display: inline-block; padding-block: 5px; }
.route-visible h1 { margin-bottom: 20px; font-size: clamp(28px, 3vw, 36px); }

/* Context-specific previews cap the artwork and card width. Wider screens
   reveal more positions instead of enlarging the merchandise. */
body[data-page="home"] .product-carousel {
  grid-auto-columns: 216px; gap: 12px; padding-bottom: 5px;
}
.storefront-card-compact { min-width: 0; }
.storefront-card-compact.card .pic,
.storefront-card-compact.mini-product .mini-pic,
.storefront-card-compact .gift-photo,
.storefront-card-compact .gift-preview .gift-photo,
.storefront-card-compact .gift-preview .gift-mark,
.storefront-card-compact .gift-mark {
  height: 140px; min-height: 140px; aspect-ratio: auto; flex-shrink: 0;
}
.storefront-card-compact .pic img,
.storefront-card-compact .mini-pic img,
.storefront-card-compact .gift-photo,
.storefront-card-compact .gift-preview .gift-photo { object-fit: contain; }
.plants-section .storefront-card-compact.card .pic img,
.storefront-card-compact.mini-product .mini-pic img { object-fit: contain; }
.storefront-card-compact.card .body,
.storefront-card-compact.mini-product .mini-body { padding: 8px; gap: 0; min-height: 0; }
.storefront-card-compact .gift-copy { padding: 8px 10px 0; }
.storefront-card-compact .body > small:not(.product-code),
.storefront-card-compact .gift-copy > small:not(.product-code):not([data-addon-selection]),
.storefront-card-compact .body .desc,
.storefront-card-compact .gift-desc { display: none; }
.storefront-card-compact h3,
.storefront-card-compact .body h3,
.storefront-card-compact .mini-body h3 {
  font-size: 17px; line-height: 1.2; margin: 0 0 4px;
  min-height: 2.4em; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.storefront-card-compact .body .plant-care { display: none; }
.storefront-card-compact .product-code { margin-bottom: 3px; padding-block: 1px; }
.storefront-card-compact .body .price,
.storefront-card-compact .mini-body .price,
.storefront-card-compact .gift-copy .price {
  margin: auto 0 6px; padding-top: 4px; min-height: 25px;
}
.storefront-card-compact .product-price > strong { font-size: 19px; }
.storefront-card-compact .buy-actions { grid-template-columns: minmax(0, 1fr); }
.storefront-card-compact .card-details,
.storefront-card-compact .mini-body > button { min-height: 44px; padding: 9px 10px; margin-top: 0; }
.storefront-card-compact.gift-card > .card-details { margin: auto 10px 8px; }
.storefront-card-compact.gift-card .gift-preview { margin: 0; padding: 0; }
.storefront-card-compact .heart,
.recommendation-card-compact .heart,
.detailpic .heart { width: 44px !important; height: 44px; }
.carousel-controls { margin-top: 8px; gap: 10px; }
.carousel-controls button { width: 44px; height: 44px; }

/* Prices are display-only: the existing current-price calculation stays intact. */
.product-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 8px; color: var(--ink); }
.product-price > strong { font-size: 20px; line-height: 1.25; color: var(--ink); }
.product-price-old { color: var(--muted); font-size: 13px; font-weight: 400; text-decoration: line-through; }
.discount-badge { display: inline-flex; align-items: center; padding: 3px 7px; border-radius: 5px; background: #f8e8e4; color: #8c3828; font: 600 11px/1.4 'Inter', system-ui, sans-serif; white-space: nowrap; }
.product-code { display: inline-flex; column-gap: 4px; align-self: flex-start; width: fit-content; max-width: 100%; padding: 3px 7px; margin: 0 0 7px; border: 1px solid #d5e3d8; border-radius: 5px; background: var(--green-soft); color: var(--green); font-size: 11px; line-height: 1.4; letter-spacing: 0; text-transform: none; overflow-wrap: anywhere; }
.card .body .product-code, .gift-copy .product-code { color: var(--green); font-size: 11px; letter-spacing: 0; text-transform: none; }

/* One product layout serves both the page and the existing product dialog. */
#productPage { max-width: 1260px; min-height: 0; }
.product-page-content { min-height: 0; }
.product-detail-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 30px; align-items: start; }
.product-detail-layout > *, .product-detail-info { min-width: 0; }
.product-detail-layout .detailpic, .product-page-content .product-detail-layout .detailpic {
  float: none; width: 100%; height: auto; max-height: 490px; aspect-ratio: 1;
  margin: 0 0 10px; border-radius: 12px; background: var(--milk);
}
.product-detail-layout .detailpic img { display: block; width: 100%; height: 100%; object-fit: contain; }
.product-detail-layout .product-thumbnails { margin: 0; padding: 3px; gap: 8px; }
.product-detail-layout .product-thumbnails button { flex-basis: 58px; height: 58px; }
.product-detail-info > small { color: var(--muted); }
.product-detail-info h2 { font-size: clamp(27px, 2.7vw, 36px); line-height: 1.2; margin: 6px 0 14px; }
.product-detail-info > p { margin: 10px 0; line-height: 1.6; overflow-wrap: anywhere; }
.product-detail-info .product-code { margin-bottom: 4px; }
.product-detail-info .detailbuy, .product-page-content .product-detail-info .detailbuy {
  display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: 10px; margin-top: 18px;
}
.product-detail-info .detailbuy .product-price { flex-basis: 100%; margin-bottom: 4px; }
.product-detail-info .product-price > strong { font-size: 27px; }
.product-detail-info .product-price-old { font-size: 16px; }
.product-detail-info .detailbuy .cta, .product-detail-info .detailbuy .ghost { min-height: 46px; padding: 11px 16px; border-radius: 8px; }
.product-detail-info .detailbuy .ghost { border: 1px solid var(--line); background: var(--milk); color: var(--green); }
.productbox { width: min(1040px, 100%); max-width: 1040px; max-height: calc(100dvh - 40px); overflow: auto; }
.productbox .product-detail-layout { gap: 24px; }
.productbox .product-detail-info h2 { font-size: 28px; margin-right: 24px; }

/* Related products remain a compact, manually controlled shelf. */
.related-products { padding: 28px 0 0; margin-top: 24px; border-top: 1px solid var(--line); min-width: 0; }
.related-products .sectionhead { margin-bottom: 14px; }
.related-products h2 { font-size: 26px; line-height: 1.2; margin: 0; }
.related-tabs { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 14px; }
.related-tabs button { min-height: 44px; padding: 9px 15px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--green); }
.related-tabs button[aria-selected="true"], .related-tabs button.active { border-color: var(--green); background: var(--green); color: #fff; }
.related-grid, .related-grid.product-carousel {
  display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 216px; gap: 12px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; padding: 4px 0 8px; align-items: stretch;
}
.related-grid > article { min-width: 0; height: 100%; scroll-snap-align: start; }
.related-grid .pic, .related-grid .mini-pic, .related-grid .gift-photo, .related-grid .gift-mark { height: 140px; aspect-ratio: auto; }
.related-products [hidden] { display: none !important; }
#shops > .related-products { grid-column: 1 / -1; width: 100%; margin: 0; padding: 24px; background: #fff; }
.social-icon > svg, .social-icon > img { display: block; width: 32px; height: 32px; object-fit: contain; }
.social-link:not(.is-disabled) .social-icon { filter: none; background: #fff; }

/* Popular recommendations on delivery and contacts remain vertical. */
.recommendation-card-compact .body,
.recommendation-card-compact .gift-copy { padding: 7px; }
.recommendation-card-compact .body > small:not(.product-code),
.recommendation-card-compact .gift-copy > small:not(.product-code):not([data-addon-selection]) { display: none; }
.recommendation-card-compact h3,
.recommendation-card-compact .body h3 {
  font-size: 16px; line-height: 1.2; min-height: 2.4em; margin: 0 0 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.recommendation-card-compact .product-code { display: block; line-height: 1.25; padding: 1px 5px; margin-bottom: 3px; }
.recommendation-card-compact .body .price { margin: auto 0 5px; padding-top: 2px; }
.recommendation-card-compact .product-price > strong { font-size: 18px; }
.recommendation-card-compact .buy-actions { grid-template-columns: minmax(0, 1fr); }
.recommendation-card-compact .card-details { min-height: 44px; padding: 9px; }

/* Only the page frame receives the first-viewport composition. The existing
   product/add-on modal retains its own photograph and scrolling geometry. */
#productPage:has(.product-page-frame) { padding: 10px var(--page-gutter) 22px; }
#productPage:has(.product-page-frame) > .page-breadcrumbs { margin: 0 0 7px; font-size: 12px; }
#productPage .product-page-frame { display: grid; gap: 12px; min-width: 0; }
#productPage .product-detail-layout { grid-template-columns: minmax(240px, .8fr) minmax(0, 1.7fr); gap: 24px; }
#productPage .product-gallery { min-width: 0; }
#productPage .detailpic { height: 290px; max-height: none; width: 100%; aspect-ratio: auto; margin: 0 0 4px; }
#productPage .detailpic img { object-fit: contain; }
#productPage .product-thumbnails { gap: 6px; padding: 0; }
#productPage .product-thumbnails button { flex-basis: 44px; height: 44px; }
#productPage .product-detail-info > small:not(.product-code) { display: none; }
#productPage .product-detail-info h1 { font-size: 28px; line-height: 1.15; margin: 0 0 8px; }
#productPage .product-detail-info .product-code { margin: 0 0 5px; font-size: 12px; }
#productPage .product-detail-info > p { margin: 5px 0; line-height: 1.35; }
#productPage .product-detail-info .product-price > strong { font-size: 25px; }
#productPage .product-detail-info .detailbuy { margin-top: 8px; gap: 8px; }
#productPage .product-detail-info .detailbuy .cta { min-height: 44px; padding: 9px 14px; }
#productPage .product-detail-more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--green); background: #fff; font-size: 14px; }
#productPage .product-delivery-link { display: block; min-height: 30px; padding-block: 5px; font-size: 13px; }
#productPage .product-page-shelves { display: grid; gap: 8px; min-width: 0; }
#productPage .related-products { position: relative; padding: 0; margin: 0; border-top: 0; min-width: 0; }
#productPage .related-products .sectionhead { min-height: 32px; margin-bottom: 4px; padding-right: 120px; gap: 10px; flex-wrap: nowrap; }
#productPage .related-products h2 { font-size: 19px; }
#productPage .related-products .section-link { font-size: 12px; white-space: nowrap; }
#productPage .related-tabs { gap: 4px; margin-bottom: 4px; }
#productPage .related-tabs button { min-height: 32px; padding: 5px 12px; font-size: 12px; }
#productPage .related-products > .carousel-controls,
#productPage #relatedPanel > .carousel-controls { position: absolute; right: 0; top: 0; margin: 0; gap: 5px; }
#productPage .related-products .carousel-controls button { width: 32px; height: 32px; font-size: 18px; }
#productPage .related-grid { grid-auto-columns: 304px; gap: 10px; padding: 0 0 4px; }
#productPage .recommendation-card-compact {
  display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center;
  gap: 8px; padding: 7px; border-radius: 9px; min-height: 104px;
}
#productPage .recommendation-card-compact .pic,
#productPage .recommendation-card-compact .gift-photo,
#productPage .recommendation-card-compact .gift-mark { height: 72px; min-height: 0; width: 72px; aspect-ratio: 1; border-radius: 6px; }
#productPage .recommendation-card-compact .body,
#productPage .recommendation-card-compact .gift-copy { padding: 0; min-width: 0; }
#productPage .recommendation-card-compact h3,
#productPage .recommendation-card-compact .body h3 { min-height: 0; font-size: 14px; margin: 0 0 3px; }
#productPage .recommendation-card-compact .buy-actions,
#productPage .recommendation-card-compact > .card-details,
#productPage .recommendation-card-compact .gift-desc,
#productPage .recommendation-card-compact .heart { display: none; }
#productPage .recommendation-card-compact .product-code {
  display: block; width: fit-content; max-width: 100%; margin: 2px 0;
  padding: 1px 4px; font-size: 12px; line-height: 1.25;
  letter-spacing: 0; text-transform: none; overflow-wrap: anywhere;
}
#productPage .recommendation-card-compact [data-addon-selection] {
  display: block; margin-top: 3px; font-size: 12px; line-height: 1.25;
  letter-spacing: 0; text-transform: none;
}
#productPage .recommendation-card-compact .product-price,
#productPage .recommendation-card-compact .gift-copy p { margin: 2px 0 0; padding: 0; gap: 3px 6px; }
#productPage .recommendation-card-compact .product-price > strong { font-size: 16px; }
#productPage .recommendation-card-compact .product-price-old { font-size: 12px; }
#productPage .recommendation-card-compact .discount-badge { font-size: 10px; padding: 2px 4px; }
#productPage .recommendation-card-compact .pic em { left: 0; top: auto; bottom: 0; max-width: 100%; padding: 3px; font-size: 10px; }
#productPage .recommendation-card-compact .gift-preview { margin: 0; padding: 0; background: transparent; }
@media (min-width: 1100px) and (max-height: 800px) {
  #productPage .product-page-shelves { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
}
@media (min-width: 1100px) and (max-height: 700px) {
  #productPage .detailpic { height: 220px; }
  #productPage .product-detail-info h1 { font-size: 25px; margin-bottom: 5px; }
  #productPage .product-page-shelves { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
  #productPage .related-products:only-child { grid-column: 1 / -1; }
  #productPage .related-products .sectionhead { min-height: 32px; padding-right: 105px; }
  #productPage .related-products h2 { font-size: 17px; }
  #productPage .related-products .section-link { display: none; }
  #productPage .related-grid { grid-auto-columns: 272px; }
  #productPage .recommendation-card-compact { grid-template-columns: 64px minmax(0, 1fr); min-height: 84px; padding: 6px; }
  #productPage .recommendation-card-compact .pic,
  #productPage .recommendation-card-compact .gift-photo,
  #productPage .recommendation-card-compact .gift-mark { width: 64px; height: 64px; }
}
@media (max-width: 1099px) {
  #productPage .product-page-shelves { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  #productPage:has(.product-page-frame) { padding: 14px 16px 24px; }
  #productPage .product-detail-layout { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  #productPage .detailpic { height: min(320px, 80vw); }
  #productPage .product-detail-info h1 { font-size: 26px; }
  #productPage .related-products .sectionhead { min-height: 44px; padding-right: 120px; }
  #productPage .related-products h2 { font-size: 20px; }
  #productPage .related-products .section-link { display: none; }
  #productPage .related-products .carousel-controls button { width: 44px; height: 44px; }
  #productPage .related-tabs button { min-height: 44px; }
  #productPage .related-grid { grid-auto-columns: min(304px, 85vw); }
  #productPage .recommendation-card-compact { min-height: 104px; }
}

/* Lower information blocks use less vertical space, without hiding essential text. */
.holiday-section, .surprise-feature { padding: 28px var(--page-gutter); gap: 22px; }
.holiday-intro { gap: 12px; }
.holiday-intro h2, .surprise-copy h2 { font-size: 27px; margin-bottom: 9px; }
.holiday-intro p { margin-bottom: 12px; font-size: 14px; }
.calendar-icon { font-size: 32px; }
.holiday-card { min-height: 160px; padding: 14px; }
.holiday-card .holiday-date { font-size: 28px; margin-top: 8px; }
.holiday-card h3 { font-size: 17px; }
.surprise-steps span { padding: 10px 12px; }
.trust-grid { gap: 14px; margin-top: 0; }
.trust-grid article { padding: 16px; gap: 10px; }
.trust-grid article > span { font-size: 24px; }
.faq-grid { gap: 10px; }
.faq-grid details { padding: 0 16px; }
.faq-grid summary { padding: 13px 0; min-height: 48px; }
.faq-grid p { margin: 0 0 14px; font-size: 14px; }
.delivery-layout { margin-top: 14px; gap: 18px; }
.delivery-information .deliverycards article { padding: 14px; gap: 10px; }
.shop-section { width: calc(100% - 48px); margin: 16px auto 28px; max-width: 1260px; }
.shop-copy { padding: 20px 24px; }
.shop-copy h2 { font-size: 25px; margin: 4px 0 10px; }
.shop-copy .shop-line { margin: 6px 0; font-size: 13px; }
.shop-copy .route-btn { margin-top: 10px; min-height: 44px; padding: 9px 13px; }
.shop-benefits { padding: 20px 24px; gap: 14px; }
body[data-page="home"] .shop-section { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
body[data-page="home"] .shop-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; }
.shop-benefits b { font-size: 13px; }
.shop-benefits small { font-size: 12px; }
footer { padding: 28px var(--page-gutter) 24px; gap: 20px; }
.footer-brand p { margin-block: 6px; font-size: 13px; }
.footer-contact { gap: 8px; }
.socials { gap: 14px; }
.legal-links { gap: 10px 18px; padding-top: 16px; }

@media (max-width: 1180px) {
  .site-header .main-nav { display: none; }
  .site-header .logo-image { width: 190px; }
  .mobile-menu-btn { display: grid; width: 44px; height: 44px; }
  .head-actions { margin-left: auto; }
  .grid, .plants-section .grid, .catalog-section .grid, .stem-grid, .balloon-grid, .gift-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sectionhead { flex-wrap: wrap; }
  .product-detail-layout { gap: 24px; }
}
@media (max-width: 760px) {
  .hero { padding-block: 28px 32px; }
  .hero h1 { font-size: 35px; }
  .sectionhead { align-items: flex-start; gap: 12px; margin-bottom: 14px; }
  .sectionhead h2 { font-size: 26px; }
  .grid, .plants-section .grid, .catalog-section .grid, .stem-grid, .balloon-grid, .gift-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-detail-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .product-detail-layout .detailpic, .product-page-content .product-detail-layout .detailpic { max-height: 440px; }
  .product-detail-info h2 { font-size: 29px; }
  .productbox .product-detail-info h2 { font-size: 27px; margin-right: 0; }
  .related-grid, .related-grid.product-carousel { grid-auto-columns: min(216px, 82vw); gap: 12px; }
  .related-products { margin-top: 20px; padding-top: 22px; }
  .related-products h2 { font-size: 24px; }
  #shops > .related-products { padding: 20px; }
  .holiday-section, .surprise-feature { padding-block: 24px; gap: 18px; }
  .holiday-card { min-height: 145px; }
  .shop-section { width: calc(100% - 32px); margin: 14px auto 24px; }
  body[data-page="home"] .shop-section { grid-template-columns: minmax(0, 1fr); }
  .shop-copy, .shop-benefits { padding: 18px 20px; }
  .trust-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  /* Keep the fixed cart clear of footer links, including anchor/focus scrolling. */
  html:has(#mobileCartBar:not([hidden])) { scroll-padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  body:has(> #mobileCartBar:not([hidden])) { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  #mobileCartBar:not([hidden]) { bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .site-header { height: 66px; padding-inline: 12px; gap: 6px; }
  .site-header .logo-image { width: 140px; }
  .head-actions { gap: 4px; }
  .head-actions button, .head-actions .contact-action { min-width: 42px; min-height: 44px; padding-inline: 8px; }
  .site-header .mobile-menu-btn { width: 42px; min-width: 42px; }
  .hero { padding-inline: 16px; padding-block: 26px 28px; }
  .hero h1 { font-size: 32px; line-height: 1.12; margin-bottom: 12px; }
  .hero p { font-size: 15px; margin-bottom: 16px; }
  .hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .hero-actions .cta { width: 100%; min-height: 44px; margin: 0; padding: 10px 12px; }
  .hero-trust span { font-size: 11px; padding: 5px 8px; }
  .catalog-section, .plants-section, .stems-section, .gifts-section, .balloons-section,
  .delivery, .trust-section, .faq-section, .reviews-bottom, .video-story,
  body[data-page="home"] section.carousel-section { padding: 24px 16px 28px; }
  .sectionhead h2 { font-size: 25px; }
  .section-link, .link-button { min-height: 38px; }
  .searchrow { width: 100%; }
  .searchrow form, .searchrow input, .searchrow select { width: 100%; font-size: 16px; }
  .searchrow form input { width: 0; }
  .filters button, .subfilters button { min-height: 44px; padding-inline: 12px; }
  .card .body, .plants-section .card .body, .mini-product .mini-body { padding: 10px; }
  .card h3, .plants-section .card h3, .mini-product h3, .gift-card h3 { font-size: 16px; }
  .card .body h3, .mini-product .mini-body h3 { min-height: 2.6em; }
  .card .body .desc, .card .body .plant-care, .gift-copy .gift-desc { display: none; }
  .card .body .price { font-size: 17px; margin-bottom: 9px; }
  .product-price > strong { font-size: 18px; }
  .product-price-old { font-size: 12px; }
  .discount-badge { font-size: 10px; }
  .gift-copy { padding: 10px 10px 0; }
  .gift-card button, .gift-card > .card-details { margin: 9px 10px 10px; }
  .gift-card .gift-preview { margin: 0; }
  .card .heart, .mini-product .heart { top: 7px; right: 7px; }
  .product-detail-layout .detailpic, .product-page-content .product-detail-layout .detailpic { max-height: 370px; }
  .product-detail-info .detailbuy { gap: 8px; }
  .product-detail-info .detailbuy .cta, .product-detail-info .detailbuy .ghost { width: 100%; }
  .productbox { max-height: 100dvh; padding-top: 54px; }
  .related-grid, .related-grid.product-carousel { grid-auto-columns: min(216px, 82vw); }
  .related-grid .pic, .related-grid .mini-pic, .related-grid .gift-photo, .related-grid .gift-mark { height: 140px; aspect-ratio: auto; }
  .holiday-section, .surprise-feature { padding-inline: 16px; }
  .holiday-intro h2, .surprise-copy h2 { font-size: 25px; }
  .holiday-intro p { font-size: 13px; }
  .shop-copy, .shop-benefits { padding: 16px; }
  #shops > .related-products { padding: 18px 16px; }
  .shop-benefits { gap: 12px; }
  .shop-benefits article { min-width: 0; }
  .shop-benefits b { font-size: 12px; }
  .shop-benefits small { font-size: 11px; }
  footer { padding: 24px 16px 20px; gap: 18px; }
}
@media (max-width: 359px) {
  .site-header .logo-image { width: 116px; }
  .site-header { gap: 4px; padding-inline: 8px; }
  .grid, .plants-section .grid, .catalog-section .grid, .stem-grid, .balloon-grid, .gift-grid { grid-template-columns: minmax(0, 1fr); }
  body[data-page="home"] .product-carousel { grid-auto-columns: min(216px, 88%); }
  body[data-page="home"] .shop-benefits { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: no-preference) {
  .pic img, .mini-pic img, .gift-photo { transition: transform .35s ease; }
  .modal.open { animation: unified-overlay-in .22s ease; }
  .modal.open > .modalbox { animation: unified-dialog-in .34s cubic-bezier(.2,.8,.2,1); }
  @media (hover: hover) and (pointer: fine) {
    .card:hover .pic img, .mini-product:hover .mini-pic img, .gift-card:hover .gift-photo { transform: scale(1.045); }
  }
}
@keyframes unified-overlay-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes unified-dialog-in { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) {
  .card, .mini-product, .gift-card, .pic img, .mini-pic img, .gift-photo, .modal.open, .modal.open > .modalbox {
    animation: none !important; transition: none !important; translate: none !important;
  }
  .card:hover, .mini-product:hover, .gift-card:hover, .pic img, .mini-pic img, .gift-photo { transform: none !important; }
}
/* Explicit addon details remain reachable inside the compact product shelf. */
#productPage .recommendation-card-compact[data-addon-card]{grid-template-columns:64px minmax(0,1fr) 80px;gap:6px}
#productPage .recommendation-card-compact[data-addon-card] .gift-photo,
#productPage .recommendation-card-compact[data-addon-card] .gift-mark{width:64px;height:64px}
#productPage .recommendation-card-compact[data-addon-card] > .card-details{display:inline-flex;align-items:center;justify-content:center;min-width:0;min-height:44px;margin:0;padding:6px;font-size:12px;line-height:1.2;white-space:nowrap}

/* Product shelves: gifts first, recommendations below; whole cards per row. */
#productPage .product-page-shelves {
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  margin-top: 12px;
}
#productPage #productGifts { order: -1; }
#productPage .related-products {
  padding-top: 20px;
  border-top: 1px solid var(--line, #dce4db);
}
#productPage .related-products .sectionhead {
  min-height: 44px;
  margin-bottom: 12px;
  padding-right: 140px;
  align-items: center;
}
#productPage .related-products h2 { margin: 0; font-size: 23px; line-height: 1.25; }
#productPage .related-products > .carousel-controls,
#productPage #relatedPanel > .carousel-controls { top: 20px; }
#productPage .related-products .carousel-controls button { width: 40px; height: 40px; }
#productPage .related-tabs { margin-bottom: 12px; }
#productPage .related-grid {
  grid-auto-columns: calc((100% - 24px) / 3);
  gap: 12px;
  padding-bottom: 0;
  scrollbar-width: none;
}
#productPage .related-grid::-webkit-scrollbar { display: none; }
#productPage .recommendation-card-compact { min-height: 112px; padding: 12px; }
@media (max-width: 1150px) {
  #productPage .related-grid { grid-auto-columns: calc((100% - 12px) / 2); }
}
@media (max-width: 760px) {
  #productPage .product-page-shelves { gap: 22px; }
  #productPage .related-grid { grid-auto-columns: 100%; }
  #productPage .related-products h2 { font-size: 20px; }
  #productPage .related-products .sectionhead { padding-right: 130px; }
  #productPage .related-products .carousel-controls button { width: 44px; height: 44px; }
}

/* Mobile shopping: keep products close and labels readable without changing the brand. */
@media (max-width: 560px) {
  body[data-page="home"] .hero { padding-block: 18px 20px; }
  body[data-page="home"] .hero h1 { font-size: 30px; margin-bottom: 10px; }
  body[data-page="home"] .hero p { margin-bottom: 12px; }
  body[data-page="home"] .hero-actions { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
  body[data-page="home"] .hero-actions > :first-child { grid-column: 1 / -1; }
  body[data-page="home"] .hero-actions .secondary { min-height: 44px; padding: 7px 8px; font-size: 12px; line-height: 1.35; }
  body[data-page="home"] .hero .hero-note { font-size: 12px; line-height: 1.4; margin: 12px 0 0; }
  body[data-page="home"] .hero-trust { margin-top: 8px; gap: 4px; }
  body[data-page="home"] .hero-trust span { padding: 4px 6px; font-size: 10px; }
  body[data-page="home"] #mainFilters { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; gap: 6px; padding: 2px 0 6px; margin-bottom: 12px; scrollbar-width: none; }
  body[data-page="home"] #mainFilters::-webkit-scrollbar { display: none; }
  body[data-page="home"] #mainFilters button { flex: 0 0 auto; white-space: nowrap; }
  .card .product-code, .mini-product .product-code, .gift-copy .product-code, #drawer .product-code { display: block; }
  #productPage .detailpic { height: 220px; max-height: 220px; }
  #productPage .product-detail-info h1 { font-size: 24px; line-height: 1.16; }
  #productPage .detailbuy { scroll-margin-bottom: calc(100px + env(safe-area-inset-bottom,0px)); }
}
@media (max-width: 359px) {
  #productPage .detailpic { height: 200px; max-height: 200px; }
}

/* Navigation emphasis remains lighter than the active-page marker. */
.site-header .main-nav a { font-weight: 600; }
