/* v38: a compact, mobile-first purchasing journey. */
.shop-flow .search-panel{position:relative;display:flex;align-items:stretch;gap:9px;margin:8px 0 18px;padding:7px;border:1px solid #b7ddeb;border-radius:18px;background:rgba(255,255,255,.94);box-shadow:0 8px 26px rgba(24,89,130,.07)}
.shop-flow .search-wrap{display:flex;align-items:center;gap:8px;flex:1;min-width:0;border:0!important;background:transparent!important;box-shadow:none!important;padding:0 8px!important}
.shop-flow .search-wrap input{min-width:0;flex:1;width:100%;font-size:16px!important;min-height:45px!important;border:0!important;background:transparent!important;outline:none!important;box-shadow:none!important}
.shop-flow .search-panel select{flex:0 0 auto;min-width:154px;border:1px solid #d3e4ef;border-radius:12px;color:#335874;background:#fff;padding:0 12px;font-size:13px}
.shop-flow .search-panel .clear-search{border:0;border-radius:8px;color:#14618c;background:#e7f4fc;min-width:59px;padding:8px 10px;cursor:pointer;font-size:12px;font-weight:800}
.shop-flow .search-panel .clear-search[hidden]{display:none!important}
.shop-flow.search-active #catalogSectionsGrid,.shop-flow.search-active #allCategoriesToggle{display:none!important}
.shop-flow.search-active .shop-list-header{margin-top:18px}
.shop-flow.search-active .shop-list-header h3{color:#0d649b}
.shop-flow .catalog-card{cursor:pointer}
.shop-flow .product-buy,.shop-flow .product-add{touch-action:manipulation}
.mobile-cart-bar[hidden]{display:none!important}
.mobile-cart-bar{display:none}
/* Clear checkout with one compact step and without unnecessary surname. */
.checkout-intro{margin:0 0 12px!important;padding:12px 14px;background:#ecf8fe;border:1px solid #d1e8f6;border-radius:14px;color:#225c81;font-size:13px;line-height:1.5;font-weight:650}
#orderForm .fields.one{display:grid;grid-template-columns:1fr;gap:12px}
#orderForm input,#orderForm textarea{font-size:16px!important}
#orderForm .optional-details{padding:0!important;overflow:hidden;border:1px solid #d7e7f0;border-radius:14px;background:rgba(249,253,255,.82)}
#orderForm .optional-details summary{display:flex;align-items:center;justify-content:space-between;gap:10px;list-style:none;cursor:pointer;padding:13px 15px;margin:0!important;color:#225a7d;font-size:13px!important;font-weight:750}
#orderForm .optional-details summary::-webkit-details-marker{display:none}
#orderForm .optional-details summary::after{content:'+';font-size:22px;line-height:1;color:#176898}
#orderForm .optional-details[open] summary::after{content:'−'}
#orderForm .optional-details label{display:block;margin:0 15px 15px}
#submitOrder{min-height:52px!important;border-radius:14px!important;font-size:15px!important}
#orderForm .form-disclaimer{font-size:11px;line-height:1.55;margin-top:10px}
/* Owner-provided UV lamp icon used unchanged. */
.shop-flow .catalog-card-icon img[src*="uv-lamp-owner-v38.png"]{object-fit:contain;filter:none;width:47px;height:47px}
@media(max-width:720px){
  .shop-flow{padding-top:24px!important}
  .shop-head{margin-bottom:10px!important}
  .shop-head h2{font-size:27px!important;letter-spacing:-.8px}
  .shop-head p{font-size:12px!important;line-height:1.5!important}
  .shop-flow .search-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;margin:12px 0 15px;padding:5px 7px;border-radius:16px}
  .shop-flow .search-wrap{grid-column:1;min-width:0;padding:0 4px!important}
  .shop-flow .search-wrap input{min-height:47px!important;line-height:1.3;font-size:16px!important}
  .shop-flow .search-panel select{grid-column:2;min-width:92px;max-width:104px;padding:0 5px;font-size:11px!important}
  .shop-flow .search-panel .clear-search{font-size:10px;min-width:47px;padding:8px 5px}
  .shop-flow .catalog-card-icon img[src*="uv-lamp-owner-v38.png"]{width:39px;height:39px}
  .shop-flow .catalog-cards-grid{gap:9px!important}
  .shop-flow .catalog-card{min-height:120px!important}
  .shop-flow .product-details h3{line-height:1.4}
  .shop-flow .product-actions .product-buy{min-height:46px!important;font-size:12px!important}
  .shop-flow .product-actions .product-add{min-height:46px!important}
  body.has-mobile-cart{padding-bottom:calc(78px + env(safe-area-inset-bottom))!important}
  .mobile-cart-bar{position:fixed;display:flex;align-items:center;justify-content:space-between;gap:10px;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:75;padding:9px 10px 9px 15px;background:rgba(10,52,85,.96);border:1px solid rgba(190,227,246,.45);border-radius:18px;box-shadow:0 12px 40px rgba(0,41,80,.25);color:#fff;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
  .mobile-cart-info{display:flex;flex-direction:column;gap:1px;min-width:0}
  .mobile-cart-info strong{font-size:11px;line-height:1.3;color:#d5ebfa}
  .mobile-cart-info span{display:inline;font-size:11px;color:#c0dce9}
  .mobile-cart-info b{font-size:19px;line-height:1.2;color:#fff;white-space:nowrap}
  .mobile-cart-checkout{appearance:none;min-width:139px;min-height:49px;padding:10px 14px;background:#1872df;color:#fff;border:1px solid #4e98e9;border-radius:13px;font:800 14px/1.2 Manrope,'Segoe UI',sans-serif;cursor:pointer;touch-action:manipulation}
  body.locked .mobile-cart-bar{display:none!important}
  .checkout-modal{max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important}
  .checkout-modal .checkout-content{overscroll-behavior:contain}
  #checkoutModal .checkout-layout{display:flex;flex-direction:column;gap:12px}
  #checkoutModal #orderForm{order:1}
  #checkoutModal .order-summary{order:0;padding:12px 14px;border-radius:14px}
  #checkoutModal .order-summary h3{font-size:13px;margin-bottom:4px}
  #checkoutModal .order-summary #summaryItems{max-height:66px;overflow:auto;font-size:11px}
  #checkoutModal .order-summary .summary-total{margin-top:8px}
  #checkoutModal .order-summary p{display:none}
  #orderForm .form-block{margin-bottom:14px!important;padding-bottom:0}
  #orderForm .form-block h3{font-size:15px;margin:0 0 9px}
  #orderForm .fields.two{grid-template-columns:1fr 1fr}
  #orderForm .fields.two input{min-width:0}
  #orderForm .delivery-toggle{gap:8px}
  #orderForm .delivery-toggle label{min-height:70px}
  #orderForm input{min-height:47px}
  #submitOrder{position:static;box-shadow:0 8px 24px rgba(18,97,170,.18);margin-top:10px}
}
@media(max-width:360px){
  .mobile-cart-bar{left:7px;right:7px;gap:6px;padding-left:11px}
  .mobile-cart-checkout{min-width:128px;font-size:12px}
  .shop-flow .search-panel select{max-width:91px;min-width:86px}
  .shop-flow .search-panel .clear-search{font-size:9px}
}
@media(prefers-reduced-motion:reduce){.mobile-cart-bar,.mobile-cart-checkout{transition:none}}

/* Compact checkout composition and visible search on small screens */
#checkoutModal .order-details{border:0;padding:0;margin:4px 0 0}
#checkoutModal .order-details summary{cursor:pointer;color:#326680;font-weight:750;font-size:12px;padding:5px 0;list-style:none;display:flex;align-items:center;justify-content:space-between}
#checkoutModal .order-details summary::-webkit-details-marker{display:none}
#checkoutModal .order-details summary::after{content:'⌄';font-size:15px}
#checkoutModal .order-details[open] summary::after{content:'⌃'}
#checkoutModal .order-details #summaryItems{padding:8px 0 3px;max-height:125px;overflow:auto}
@media(max-width:720px){
  .checkout-modal header .eyebrow{display:none!important}
  #checkoutModal .order-summary{padding:11px 13px!important}
  #checkoutModal .order-summary h3{margin:0 0 3px!important}
  #checkoutModal .order-summary #summaryItems{max-height:110px}
  #checkoutModal .checkout-content{padding-top:12px!important}
  #orderForm .form-block{margin-bottom:12px!important}
  .shop-flow .search-panel{display:flex;flex-direction:column;gap:5px;padding:6px!important}
  .shop-flow .search-wrap{width:100%;min-height:46px;flex:none;padding:0 8px!important}
  .shop-flow .search-panel select{align-self:flex-end;grid-column:auto;min-height:32px;min-width:132px;max-width:150px;line-height:1.2;border-radius:10px}
}
