/* Original-concept restoration: brand field -> surface -> grouped information -> action. */
:root{
  --mobile-nav-height:64px;
  --concept-paper:#f5f3ed;
  --concept-white:#fff;
  --concept-blue:var(--blue);
  --concept-orange:var(--orange);
  --concept-blue-soft:#edf1ff;
  --concept-orange-soft:#fff0e3;
  --concept-line:#e1e2e6;
  --concept-muted:var(--muted);
  --concept-shadow:0 10px 30px rgba(8,31,128,.10);
}

/* Shared rhythm: short controls stay shallow; content cards keep internal room. */
.catalog-mode .catalog-inquiry-dock:not([hidden]){
  width:min(510px,calc(100% - 28px));min-height:52px;padding:5px 6px 5px 15px;
  gap:10px;border:1px solid #1b3797;border-radius:12px;background:var(--concept-blue);
  box-shadow:0 7px 20px rgba(8,31,128,.18),inset 0 1px 0 #ffffff24;
}
.catalog-inquiry-dock>span{gap:10px}.catalog-inquiry-dock svg{width:21px;height:21px}
.catalog-inquiry-dock strong{font-size:13px;font-weight:650;line-height:1.2}
.catalog-inquiry-dock button{min-height:40px;padding:7px 13px;border-radius:8px;font-size:12px;font-weight:750}

.brandbar{padding-top:16px;padding-bottom:12px}.searcharea{padding-bottom:12px}.search{height:46px;border-radius:12px}
.categories{padding:16px 0 13px;gap:9px}.category-link,.category-link:first-child{border-radius:14px}
.category-link .category-icon{border-radius:14px 14px 0 0}.category-link>span:last-child{padding:9px 4px 10px}
.section-heading,.goods-section .section-heading{margin:25px 0 13px}.section-heading h2{font-size:27px}
.goods-grid{gap:15px 11px}.goods-card{border-radius:14px}.goods-image{border-radius:11px 11px 0 0}
.goods-copy{padding:11px 10px 10px}.goods-copy h3{font-weight:760;margin-bottom:4px}.goods-copy p{margin-bottom:10px;line-height:1.5}
.quick-add{border-radius:10px}.editorial{border-radius:18px}.selection{gap:24px}
.editorial-aside{padding:18px 4px}.editorial-aside h3{margin:14px 0 8px}.editorial-aside p{line-height:1.75}
.service{margin:34px 0 42px;padding:28px 30px;border-radius:20px}.service-steps{margin-top:17px}

/* Category returns to the original hierarchy: title, family, state, then product filter. */
.catalog-title{margin:7px 0 16px}.catalog-title h1{font-size:36px;margin-top:8px;line-height:1.15}
.catalog-mode .catalog-tabs{padding:0 0 10px;gap:7px}.catalog-tabs button{min-height:34px;padding:6px 14px;border-radius:9px}
.catalog-toolbar{margin-bottom:14px}.catalog-toolbar select{min-height:38px;border-radius:9px;padding:7px 9px}

/* Full-page commerce shell. Inquiry and account own their branded headers. */
.commerce-dialog.commerce-page{width:100%;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:var(--concept-paper);box-shadow:none;overflow:auto}
.commerce-dialog.commerce-page::backdrop{background:var(--concept-paper);backdrop-filter:none}
.commerce-page .dialog-head{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px;min-height:64px;padding:8px max(20px,calc((100vw - 980px)/2));border-bottom:1px solid var(--concept-line);background:#fff;backdrop-filter:blur(14px)}
.commerce-page .dialog-head p{font-size:16px;text-align:center}.commerce-page .dialog-head .round-control{width:40px;height:40px;border-radius:12px;background:transparent;font-size:23px}
.commerce-page .dialog-body{width:min(980px,100%);margin:0 auto;padding:20px 24px 80px}
.page-inquiry .dialog-head,.page-account .dialog-head{display:none}
.page-inquiry .dialog-body,.page-account .dialog-body{padding-top:0}

/* Product detail: image first, then a white information sheet, as in the first concept. */
.page-detail .detail-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);gap:0;overflow:hidden;border:1px solid var(--concept-line);border-radius:22px;background:var(--concept-white);box-shadow:0 12px 38px rgba(8,31,128,.07)}
.detail-gallery{position:relative;display:grid;place-items:center;min-height:560px;background:#eef1f7;overflow:hidden}
.page-detail .detail-photo{display:block;width:100%;height:100%;max-height:650px;padding:22px;object-fit:contain;object-position:center;border:0;border-radius:0;background:transparent;box-shadow:none}
.detail-image-count{position:absolute;left:18px;bottom:16px;padding:6px 9px;border-radius:999px;background:#ffffffdc;color:var(--concept-blue);font-size:10px;font-weight:750}
.detail-image-hint{position:absolute;right:18px;bottom:16px;color:var(--concept-muted);font-size:10px}
.page-detail .detail-content{display:flex;flex-direction:column;align-items:stretch;padding:34px 30px 26px;background:var(--concept-white)}
.page-detail .detail-content>*{order:initial}
.page-detail .detail-content>.eyebrow{color:var(--concept-orange);font-size:10px;font-weight:800;letter-spacing:.12em}
.page-detail .detail-content h2{margin:10px 0 5px;font-size:30px;line-height:1.18;letter-spacing:-1.2px}
.page-detail .detail-spec{margin:0;color:var(--concept-muted);font-size:13px;line-height:1.55}
.detail-sku{margin:11px 0 0;color:#9da3b1;font-size:10px}
.page-detail .price-tiers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0}
.page-detail .price-tier{min-height:82px;padding:10px;border:1px solid var(--concept-line);border-radius:13px;background:var(--concept-white);box-shadow:none;color:var(--concept-muted);line-height:1.35}
.page-detail .price-tier.selected{border:1.5px solid var(--concept-blue);background:#f1f4ff;color:var(--concept-blue)}
.page-detail .price-tier.hidden{background:#f7f8fb;color:#9ba1ae}
.page-detail .price-tier span{display:block;font-size:10px}.page-detail .price-tier strong{display:block;margin-top:7px;color:var(--concept-blue);font-size:14px;font-weight:800;white-space:normal}
.page-detail .price-tier small{display:block;margin-top:3px;font-size:10px}.page-detail .price-tier.hidden small{display:none}
.unit-line{display:flex;align-items:center;justify-content:space-between;margin-top:17px}.page-detail .unit-label{margin:0;font-size:12px;font-weight:800}
.page-detail .unit-choice{min-height:34px;min-width:54px;padding:6px 12px;border-radius:9px;background:var(--concept-orange);font-size:11px;font-weight:750}
.page-detail .detail-note{margin:15px 0 0;color:var(--concept-muted);font-size:11px;line-height:1.55}
.page-detail .detail-footer{display:flex;align-items:center;gap:9px;margin-top:auto;padding-top:20px;border-top:0}
.page-detail .detail-footer .stepper{height:47px;min-height:47px;border-radius:14px;background:#f1f2f5}.page-detail .detail-footer .stepper button{min-height:47px}
.page-detail .detail-footer .round-control{width:47px;height:47px;border-radius:14px;background:var(--concept-blue-soft)}
.page-detail .detail-footer .button{min-height:47px;justify-content:center;border-radius:14px;font-size:13px}

/* Inquiry: blue task header, metadata card, compact line cards, decisive total. */
.page-inquiry .dialog-body{width:min(720px,100%);padding-left:0;padding-right:0;padding-bottom:calc(var(--mobile-nav-height) + 26px)}
.inquiry-hero{padding:28px 24px 20px;background:var(--concept-blue);color:#fff}
.inquiry-hero .eyebrow{color:#ffab63;font-size:9px;font-weight:800;letter-spacing:.14em}
.inquiry-hero h1{margin:7px 0 0;color:#fff;font-size:30px;line-height:1.05;letter-spacing:-1.5px}
.inquiry-hero h1:focus{outline:none}
.inquiry-hero p{margin:8px 0 0;color:#ffffffad;font-size:11px;line-height:1.55}
.quote-meta{display:block;margin:16px 22px 0;padding:0;border:0;background:transparent}
.currency-panel{display:flex;align-items:center;gap:8px;margin:0;padding:0;background:none;box-shadow:none}.currency-panel>span{color:var(--concept-muted);font-size:9px;white-space:nowrap}
.currency-switch{display:grid;grid-template-columns:1fr 1fr;gap:3px;min-width:164px;padding:3px;border-radius:9px;background:#eceef2}
.currency-switch button{display:flex;align-items:baseline;justify-content:center;gap:4px;min-height:31px;padding:4px 7px;border:0;border-radius:7px;background:transparent;color:var(--concept-muted);font-size:9px}
.currency-switch button b{font-size:10px}.currency-switch button small{font-size:8px}.currency-switch button[aria-pressed=true]{background:var(--concept-blue);color:#fff;box-shadow:0 2px 6px rgba(8,31,128,.14)}
.inquiry-list{display:grid;gap:10px}.remove-line svg{width:16px;height:16px}
.inquiry-footer{position:static;left:auto;right:auto;bottom:auto;display:grid;grid-template-columns:1fr auto;align-items:end;gap:18px;margin:20px 22px 0;padding:0;border:0;background:transparent;backdrop-filter:none}
.inquiry-footer .inquiry-summary{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:0;padding:0;border:0}.inquiry-summary>div{color:var(--concept-muted);font-size:10px}.inquiry-summary small{display:block;margin-top:3px;font-size:9px}.inquiry-footer .inquiry-summary strong{color:var(--concept-blue);font-size:23px;letter-spacing:-.6px;white-space:nowrap}
.empty-inquiry{margin:28px 22px;padding:38px 20px;border:1px solid var(--concept-line);border-radius:18px;background:#fff;text-align:center}

/* Account: brand field, lifted account card, then three concise benefits. */
.page-account .dialog-body{width:min(720px,100%);padding-left:0;padding-right:0;padding-bottom:calc(var(--mobile-nav-height) + 26px)}.account-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0}
.account-links>button{display:block;min-height:105px;padding:12px 9px;border:1px solid var(--concept-line);border-radius:15px;background:#fff;text-align:left;color:var(--ink);box-shadow:none}
.account-links>button>span{display:block}.account-links>button>span>svg{display:grid;width:29px;height:29px;margin-bottom:13px;padding:6px;border-radius:9px;background:var(--concept-blue-soft);color:var(--concept-blue)}
.account-links strong{display:block;font-size:11px;font-weight:750}.account-links small{display:block;margin-top:4px;color:var(--concept-muted);font-size:9px;line-height:1.45}.account-logout{margin:10px 22px 0}

@media(max-width:720px){
  .wrap{padding-left:14px;padding-right:14px}
  .brandbar{padding-top:10px;padding-bottom:8px}.identity{gap:8px}.identity img{width:30px;height:37px}.identity strong{font-size:14px}.identity small{font-size:8px}
  .language{min-height:38px;padding:5px 8px}.searcharea{padding-bottom:9px}.search{height:43px;padding:0 13px}
  .hero{min-height:290px;border-radius:0}.hero-copy{padding:21px 18px}.hero-copy h1{font-size:37px;margin:14px 0 11px}.hero-copy p{line-height:1.6}.hero-copy .button{min-height:40px}
  .categories{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;padding:12px 0 7px}.category-link,.category-link:first-child{min-height:0}.category-link>span:last-child{padding:7px 2px 8px}.category-link strong{font-size:11px}
  .section-heading,.goods-section .section-heading{margin:18px 0 10px}.section-heading h2{font-size:22px}.goods-grid{gap:12px 8px}.goods-copy{padding:10px 8px}.goods-copy h3{font-size:13px}.goods-copy p{min-height:0;margin-bottom:10px}.goods-price strong{font-size:17px}.goods-price small{font-size:10px}.quick-add{width:37px;height:37px;min-height:40px}
  #discover .section-heading{margin-top:24px}.selection{gap:0}.editorial{min-height:272px}.editorial-aside{padding:17px 0 0}.editorial-aside h3{font-size:20px}.editorial-aside p{margin:7px 0 10px;line-height:1.65}.service{margin:26px 0 31px;padding:21px 18px;gap:17px}
  .catalog-title{margin:4px 0 11px}.catalog-title h1{font-size:28px;margin-top:5px}.catalog-edition{font-size:31px}.catalog-mode .catalog-tabs{padding-bottom:9px}.catalog-tabs button{min-height:32px;padding:5px 12px;font-size:12px}.catalog-toolbar{margin-bottom:11px}.catalog-toolbar select{min-height:38px}
  .catalog-mode .catalog-inquiry-dock:not([hidden]){bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 7px)}

  .commerce-page .dialog-head{min-height:54px;padding:6px 10px;grid-template-columns:40px minmax(0,1fr) 40px}.commerce-page .dialog-head p{font-size:15px}.commerce-page .dialog-head .round-control{width:40px;height:40px}
  .commerce-page .dialog-body{padding-left:0;padding-right:0}

  .page-detail .dialog-body{padding:0 0 82px}.page-detail .detail-layout{display:block;border:0;border-radius:0;box-shadow:none}.detail-gallery{min-height:0;height:min(42dvh,340px)}
  .page-detail .detail-photo{height:100%;max-height:none;padding:10px 16px}.detail-image-count{left:14px;bottom:12px}.detail-image-hint{right:14px;bottom:14px;font-size:9px}
  .page-detail .detail-content{position:relative;margin-top:-18px;padding:19px 20px 22px;border-radius:24px 24px 0 0}.page-detail .detail-content h2{margin:8px 0 4px;font-size:24px}.page-detail .detail-spec{font-size:11px}.detail-sku{margin-top:10px;font-size:9px}
  .page-detail .price-tier{min-height:74px;padding:9px 8px}.page-detail .price-tier span{font-size:9px}.page-detail .price-tier strong{font-size:12px}.page-detail .price-tier small{font-size:9px}.unit-line{margin-top:16px}
  .page-detail .detail-note{margin-top:12px;font-size:10px}.page-detail .detail-footer{position:fixed;z-index:4;left:0;right:0;bottom:0;margin:0;padding:9px 12px max(9px,env(safe-area-inset-bottom));border-top:1px solid var(--concept-line);background:#fff;backdrop-filter:blur(14px)}

  .inquiry-hero{padding:24px 22px 18px}.inquiry-hero h1{font-size:28px}.quote-meta{margin:14px 16px 0;padding:0}.currency-panel{justify-content:space-between;padding:0;border:0}.currency-switch{min-width:0;width:190px}.inquiry-list{gap:9px}
  .inquiry-footer{position:static;left:auto;right:auto;bottom:auto;display:block;margin:18px 16px 0;padding:0;background:transparent;backdrop-filter:none}.inquiry-footer .inquiry-summary{align-items:end}.inquiry-footer .inquiry-summary strong{font-size:22px}
  .empty-inquiry{margin:24px 16px;padding:36px 18px}.account-links>button{min-height:103px;padding:11px 8px}
}

@media(max-width:390px){.quote-meta,.inquiry-footer{margin-left:14px;margin-right:14px}
  .page-detail .detail-content{padding-left:18px;padding-right:18px}.page-detail .price-tiers{gap:6px}.page-detail .price-tier{padding-left:6px;padding-right:6px}
}

/* Inner-page refinement. Homepage selectors are intentionally excluded. */
.catalog-mode .catalog-toolbar{align-items:center;min-height:32px;margin:1px 0 13px;gap:12px}
.catalog-mode .catalog-toolbar>div{display:flex;align-items:center;gap:8px}
.catalog-mode .catalog-result{font-size:12px;line-height:20px;margin:0}
.catalog-mode .catalog-toolbar label{display:flex;align-items:center}
.catalog-mode .catalog-toolbar select{min-height:32px;padding:4px 0 4px 8px;line-height:20px;border:0;border-radius:0;background:transparent;box-shadow:none;font-size:12px}
.catalog-mode .catalog-tabs{gap:18px}
.catalog-mode .catalog-tabs button{position:relative;padding:5px 1px;min-height:32px;border-radius:0;background:transparent;color:var(--muted)}
.catalog-mode .catalog-tabs button[aria-pressed=true]{color:var(--blue);font-weight:750}
.catalog-mode .catalog-tabs button[aria-pressed=true]:after{content:'';position:absolute;bottom:0;left:1px;right:1px;height:2px;background:var(--orange);border-radius:2px}
.page-inquiry .currency-panel{justify-content:space-between}
.page-inquiry .currency-panel>span{font-size:11px;font-weight:550}
.page-inquiry .currency-switch{box-shadow:inset 0 1px 3px #16254a0b,inset 0 -1px 0 #fff}
.page-inquiry .inquiry-footer{padding-top:16px;border-top:1px solid #12275612}
.page-inquiry .inquiry-footer .inquiry-summary small{display:block;line-height:1.5}
.page-detail .detail-footer .button{background:var(--orange);color:var(--orange-foreground);box-shadow:inset 0 1px 0 #ffd09a,0 4px 10px #e9770017}
.commerce-page.page-detail .detail-content>*{order:0}
.page-detail .detail-photo{min-height:0;min-width:0}
.page-account .dialog-body{padding:18px 20px calc(var(--mobile-nav-height) + 26px)}
.page-account .account-cover{padding:24px 22px;border-radius:16px;box-shadow:inset 0 1px 0 #fff,0 4px 20px #14234907}
.page-account .account-cover h2{font-size:29px;margin:6px 0 8px;line-height:1.28}
.page-account .account-cover h2:focus{outline:none}
.page-account .account-cover p{font-size:12px;line-height:1.65;max-width:260px}
.page-account .account-cover>.button{min-height:42px;margin-top:17px;font-size:12px}
.page-account .account-content{padding-top:18px}
.page-account .account-links{gap:9px;margin:0 0 22px}
.page-account .account-links>button{min-height:112px;padding:15px 8px 13px;text-align:center;border-radius:13px;background:linear-gradient(145deg,#fff,#f4f5f7);box-shadow:inset 0 1px 0 #fff,0 3px 8px #14234905}
.page-account .account-links>button>span>svg{margin:0 auto 10px;width:28px;height:28px;padding:3px;background:none}
.page-account .account-links strong{font-size:13px}
.page-account .account-links small{font-size:10px;margin-top:5px}
.page-account .account-explainer{padding:18px;border-radius:14px;background:linear-gradient(130deg,#eaf3f9,#e0edf5);box-shadow:inset 0 1px 0 #fff}
.page-account .account-explainer h3{font-size:18px;margin:6px 0 7px;line-height:1.4}
.page-account .account-explainer p{font-size:12px;line-height:1.7}
.page-account .account-content>.detail-note{font-size:10px;line-height:1.6;margin-top:12px;color:var(--muted)}
.commerce-dialog .checkout-layout{gap:28px}
.commerce-dialog .form-heading{margin:22px 0 12px;gap:8px}
.commerce-dialog .form-heading:first-child{margin-top:0}
.commerce-dialog .checkout-form>label{margin-bottom:16px;font-weight:550}
.commerce-dialog .checkout-form input:not([type=radio]),.commerce-dialog .checkout-form textarea,.commerce-dialog .checkout-form select{margin-top:7px;border-radius:10px;box-shadow:inset 0 1px 3px #14234908;background:#fffefd;font-weight:400}
.commerce-dialog .delivery-choices label>span{min-height:96px;border-radius:12px;background:linear-gradient(145deg,#fff,#f3f4f5)}
.commerce-dialog .delivery-choices input:checked+span{background:#edf1fb;box-shadow:inset 0 0 0 1px #081f8040}
.commerce-dialog .history-card{padding:18px;margin-bottom:14px;box-shadow:inset 0 1px 0 #fff,0 4px 14px #14234907}
.commerce-dialog .history-thumbnails{margin:14px 0;gap:8px}
.commerce-dialog .history-card-bottom strong{font-weight:800;color:var(--blue)}
.commerce-dialog .order-contact h3{margin-bottom:14px}
.commerce-dialog .order-contact dl>div{margin-top:10px;line-height:1.55}
.commerce-dialog .order-line{padding:16px 0;gap:12px}
.commerce-dialog .order-line-total{margin-top:9px}
.commerce-dialog .auth-subtitle{margin-bottom:18px;line-height:1.65}
@media(max-width:720px){
 .commerce-dialog .checkout-layout{gap:20px}
 .commerce-dialog .checkout-intro h2{margin:10px 0;font-size:26px;line-height:1.35}
 .commerce-dialog .checkout-intro p{font-size:12px;line-height:1.65}
 .commerce-dialog .checkout-steps{margin:17px 0 0}
}
@media(max-width:720px){
  .page-account .dialog-body{padding:14px 14px calc(var(--mobile-nav-height) + 24px)}
  .page-detail .detail-gallery{display:block;height:min(38dvh,300px);padding-bottom:18px}
  .page-detail .detail-photo{height:100%;width:100%;object-fit:contain}
  .page-detail .detail-image-count,.page-detail .detail-image-hint{bottom:24px}
  .page-inquiry .inquiry-hero{padding-left:0;padding-right:0}
  .page-inquiry .inquiry-hero{padding-left:16px;padding-right:16px}
}
