/* Uses the current shop's fonts, masthead, cards and product layout. */
html[data-search-mode="information"] .search-content{max-width:1100px}
.search-store-facts{display:grid;gap:16px;margin:26px 0}
.search-store-facts>div{display:grid;grid-template-columns:minmax(130px,180px) 1fr;gap:14px}
.search-store-facts dt{opacity:.8}.search-store-facts dd{margin:0;overflow-wrap:anywhere}
.search-ready-notice{max-width:860px;padding:20px 24px;margin-top:24px;border:1px solid currentColor;border-radius:18px;line-height:1.6}
.search-ready-notice p{margin:10px 0}.search-text-action{padding:12px 0}
@media(max-width:620px){.search-store-facts>div{grid-template-columns:1fr;gap:3px}.search-ready-notice{padding:18px}.search-actions>.primary-button{max-width:100%;white-space:normal;text-align:center}}

.search-content{padding-block:28px 60px}
.search-content h1{margin:20px 0 18px;font-size:clamp(30px,3.2vw,48px);line-height:1.12}
.search-content h2{margin:28px 0 16px}
.search-content .breadcrumbs{flex-wrap:wrap;gap:8px}
.search-section-links{display:flex;flex-wrap:wrap;gap:12px 22px;margin:18px 0 28px}
.search-section-links a,.search-footer a{text-underline-offset:4px}
.search-lead{max-width:780px;line-height:1.65;font-size:17px}
.search-actions{display:flex;flex-wrap:wrap;gap:14px;margin:22px 0}
.search-catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.search-catalog-grid .catalog-card-media{display:block}
.search-catalog-grid img{width:100%;height:100%;object-fit:cover}
.search-catalog-grid .catalog-card-title a{color:inherit;text-decoration:none}
.search-catalog-grid .catalog-card-composition{min-height:42px}
.search-catalog-grid .empty-state{grid-column:1/-1}
.search-product-media img{display:block;width:100%;height:auto;max-height:760px;object-fit:cover;border-radius:inherit}
.search-shop-action{margin-block:18px;display:inline-flex}
.search-info{padding:24px 30px;max-width:860px;line-height:1.7}
.search-info h2:first-child{margin-top:0}
.search-info p{margin-block:14px}
.search-phone{font-size:22px}
.search-footer{display:flex;flex-wrap:wrap;gap:16px 26px;max-width:1280px;margin:auto;padding:25px 30px 100px}
.search-footer button{font:inherit;color:inherit;background:none;border:0;padding:0;text-decoration:underline;cursor:pointer}
html[data-search-city] [data-cart-count]{display:none!important}
html[data-search-city] .city-options a{display:flex;margin-block:10px}
@media(max-width:800px){.search-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.search-info{padding:20px}.search-content{padding-top:18px}.search-footer{padding-inline:20px}.search-product-media img{max-height:590px}}
@media(max-width:440px){.search-catalog-grid{gap:12px}.search-section-links{gap:12px 16px}.search-content .catalog-card-composition{display:none}.search-content .catalog-card-title h3{font-size:17px}.search-content .catalog-card-body{padding:12px}.search-content .catalog-card-price{font-size:18px}.search-content .catalog-card-size{font-size:11px}.search-content .catalog-card-bottom{flex-wrap:wrap;gap:8px}.search-lead{font-size:16px}}

/* Local search-page layout: native gallery thumbnail grids must not shrink a single image. */
html[data-search-city] .search-content>.section-heading{display:block;text-align:left}
html[data-search-city] .search-content>.section-heading h1{margin:10px 0 20px}
html[data-search-city] .search-actions{align-items:center}
html[data-search-city] .search-actions>.primary-button{margin:0;min-height:48px}
html[data-search-city] .search-content .search-product-media{display:block!important;width:100%;min-width:0}
html[data-search-city] .search-content .search-product-media>img{display:block;width:100%;max-width:100%;height:auto;max-height:740px;object-fit:cover}
html[data-search-city] .search-content .mate-product-info h1{display:block!important;margin:0 0 14px}
html[data-search-city] .search-content .mate-product-info .mate-price-row{display:flex!important;flex-wrap:wrap;gap:10px 20px}
html[data-search-city] .search-content .mate-product-info .mate-price-row>strong{display:block!important}
html[data-search-city] .search-content .mate-product-info .mate-delivery-line,
html[data-search-city] .search-content .mate-product-info .mate-delivery-line>strong{color:#173d2e}
@media(max-width:760px){html[data-search-city] .search-content .search-product-media>img{max-height:440px}html[data-search-city] .search-content .mate-product-info h1{font-size:32px;line-height:1.1}html[data-search-city] .search-content .mate-product-info{padding:22px}}

/* Search pages keep DOM reading order; native mobile purchase controls use flex ordering. */
@media(max-width:620px){
 html[data-search-city] .search-content .mate-product-info-ideal{display:block!important}
 html[data-search-city] .search-content .mate-product-info-ideal h1{font-size:32px!important;line-height:1.1!important}
 html[data-search-city] .search-content .mate-product-info-ideal .mate-buy-actions{display:block!important}
}

/* City information pages: keep the Kineshma shop name readable in the masthead. */
html[data-search-city] .search-local-brand{display:block;font-size:24px;line-height:1.05;font-weight:700;letter-spacing:-.5px;text-align:center}
html[data-search-city] .search-footer{max-width:1100px;padding-bottom:110px}
@media(max-width:620px){html[data-search-city] .search-local-brand{font-size:18px}html[data-search-city] .search-footer{padding-inline:20px}}

/* Search-commerce pages only; the native store and florist editors are unchanged. */
html[data-search-mode="commerce"] .search-content{max-width:1200px;padding-bottom:24px}
html[data-search-mode="commerce"] .search-catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
html[data-search-mode="commerce"] .catalog-card-media{aspect-ratio:4/5;height:auto!important;background:#071b14;overflow:hidden}
html[data-search-mode="commerce"] .catalog-card-media img{object-fit:contain!important;width:100%;height:100%;transform:none!important}
html[data-search-mode="commerce"] .catalog-card-composition{display:none}
html[data-search-mode="commerce"] .catalog-card-body{padding:16px}
html[data-search-mode="commerce"] .catalog-card-title h3{font-size:19px;line-height:1.25}
html[data-search-mode="commerce"] .catalog-card-bottom{flex-wrap:wrap;gap:8px}
html[data-search-mode="commerce"] .catalog-card-price{font-size:24px}
html[data-search-mode="commerce"] .mate-product-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:32px;align-items:start}
html[data-search-mode="commerce"] .search-product-media{display:block!important;background:#071b14;border-radius:22px;overflow:hidden}
html[data-search-mode="commerce"] .search-product-media>img{object-fit:contain!important;height:auto;max-height:620px!important;width:100%;aspect-ratio:4/5;transform:none!important}
html[data-search-mode="commerce"] .mate-product-info{display:block!important;background:#0e2b22;color:#f4f1e9;padding:28px;border-radius:22px}
html[data-search-mode="commerce"] .mate-product-info h1{font-size:clamp(28px,2.7vw,42px)!important;line-height:1.13!important}
html[data-search-mode="commerce"] .mate-product-info .mate-delivery-line,html[data-search-mode="commerce"] .mate-product-info .mate-delivery-line>strong{color:#f4f1e9!important}
html[data-search-mode="commerce"] .mate-product-emotion,html[data-search-mode="commerce"] .product-composition p{white-space:pre-line;line-height:1.6}
html[data-search-mode="commerce"] .mate-buy-actions{display:block!important}
html[data-search-mode="commerce"] .search-shop-action{white-space:normal;text-align:center;justify-content:center;padding:14px 20px;max-width:100%;min-height:48px}
.commerce-supplement{max-width:1200px;padding-bottom:80px}.commerce-pagination{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 36px}
.commerce-pagination a{display:grid;place-items:center;min-width:44px;min-height:44px;border:1px solid #456051;border-radius:12px}.commerce-pagination a[aria-current]{background:#c80046;color:white;border-color:#c80046}
.commerce-faq{max-width:860px;padding:24px;border:1px solid #345246;border-radius:20px;line-height:1.6}.commerce-faq h2{margin:0 0 18px}.commerce-faq details{padding:14px 0;border-top:1px solid #345246}.commerce-faq summary,.commerce-gallery summary{cursor:pointer;font-weight:600}.commerce-gallery{padding:18px}.commerce-gallery img{display:block!important;width:100%;height:auto;margin-top:14px;object-fit:contain!important}
@media(max-width:800px){html[data-search-mode="commerce"] .search-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}html[data-search-mode="commerce"] .mate-product-layout{grid-template-columns:1fr;gap:20px}html[data-search-mode="commerce"] .search-product-media>img{max-height:460px!important}html[data-search-mode="commerce"] .mate-product-info{padding:22px}html[data-search-mode="commerce"] .catalog-card-body{padding:12px}html[data-search-mode="commerce"] .catalog-card-title h3{font-size:17px}html[data-search-mode="commerce"] .catalog-card-price{font-size:21px}.commerce-faq{padding:18px}}

/* First whole-page review: keep price/action above long copy; maintain readable native light card. */
html[data-search-mode="commerce"] .search-content .mate-product-info-ideal{background:#f4f1e9!important;color:#173d2e!important;padding:28px!important}
html[data-search-mode="commerce"] .search-content .mate-product-info-ideal h1{color:#173d2e!important;margin-bottom:18px!important}
html[data-search-mode="commerce"] .search-content .mate-price-row{justify-content:flex-start!important;text-align:left!important;padding:16px 0!important}
html[data-search-mode="commerce"] .search-content .mate-price-row .card-price-line{align-items:flex-start!important;text-align:left!important;gap:10px!important}
html[data-search-mode="commerce"] .search-content .mate-price-row strong{font-size:36px!important;font-weight:650!important;color:#173d2e!important}
html[data-search-mode="commerce"] .search-content .mate-product-info-ideal .mate-delivery-line,html[data-search-mode="commerce"] .search-content .mate-product-info-ideal .mate-delivery-line>strong{color:#173d2e!important;display:block!important}
html[data-search-mode="commerce"] .search-content .mate-product-info-ideal .mate-buy-actions{margin:18px 0!important}
html[data-search-mode="commerce"] .search-content .mate-product-info-ideal .search-shop-action{margin:0!important;min-height:48px!important}
html[data-search-mode="commerce"] .search-content .commerce-description{padding:16px 0;border-top:1px solid #d7d9cd;line-height:1.6;color:#173d2e}
html[data-search-mode="commerce"] .search-content .commerce-description summary{cursor:pointer;font-weight:650}
html[data-search-mode="commerce"] .search-content .commerce-description p{white-space:pre-line;color:#35564b}
html[data-search-mode="commerce"] .search-content .catalog-card-title{min-height:48px!important;align-items:flex-start!important}
html[data-search-mode="commerce"] .search-content .catalog-card-bottom{min-height:64px!important;padding-top:10px!important}
html[data-search-mode="commerce"] .search-content .catalog-card-price{font-size:25px!important;color:#f4f1e9!important}
html[data-search-mode="commerce"] .search-content .catalog-card-body{gap:0!important}
html[data-search-mode="commerce"] .search-content .catalog-card .card-price-line{display:flex!important;align-items:flex-start!important;flex-direction:column!important;gap:5px!important}
@media(min-width:1000px){html[data-search-mode="commerce"] .search-content .catalog-card-media{height:285px!important;aspect-ratio:auto!important}}
@media(max-width:800px){html[data-search-mode="commerce"] .search-content .mate-product-info-ideal{padding:22px!important}html[data-search-mode="commerce"] .search-content .search-product-media>img{max-height:360px!important}html[data-search-mode="commerce"] .search-content .mate-price-row strong{font-size:32px!important}html[data-search-mode="commerce"] .search-content .catalog-card-price{font-size:21px!important}}

/* Finite editorial flower collections: scoped to the server-rendered search pages. */
html[data-search-mode="commerce"] .commerce-flower-links{max-width:860px;margin:0 0 30px;padding:22px;border:1px solid #345246;border-radius:20px}
html[data-search-mode="commerce"] .commerce-flower-links h2{font-size:24px;line-height:1.2;margin:0 0 10px;color:#f4f1e9}
html[data-search-mode="commerce"] .commerce-flower-links p{line-height:1.6;margin:0 0 16px;color:#bbc9bf}
html[data-search-mode="commerce"] .commerce-flower-links nav{display:flex;flex-wrap:wrap;gap:10px}
html[data-search-mode="commerce"] .commerce-flower-links a{display:flex;align-items:center;gap:14px;min-height:44px;padding:10px 14px;border:1px solid #456051;border-radius:12px;color:#f4f1e9;text-decoration:none}
html[data-search-mode="commerce"] .commerce-flower-links a[aria-current="page"]{border-color:#88b79b;background:#173d2e}
html[data-search-mode="commerce"] .commerce-flower-links a:focus-visible{outline:2px solid #cde6d5;outline-offset:3px}
html[data-search-mode="commerce"] .commerce-flower-links small{font-size:13px;color:#c3d2c8}
html[data-search-mode="commerce"] .commerce-topic-scope{font-size:14px;line-height:1.5;color:#bbc9bf;margin:0 0 22px}
@media(max-width:620px){html[data-search-mode="commerce"] .commerce-flower-links{padding:18px}html[data-search-mode="commerce"] .commerce-flower-links h2{font-size:22px}}

/* Cards fill their photo area. The product gallery and full photo viewer retain the complete original. */
html body :is(.catalog-card-media,.air-product-image,.product-media,.mate-product-main,.search-product-media,.gift-photo){
 background:#000!important;
}
html body :is(.catalog-card-media,.air-product-image,.product-media){
 position:relative!important;display:block!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:1!important;overflow:hidden!important;
}
html body :is(.catalog-card-media,.air-product-image,.product-media)>img,
html body .catalog-card-media>picture>img{
 position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;margin:0!important;padding:0!important;box-sizing:border-box!important;
 object-fit:cover!important;object-position:var(--product-photo-position,50% 40%)!important;transform:none!important;filter:none!important;
}
html body :is(.mate-product-main,.search-product-media),
html body.commerce-page #shop-root .mate-product-main,
html body.commerce-page.px-product #shop-root .mate-product-page .mate-product-gallery .mate-product-main,
html[data-search-mode="commerce"] body #shop-root .search-product-media{
 position:relative!important;aspect-ratio:auto!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden!important;
}
html body :is(.mate-product-main,.search-product-media)>img,
html body.commerce-page #shop-root .mate-product-main>img,
html body.commerce-page.px-product #shop-root .mate-product-page .mate-product-gallery .mate-product-main>img[data-gallery-main],
html[data-search-mode="commerce"] body #shop-root .search-product-media>img,
html[data-search-mode="commerce"] body .search-content .search-product-media>img{
 position:relative!important;inset:auto!important;display:block!important;width:100%!important;height:auto!important;aspect-ratio:auto!important;max-height:none!important;max-width:100%!important;padding:0!important;box-sizing:border-box!important;object-fit:contain!important;object-position:center!important;transform:none!important;
}
html body :is(.brand-extra-media,.gift-photo,.checkout-product-photo,.cart-item>a:first-child,.menu-catalog-card)>img{
 object-fit:cover!important;object-position:var(--product-photo-position,50% 40%)!important;transform:none!important;background:#000!important;padding:0!important;box-sizing:border-box!important;
}
html body :is(.checkout-product-photo,.cart-item>a:first-child){aspect-ratio:1!important;height:auto!important;background:#000!important;overflow:hidden!important;border-radius:12px}
html body :is(.checkout-product-photo,.cart-item>a:first-child)>img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:1!important;max-height:none!important}
html body .catalog-card-media::after{content:none!important;display:none!important}
/* Search pages have their own wide-screen height override; the same square frame wins. */
html[data-search-mode="commerce"] body .search-content .catalog-card-media{height:auto!important;min-height:0!important;aspect-ratio:1!important}
/* The old mobile shop row layout must not override the shared photo-above-text cards. */
html[data-search-mode="commerce"] body #shop-root .search-catalog-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px!important}
html[data-search-mode="commerce"] body #shop-root .search-catalog-grid .catalog-card{display:flex!important;flex-direction:column!important;min-width:0!important;min-height:0!important;height:auto!important}
html[data-search-mode="commerce"] body #shop-root .search-catalog-grid .catalog-card-media{flex:none!important;max-width:none!important}
html[data-search-mode="commerce"] body #shop-root .search-catalog-grid .catalog-card-body{display:flex!important;flex-direction:column!important;flex:1!important;min-width:0!important}
html[data-search-mode="commerce"] body #shop-root .search-catalog-grid .catalog-card-bottom{margin-top:auto!important}
html[data-search-mode="commerce"] body #shop-root .search-catalog-grid .catalog-card-top{inset:auto 8px 8px!important;align-items:flex-end!important;justify-content:flex-start!important}
@media(max-width:800px){html[data-search-mode="commerce"] body #shop-root .search-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}}

/* Keep the uppermost flower / basket handle within this tall reference thumbnail. */
html body img[src*="mc-62ff94f26050eab3419c65fa34771414e6478794"]{--product-photo-position:50% 15%}

/* Keep the uppermost flower / basket handle within this tall reference thumbnail. */
html body img[src*="giftimg-2d1fce167f99-eef794a7f908943fdbe719a0205971a29f1f9d487db6ceb9f1a529c935d6200a"]{--product-photo-position:50% 15%}

/* Gallery selectors preview the complete original, like the main gallery image. */
html body .mate-product-thumb>img{object-fit:contain!important;object-position:center!important;transform:none!important;padding:0!important}

/* Search catalogue styles carry a separate selector; it must share the same fill rule. */
html[data-search-mode="commerce"] body #shop-root .search-catalog-grid .catalog-card-media>img{object-fit:cover!important;object-position:var(--product-photo-position,50% 40%)!important;padding:0!important}

/* The gallery wrapper must grow with the complete original rather than keep the legacy fixed height. */
html body.commerce-page.px-product #shop-root .mate-product-page .mate-product-gallery{height:auto!important;min-height:0!important;max-height:none!important}
