/* Light product atlas. Shared controls and alternate themes live in site.css. */
html[data-theme="discover"] {
  --bg:#f4f7fc;
  --surface:#fff;
  --surface-2:#edf3fc;
  --text:#152946;
  --muted:#506380;
  --line:#d9e3f0;
  --header:#fff;
  --radius:5px;
  --max:1360px;
  --shadow:0 10px 36px #192e4d22;
}
.theme-discover .site-header { border-top:3px solid var(--accent); }
.theme-discover .header-inner { max-width:1408px; min-height:64px; padding-block:9px; gap:20px; }
.theme-discover .header-search { border-color:var(--line); background:var(--surface-2); box-shadow:none; max-width:480px; }
.theme-discover .header-search>button { color:var(--text); border-left:1px solid var(--line); background:var(--surface); padding-inline:12px; }
.theme-discover .header-search>button:hover { background:var(--accent-soft); color:var(--accent); }
.theme-discover .desktop-nav a { min-height:40px; padding-block:7px 9px; }
.theme-discover .site-footer { background:#eaf1fb; }
.theme-discover .page-intro { padding-top:26px; padding-bottom:20px; }

.dimu-atlas { padding-block:18px 10px; }
.dimu-top {
  display:grid;
  grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);
  gap:12px;
}
.dimu-brief,.dimu-guides {
  min-width:0;
  border:1px solid var(--line);
  border-radius:var(--radius);
}
.dimu-brief { display:grid; background:var(--surface-2); }
.dimu-brief.has-spotlight { grid-template-columns:minmax(0,1fr) minmax(128px,29%); }
.dimu-brief-copy { min-width:0; padding:16px 18px; }
.dimu-kicker {
  color:var(--accent);
  font-size:12px;
  font-weight:700;
  letter-spacing:.09em;
  line-height:1.4;
  text-transform:uppercase;
}
.dimu-brief h1 {
  margin:5px 0 6px;
  font-size:clamp(26px,2.8vw,39px);
  line-height:1.12;
  letter-spacing:-.035em;
  overflow-wrap:anywhere;
}
.dimu-intro { max-width:53ch; color:var(--muted); font-size:15px; line-height:1.45; }
.dimu-brief .text-link { margin-top:8px; min-height:32px; }
.dimu-feature {
  position:relative;
  display:grid;
  grid-template-rows:minmax(0,1fr) auto;
  align-content:start;
  min-width:0;
  min-height:0;
  background:var(--surface);
  border-inline-start:1px solid var(--line);
  border-radius:0 var(--radius) var(--radius) 0;
  overflow:hidden;
}
.dimu-feature img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 34%;
}
.dimu-feature span {
  position:relative;
  grid-row:2;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:6px;
  padding:6px 8px;
  background:#ffffffed;
  font-size:12px;
  font-weight:650;
  line-height:1.25;
  overflow-wrap:anywhere;
}
.dimu-feature .icon { flex:none; width:14px; height:14px; color:var(--accent); }
.dimu-feature:hover span { color:var(--accent); }

.dimu-guides { background:var(--surface); padding:10px 14px 4px; }
.dimu-guide-heading { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.dimu-guide-heading h2 { font-size:17px; line-height:1.3; overflow-wrap:anywhere; }
.dimu-guide-heading .text-link { min-height:32px; font-size:13px; flex:none; }
.dimu-guides ol { list-style:none; margin:0; padding:0; }
.dimu-guides li { border-top:1px solid var(--line); }
.dimu-guides li a {
  display:grid;
  grid-template-columns:26px minmax(0,1fr) 14px;
  gap:7px;
  align-items:center;
  min-height:38px;
  padding-block:5px;
  font-size:14px;
  line-height:1.35;
}
.dimu-guides li a:hover { color:var(--accent); }
.dimu-guide-number { color:var(--accent); font-size:11px; font-variant-numeric:tabular-nums; font-weight:700; }
.dimu-guides li .icon { width:14px; height:14px; color:var(--muted); }
.dimu-guide-empty { margin:4px 0; color:var(--muted); font-size:14px; }

.dimu-actions {
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  gap:8px 12px;
  padding:7px 10px 7px 14px;
  margin-top:10px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--surface);
}
.dimu-action-copy { min-width:0; display:flex; align-items:baseline; flex-wrap:wrap; gap:2px 10px; }
.dimu-action-copy strong { color:var(--accent); font-size:14px; }
.dimu-action-copy span { color:var(--muted); font-size:14px; }
.dimu-action-buttons { display:flex; gap:7px; }
.dimu-action-buttons .button { padding:7px 11px; min-height:40px; font-size:14px; }
.dimu-action-buttons .button .icon { flex:none; width:15px; height:15px; }

.dimu-section { margin-top:18px; scroll-margin-top:10px; }
.dimu-section-heading { align-items:center; gap:8px; margin:0 0 8px; }
.dimu-section-heading h2 { min-width:0; display:block; font-size:23px; overflow-wrap:anywhere; }
.dimu-section-heading>.text-link { min-height:36px; text-align:right; }
.dimu-count {
  display:inline-block;
  color:var(--muted);
  background:var(--surface-2);
  border:1px solid var(--line);
  border-radius:3px;
  padding:1px 6px;
  font-size:12px;
  font-variant-numeric:tabular-nums;
  vertical-align:middle;
}
.dimu-filters {
  display:flex;
  flex-wrap:wrap;
  align-items:stretch;
  margin-bottom:9px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--surface);
  overflow:hidden;
}
.dimu-filters>a,.dimu-filter-caption {
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-width:0;
  padding:6px 12px;
  min-height:40px;
  font-size:14px;
  line-height:1.3;
  border-inline-end:1px solid var(--line);
  overflow-wrap:anywhere;
}
.dimu-filter-caption { background:var(--surface-2); color:var(--muted); }
.dimu-filters>a:hover,.dimu-filters>.dimu-filter-all { color:var(--accent); background:var(--accent-soft); }
.dimu-filters>a:focus-visible { outline-offset:-3px; }
.dimu-filters .icon { flex:none; width:14px; height:14px; }

.theme-discover .product-grid:not(.mixed-grid) { grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; }
.theme-discover .product-grid:not(.mixed-grid) .product-card {
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
}
.theme-discover .product-grid:not(.mixed-grid) .product-image {
  border:0;
  border-bottom:1px solid var(--line);
  border-radius:var(--radius) var(--radius) 0 0;
  aspect-ratio:1.18;
  background:var(--surface-2);
}
.theme-discover .product-image img { object-fit:contain; }
.theme-discover .product-card .product-badge { background:var(--accent); color:#fff; }
.theme-discover .product-grid:not(.mixed-grid) .product-card-body { padding:7px 9px 3px; }
.theme-discover .product-category { color:var(--accent); font-size:12px; font-weight:650; }
.theme-discover .product-card h3 { font-size:16px; line-height:1.3; margin-top:3px; overflow-wrap:anywhere; }
.theme-discover .product-card p { font-size:14px; line-height:1.45; margin-top:4px; }
.theme-discover .dimu-products .product-card p,.theme-discover .dimu-products .card-availability { display:none; }
.theme-discover .card-specs { display:flex; flex-wrap:wrap; align-items:center; gap:3px 4px; margin-top:5px; }
.theme-discover .card-specs span {
  padding:1px 5px;
  background:var(--surface-2);
  color:var(--muted);
  border-radius:3px;
  font-size:12px;
  overflow-wrap:anywhere;
}
.theme-discover .product-card-bottom { gap:0 8px; padding-top:3px; }
.theme-discover .product-card-bottom>span,.theme-discover .product-card-bottom a,.theme-discover .card-offer-link { font-size:13px; line-height:1.3; }
.theme-discover .card-offer-link { margin:0; min-height:34px; }
.theme-discover .related-section .product-grid:not(.mixed-grid) { grid-template-columns:repeat(4,minmax(0,1fr)); }

.dimu-section .article-grid,.theme-discover.view-list .article-grid:not(.mixed-grid) { grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px 10px; }
.dimu-section .article-card,.theme-discover.view-list .article-grid:not(.mixed-grid) .article-card {
  min-width:0;
  display:grid;
  grid-template-columns:76px minmax(0,1fr);
  align-items:start;
  gap:8px;
  padding:8px;
  border:1px solid var(--line);
  background:var(--surface);
  border-radius:var(--radius);
}
.dimu-section .article-image,.theme-discover.view-list .article-grid:not(.mixed-grid) .article-image { aspect-ratio:1; border-radius:3px; }
.dimu-section .article-image>span,.theme-discover.view-list .article-grid:not(.mixed-grid) .article-image>span { display:none; }
.dimu-section .article-card-body,.theme-discover.view-list .article-grid:not(.mixed-grid) .article-card-body { min-width:0; padding:0; }
.dimu-section .article-card h3,.theme-discover.view-list .article-grid:not(.mixed-grid) .article-card h3 { font-size:15px; line-height:1.35; margin-top:2px; }
.dimu-section .article-card p,.theme-discover.view-list .article-grid:not(.mixed-grid) .article-card p { font-size:14px; line-height:1.35; margin-top:4px; -webkit-line-clamp:2; }
.dimu-section .article-card .text-link,.theme-discover.view-list .article-grid:not(.mixed-grid) .article-card .text-link { font-size:13px; margin-top:4px; }
.dimu-section .article-meta,.theme-discover.view-list .article-grid:not(.mixed-grid) .article-meta { font-size:12px; line-height:1.3; gap:4px; }
.dimu-section .coupon-grid { gap:10px; }
.dimu-section .coupon-card { padding:14px; }

@media(min-width:700px) {
  .theme-discover .header-inner .search-toggle { display:none; }
}
@media(min-width:700px) and (max-width:1520px) {
  .theme-discover .floating-contact,.theme-discover .floating-offers {
    right:12px;
    width:44px;
    min-height:44px;
    padding:0;
    border-radius:50%;
  }
  .theme-discover .floating-contact>span,.theme-discover .floating-offers>span { display:none; }
}
@media(max-width:1239px) {
  .theme-discover .product-grid:not(.mixed-grid) { grid-template-columns:repeat(4,minmax(0,1fr)); }
}
@media(max-width:999px) {
  .theme-discover .product-grid:not(.mixed-grid) { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .dimu-section .article-grid,.theme-discover.view-list .article-grid:not(.mixed-grid) { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .dimu-top { grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); }
}
@media(max-width:699px) {
  .theme-discover .header-inner { gap:7px; min-height:58px; padding-block:7px; }
  .dimu-atlas { padding-top:10px; }
  .dimu-top { grid-template-columns:minmax(0,1fr); gap:8px; }
  .dimu-brief.has-spotlight { grid-template-columns:minmax(0,1fr) minmax(76px,30%); }
  .dimu-brief-copy { padding:10px; }
  .dimu-brief h1 { font-size:24px; }
  .dimu-intro { font-size:14px; }
  .dimu-brief .text-link { font-size:13px; margin-top:4px; }
  .dimu-feature { grid-template-rows:auto auto; background:var(--surface-2); }
  .dimu-feature img { position:static; height:auto; aspect-ratio:1; object-fit:contain; }
  .dimu-feature span { font-size:11px; padding:5px; }
  .dimu-feature .icon { width:11px; height:11px; }
  .dimu-guides { padding:3px 10px; }
  .dimu-guides li a { min-height:36px; }
  .dimu-actions { padding:7px; }
  .dimu-action-copy { display:none; }
  .dimu-action-buttons { width:100%; display:grid; grid-template-columns:repeat(auto-fit,minmax(112px,1fr)); }
  .dimu-action-buttons .button { padding:6px; min-height:44px; font-size:13px; }
  .dimu-section { margin-top:14px; }
  .dimu-section-heading h2 { font-size:20px; }
  .dimu-section-heading>.text-link { max-width:94px; justify-content:flex-end; white-space:normal; overflow-wrap:anywhere; }
  .dimu-filter-caption { display:none; }
  .dimu-filters>a { padding-inline:7px; min-height:39px; font-size:13px; }
  .theme-discover .product-grid:not(.mixed-grid),.theme-discover .related-section .product-grid:not(.mixed-grid) {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
  }
  .theme-discover .product-grid:not(.mixed-grid) .product-card-body { padding-inline:7px; }
  .theme-discover .product-card h3 { font-size:15px; }
  .theme-discover .product-card-bottom a,.theme-discover .card-offer-link { min-height:38px; }
  .theme-discover .product-grid:not(.mixed-grid) .product-card p { display:none; }
  .dimu-section .article-grid,.theme-discover.view-list .article-grid:not(.mixed-grid) { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:419px) {
  .dimu-guides li:nth-child(n+3) { display:none; }
}
@media(max-width:359px) {
  .theme-discover .brand-symbol-dimu-doll { width:24px; height:24px; }
  .theme-discover .brand-symbol-dimu-doll>.icon { width:19px; height:19px; }
}
