#common-home .ars-hero{position:relative;isolation:isolate;min-height:340px;border-radius:22px;overflow:hidden;background-color:#34495b;background-image:linear-gradient(90deg,#263747 3%,rgba(42,59,74,.94) 37%,rgba(56,73,85,.28) 100%),url('/image/catalog/ars-home/boiler.webp');background-size:cover;background-position:center right;display:grid;align-content:center;justify-items:start;gap:14px}
#common-home .ars-hero h1{line-height:.97;letter-spacing:-.045em;margin:0;color:#fff}
#common-home .ars-hero p{color:#e8edf1;font-size:clamp(15px,1.5vw,19px);margin:0;max-width:355px}
#common-home .ars-hero .ars-button{background:#fff;color:#344f66;box-shadow:0 8px 24px #1d2d3b33}
#common-home .ars-hero .ars-button:hover{background:#ecf0f2}
#common-home .ars-card{border:1px solid #d5dfe6;border-radius:15px;transition:border-color .18s,background .18s}
#common-home .ars-card:hover{border-color:#8299ae;background:#e6edf1}
#common-home .ars-jumps{display:flex;flex-wrap:wrap;gap:9px;margin:14px 0 22px}
#common-home .ars-jumps a,#product-category .ars-subcategories a{border:1px solid #cfdcf0;background:#edf1f3;color:#314c62;border-radius:8px;padding:9px 13px;font-weight:650}
#common-home .ars-jumps a:hover,#product-category .ars-subcategories a:hover{background:#e3eaef;text-decoration:none}
#product-category,#product-product{--ars-ink:#172b48;--ars-blue:#39566d;--ars-line:#d7e0e6;color:var(--ars-ink)}
#product-category .breadcrumb,#product-product .breadcrumb{border:0;background:#f4f7fc;border-radius:8px;margin:0 0 16px;padding:10px 13px}
#product-category .breadcrumb a,#product-product .breadcrumb a{color:#375577}
#product-category .ars-category-head{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#f3f7ff;border:1px solid #e0e9fb;border-radius:17px;padding:22px 24px;margin-bottom:16px}
#product-category .ars-category-head h1,#product-product .ars-product-title{font-weight:750;color:#172b48;font-size:clamp(24px,3.1vw,37px);line-height:1.17;letter-spacing:-.025em;margin:0 0 12px}
#product-category .ars-category-head h1:last-child{margin-bottom:0}
#product-category .ars-category-head img{height:90px;width:120px;object-fit:contain;border-radius:8px}
#product-category .ars-subcategories{display:flex;flex-wrap:wrap;list-style:none;padding:0;gap:8px;margin:0 0 18px}
#product-category .ars-subcategories a{display:block}
#product-category .ars-subcategories li{min-width:0}
#product-category .ars-facet{border-radius:12px;background:#f4f6f7}
#product-category .product-thumb,#product-product .product-thumb{border:1px solid var(--ars-line);border-radius:12px;overflow:hidden}
#product-category .product-thumb .image img{max-height:190px;object-fit:contain;margin:auto}
#product-category .product-grid .product-thumb .image { overflow: hidden; }
#product-category .product-grid .product-thumb .image a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 184px;
  padding: 10px;
}
#product-category .product-grid .product-thumb .image img {
  flex: none;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
#product-category .product-thumb .caption h4 a,#product-product .product-thumb .caption h4 a{color:#15386c;font-weight:700;line-height:1.32}
#product-category .product-thumb .price{font-size:17px;font-weight:750;color:#172b48}
#product-category .product-thumb .button-group button:first-child{color:#fff;background:#35516b}
#product-category .product-thumb .button-group button:first-child:hover{background:#293f53}
#product-category .ars-category-content{display:flow-root;margin:25px 0 16px;padding:16px 18px;border:1px solid var(--ars-line);border-radius:12px;overflow-wrap:anywhere}
#product-category .ars-category-content summary{cursor:pointer;color:#3c5a71;font-size:16px}
#product-category .ars-category-content article{max-width:78ch;font-size:15px;line-height:1.62}
#product-product .ars-product-title{margin:0 0 15px}
#product-product .ars-product-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;margin:0 0 17px}
#product-product .ars-product-main>*{width:auto;float:none;min-width:0;padding:0}
#product-product .ars-photos,#product-product .ars-purchase{border:1px solid var(--ars-line);border-radius:14px;padding:16px;background:#fff}
#product-product .ars-purchase{background:#f5f7f8;align-self:start}
#product-product .thumbnails{display:grid;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:7px;list-style:none;margin:0;padding:0}
#product-product .thumbnails>li{float:none;margin:0;min-width:0}
#product-product .thumbnails>li:not(.image-additional){grid-column:1/-1}
#product-product .thumbnails .thumbnail{margin:0;display:block;max-width:none;border-radius:8px;border-color:#e3eaf4}
#product-product .thumbnails .thumbnail img{width:100%;object-fit:contain}
#product-product .thumbnails>li:not(.image-additional) img{height:clamp(180px,30vw,420px);width:100%;object-fit:contain}
#product-product .thumbnails .image-additional{max-width:none}
#product-product .thumbnails .image-additional img{height:60px}
#product-product .ars-purchase>.btn-group{float:right;margin:0 0 8px 8px}
#product-product .ars-purchase>ul{margin:0 0 12px}
#product-product .ars-product-price h2{font-size:clamp(23px,3vw,34px);font-weight:760;margin:4px 0 6px;color:#152e55}
#product-product .ars-product-summary li{margin-bottom:5px}
#product-product .ars-specs{margin:0 0 13px;padding:0;display:grid;gap:5px;font-size:13px}
#product-product .ars-specs div{display:flex;gap:8px;justify-content:space-between;border-bottom:1px solid #e3eaf5;padding:4px 0}
#product-product .ars-specs dt,#product-product .ars-specs dd{margin:0}
#product-product #button-cart{border:0;background:#35516b;border-radius:7px;min-height:44px}
#product-product #button-cart:hover{background:#293f53}
#product-product .ars-product-details{border:1px solid var(--ars-line);border-radius:14px;padding:14px 16px;margin:0 0 20px;overflow-wrap:anywhere}
#product-product .ars-product-details .nav-tabs{display:flex;flex-wrap:wrap;gap:3px}
#product-product .ars-product-details .table{margin-bottom:0}
#product-product .ars-product-details #tab-description{max-width:84ch;line-height:1.62}
@media(max-width:767px){#common-home .ars-hero{min-height:236px;border-radius:14px;padding:22px;background-position:66% center}#common-home .ars-jumps a,#product-category .ars-subcategories a{padding:7px 9px}#product-category .ars-category-head{padding:13px;gap:8px}#product-category .ars-category-head img{height:64px;width:64px}#product-category .product-grid .product-thumb .image a{height:142px}#product-product .ars-product-main{grid-template-columns:1fr;gap:9px}#product-product .ars-photos,#product-product .ars-purchase,#product-product .ars-product-details{padding:11px}#product-product .thumbnails>li:not(.image-additional) img{height:clamp(160px,48vw,300px)}}

/* Shared storefront theme */
.ars-store {
  --ars-blue: #35516b;
  --ars-ink: #101526;
  --ars-line: #d5dfe6;
  --ars-panel: #eaf0f3;
  color: var(--ars-ink);
  font-family: system-ui, -apple-system, sans-serif;
}
.ars-store > .container, .ars-store #top > .container,
.ars-masthead > .container, .ars-store footer > .container {
  width: 100%;
  max-width: 1560px;
  padding-inline: clamp(12px, 2vw, 28px);
}
.ars-store a:focus-visible, .ars-store button:focus-visible,
.ars-store input:focus-visible, .ars-store select:focus-visible {
  outline: 2px solid var(--ars-blue);
  outline-offset: 2px;
}
.ars-store #top { background: #fff; border-bottom: 1px solid var(--ars-line); margin: 0; padding: 4px 0; }
.ars-top-inner, .ars-top-contact, .ars-top-controls { display: flex; align-items: center; gap: 12px; }
.ars-top-inner { min-height: 36px; justify-content: space-between; flex-wrap: wrap; }
.ars-top-contact, .ars-top-controls { flex-wrap: wrap; gap: 8px 14px; }
.ars-top-contact { font-size: 13px; }
.ars-top-contact a, .ars-top-contact .ars-itermic { color: var(--ars-blue); }
.ars-top-controls #top-links, .ars-top-controls #top-links ul { margin: 0; padding: 0; }
.ars-top-controls #top-links > ul { display: flex; align-items: center; }
.ars-masthead { background: #fff; }
.ars-masthead-inner { display: grid; grid-template-columns: auto minmax(160px, 1fr) auto; align-items: center; gap: 18px 26px; padding-block: 14px; }
.ars-masthead #logo { display: flex; align-items: center; margin: 0; }
.ars-brand img { width: clamp(140px, 17vw, 234px); height: clamp(45px, 5.1vw, 76px); object-fit: contain; object-position: left center; }
.ars-masthead #search, .ars-masthead #cart { margin: 0; }
.ars-masthead #search input { height: 44px; padding: 0 14px; box-shadow: none; font-size: 16px; border-color: #a7afbc; border-radius: 7px 0 0 7px; }
.ars-masthead #search .btn { height: 44px; padding: 0 19px; color: #fff; background: var(--ars-blue); border-color: var(--ars-blue); border-radius: 0 7px 7px 0; font-weight: 650; text-shadow: none; }
.ars-masthead-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.ars-masthead .ars-account-link { color: var(--ars-ink); display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; }
.ars-masthead #cart > .btn { min-height: 44px; color: var(--ars-blue); background: var(--ars-panel); border: 1px solid var(--ars-line); box-shadow: none; text-shadow: none; }
.ars-masthead #cart .dropdown-menu { max-width: calc(100vw - 24px); min-width: min(320px, calc(100vw - 24px)); }
.ars-store #menu { background: var(--ars-blue); border: 0; border-radius: 8px; }
.ars-store #menu .nav > li > a { font-weight: 650; padding-inline: 11px; }
.ars-store #menu .nav > li > a:hover, .ars-store #menu .nav > li.open > a { background: #293f53; }
.ars-store #menu .dropdown-inner a { color: var(--ars-ink); }
.ars-store .breadcrumb { background: var(--ars-panel); border: 1px solid var(--ars-line); border-radius: 8px; line-height: 1.5; }
#product-category, #product-product { --ars-blue: #35516b; --ars-ink: #101526; --ars-line: #d5dfe6; }
#product-category .ars-category-head { background: var(--ars-panel); border-radius: 15px; }
#product-category .ars-category-head h1, #product-product .ars-product-title { color: var(--ars-ink); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; overflow-wrap: anywhere; }
#product-category .ars-subcategories a, #product-category .ars-facet { border-color: var(--ars-line); }
#product-category .product-thumb, #product-product .product-thumb { border-radius: 15px; }
#product-category .product-thumb:hover, #product-product .product-thumb:hover { border-color: #8299ae; }
#product-category .product-thumb .button-group button:first-child, #product-product #button-cart { background: var(--ars-blue); }
#product-category .product-thumb .button-group button:first-child:hover, #product-product #button-cart:hover, .ars-masthead #search .btn:hover { background: #293f53; }
#product-product .ars-product-main { gap: clamp(12px, 2vw, 24px); }
#product-product .ars-purchase { background: var(--ars-panel); }
#product-product .ars-product-details img, #product-category .ars-category-content img { max-width: 100%; height: auto; }
.ars-store footer { background: var(--ars-panel); color: var(--ars-ink); border-top: 1px solid var(--ars-line); }
.ars-store footer a { color: #234878; }
.ars-store footer h5 { color: var(--ars-ink); }
@media (max-width: 900px) {
  .ars-masthead-inner { grid-template-columns: minmax(0,1fr) auto; row-gap: 8px; }
  .ars-masthead-search { grid-row: 2; grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .ars-store #menu .dropdown-inner a { color: #fff; }
  #product-product .ars-product-main { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 540px) {
  .ars-top-inner { justify-content: space-between; gap: 0 8px; }
  .ars-top-contact { gap: 0 10px; }
  .ars-top-contact a { display: none; }
  .ars-top-contact .ars-itermic { display: inline; }
  .ars-top-controls { gap: 0 6px; }
  .ars-masthead-inner { column-gap: 6px; }
  .ars-brand img { width: clamp(94px, 29vw, 143px); height: 44px; }
  .ars-masthead-actions { gap: 6px; font-size: 12px; }
  .ars-masthead #cart > .btn { padding-inline: 7px; font-size: 11px; }
  .ars-masthead #search .btn { padding-inline: 13px; }
  #product-category .ars-category-head { gap: 8px; padding: 14px; }
  #product-category .ars-category-head img { width: 58px; height: 58px; }
  #product-product .ars-product-details { padding: 10px; }
  #product-category .pagination { display: flex; flex-wrap: wrap; }
}

/* Let long catalog paths wrap and match the Bootstrap gutter. */
.ars-store > .container, .ars-store footer > .container { padding-inline: clamp(15px, 2vw, 28px); }
.ars-store #common-home:has(.ars-home) { padding-inline: 16px; }
.ars-store .breadcrumb { display: flex; flex-wrap: wrap; gap: 4px 9px; padding: 9px 12px; }
.ars-store .breadcrumb > li { min-width: 0; max-width: 100%; padding: 0; text-shadow: none; white-space: normal; }
.ars-store .breadcrumb > li > a { overflow-wrap: anywhere; }
.ars-store .breadcrumb > li::after { content: none; }
.ars-store .breadcrumb > li + li::before { content: '/'; display: inline; position: static; padding: 0 7px 0 0; color: #587092; }

/* Browse and choose a product */
#common-home .ars-spec { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto; gap: 16px; margin: 22px 0; padding: 18px; background: var(--ars-panel); border: 1px solid var(--ars-line); border-radius: 15px; }
#common-home .ars-spec .ars-button { text-align: center; }
#product-category .polka-sort { display: flex; flex-wrap: wrap; align-items: center; margin: 0 0 14px; padding: 10px 4px; background: #eaf0f3; border: 1px solid var(--ars-line); border-radius: 12px; }
#product-category .polka-sort > div { min-width: 0; padding: 3px 7px; }
#product-category .polka-sort .form-group { margin: 0; }
#product-category .polka-sort .input-group-addon { color: #233e67; font-weight: 600; background: #fff; }
#product-category .polka-sort select { min-width: 0; height: 35px; }
#product-category .product-thumb .caption h4 a { overflow-wrap: anywhere; }
#product-category .product-thumb .button-group { border-color: var(--ars-line); }
#product-product .ars-product-price { border-top: 1px solid var(--ars-line); padding-top: 10px; margin-bottom: 14px; }
#product-product .polka-buy { display: grid; grid-template-columns: minmax(76px,100px) minmax(0,1fr); gap: 5px 10px; align-items: stretch; }
#product-product .polka-buy label { grid-column: 1 / -1; }
#product-product .polka-buy #input-quantity { height: 44px; text-align: center; font-size: 16px; }
#product-product .polka-buy #button-cart { width: 100%; min-width: 0; line-height: 1.25; white-space: normal; }
#product-product .polka-spec-link { display: inline-block; padding: 7px 0; margin: 0 0 10px; color: var(--ars-blue); font-weight: 650; }
#product-product .ars-specs { border-top: 1px solid var(--ars-line); padding-top: 7px; }
#product-product .ars-specs dd { text-align: right; overflow-wrap: anywhere; }
@media (max-width: 767px) {
  #common-home .ars-spec { grid-template-columns: 1fr; gap: 8px; }
  #product-category .polka-sort > .col-xs-6 { width: 100%; }
}

/* Collapsible category filters and scrollable photo thumbnails. */
#product-category .polka-filter { margin: 0 0 16px; border: 1px solid var(--ars-line); border-radius: 12px; background: #eaf0f3; }
#product-category .polka-filter > summary { padding: 12px 14px; min-height: 44px; display: flex; align-items: center; gap: 8px; list-style: none; cursor: pointer; font-weight: 750; }
#product-category .polka-filter > summary::-webkit-details-marker { display: none; }
#product-category .polka-filter > summary::after { content: '＋'; color: var(--ars-blue); margin-left: auto; }
#product-category .polka-filter[open] > summary::after { content: '−'; }
#product-category .polka-filter-count { padding: 2px 8px; color: #314b60; background: #e2e9ee; border-radius: 20px; font-size: 12px; white-space: nowrap; }
#product-category .polka-filter .ars-facet { margin: 0; border-width: 1px 0 0; border-radius: 0 0 12px 12px; }
#product-product .thumbnails .polka-photo-strip { grid-column: 1 / -1; }
#product-product .polka-photo-strip > ul { display: grid; grid-auto-flow: column; grid-auto-columns: 68px; gap: 8px; list-style: none; margin: 0; padding: 3px 2px 8px; overflow-x: auto; scroll-snap-type: x proximity; }
#product-product .thumbnails .polka-photo-strip .image-additional { float: none; margin: 0; min-width: 0; scroll-snap-align: start; }
#product-product .thumbnails .polka-photo-strip img { height: 58px; }
#product-product .thumbnails a:focus-visible, #product-category .polka-filter > summary:focus-visible { outline: 2px solid var(--ars-blue); outline-offset: 2px; }

#product-product .thumbnails > li.polka-photo-strip img { height: 58px; }

.mfp-wrap .mfp-img { touch-action: pan-y pinch-zoom; }

/* Santehpolka storefront visual system */
.ars-store {
  --shop-canvas: #f1f2f2;
  --shop-white: #fff;
  --shop-ink: #14243c;
  --shop-muted: #465c77;
  --shop-border: #d5dde3;
  --shop-soft: #e7edf1;
  --shop-radius: 16px;
  --shop-shadow: 0 1px 2px rgba(31, 45, 58, .055), 0 8px 21px rgba(31, 45, 58, .09);
  background: var(--shop-canvas);
  color: var(--shop-ink);
}
.ars-store #top { border-color: var(--shop-border); }
.ars-store .ars-masthead { border-bottom: 1px solid var(--shop-border); margin-bottom: 16px; }
.ars-store .ars-masthead #search input { background: #f5f7f8; border-color: #cbd7e8; border-radius: 10px 0 0 10px; }
.ars-store .ars-masthead #search .btn { border-radius: 0 10px 10px 0; }
.ars-store .ars-masthead #cart > .btn { border-radius: 10px; background: var(--shop-soft); }
.ars-store #menu { border-radius: 12px; box-shadow: var(--shop-shadow); }
.ars-store .breadcrumb { border-color: var(--shop-border); background: var(--shop-white); margin-bottom: 16px; }
.ars-store .breadcrumb a { color: var(--shop-muted); }
#common-home .ars-layout { gap: 20px; }
#common-home .ars-side { background: var(--shop-white); border: 1px solid var(--shop-border); border-radius: var(--shop-radius); box-shadow: var(--shop-shadow); }
#common-home .ars-side h2 { font-size: 19px; padding: 15px 18px; }
#common-home .ars-links a { min-height: 44px; border-color: #edf1f7; }
#common-home .ars-hero { box-shadow: 0 10px 28px rgba(29, 43, 55, .17); }
#common-home .ars-title { font-size: clamp(24px, 3vw, 36px); }
#common-home .ars-card { background-color: var(--shop-white); border-color: var(--shop-border); box-shadow: var(--shop-shadow); }
#common-home .ars-card:hover { background-color: var(--shop-soft); box-shadow: var(--shop-shadow); }
#common-home .ars-card span { color: var(--shop-ink); }
#common-home .ars-spec { background: var(--shop-soft); border-color: var(--shop-border); }
#product-category .ars-category-head, #product-category .polka-filter, #product-category .polka-sort,
#product-category .ars-category-content, #product-product .ars-photos, #product-product .ars-purchase,
#product-product .ars-product-details, #product-product .product-thumb {
  border: 1px solid var(--shop-border);
  border-radius: var(--shop-radius);
  background: var(--shop-white);
  box-shadow: var(--shop-shadow);
}
#product-category .ars-category-head { background: linear-gradient(108deg, #fff 32%, #e7edf1); padding: clamp(16px, 2.5vw, 28px); }
#product-category .ars-category-head h1, #product-product .ars-product-title { color: var(--shop-ink); letter-spacing: -.035em; }
#product-category .polka-filter > summary { color: #17396d; }
#product-category .polka-filter .ars-facet { background: #f5f7f8; border-top-color: var(--shop-border); }
#product-category .product-thumb { background: var(--shop-white); border-color: var(--shop-border); box-shadow: var(--shop-shadow); }
#product-category .product-thumb .image { background-color: #f7f8f8; }
#product-category .product-thumb .caption { padding-inline: 15px; }
#product-category .product-thumb .caption h4 { line-height: 1.35; }
#product-category .product-thumb .caption h4 a, #product-category .product-thumb .price { color: var(--shop-ink); }
#product-category .product-thumb .caption h4 a:hover { color: var(--ars-blue); }
#product-category .product-thumb .caption p:not(.price), #product-category .product-thumb .price-tax { color: var(--shop-muted); }
#product-category .product-thumb .price { font-size: 19px; }
#product-category .product-thumb .button-group { background: #f4f6f7; display: flex; }
#product-category .product-thumb .button-group button { min-height: 44px; width: auto; flex: 0 0 44px; color: #314f75; background: #f4f6f7; }
#product-category .product-thumb .button-group button:hover { background: var(--shop-soft); }
#product-category .product-thumb .button-group button:first-child { flex: 1; min-width: 0; color: #fff; background: var(--ars-blue); }
#product-category .product-thumb .button-group button:first-child span { display: inline !important; }
#product-product .ars-product-main { gap: clamp(14px, 2vw, 26px); }
#product-product .ars-photos, #product-product .ars-purchase { padding: clamp(14px, 2vw, 23px); }
#product-product .ars-purchase { border-color: #c9d5de; }
#product-product .ars-purchase .ars-product-price h2 { color: #314c62; font-weight: 800; letter-spacing: -.03em; }
#product-product .polka-spec-link { text-decoration: underline; text-underline-offset: 3px; }
#product-product .ars-product-details .nav-tabs > li > a { padding: 10px 13px; border: 0; border-radius: 8px 8px 0 0; color: #244b84; }
#product-product .ars-product-details .nav-tabs > li.active > a { background: var(--shop-soft); color: #304c63; font-weight: 700; }
.ars-store footer { background: #e6ebee; border-color: var(--shop-border); }
@media (max-width: 767px) {
  .ars-store .ars-masthead { margin-bottom: 10px; }
  .ars-store .ars-masthead .ars-brand {
    grid-area: 1 / 1 / 2 / -1;
    justify-self: start;
    background: transparent;
  }
  .ars-store .ars-masthead .ars-masthead-actions {
    grid-area: 3 / 1 / 4 / -1;
    justify-self: start;
  }
  /* Neutralize the cream backdrop built into the mobile logo artwork. */
  .ars-store .ars-masthead .ars-brand img {
    display: block;
    filter: brightness(1.06);
    mix-blend-mode: multiply;
  }
  #common-home .ars-side { margin-bottom: 12px; }
  #product-category .ars-category-head { padding: 14px; }
  #product-category .product-thumb .button-group button:first-child { font-size: 13px; }
  #product-product .ars-product-details .nav-tabs > li > a { padding: 9px; }
}

/* Matte surfaces and layered depth */
.ars-store {
  --shop-lip: inset 0 1px 0 rgba(255, 255, 255, .9);
  --shop-shadow-raised: 0 2px 4px rgba(31, 45, 58, .06), 0 12px 28px rgba(31, 45, 58, .12);
}
.ars-store .ars-masthead { box-shadow: 0 3px 12px rgba(31, 45, 58, .07); }
.ars-store .btn-primary, .ars-store #menu .btn-navbar {
  background: #35516b;
  border-color: #35516b;
  color: #fff;
  text-shadow: none;
  box-shadow: 0 2px 4px rgba(31, 45, 58, .16);
}
.ars-store .btn-primary:hover, .ars-store #menu .btn-navbar:hover { background: #293f53; border-color: #293f53; }
.ars-store .ars-masthead #search input { box-shadow: inset 0 1px 3px rgba(31, 45, 58, .055); }
#common-home .ars-side, #common-home .ars-card,
#product-category .ars-category-head, #product-category .polka-filter, #product-category .product-thumb,
#product-product .ars-photos, #product-product .ars-product-details {
  box-shadow: var(--shop-lip), var(--shop-shadow);
}
#common-home .ars-card:hover, #product-category .product-thumb:hover {
  border-color: #a8b9c6;
  box-shadow: var(--shop-lip), var(--shop-shadow-raised);
}
#product-product .ars-purchase { box-shadow: var(--shop-lip), var(--shop-shadow-raised); }
.ars-store .breadcrumb { box-shadow: var(--shop-lip); }

/* Convector dimensions and mobile product readability */
#product-category .polka-filter-heading { margin: 0; padding: 12px 14px; min-height: 44px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 16px; font-weight: 750; color: #314b60; }
#product-category .polka-size-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr)); }
#product-category .polka-size-grid legend { line-height: 1.25; overflow-wrap: anywhere; }
#product-category .polka-size-filter .ars-facet details > summary { padding-block: 11px; color: var(--ars-blue); font-weight: 650; }
@media (max-width: 767px) {
  #product-product .ars-purchase > .btn-group { float: none; display: flex; justify-content: flex-end; margin: 0 0 12px; }
  #product-product .ars-purchase > .btn-group .btn { min-width: 44px; min-height: 44px; }
  #product-product .ars-product-title, #product-product .ars-product-summary, #product-product .ars-product-price, #product-product .ars-specs, #product-product .ars-product-details { overflow-wrap: anywhere; }
  #product-product .ars-specs div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #product-product .ars-specs dt { font-weight: 650; }
  #product-product .ars-product-details .tab-pane { overflow-x: auto; }
  #product-product .ars-product-details .tab-pane th, #product-product .ars-product-details .tab-pane td { white-space: normal; overflow-wrap: anywhere; }
  #product-category .product-list .product-thumb .caption { margin-left: 0; }
  #product-category .product-thumb .caption, #product-category .product-thumb .button-group { clear: both; }
  #product-category .product-thumb .caption { height: auto; overflow-wrap: anywhere; }
  #product-category .product-thumb .button-group button:first-child { white-space: normal; line-height: 1.25; padding: 6px; }
  #product-category .polka-size-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  #product-category .polka-size-grid label { gap: 4px; }
}
@media (max-width: 350px) {
  #product-category .polka-size-grid { grid-template-columns: repeat(auto-fit, minmax(82px, 1fr)); }
}

/* Catalog navigation and category tiles */
.polka-catalog-wrap.container { margin-bottom: 16px; }
.polka-catalog details { overflow: hidden; border-radius: 15px; background: #fff; box-shadow: var(--shop-shadow); }
.polka-catalog summary { min-height: 48px; display: flex; align-items: center; gap: 12px; padding: 10px 17px; color: #fff; background: #314e65; font-size: 16px; font-weight: 750; cursor: pointer; list-style: none; }
.polka-catalog summary::-webkit-details-marker { display: none; }
.polka-catalog summary .polka-category-icon { width: 21px; height: 21px; }
.polka-catalog-chevron { margin-left: auto; width: 9px; height: 9px; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg); }
.polka-catalog details[open] .polka-catalog-chevron { transform: rotate(225deg); }
.polka-nav-links { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 12px; margin: 0; }
.polka-nav-links li { min-width: 0; }
.polka-nav-links a { display: flex; min-height: 56px; height: 100%; align-items: center; gap: 9px; padding: 7px 9px; border: 1px solid #e1e8ee; border-radius: 10px; background: #f7f9fb; color: #213d55; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; text-decoration: none; }
.polka-nav-icon { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border-radius: 9px; background: #e5eef4; color: #294d68; }
.polka-nav-arrow { margin-left: auto; color: #4e6f87; font-size: 19px; }
.polka-nav-links a:hover, .polka-nav-links a:focus-visible { background: #eaf1f6; border-color: #9eb3c3; }
#common-home .ars-home .ars-layout { grid-template-columns: minmax(0, 1fr); }
#product-category .ars-subcategories { display: grid; grid-template-columns: repeat(auto-fill, minmax(164px, 1fr)); gap: 12px; }
#product-category .ars-subcategories a.polka-subcard { display: flex; flex-direction: column; height: 100%; padding: 0; background: #fff; border: 1px solid #d8e3ea; border-radius: 14px; box-shadow: 0 4px 12px rgba(37, 58, 74, .08); overflow: hidden; text-decoration: none; }
#product-category .ars-subcategories a.polka-subcard:hover, #product-category .ars-subcategories a.polka-subcard:focus-visible { border-color: #8ca7bb; box-shadow: 0 5px 16px rgba(37, 58, 74, .15); }
.polka-subcard-media { display: grid; place-items: center; aspect-ratio: 384 / 212; background: #f1f5f8; border-bottom: 1px solid #edf2f5; color: #345671; }
.polka-subcard-media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.polka-subcard-media svg { width: 42px; height: 42px; }
.polka-subcard-copy { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 10px 12px; flex: 1; }
.polka-subcard-name { font-weight: 750; line-height: 1.3; overflow-wrap: anywhere; }
.polka-subcard-count { flex: none; background: #eff4f7; color: #34536b; padding: 3px 6px; border-radius: 6px; font-size: 11px; }
@media (max-width: 767px) {
  .polka-nav-links { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 8px; gap: 6px; }
  .polka-nav-links a { padding: 5px; gap: 6px; font-size: 13px; }
  .polka-nav-icon { flex-basis: 29px; height: 29px; }
  .polka-nav-icon svg { width: 20px; height: 20px; }
  .polka-nav-arrow { display: none; }
  #product-category .ars-subcategories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .polka-subcard-copy { gap: 4px; padding: 8px; }
  .polka-subcard-count { padding-inline: 4px; }
}

.polka-catalog-all { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; margin: 0 0 8px 13px; color: #294e6b; font-weight: 700; }

@media (max-width: 767px) {
  .polka-nav-links a { font-size: 12px; }
  .polka-nav-icon { flex-basis: 26px; height: 29px; }
  .polka-subcard { position: relative; }
  .polka-subcard-count { position: absolute; top: 6px; right: 6px; }
  .polka-subcard-copy { display: block; }
}
@media (max-width: 359px) {
  .polka-nav-links a { flex-direction: column; justify-content: center; text-align: center; min-height: 60px; }
  .polka-nav-icon { flex: 0 0 24px; width: 26px; height: 24px; }
}

/* Store palette shared by search, forms and account pages. */
.ars-store { --polka-action:#314e65; --polka-action-hover:#263e51; --polka-link:#315975; --polka-stroke:#cedce6; --polka-surface:#f3f7fa; }
.ars-store a { color:var(--polka-link); }
.ars-store a:hover, .ars-store a:focus-visible { color:#203e55; }
.ars-store .polka-catalog summary, .ars-store .ars-button, .ars-store .ars-button:hover { color:#fff; }
.ars-store .form-control, .ars-store .input-group-addon { border-color:var(--polka-stroke); color:#243e54; box-shadow:none; }
.ars-store .input-group-addon, .ars-store .well, .ars-store .panel-default > .panel-heading { background:#edf3f7; }
.ars-store .panel, .ars-store .well, .ars-store .table-bordered, .ars-store .table-bordered td, .ars-store .table-bordered th { border-color:var(--polka-stroke); }
.ars-store .form-control:focus { border-color:#6688a2; box-shadow:0 0 0 2px #d5e3ee; }
.ars-store :is(input,select,textarea) { accent-color:var(--polka-action); }
.ars-store :is(.btn,.panel,.well,.alert,.list-group-item,.pagination>li>a,.pagination>li>span) { background-image:none; text-shadow:none; }
.ars-store :is(.btn-default,.btn-info,.btn-warning,.btn-success) { color:var(--polka-action); background:#e9f0f5; border-color:var(--polka-stroke); }
.ars-store :is(.btn-default,.btn-info,.btn-warning,.btn-success):is(:hover,:focus-visible,.active) { color:#203b52; background:#dce9f2; border-color:#a5bccd; }
.ars-store :is(.btn-primary,.pagination>.active>a,.pagination>.active>span,.list-group-item.active) { color:#fff; background:var(--polka-action); border-color:var(--polka-action); }
.ars-store :is(.btn-primary,.list-group-item.active):is(:hover,:focus-visible) { color:#fff; background:var(--polka-action-hover); border-color:var(--polka-action-hover); }
.ars-store .btn-danger { color:#fff; background:#87524c; border-color:#87524c; }
.ars-store .btn-danger:hover { color:#fff; background:#703f39; }
.ars-store .alert-success { background:#eaf2ed; color:#305440; border-color:#c7ddcf; }
.ars-store .alert-danger, .ars-store .alert-warning { background:#f7eeeb; color:#763d35; border-color:#e7d3d0; }
.ars-store .alert-info { background:#eaf1f7; color:#294b65; border-color:#ccdce8; }
.ars-store .text-danger { color:#844a43; }
.ars-store .dropdown-menu > li > a:hover, .ars-store .dropdown-menu > li > a:focus, .ars-store a.list-group-item:hover { background:#e8eff5; color:#27475d; }
.ars-store .pagination>li:not(.active)>a, .ars-store .pagination>li:not(.active)>span { color:var(--polka-link); border-color:var(--polka-stroke); }
.ars-store :is(a,button,summary,input,select,textarea):focus-visible { outline:2px solid #6688a2; outline-offset:2px; }
.polka-search { position:relative; }
.polka-search-results { position:absolute; top:calc(100% + 6px); inset-inline:0; z-index:1200; border:1px solid #ccdbe6; border-radius:13px; background:#fff; box-shadow:0 14px 36px #23394c30; overflow:hidden; }
.polka-search-results[hidden] { display:none; }
.polka-search-results [role=listbox] { max-height:min(47vh,420px); overflow:auto; overscroll-behavior:contain; }
.ars-store .polka-search-option { display:grid; grid-template-columns:48px minmax(0,1fr) auto; align-items:center; gap:9px; min-height:58px; padding:6px 10px; border-bottom:1px solid #e6edf2; text-decoration:none; color:#213a50; }
.ars-store .polka-search-option:hover, .ars-store .polka-search-option[aria-selected=true] { background:#ecf3f8; color:#172f44; }
.polka-search-photo { display:grid; place-items:center; height:46px; background:#fff; border:1px solid #e5edf2; border-radius:7px; overflow:hidden; }
.polka-search-photo img { object-fit:contain; max-width:100%; }
.polka-search-option strong { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; overflow-wrap:anywhere; line-height:1.3; font-size:13px; }
.polka-search-option small { display:block; color:#50697e; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.polka-search-option small:empty, .polka-search-message:empty, .polka-search-price:empty { display:none; }
.polka-search-price { font-weight:750; white-space:nowrap; }
.polka-search-message,.polka-search-all { padding:10px 13px; }
.ars-store .polka-search-all { display:block; background:#eff5f9; font-weight:700; }
.ars-store .polka-search-all:hover { background:#e5eff6; }
#product-search .product-thumb { display:flex; flex-direction:column; border:1px solid #d8e3eb; border-radius:14px; background:#fff; box-shadow:0 4px 12px #23394c12; overflow:hidden; }
#product-search .product-thumb .image a { display:flex; height:172px; padding:10px; align-items:center; justify-content:center; }
#product-search .product-thumb .image img { width:auto; height:auto; max-width:100%; max-height:100%; object-fit:contain; }
#product-search .product-thumb h4 a { overflow-wrap:anywhere; }
#product-search .product-thumb .caption { flex:1; overflow-wrap:anywhere; }
#product-search .product-thumb .button-group button { color:#314e65; background:#edf3f7; }
#product-search .product-thumb .button-group button:first-child { color:#fff; background:#314e65; }
@media (max-width:767px) {
  .ars-store .polka-search-option { grid-template-columns:41px minmax(0,1fr) auto; padding-inline:7px; gap:6px; }
  .polka-search-photo { height:40px; }
  .polka-search-price { font-size:11px; }
  #product-search .product-thumb .caption { margin-left:0; height:auto; min-height:0; padding:8px 12px 12px; }
  #product-search .product-thumb .button-group button:first-child { white-space:normal; }
}
