.account-link{border:1px solid #8a9ab0;border-radius:4px;padding:10px 13px;white-space:nowrap;font-size:14px;color:#fff;text-decoration:none}.catalog-tools{display:flex;gap:16px;align-items:end;flex-wrap:wrap;margin:22px 0}.catalog-tools label{display:grid;gap:5px;font-size:14px;font-weight:700}.catalog-tools select,.catalog-tools input,.catalog-tools button{padding:10px 12px;border:1px solid #9aaec2;border-radius:4px;min-height:44px;background:#fff;font:inherit}.catalog-tools input{width:150px}.catalog-tools select{appearance:none;padding-right:35px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23102747' stroke-width='2'%3E%3Cpath d='m4 6 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 10px center}.catalog-tools button{background:#102747;color:white;font-weight:700}.market-card-actions{display:flex;gap:10px;margin-top:10px}.market-card-actions button{border:0;background:transparent;color:#52647a;text-decoration:underline;text-underline-offset:3px;font-size:13px;padding:8px 0;min-height:35px}.market-card-actions button[aria-pressed=true]{color:#ad3b14;font-weight:700}.period-price{font-size:13px;color:#52647a;margin:3px 0 0}.market-dialog{width:min(920px,calc(100% - 32px));max-height:90vh;border:1px solid #a8b9c9;border-radius:8px;padding:28px;color:#102747;background:#fff}.market-dialog::backdrop{background:#07172ba8}.market-dialog h2{font-size:25px}.market-dialog .close{float:right;background:white;border:0;font-size:28px;min-width:40px;min-height:40px}.market-dialog table{width:100%;border-collapse:collapse;min-width:450px}.market-dialog td,.market-dialog th{padding:15px;text-align:left;border-bottom:1px solid #dae2eb;font-size:14px}.market-dialog th{vertical-align:top}.market-dialog .scroll{overflow-x:auto}.market-dialog textarea{width:100%;padding:12px;font:inherit;border:1px solid #9aabba;border-radius:4px;margin:12px 0}.market-dialog .action{padding:12px 18px;background:#ac3b16;color:white;border:0;border-radius:4px;font:700 15px Arial}.market-dialog .help{color:#5f6f83;font-size:14px}.market-dialog .error{color:#9e301e}.market-toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);z-index:100;background:#102747;color:white;max-width:90%;padding:14px 22px;border-radius:6px;box-shadow:0 8px 30px #132e4c33;font-size:14px}.market-dialog a{color:#a03513;text-decoration:underline}.product-category{font-size:14px!important}@media(max-width:850px){.head-inner{flex-wrap:wrap}.account-link{padding:9px 10px}.catalog-tools{gap:12px}.catalog-tools label{flex:1;min-width:140px}.catalog-tools input,.catalog-tools select{width:100%}.catalog-tools button{flex:1}.primary-nav{order:3;width:100%}}
.market-dialog .model-comparison { --compare-label-width: 160px; --compare-product-width: 220px; table-layout: fixed; width: calc(var(--compare-label-width) + var(--compare-count) * var(--compare-product-width)); min-width: 100%; }
.market-dialog .model-comparison col { width: var(--compare-product-width); }
.market-dialog .model-comparison col:first-child { width: var(--compare-label-width); }
.market-dialog .model-comparison tr > :first-child { position: sticky; left: 0; z-index: 1; background: white; box-shadow: 1px 0 #dae2eb; }
.comparison-scroll:focus-visible { outline: 2px solid #234b39; outline-offset: 3px; }
.market-dialog .model-comparison th, .market-dialog .model-comparison td { min-width: 150px; overflow-wrap: anywhere; }
.market-dialog .model-comparison thead img { display: block; width: 100%; height: 112px; object-fit: contain; margin-bottom: 12px; }
.market-dialog .model-comparison thead strong, .market-dialog .model-comparison thead span { display: block; }
.market-dialog .model-comparison thead span { margin-top: 6px; font-weight: 400; }

@media (max-width: 600px) {
  .market-dialog { width: calc(100% - 24px); padding: 16px; }
  .market-dialog .model-comparison { --compare-label-width: 100px; --compare-product-width: 190px; }
  .market-dialog .model-comparison tr > :first-child { padding-inline: 10px; }
}
.comparison-hint { color: #526157; font-size: .875rem; }
.comparison-filter { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-size: 1rem; }
.comparison-filter input { width: 20px; height: 20px; accent-color: #234b39; }
.comparison-scroll { scrollbar-width: auto; border: 1px solid #d6dfd5; border-radius: 10px; }
.comparison-scroll::-webkit-scrollbar { height: 12px; }
.comparison-scroll::-webkit-scrollbar-thumb { background: #647d67; border: 3px solid #edf1e9; border-radius: 8px; }
.model-comparison tr[hidden] { display: none; }
@media (max-width: 600px) {
  .market-dialog:has(.model-comparison) { width: calc(100% - 16px); max-width: none; padding: 12px; }
  .market-dialog .model-comparison { --compare-label-width: 90px; --compare-product-width: 155px; }
  .market-dialog .model-comparison :is(th,td) { padding: 12px 8px; font-size: .875rem; overflow-wrap: break-word; hyphens: auto; }
}

