/* Aquarium families: a clear glass stage, size selection and exact specifications. */
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.glass-media { background: #e6e9e5; }
.glass-media img { object-fit: contain; padding: 8%; }
.glass-media .status-badge { color: #304a51; background: rgba(247,249,245,.88); border-color: rgba(40,71,77,.2); }
.glass-media .status-badge::before { background: #637f7a; }
.glass-placeholder { width: 100%; height: 100%; padding: 10%; color: #447574; }
.family-meta { font-size: 12.5px; color: #98c9cb; display: flex; gap: 6px; flex-wrap: wrap; }
.family-card .cat-desc { margin-top: 2px; }
.family-card .cat-price b { font-weight: inherit; }
.family-choose { justify-content: space-between; gap: 12px; }
.family-link-label { display: block; margin-top: 8px; color: #9bc6cb; font-size: 13px; }
.custom-aquarium-card { border-style: dashed; }
.custom-aquarium-media { color: #79b5bd; background: linear-gradient(140deg, #073c4c, #012a3d); }
.custom-aquarium-media svg { width: 100%; height: 100%; padding: 10px 22px 18px; }
.custom-aquarium-tag { position: absolute; left: 16px; top: 16px; color: #a6c9ca; font-size: 11px; letter-spacing: .04em; }
.custom-price { font-size: 18px; font-family: var(--font-serif); font-weight: 600; margin-top: 10px; }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; }
.volume-filter { display: flex; align-items: center; gap: 14px; }
.volume-filter label { font-size: 14px; color: var(--text-muted); }
.volume-filter .select { min-width: 185px; padding: 11px 32px 11px 14px; cursor: pointer; }
.catalog-result-count { font-size: 13px; color: var(--text-muted); }
.aquarium-visuals { position: sticky; top: calc(var(--header-h) + 22px); min-width: 0; }
.aquarium-layout { grid-template-columns: 1fr 1.05fr; gap: clamp(26px, 4vw, 52px); }
.aquarium-info { min-width: 0; }
.aquarium-info .product-title { font-size: clamp(30px, 3.8vw, 43px); }
.aquarium-info .product-lead { font-size: 15px; margin-bottom: 25px; }
.visual-caption { font-size: 11.5px; color: var(--text-muted); line-height: 1.55; margin: 12px 2px 22px; }
.dimension-panel { border: 1px solid var(--line-subtle); border-radius: var(--radius); padding: 20px 22px 15px; background: rgba(0,24,39,.18); }
.dimension-heading { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; cursor: pointer; list-style: none; }
.dimension-heading::-webkit-details-marker { display: none; }
.dimension-heading span:first-child::before { content: '−'; margin-right: 8px; color: #8ab9bc; }
.dimension-panel:not([open]) .dimension-heading span:first-child::before { content: '+'; }
.dimension-heading span:last-child { color: var(--text-muted); font-size: 11px; }
.dimension-panel svg { display: block; width: 100%; height: 230px; margin-top: 8px; overflow: visible; }
.dimension-panel p { font-size: 11px; color: var(--text-muted); line-height: 1.5; }
.variant-native { margin: 24px 0; }
.variant-native select { width: 100%; margin-bottom: 12px; }
.variant-fieldset { padding: 0; border: 0; margin: 0 0 22px; min-width: 0; }
.variant-fieldset legend { display: flex; align-items: center; gap: 9px; width: 100%; font-size: 14px; font-weight: 600; margin-bottom: 13px; }
.choice-step { width: 22px; height: 22px; display: inline-grid; place-items: center; border: 1px solid var(--accent-cool-line); border-radius: 50%; color: #8cbdc6; font-size: 11px; font-weight: 500; }
.choice-count { margin-left: auto; color: var(--text-muted); font-size: 11px; font-weight: 400; }
.size-search-wrap { position: relative; margin-bottom: 12px; }
.size-search-wrap svg { position: absolute; left: 13px; top: 12px; width: 17px; height: 17px; color: #80a6ad; }
.size-search-wrap .input { padding: 10px 12px 10px 38px; font-size: 13px; }
.size-table-head, .size-option { display: grid; grid-template-columns: 65px minmax(0, 1fr) 83px; align-items: center; gap: 10px; }
.size-table-head { color: var(--text-muted); font-size: 10px; padding: 0 14px 8px; text-transform: uppercase; letter-spacing: .07em; }
.size-table-head span:last-child { text-align: right; }
.size-options { max-height: 238px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--line-subtle); border-radius: 10px; scrollbar-color: #235568 #012639; scrollbar-width: thin; }
.size-option { position: relative; width: 100%; padding: 11px 14px; border: 0; border-bottom: 1px solid rgba(228,214,185,.09); color: var(--text-primary); background: transparent; font: inherit; text-align: left; cursor: pointer; transition: background .15s; }
.size-option:last-child { border-bottom: 0; }
.size-option:hover { background: rgba(12,112,135,.13); }
.size-option[aria-pressed="true"] { background: rgba(12,112,135,.28); box-shadow: inset 3px 0 #58aebb; }
.size-option:focus-visible, .configuration-option:focus-visible { outline: 2px solid #8cbdc6; outline-offset: -3px; }
.size-volume { font-size: 14px; font-weight: 600; white-space: nowrap; }
.size-dimensions { font-size: 12px; color: #b4c3bd; }
.size-construction { display: block; font-size: 10px; margin-top: 3px; color: var(--text-muted); }
.size-price { font-size: 12px; text-align: right; white-space: nowrap; }
.size-no-results { padding: 18px; color: var(--text-muted); font-size: 13px; border: 1px dashed var(--line-subtle); border-radius: 10px; line-height: 1.5; }
.configuration-options { display: flex; gap: 8px; flex-wrap: wrap; }
.configuration-option { display: inline-flex; align-items: center; gap: 8px; padding: 10px 13px; min-height: 43px; color: var(--text-muted); background: transparent; border: 1px solid var(--line-subtle); border-radius: 8px; font: inherit; font-size: 12px; cursor: pointer; }
.configuration-option::before { content: ''; width: 12px; height: 12px; border-radius: 50%; border: 1px solid #65828b; flex-shrink: 0; }
.configuration-option[aria-pressed="true"] { color: var(--text-light); border-color: #4e949f; background: rgba(12,112,135,.2); }
.configuration-option[aria-pressed="true"]::before { border: 3px solid #012639; background: #a0c7c7; outline: 1px solid #78aeb7; }
.configuration-hint { color: var(--text-muted); font-size: 11px; line-height: 1.5; margin-top: 9px; }
.variant-specs { display: grid; grid-template-columns: 1fr 1.6fr; gap: 14px 20px; padding: 18px 0; border-top: 1px solid var(--line-subtle); border-bottom: 1px solid var(--line-subtle); }
.variant-specs dt { font-size: 10px; color: var(--text-muted); margin-bottom: 4px; }
.variant-specs dd { font-size: 13px; line-height: 1.4; margin: 0; }
.variant-total { padding-top: 20px; }
.variant-total-label { display: block; color: var(--text-muted); font-size: 12px; margin-bottom: 3px; }
.variant-total .product-price { margin-bottom: 16px; }
.variant-total .product-price b { font-weight: inherit; }
.aquarium-info .product-buy { max-width: none; }
.glass-dispatch { display: flex; align-items: flex-start; gap: 10px; border: 1px solid var(--accent-cool-line); border-radius: 10px; padding: 13px 14px; margin-top: 18px; color: #bdd1ca; font-size: 12px; line-height: 1.6; background: rgba(12,112,135,.08); }
.glass-dispatch svg { width: 21px; height: 21px; flex-shrink: 0; color: #83b7bc; margin-top: 1px; }
.glass-dispatch a { text-decoration: underline; }
.glass-order-note { color: var(--text-muted); font-size: 11px; line-height: 1.5; margin-top: 10px; }
.cart-thumb.glass-thumb, .sum-thumb.glass-thumb { background: #e6e9e5; }
.glass-thumb img { object-fit: contain; padding: 4px; }
.cart-line .cl-name a { color: inherit; text-decoration: none; }
.cart-line .cl-name a:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .aquarium-layout { grid-template-columns: .9fr 1.1fr; gap: 24px; }
  .dimension-panel { padding: 16px; }
  .dimension-panel svg { height: 190px; }
  .size-table-head, .size-option { grid-template-columns: 52px minmax(0, 1fr) 72px; gap: 7px; }
  .size-option { padding: 11px 10px; }
  .size-table-head { padding-left: 10px; padding-right: 10px; }
}
@media (max-width: 700px) {
  .aquarium-layout { grid-template-columns: 1fr; gap: 18px; }
  .aquarium-visuals { position: static; }
  .aquarium-visuals .product-media { aspect-ratio: 5 / 3; }
  .visual-caption { font-size: 10px; margin: 9px 1px 4px; }
  .dimension-panel { margin-top: 16px; padding: 14px; }
  .dimension-panel svg { height: 200px; }
  .aquarium-info .product-title { font-size: 32px; }
  .aquarium-info .product-lead { font-size: 14px; margin-bottom: 22px; }
  .size-options { max-height: 215px; }
  .size-table-head, .size-option { grid-template-columns: 60px minmax(0, 1fr) 83px; gap: 10px; }
  .size-option { min-height: 45px; }
  .catalog-toolbar { gap: 12px; align-items: flex-start; }
  .volume-filter { gap: 8px; align-items: center; }
  .volume-filter label { font-size: 12px; }
  .volume-filter .select { min-width: 150px; font-size: 12px; }
  .catalog-result-count { font-size: 11px; padding-top: 12px; text-align: right; }
  .variant-specs { gap: 14px 12px; }
}
