﻿* { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --taskbar-h: 40px;
    --touch-min: 44px;
    --font-base: 11px;
    --fixed-cart-w: 260px;
    --desktop-icons-w: 108px;
  }

  html, body { height: 100%; width: 100%; }

  body {
    background-color: #008080;
    font-family: 'MS Sans Serif', Arial, sans-serif;
    font-size: 11px;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
  }

  /* ── DESKTOP ── */
  .desktop {
    display: flex;
    width: 100%;
    height: calc(100vh - var(--taskbar-h));
    height: calc(100dvh - var(--taskbar-h));
    overflow: hidden;
  }

  .desktop-icons-column {
    flex: 0 0 var(--desktop-icons-w);
    padding: 8px 4px;
    /* Above overlay windows (z≈210) so icon switches stay clickable. */
    z-index: 450;
    overflow-y: auto;
    overflow-x: hidden;
    background: #008080;
  }

  .desktop-workspace {
    flex: 1;
    position: relative;
    min-width: 0;
    min-height: 0;
    margin: 0;
    background: #008080;
  }

  .desktop-icons {
    position: relative;
    top: auto;
    left: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: none;
    z-index: 1;
  }

  .desktop-icons--footer,
  .plp-mobile-footer {
    display: none;
  }

  .plp-pagination {
    display: none;
  }

  .desktop-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
    max-width: 96px;
    margin: 0 auto;
    padding: 6px 4px;
    background: transparent;
    border: 1px dotted transparent;
    cursor: pointer;
    font-family: inherit;
    color: #FFF;
    text-shadow: 1px 1px 0 #000;
  }

  .desktop-icon:hover,
  .desktop-icon.selected {
    background: rgba(0, 0, 128, 0.35);
    border-color: rgba(255, 255, 255, 0.5);
  }

  .desktop-icon-img {
    font-size: 28px;
    line-height: 1;
  }

  a.desktop-icon {
    text-decoration: none;
    color: #FFF;
  }

  .desktop-icon-sponsor-img {
    background: #fff;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    border-right: 1px solid #808080;
    border-bottom: 1px solid #808080;
    overflow: hidden;
  }

  .desktop-icon-sponsor-img img {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
    padding: 4px;
    box-sizing: border-box;
  }

  .desktop-icon-sponsor-img--kurpirkt img {
    padding: 0;
  }

  .desktop-icon-sponsor-img--salidzini img {
    padding: 2px;
  }

  .desktop-icon-label {
    font-size: 11px;
    text-align: center;
    word-break: break-word;
  }

  /* Sponsor chips — desktop: below sidebar filters, stacked full width */
  .sponsor-banner-row--plp {
    display: none;
  }

  .sidebar .sponsor-banner-row--sidebar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 8px 4px 4px;
    flex-shrink: 0;
  }

  .sidebar .sponsor-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    padding: 8px 10px;
    background: #fff;
    border-top: 1px solid #808080;
    border-left: 1px solid #808080;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    text-decoration: none;
  }

  .sidebar .sponsor-chip:hover {
    background: #e8e8ff;
  }

  .sidebar .sponsor-chip img {
    display: block;
    height: 28px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }

  .sidebar .sponsor-chip--kurpirkt {
    background: linear-gradient(180deg, #3a3a3a 0%, #222 100%);
    border-top-color: #666;
    border-left-color: #666;
    border-right-color: #111;
    border-bottom-color: #111;
  }

  .sidebar .sponsor-chip--kurpirkt:hover {
    background: linear-gradient(180deg, #4a4a4a 0%, #2a2a2a 100%);
  }

  .sidebar .sponsor-chip--kurpirkt img {
    height: 24px;
  }

  /* Mobile PLP: chips fill header row full width */
  .product-area .sponsor-banner-row--plp {
    display: none;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 6px;
    padding: 6px 6px 4px;
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .product-area .sponsor-chip {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    min-width: 0;
    max-width: none;
    padding: 8px 10px;
    background: #fff;
    border-top: 1px solid #808080;
    border-left: 1px solid #808080;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    text-decoration: none;
    box-sizing: border-box;
  }

  .product-area .sponsor-chip:hover {
    background: #e8e8ff;
  }

  .product-area .sponsor-chip img {
    display: block;
    height: 28px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }

  .product-area .sponsor-chip--kurpirkt {
    background: linear-gradient(180deg, #3a3a3a 0%, #222 100%);
    border-top-color: #666;
    border-left-color: #666;
    border-right-color: #111;
    border-bottom-color: #111;
  }

  .product-area .sponsor-chip--kurpirkt:hover {
    background: linear-gradient(180deg, #4a4a4a 0%, #2a2a2a 100%);
  }

  .product-area .sponsor-chip--kurpirkt img {
    height: 24px;
    max-width: 100%;
  }

  /* â”€â”€ BEVELED BORDERS â”€â”€ */
  .bevel-out {
    border-top: 2px solid #FFFFFF;
    border-left: 2px solid #FFFFFF;
    border-right: 2px solid #808080;
    border-bottom: 2px solid #808080;
    box-shadow: 1px 1px 0 #000 inset, -1px -1px 0 #DFDFDF inset;
  }
  .bevel-in {
    border-top: 2px solid #808080;
    border-left: 2px solid #808080;
    border-right: 2px solid #FFFFFF;
    border-bottom: 2px solid #FFFFFF;
    box-shadow: -1px -1px 0 #000 inset, 1px 1px 0 #DFDFDF inset;
  }

  /* â”€â”€ TOP HEADER BAR â”€â”€ */
  .top-header {
    background: #C0C0C0;
    border-top: 2px solid #FFFFFF;
    border-left: 2px solid #FFFFFF;
    border-right: 2px solid #808080;
    border-bottom: 2px solid #808080;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 10px;
  }
  .top-header-left {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: bold;
    font-size: 13px;
    color: #000080;
  }
  .top-header-logo { font-size: 18px; }
  .top-header-tagline { font-weight: normal; font-size: 11px; color: #444; }
  .top-header-right {
    display: flex;
    align-items: center;
    gap: 3px;
  }
  .header-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    background: #C0C0C0;
    font-family: 'MS Sans Serif', Arial, sans-serif;
    font-size: 11px;
    cursor: pointer;
    border-top: 1px solid #FFFFFF;
    border-left: 1px solid #FFFFFF;
    border-right: 1px solid #808080;
    border-bottom: 1px solid #808080;
    white-space: nowrap;
    text-decoration: none;
    color: #000;
  }
  .header-btn:active {
    border-top: 1px solid #808080;
    border-left: 1px solid #808080;
    border-right: 1px solid #FFFFFF;
    border-bottom: 1px solid #FFFFFF;
  }
  .header-btn.contact { color: #000080; font-weight: bold; }
  .header-sep {
    width: 1px; height: 22px;
    background: #808080;
    box-shadow: 1px 0 0 #FFF;
    margin: 0 3px;
  }

  /* ── WINDOW ── */
  .desktop-window {
    position: absolute;
    display: flex;
    flex-direction: column;
    background: #C0C0C0;
    min-width: 0;
    min-height: 0;
    z-index: 100;
  }

  .desktop-window--pinned {
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    left: 0 !important;
    top: 0 !important;
    z-index: 1;
    border-top: none !important;
    border-bottom: none !important;
    border-right: 2px solid #808080 !important;
    border-radius: 0;
    box-shadow: none !important;
  }

  .fixed-cart.bevel-out {
    border-top: none !important;
    border-bottom: none !important;
    border-left: 2px solid #ffffff !important;
    box-shadow: none !important;
  }

  .desktop-window--overlay {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(560px, calc(100% - 24px));
    height: min(440px, calc(100% - 24px));
    z-index: 200;
    box-shadow: 2px 2px 0 #000;
  }

  /* Once dragged/resized, the window uses explicit inline left/top/width/height. */
  .desktop-window--overlay.desktop-window--free {
    transform: none;
  }

  .desktop-window.window-closed,
  .desktop-window.window-minimized {
    display: none !important;
  }

  .desktop-window--pinned .title-buttons {
    display: none !important;
  }

  .desktop-window--overlay .title-buttons {
    display: flex !important;
  }

  .desktop-window--overlay .title-bar {
    cursor: move;
  }

  body.wm-dragging,
  body.wm-resizing {
    user-select: none;
  }
  body.wm-dragging * { cursor: move !important; }
  body.wm-resizing * { cursor: nwse-resize !important; }

  .window-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
  }

  .window-body-pad {
    padding: 12px;
    overflow: auto;
  }

  .window-resize-handle {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 16px;
    height: 16px;
    z-index: 5;
    cursor: nwse-resize;
    background: linear-gradient(135deg, transparent 50%, #808080 50%, #808080 60%, transparent 60%, transparent 70%, #808080 70%, #808080 80%, transparent 80%);
  }

  .window-maximized .window-resize-handle {
    display: none;
  }

  .window {
    background: #C0C0C0;
  }

  .title-bar {
    background: linear-gradient(to right, #000080, #1084D0);
    color: #FFFFFF;
    font-weight: bold;
    font-size: 12px;
    padding: 5px 4px;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    cursor: default;
    flex-shrink: 0;
  }
  .title-bar-left {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
  }
  .title-icon {
    width: 16px; height: 16px;
    background: #FFD700;
    border: 1px solid #A08000;
    display: flex; align-items: center; justify-content: center;
    font-size: 9px;
    flex-shrink: 0;
  }
  .title-buttons {
    display: flex;
    gap: 2px;
    align-items: center;
  }
  .title-bar-right {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .title-btn {
    width: 18px; height: 18px;
    background: #C0C0C0;
    border: none;
    border-top: 2px solid #FFFFFF;
    border-left: 2px solid #FFFFFF;
    border-right: 2px solid #808080;
    border-bottom: 2px solid #808080;
    font-size: 10px;
    font-weight: bold;
    font-family: inherit;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: #000;
    padding: 0;
    line-height: 1;
  }
  .title-btn:active {
    border-top: 1px solid #808080;
    border-left: 1px solid #808080;
    border-right: 1px solid #FFFFFF;
    border-bottom: 1px solid #FFFFFF;
  }
  .title-btn--close { font-size: 11px; }
  .title-btn--close:hover { background: #d64040; color: #fff; }
  /* New contact icon buttons in title bar */
  .title-contact-btns {
    display: flex;
    gap: 3px;
    align-items: center;
    margin-right: 6px;
  }
  .title-contact-btn {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 1px 7px;
    background: #C0C0C0;
    border-top: 1px solid #FFFFFF;
    border-left: 1px solid #FFFFFF;
    border-right: 1px solid #808080;
    border-bottom: 1px solid #808080;
    font-family: 'MS Sans Serif', Arial, sans-serif;
    font-size: 10px;
    font-weight: bold;
    cursor: pointer;
    color: #000;
    white-space: nowrap;
  }
  .title-contact-btn:hover { background: #D0D0FF; }
  .title-contact-btn:active {
    border-top: 1px solid #808080;
    border-left: 1px solid #808080;
    border-right: 1px solid #FFFFFF;
    border-bottom: 1px solid #FFFFFF;
  }

  /* â”€â”€ MENU BAR â”€â”€ */
  .menu-bar {
    background: #C0C0C0;
    display: flex;
    padding: 2px 0;
    border-bottom: 1px solid #808080;
    align-items: center;
    justify-content: space-between;
  }
  .menu-bar-left { display: flex; }
  .menu-item {
    padding: 2px 10px;
    cursor: pointer;
    font-size: 11px;
  }
  .menu-item:hover { background: #000080; color: #FFF; }

  a.menu-item--link {
    color: inherit;
    text-decoration: none;
    display: inline-block;
  }

  .menu-item--dropdown {
    position: relative;
  }

  .menu-item--dropdown.open {
    background: #000080;
    color: #FFF;
  }

  .menu-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    max-height: 360px;
    overflow-y: auto;
    z-index: 5000;
    background: #C0C0C0;
    padding: 2px;
  }

  .menu-item--dropdown.open .menu-dropdown {
    display: block;
  }

  .menu-dropdown-item {
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    background: transparent;
    padding: 4px 18px 4px 8px;
    font-family: 'MS Sans Serif', Tahoma, sans-serif;
    font-size: 11px;
    cursor: pointer;
    color: #000;
  }

  .menu-dropdown-item:hover,
  .menu-dropdown-item.selected {
    background: #000080;
    color: #FFF;
  }

  .menu-dropdown-item--child {
    padding-left: calc(12px + var(--menu-depth, 1) * 10px);
  }

  .menu-dropdown-heading {
    padding: 4px 8px 2px;
    font-weight: bold;
    font-size: 11px;
    color: #000080;
    pointer-events: none;
  }

  .menu-dropdown-sep {
    height: 1px;
    margin: 3px 4px;
    background: #808080;
    border-bottom: 1px solid #FFF;
  }

  .menu-bar-right {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-right: 8px;
    font-size: 11px;
    color: #000080;
  }
  .menu-bar-link {
    cursor: pointer;
    padding: 1px 4px;
    text-decoration: underline;
    color: #000080;
  }
  .menu-bar-link:hover { color: #FF0000; }
  .menu-sep { color: #808080; }

  /* â”€â”€ TOOLBAR â”€â”€ */
  .toolbar {
    background: #C0C0C0;
    padding: 3px 4px;
    display: flex;
    align-items: center;
    gap: 4px;
    border-bottom: 1px solid #808080;
    flex-wrap: wrap;
  }
  .toolbar-sep {
    width: 1px; height: 22px;
    background: #808080;
    box-shadow: 1px 0 0 #FFF;
    margin: 0 2px;
  }
  .tb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 24px;
    min-width: 72px;
    padding: 3px 8px;
    background: #C0C0C0;
    font-family: 'MS Sans Serif', Arial, sans-serif;
    font-size: 11px;
    line-height: 1;
    cursor: pointer;
    border-top: 1px solid #FFFFFF;
    border-left: 1px solid #FFFFFF;
    border-right: 1px solid #808080;
    border-bottom: 1px solid #808080;
    white-space: nowrap;
    text-align: center;
    box-sizing: border-box;
  }
  .tb-btn:active,
  .tb-btn.is-pressed { border-color: #808080 #FFFFFF #FFFFFF #808080; }

  .tb-btn:disabled,
  .tb-btn.is-disabled {
    color: #808080;
    cursor: default;
    opacity: 0.55;
    pointer-events: none;
  }

  .tb-btn--nav {
    min-width: 72px;
  }

  a.tb-btn--link {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* â”€â”€ SEARCH BAR â”€â”€ */
  .search-bar {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    background: #C0C0C0;
    border-bottom: 1px solid #808080;
    position: relative;
    z-index: 40;
  }
  .search-label { font-size: 11px; white-space: nowrap; }
  .search-field {
    position: relative;
    flex: 1;
    min-width: 0;
  }
  .search-input {
    width: 100%;
    box-sizing: border-box;
    padding: 2px 4px;
    font-family: 'MS Sans Serif', Arial, sans-serif;
    font-size: 11px;
    background: #FFFFFF;
    color: #000;
    outline: none;
    border-top: 1px solid #808080;
    border-left: 1px solid #808080;
    border-right: 1px solid #DFDFDF;
    border-bottom: 1px solid #DFDFDF;
  }

  .search-preview {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    z-index: 50;
    max-height: min(320px, 50vh);
    overflow-y: auto;
    background: #C0C0C0;
    border-top: 2px solid #FFFFFF;
    border-left: 2px solid #FFFFFF;
    border-right: 2px solid #808080;
    border-bottom: 2px solid #808080;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.25);
  }

  .search-preview-hint,
  .search-preview-empty {
    padding: 8px 10px;
    font-size: 11px;
    color: #444;
  }

  .search-preview-item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 6px 8px;
    border: 0;
    background: #C0C0C0;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
    text-decoration: none;
    box-sizing: border-box;
  }

  .search-preview-item:hover,
  .search-preview-item.is-active {
    background: #000080;
    color: #fff;
  }

  .search-preview-thumb {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-top: 1px solid #808080;
    border-left: 1px solid #808080;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    overflow: hidden;
  }

  .search-preview-thumb .product-thumb-img {
    width: 32px;
    height: 32px;
    max-width: 32px;
    max-height: 32px;
  }

  .search-preview-thumb .product-thumb-emoji {
    font-size: 18px;
  }

  .search-preview-copy {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .search-preview-name {
    font-size: 11px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .search-preview-meta {
    font-size: 10px;
    opacity: 0.9;
  }

  .search-preview-price {
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: bold;
    font-family: 'Courier New', monospace;
  }

  .search-preview-more {
    display: block;
    width: 100%;
    padding: 8px;
    border: 0;
    border-top: 1px solid #808080;
    background: #dfdfdf;
    font-family: inherit;
    font-size: 11px;
    font-weight: bold;
    color: #000080;
    cursor: pointer;
    text-align: center;
  }

  .search-preview-more:hover {
    background: #e8e8ff;
  }

  /* â”€â”€ CONTENT LAYOUT â”€â”€ */
  .content-area {
    display: flex;
    gap: 6px;
    padding: 6px;
    flex: 1;
    min-height: 0;
    overflow: hidden;
  }

  /* â”€â”€ SIDEBAR â”€â”€ */
  .sidebar {
    width: 180px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .sidebar-group { background: #C0C0C0; }
  .sidebar-title {
    background: linear-gradient(to right, #000080, #1084D0);
    color: #FFF;
    font-weight: bold;
    font-size: 11px;
    padding: 2px 6px;
  }
  .sidebar-items { padding: 4px; }
  .sidebar-item {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 2px 4px;
    cursor: pointer;
    font-size: 11px;
  }
  .sidebar-item:hover { background: #000080; color: #FFF; }
  .sidebar-item.selected { background: #000080; color: #FFF; }
  .sidebar-dot {
    width: 8px; height: 8px;
    background: #000080;
    flex-shrink: 0;
    margin-top: 1px;
  }
  .sidebar-item:hover .sidebar-dot,
  .sidebar-item.selected .sidebar-dot { background: #FFF; }
  .price-filter { padding: 6px; }
  .price-filter label { display: block; margin-bottom: 3px; font-size: 11px; }
  .price-input-row {
    display: flex;
    gap: 6px;
    margin-bottom: 6px;
  }
  .price-input-label {
    flex: 1;
    font-size: 10px;
    color: #333;
  }
  .price-input {
    display: block;
    width: 100%;
    margin-top: 2px;
    padding: 2px 4px;
    font-family: 'MS Sans Serif', Tahoma, sans-serif;
    font-size: 11px;
    border-top: 1px solid #808080;
    border-left: 1px solid #808080;
    border-right: 1px solid #DFDFDF;
    border-bottom: 1px solid #DFDFDF;
    background: #fff;
  }
  .price-filter input[type=range] {
    width: 100%;
    margin: 8px 0;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: #FFF;
    border: 1px solid #808080;
    border-radius: 0;
  }

  .price-range-dual {
    position: relative;
    height: 28px;
    margin: 10px 0 6px;
    --price-min: 0%;
    --price-max: 100%;
  }

  .price-range-dual::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 8px;
    transform: translateY(-50%);
    background: #FFF;
    border: 1px solid #808080;
    box-sizing: border-box;
    pointer-events: none;
  }

  .price-range-dual::after {
    content: '';
    position: absolute;
    left: var(--price-min);
    right: calc(100% - var(--price-max));
    top: 50%;
    height: 8px;
    transform: translateY(-50%);
    background: #000080;
    border-top: 1px solid #000060;
    border-bottom: 1px solid #0000a0;
    box-sizing: border-box;
    pointer-events: none;
  }

  .price-range-dual .price-range-thumb {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 28px;
    margin: 0;
    background: transparent;
    border: none;
    pointer-events: none;
    z-index: 2;
  }

  .price-range-dual .price-range-thumb--max {
    z-index: 1;
  }

  .price-range-dual .price-range-thumb::-webkit-slider-runnable-track {
    height: 8px;
    background: transparent;
    border: none;
  }

  .price-range-dual .price-range-thumb::-moz-range-track {
    height: 8px;
    background: transparent;
    border: none;
  }

  .price-range-dual .price-range-thumb::-webkit-slider-thumb {
    pointer-events: auto;
    position: relative;
    z-index: 3;
  }

  .price-range-dual .price-range-thumb::-moz-range-thumb {
    pointer-events: auto;
    position: relative;
    z-index: 3;
  }

  .price-filter input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 22px;
    background: #C0C0C0;
    border-top: 2px solid #FFF;
    border-left: 2px solid #FFF;
    border-right: 2px solid #808080;
    border-bottom: 2px solid #808080;
    cursor: pointer;
  }
  .price-filter input[type=range]::-moz-range-thumb {
    width: 18px;
    height: 22px;
    background: #C0C0C0;
    border-top: 2px solid #FFF;
    border-left: 2px solid #FFF;
    border-right: 2px solid #808080;
    border-bottom: 2px solid #808080;
    border-radius: 0;
    cursor: pointer;
  }
  .price-range-labels { display: flex; justify-content: space-between; font-size: 10px; color: #444; }

  /* ── PRODUCT GRID ── */
  .product-area { flex: 1; min-width: 0; overflow: auto; }
  .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    padding: 4px;
    align-items: start;
  }

  .product-grid--loading {
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
  }

  .grid-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 28px 16px;
    text-align: center;
    color: #000080;
    font-family: 'MS Sans Serif', Tahoma, sans-serif;
  }

  .grid-loading-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid #fff;
    border-right-color: #000080;
    border-bottom-color: #000080;
    box-shadow: 1px 1px 0 #808080;
    animation: grid-loading-spin 0.7s linear infinite;
  }

  @keyframes grid-loading-spin {
    to { transform: rotate(360deg); }
  }

  .grid-loading-title {
    font-size: 13px;
    font-weight: bold;
  }

  .grid-loading-hint {
    font-size: 11px;
    color: #444;
  }

  @media (prefers-reduced-motion: reduce) {
    .grid-loading-spinner {
      animation: none;
      border-color: #000080;
    }
  }

  @keyframes product-card-in {
    from {
      transform: translateY(6px);
    }
    to {
      transform: translateY(0);
    }
  }

  .product-card {
    position: relative;
    z-index: 1;
    background: #C0C0C0;
    border-top: 2px solid #FFFFFF;
    border-left: 2px solid #FFFFFF;
    border-right: 2px solid #808080;
    border-bottom: 2px solid #808080;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .product-card--enter {
    animation: product-card-in 0.16s ease both;
  }

  .product-card:hover {
    z-index: 2;
    transform: translateY(-3px);
    background: #d4d4d4;
    border-top-color: #fff;
    border-left-color: #fff;
    transition:
      transform 0.18s ease,
      background 0.18s ease,
      border-color 0.18s ease;
  }

  .product-card:not(:hover) {
    transition:
      transform 0.18s ease,
      background 0.18s ease,
      border-color 0.18s ease;
  }

  .product-img-link {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
  }

  .product-img-wrap {
    background: #fff;
    border-top: 1px solid #808080;
    border-left: 1px solid #808080;
    border-right: 1px solid #DFDFDF;
    border-bottom: 1px solid #DFDFDF;
    margin: 8px 8px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 16px);
    height: 148px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    cursor: pointer;
  }

  .product-img-link:hover .product-img-wrap,
  .product-card:hover .product-img-wrap {
    background: #f7f9fc;
  }

  .product-thumb-img {
    width: 120px;
    height: 120px;
    max-width: 120px;
    max-height: 120px;
    object-fit: contain;
    object-position: center;
    display: block;
    flex-shrink: 0;
  }

  .product-thumb-emoji {
    font-size: 42px;
    line-height: 1;
  }

  .product-info {
    padding: 0 8px 6px;
    flex: 1;
    min-height: 0;
  }

  .product-name {
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #000;
  }

  .product-card:hover .product-name {
    color: #000080;
    transition: color 0.2s ease;
  }

  .product-desc {
    font-size: 10px;
    line-height: 1.35;
    color: #333;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
  }

  .product-card:hover .product-desc {
    max-height: 72px;
    opacity: 1;
    margin-bottom: 6px;
    padding: 6px 8px;
    background: rgba(255, 255, 255, 0.65);
    border-top: 1px solid #808080;
    border-left: 1px solid #808080;
    border-right: 1px solid #DFDFDF;
    border-bottom: 1px solid #DFDFDF;
    transition:
      max-height 0.32s ease,
      opacity 0.25s ease,
      margin 0.25s ease,
      padding 0.25s ease;
  }

  .product-card:not(:hover) .product-desc {
    transition:
      max-height 0.2s ease,
      opacity 0.15s ease,
      margin 0.2s ease,
      padding 0.2s ease;
  }

  .product-meta {
    font-size: 10px;
    color: #666;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .product-price {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: bold;
    color: #000080;
    letter-spacing: 0.02em;
  }

  .product-card:hover .product-price {
    transform: scale(1.02);
    transform-origin: left center;
    transition: transform 0.2s ease;
  }

  .product-card:not(:hover) .product-price {
    transform: scale(1);
    transition: transform 0.2s ease;
  }

  .product-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 0 6px 8px;
    margin-top: auto;
  }

  .card-btn {
    flex: 1;
    min-width: 0;
    padding: 4px 6px;
    background: #C0C0C0;
    font-family: 'MS Sans Serif', Arial, sans-serif;
    font-size: 10px;
    cursor: pointer;
    border-top: 1px solid #FFFFFF;
    border-left: 1px solid #FFFFFF;
    border-right: 1px solid #808080;
    border-bottom: 1px solid #808080;
    white-space: nowrap;
    text-align: center;
    transition:
      background 0.15s ease,
      transform 0.12s ease;
  }

  .card-btn--cart {
    flex: 2;
  }

  .card-cart-control {
    flex: 2;
    min-width: 0;
    display: flex;
    align-items: stretch;
  }

  .card-cart-control .card-btn--cart {
    flex: 1;
    width: 100%;
  }

  .card-cart-control .card-btn--cart[hidden],
  .card-cart-control .card-qty-stepper[hidden] {
    display: none !important;
  }

  .card-qty-stepper {
    flex: 1;
    width: 100%;
    min-height: 100%;
  }

  .card-qty-stepper .cart-qty-btn {
    flex: 1;
    min-width: 22px;
    padding: 0 4px;
    font-size: 11px;
  }

  .card-qty-stepper .cart-qty-value {
    flex: 1 1 28px;
    min-width: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    font-weight: bold;
    background: #fff;
    border-top: 1px solid #808080;
    border-bottom: 1px solid #DFDFDF;
  }

  .card-btn.fav-btn,
  .card-btn.cmp-btn {
    flex: 0 0 36px;
    padding: 4px 2px;
    font-size: 14px;
    line-height: 1;
  }

  .card-btn:hover {
    background: #d8d8d8;
  }

  .card-btn:disabled,
  .card-btn.is-disabled {
    color: #808080;
    cursor: default;
    opacity: 0.65;
    pointer-events: none;
    background: #c8c8c8;
  }

  .big-btn:disabled,
  .big-btn.is-disabled {
    color: #808080;
    cursor: default;
    opacity: 0.65;
    pointer-events: none;
  }

  .card-btn:active,
  .card-btn.is-pressed {
    border-top: 1px solid #808080;
    border-left: 1px solid #808080;
    border-right: 1px solid #FFFFFF;
    border-bottom: 1px solid #FFFFFF;
    transform: translateY(1px);
  }

  .card-btn.fav-btn.favorited {
    background: linear-gradient(180deg, #fff8a8 0%, #ffe566 100%);
    border-color: #c8a800;
  }

  .card-btn.cmp-btn.comparing {
    background: linear-gradient(180deg, #d8ffd8 0%, #a8e8a8 100%);
  }

  @keyframes compare-chosen-in {
    0% {
      opacity: 0;
      max-height: 0;
      transform: translateY(-6px) scale(0.97);
      filter: brightness(1.12);
    }
    55% {
      opacity: 1;
      transform: translateY(1px) scale(1.02);
      filter: brightness(1.05);
    }
    100% {
      opacity: 1;
      max-height: 48px;
      transform: translateY(0) scale(1);
      filter: brightness(1);
    }
  }

  .card-btn--compare-chosen {
    flex: 1 0 100%;
    font-weight: bold;
    background: linear-gradient(180deg, #e8f2ff 0%, #bfd8ff 100%);
    border-color: #ffffff #808080 #808080 #ffffff;
    overflow: hidden;
    transform-origin: center top;
  }

  .card-btn--compare-chosen-enter {
    animation: compare-chosen-in 0.42s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  }

  .sidebar-item.is-pressed {
    background: #000080;
    color: #fff;
  }

  .start-menu-item.is-pressed {
    background: #000080;
    color: #fff;
  }

  .desktop-icon.is-pressed {
    background: rgba(0, 0, 128, 0.5);
    border-color: rgba(255, 255, 255, 0.7);
  }

  @media (prefers-reduced-motion: reduce) {
    .product-card,
    .product-card--enter,
    .fixed-cart-item--enter,
    .fixed-cart-item--exit,
    .product-thumb-img,
    .product-desc,
    .product-price,
    .card-btn,
    .card-btn--compare-chosen-enter {
      animation: none;
      transition: none;
    }

    .product-card:hover {
      transform: none;
    }

    .product-desc {
      max-height: 72px;
      opacity: 1;
      margin-bottom: 6px;
      padding: 4px 0;
      background: transparent;
      border: none;
    }
  }

  /* ── FIXED CART (always visible) ── */
  .fixed-cart {
    flex: 0 0 var(--fixed-cart-w);
    width: var(--fixed-cart-w);
    height: 100%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    background: #C0C0C0;
    border-radius: 0;
  }

  .fixed-cart-titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 5px 8px;
    background: linear-gradient(90deg, #000080, #1084d0);
    color: #fff;
    font-weight: bold;
    font-size: 11px;
    flex-shrink: 0;
  }

  .fixed-cart-count {
    font-weight: normal;
    font-size: 10px;
    opacity: 0.9;
  }

  .fixed-cart-items {
    flex: 1;
    min-height: 0;
    margin: 4px;
    background: #fff;
    border-top: 2px solid #808080;
    border-left: 2px solid #808080;
    border-right: 2px solid #dfdfdf;
    border-bottom: 2px solid #dfdfdf;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .fixed-cart-item {
    padding: 6px 8px;
    border-bottom: 1px solid #e8e8e8;
    font-size: 11px;
  }

  .fixed-cart-item--enter {
    animation: cart-item-in 0.32s ease backwards;
  }

  .fixed-cart-item--exit {
    animation: cart-item-out 0.28s ease forwards;
    pointer-events: none;
  }

  @keyframes cart-item-in {
    from {
      opacity: 0;
      transform: translateX(14px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes cart-item-out {
    from {
      opacity: 1;
      transform: translateX(0);
    }
    to {
      opacity: 0;
      transform: translateX(-14px);
    }
  }

  .fixed-cart-item:last-child {
    border-bottom: none;
  }

  .fixed-cart-item-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 4px;
    margin-bottom: 4px;
  }

  .fixed-cart-item-name {
    flex: 1;
    line-height: 1.35;
    word-break: break-word;
  }

  .fixed-cart-remove {
    flex-shrink: 0;
    min-width: 22px;
    min-height: 22px;
    padding: 0 4px;
    line-height: 1;
  }

  .fixed-cart-item-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
  }

  .fixed-cart-unit {
    color: #555;
    font-size: 10px;
  }

  .cart-line-total {
    margin-left: auto;
    font-family: 'Courier New', monospace;
  }

  .fixed-cart-footer {
    flex-shrink: 0;
    padding: 6px;
    border-top: 2px solid #808080;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .fixed-cart-footer .cart-actions {
    display: flex;
    gap: 4px;
  }

  .fixed-cart-footer .cart-actions .big-btn {
    flex: 1;
    padding: 4px 6px;
    font-size: 11px;
  }

  /* ── CART WINDOW (legacy / table styles) ── */
  .cart-window { width: 100%; }
  .cart-body { padding: 6px; }
  .cart-table-wrap {
    background: #FFF;
    border-top: 1px solid #808080;
    border-left: 1px solid #808080;
    border-right: 1px solid #DFDFDF;
    border-bottom: 1px solid #DFDFDF;
    min-height: 60px;
    overflow-x: auto;
  }
  table { width: 100%; border-collapse: collapse; font-size: 11px; }
  th {
    background: #C0C0C0;
    padding: 2px 6px;
    text-align: left;
    border-bottom: 1px solid #808080;
    font-weight: bold;
    border-right: 1px solid #808080;
  }
  td {
    padding: 2px 6px;
    border-bottom: 1px solid #E0E0E0;
    border-right: 1px solid #E0E0E0;
  }
  tr:hover td { background: #000080; color: #FFF; }
  .cart-empty, .grid-empty { color: #808080; text-align: center; padding: 12px; }

  .search-empty {
    padding: 24px 16px;
    background: #ffffcc;
    border: 2px solid #808080;
    margin: 8px;
    text-align: center;
  }

  .search-empty-title {
    font-weight: bold;
    font-size: 13px;
    color: #000080;
    margin-bottom: 8px;
  }

  .search-empty-query {
    font-size: 12px;
    color: #222;
    margin: 0 0 6px;
  }

  .search-empty-hint {
    font-size: 11px;
    color: #555;
    margin: 0;
  }

  .status-pane--search-miss {
    color: #800000;
    font-weight: bold;
  }
  .text-left { text-align: left; }
  .text-center { text-align: center; }
  .text-right { text-align: right; }

  .cart-qty-input {
    width: 48px;
    padding: 2px 4px;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    text-align: center;
    border-top: 1px solid #808080;
    border-left: 1px solid #808080;
    border-right: 1px solid #DFDFDF;
    border-bottom: 1px solid #DFDFDF;
    background: #fff;
  }

  .cart-qty-stepper {
    display: inline-flex;
    align-items: stretch;
    vertical-align: middle;
    user-select: none;
  }

  .cart-qty-btn {
    min-width: 22px;
    padding: 0 6px;
    font-family: 'MS Sans Serif', Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    color: #000;
    background: #C0C0C0;
    border-top: 2px solid #FFFFFF;
    border-left: 2px solid #FFFFFF;
    border-right: 2px solid #808080;
    border-bottom: 2px solid #808080;
  }

  .cart-qty-btn:active:not(:disabled) {
    border-top: 2px solid #808080;
    border-left: 2px solid #808080;
    border-right: 2px solid #FFFFFF;
    border-bottom: 2px solid #FFFFFF;
  }

  .cart-qty-btn:disabled {
    color: #808080;
    cursor: default;
  }

  .cart-qty-value {
    min-width: 28px;
    padding: 2px 6px;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    text-align: center;
    line-height: 1.4;
    border-top: 1px solid #808080;
    border-bottom: 1px solid #DFDFDF;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .cart-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 2px 2px;
    gap: 6px;
    flex-wrap: wrap;
  }
  .cart-total { font-size: 13px; font-weight: bold; font-family: 'Courier New', monospace; }
  .cart-actions { display: flex; gap: 4px; }
  .big-btn {
    padding: 4px 16px;
    background: #C0C0C0;
    font-family: 'MS Sans Serif', Arial, sans-serif;
    font-size: 11px;
    cursor: pointer;
    font-weight: bold;
    border-top: 2px solid #FFFFFF;
    border-left: 2px solid #FFFFFF;
    border-right: 2px solid #808080;
    border-bottom: 2px solid #808080;
  }
  .big-btn:active,
  .big-btn.is-pressed {
    border-top: 2px solid #808080;
    border-left: 2px solid #808080;
    border-right: 2px solid #FFFFFF;
    border-bottom: 2px solid #FFFFFF;
  }

  /* â”€â”€ STATUS BAR â”€â”€ */
  .status-bar {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 2px 4px;
    border-top: 1px solid #808080;
    font-size: 11px;
  }
  .status-pane {
    padding: 1px 6px;
    border-top: 1px solid #808080;
    border-left: 1px solid #808080;
    border-right: 1px solid #DFDFDF;
    border-bottom: 1px solid #DFDFDF;
    flex: 1;
  }
  .status-pane.small { flex: 0 0 auto; }

  /* â”€â”€ TASKBAR â”€â”€ */
  .taskbar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: var(--taskbar-h);
    background: #C0C0C0;
    border-top: 2px solid #FFFFFF;
    display: flex;
    align-items: center;
    padding: 0 4px;
    padding-bottom: env(safe-area-inset-bottom, 0);
    gap: 4px;
    z-index: 500;
  }
  .start-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-weight: bold;
    font-size: 12px;
    cursor: pointer;
    background: #C0C0C0;
    border-top: 2px solid #FFFFFF;
    border-left: 2px solid #FFFFFF;
    border-right: 2px solid #808080;
    border-bottom: 2px solid #808080;
    font-family: 'MS Sans Serif', Arial, sans-serif;
    user-select: none;
    position: relative;
  }
  .start-btn.open {
    border-top: 2px solid #808080;
    border-left: 2px solid #808080;
    border-right: 2px solid #FFFFFF;
    border-bottom: 2px solid #FFFFFF;
  }
  .start-logo {
    display: flex;
    width: 18px; height: 18px;
    flex-wrap: wrap;
    gap: 1px;
    flex-shrink: 0;
  }
  .start-logo span { display: block; width: 8px; height: 8px; }
  .logo-red { background: #FF0000; }
  .logo-green { background: #00A800; }
  .logo-blue { background: #0000C8; }
  .logo-yellow { background: #FFD800; }
  .taskbar-sep {
    width: 2px;
    height: 30px;
    border-left: 1px solid #808080;
    border-right: 1px solid #FFF;
    margin: 0 2px;
  }
  .taskbar-windows {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
  }
  .taskbar-window {
    padding: 4px 10px;
    background: #c0c0c0;
    font-size: 11px;
    font-family: 'MS Sans Serif', Arial, sans-serif;
    cursor: pointer;
    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
    border-right: 2px solid #808080;
    border-bottom: 2px solid #808080;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #000;
  }

  .taskbar-window.active {
    border-top: 2px solid #808080;
    border-left: 2px solid #808080;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    padding-top: 5px;
    padding-left: 11px;
    background: #b8b8b8;
  }

  .taskbar-window:not(.active):hover {
    background: #d0d0d0;
  }
  .taskbar-clock {
    margin-left: auto;
    padding: 4px 8px;
    border-top: 1px solid #808080;
    border-left: 1px solid #808080;
    border-right: 1px solid #FFF;
    border-bottom: 1px solid #FFF;
    font-size: 11px;
    font-family: 'MS Sans Serif', Arial, sans-serif;
  }

  /* ── START MENU ── */
  .start-menu {
    display: none;
    position: fixed;
    bottom: var(--taskbar-h);
    left: 4px;
    width: 420px;
    max-height: calc(100dvh - var(--taskbar-h) - 8px);
    background: #c0c0c0;
    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
    border-right: 2px solid #808080;
    border-bottom: 2px solid #808080;
    z-index: 600;
    box-shadow: 3px 3px 0 #000000;
    overflow: hidden;
  }

  .start-menu.open {
    display: flex;
    flex-direction: row;
    align-items: stretch;
  }

  .start-menu-sidebar {
    flex: 0 0 34px;
    width: 34px;
    background: linear-gradient(180deg, #1084d0 0%, #000080 55%, #000050 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    border-right: 2px solid #000080;
  }

  .start-menu-sidebar-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-transform: uppercase;
    font-family: 'Courier New', Courier, monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #ffffff;
    text-shadow:
      1px 1px 0 #000000,
      0 0 0 #000000;
    user-select: none;
    line-height: 1;
    -webkit-font-smoothing: none;
    font-smooth: never;
  }

  .start-menu-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
  }

  .start-menu-body {
    flex: 1;
    display: flex;
    min-height: 0;
    overflow: hidden;
  }

  .start-menu-col {
    flex: 1;
    border-right: 1px solid #808080;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow-y: auto;
  }

  .start-menu-col:last-child {
    border-right: none;
  }

  .start-col-title {
    background: #000080;
    color: #ffffff;
    font-family: 'Courier New', Courier, monospace;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
    flex-shrink: 0;
    border-bottom: 2px solid #808080;
  }

  .start-menu-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    cursor: pointer;
    font-size: 11px;
    border-bottom: 1px solid #dfdfdf;
  }

  .start-menu-item:hover {
    background: #000080;
    color: #ffffff;
  }

  .start-menu-item .sm-icon {
    font-size: 14px;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
  }

  .start-menu-item .sm-arrow {
    margin-left: auto;
    font-size: 9px;
    color: #808080;
  }

  .start-menu-item:hover .sm-arrow {
    color: #ffffff;
  }

  .start-menu-footer {
    flex-shrink: 0;
    border-top: 2px solid #808080;
    padding: 4px 8px;
    display: flex;
    justify-content: flex-end;
    gap: 4px;
    background: #c0c0c0;
  }
  .sm-footer-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    background: #C0C0C0;
    font-family: 'MS Sans Serif', Arial, sans-serif;
    font-size: 11px;
    cursor: pointer;
    border-top: 1px solid #FFFFFF;
    border-left: 1px solid #FFFFFF;
    border-right: 1px solid #808080;
    border-bottom: 1px solid #808080;
  }
  .sm-footer-btn:active { border-color: #808080 #FFF #FFF #808080; }

  /* ── COMPARE WINDOW ── */
  .compare-grid {
    display: grid;
    gap: 0;
    overflow-x: auto;
  }
  .compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
    background: #FFF;
    border-top: 1px solid #808080;
    border-left: 1px solid #808080;
    border-right: 1px solid #DFDFDF;
    border-bottom: 1px solid #DFDFDF;
    margin: 6px;
  }
  .compare-table th {
    background: linear-gradient(to right, #000080, #1084D0);
    color: #FFF;
    padding: 6px 10px;
    text-align: center;
    border: 1px solid #000060;
    font-size: 12px;
  }
  .compare-table th .cmp-emoji { font-size: 22px; display: block; margin-bottom: 2px; }
  .compare-table th .compare-product-link .cmp-emoji { margin-bottom: 0; }
  .compare-table .product-thumb-img {
    width: 48px;
    height: 48px;
    max-width: 48px;
    max-height: 48px;
    margin: 0 auto;
  }
  .compare-table td {
    padding: 4px 10px;
    border: 1px solid #D0D0D0;
    vertical-align: top;
  }
  .compare-table tr:nth-child(even) td { background: #F0F0F0; }
  .compare-table .row-label {
    background: #C0C0C0;
    font-weight: bold;
    color: #000080;
    width: 110px;
    border-right: 2px solid #808080;
  }

  .compare-actions { padding: 6px; display: flex; gap: 4px; }
  .compare-scroll { overflow-x: auto; padding: 0 6px 6px; }
  .empty-compare {
    padding: 24px;
    text-align: center;
    color: #808080;
    font-size: 13px;
  }

  /* â”€â”€ SHUTDOWN â”€â”€ */
  .shutdown-screen {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #000;
    color: #C0C0C0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: "MS Sans Serif", Tahoma, sans-serif;
    font-size: 18px;
    line-height: 1.5;
    cursor: default;
    user-select: none;
  }
  .shutdown-screen[hidden] {
    display: none !important;
  }
  .shutdown-screen-text {
    margin: 0;
  }
  body.is-shutdown {
    overflow: hidden;
  }

  /* â”€â”€ DIALOGS â”€â”€ */
  .dialog-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 500;
    align-items: center;
    justify-content: center;
  }
  .dialog-overlay.show { display: flex; }
  .dialog-box {
    background: #C0C0C0;
    min-width: 300px;
    max-width: 400px;
    border-top: 2px solid #FFFFFF;
    border-left: 2px solid #FFFFFF;
    border-right: 2px solid #808080;
    border-bottom: 2px solid #808080;
  }
  .dialog-body {
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
  }
  .dialog-icon { font-size: 32px; flex-shrink: 0; }
  .dialog-text p { font-size: 11px; line-height: 1.6; }
  .dialog-buttons {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px 12px;
  }
  .dialog-box-wide { max-width: 460px; }
  .dialog-body-stack { flex-direction: column; }
  .account-form { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
  .account-form label { display: flex; flex-direction: column; gap: 4px; font-size: 11px; }

  .password-field {
    display: flex;
    align-items: stretch;
    gap: 4px;
    width: 100%;
  }

  .password-field .search-input {
    flex: 1;
    min-width: 0;
  }

  .password-toggle {
    flex: 0 0 auto;
    min-width: 72px;
    padding: 2px 8px;
    font-family: 'MS Sans Serif', Arial, sans-serif;
    font-size: 11px;
    line-height: 1.2;
    cursor: pointer;
    background: #C0C0C0;
    border-top: 1px solid #FFFFFF;
    border-left: 1px solid #FFFFFF;
    border-right: 1px solid #808080;
    border-bottom: 1px solid #808080;
    color: #000;
    white-space: nowrap;
  }

  .password-toggle:hover { background: #D4D0C8; }

  .password-toggle:active,
  .password-toggle[aria-pressed="true"] {
    border-top: 1px solid #808080;
    border-left: 1px solid #808080;
    border-right: 1px solid #FFFFFF;
    border-bottom: 1px solid #FFFFFF;
    background: #B8B4AC;
  }
  .account-form[hidden],
  #accountGuest [hidden],
  #accountLoginView[hidden],
  #accountRegisterView[hidden],
  #accountMember[hidden],
  #accountMember [data-account-panel][hidden] {
    display: none !important;
  }
  .account-actions { display: flex; gap: 6px; margin-top: 4px; flex-wrap: wrap; }
  .account-actions--footer { margin-top: 12px; padding-top: 8px; border-top: 1px solid #808080; }
  .account-status { margin-bottom: 4px; }

  .desktop-window--account {
    width: min(520px, calc(100% - 24px));
    height: min(520px, calc(100% - 24px));
  }

  .account-panel { width: 100%; }
  .account-panel-content { flex: 1; min-width: 0; }

  .account-tabs {
    display: flex;
    gap: 2px;
    margin: 8px 0 4px;
    border-bottom: 1px solid #808080;
    padding-bottom: 2px;
  }

  .account-tab {
    padding: 4px 10px;
    background: #C0C0C0;
    font-family: 'MS Sans Serif', Arial, sans-serif;
    font-size: 11px;
    cursor: pointer;
    border-top: 1px solid #FFFFFF;
    border-left: 1px solid #FFFFFF;
    border-right: 1px solid #808080;
    border-bottom: 1px solid #808080;
  }

  .account-tab.selected {
    background: #fff;
    border-bottom-color: #fff;
    font-weight: bold;
    color: #000080;
  }

  .account-form-title {
    margin: 0 0 4px;
    font-size: 12px;
    font-weight: bold;
    color: #000080;
  }

  .account-message {
    margin: 2px 0 0;
    padding: 8px 10px;
    font-size: 11px;
    line-height: 1.4;
    color: #008000;
    background: #e8ffe8;
    border: 1px solid #808080;
    border-top-color: #fff;
    border-left-color: #fff;
  }

  .account-message.is-error {
    color: #800000;
    background: #ffe8e8;
  }

  .account-form.is-invalid .search-input {
    border-color: #800000;
    background: #fff8f8;
  }

  .email-verify-banner {
    margin: 8px 0 12px;
    padding: 10px;
    background: #ffffcc;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .email-verify-banner[hidden] {
    display: none !important;
  }

  .email-verify-banner p {
    margin: 0;
    font-size: 12px;
  }

  .orders-body,
  .favourites-body {
    max-height: 260px;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 2px;
  }

  .favourite-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    background: #C0C0C0;
    padding: 6px;
  }

  .favourite-card-media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #fff;
    border-top: 1px solid #808080;
    border-left: 1px solid #808080;
    border-right: 1px solid #DFDFDF;
    border-bottom: 1px solid #DFDFDF;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
  }

  .favourite-card-media .product-thumb-img {
    width: 40px;
    height: 40px;
    max-width: 40px;
    max-height: 40px;
  }

  .favourite-card-name {
    display: block;
    font-size: 11px;
    font-weight: bold;
    color: #000080;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .favourite-card-name:hover { text-decoration: underline; }

  .favourite-card-meta {
    font-size: 10px;
    color: #444;
    margin-top: 2px;
  }

  .favourite-card-actions {
    display: flex;
    gap: 4px;
  }

  .orders-empty {
    color: #808080;
    text-align: center;
    padding: 16px 8px;
    font-size: 11px;
    line-height: 1.5;
  }

  .order-card {
    background: #C0C0C0;
    padding: 8px;
  }

  .order-card-head {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: baseline;
    margin-bottom: 4px;
    font-size: 11px;
  }

  .order-card-meta { color: #444; font-size: 10px; }
  .order-card-status { font-size: 10px; color: #000080; margin-bottom: 6px; }

  .order-item-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    font-size: 11px;
    padding: 2px 0;
    border-bottom: 1px solid #dfdfdf;
  }

  .order-item-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .order-card-total {
    margin-top: 6px;
    text-align: right;
    font-size: 11px;
  }

  .info-panel {
    display: flex;
    gap: 12px;
    align-items: flex-start;
  }

  .info-panel-icon {
    font-size: 32px;
    flex-shrink: 0;
  }

  .info-panel-content {
    font-size: 11px;
    line-height: 1.6;
  }

  .info-panel-content p { margin-bottom: 8px; }

  .info-hint {
    margin-top: 8px;
    color: #444;
    font-size: 10px;
  }

  #compareBody {
    flex: 1;
    overflow: auto;
    min-height: 0;
  }

  /* ── PRODUCT DETAIL PAGE ── */
  .product-detail {
    flex: 1;
    min-height: 0;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    background: #808080;
    align-items: stretch;
  }

  .product-detail-hero {
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1.2fr) minmax(220px, 280px);
    gap: 12px;
    padding: 12px;
    background: #C0C0C0;
    min-width: 0;
    align-items: start;
  }

  .product-detail-media {
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }

  .product-detail-gallery {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 6px;
    min-width: 0;
    width: 100%;
  }

  .product-detail-swap {
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
  }

  .product-gallery-nav {
    min-width: 32px;
    width: 32px;
    padding: 6px 0;
    flex-shrink: 0;
  }

  .product-detail-frame {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 320px;
    margin: 0 auto;
    background: #fff;
    padding: 8px;
    box-sizing: border-box;
    overflow: hidden;
    border: none;
    font: inherit;
    color: inherit;
  }

  button.product-detail-frame.is-zoomable {
    cursor: zoom-in;
  }

  button.product-detail-frame:disabled {
    cursor: default;
  }

  .product-detail-frame.is-loading {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .product-detail-media-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    text-align: center;
    color: #000080;
    font-family: 'MS Sans Serif', Tahoma, sans-serif;
  }

  .product-detail-media-loading .grid-loading-title {
    font-size: 12px;
  }

  .product-detail-media-loading .grid-loading-hint {
    font-size: 10px;
  }

  .product-detail--awaiting-image .product-detail-info {
    opacity: 0.72;
  }

  .product-detail-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #fff;
    pointer-events: none;
  }

  .product-detail-emoji {
    display: none;
    position: absolute;
    inset: 8px;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    line-height: 1;
    background: linear-gradient(180deg, #f7f7f7 0%, #e4e4e4 100%);
  }

  .product-detail-frame.is-fallback .product-detail-emoji {
    display: flex;
  }

  .product-detail-thumbs {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    justify-content: flex-start;
    flex: 1;
    min-width: 0;
    max-width: none;
    margin: 0;
    overflow-x: auto;
  }

  .product-detail-thumb {
    width: 48px;
    height: 48px;
    padding: 2px;
    background: #C0C0C0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 2px solid #FFFFFF;
    border-left: 2px solid #FFFFFF;
    border-right: 2px solid #808080;
    border-bottom: 2px solid #808080;
  }

  .product-detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .product-detail-thumb.is-active {
    outline: 2px solid #000080;
    outline-offset: 1px;
  }

  .product-detail-zoom-hint {
    margin: 0;
    text-align: center;
    font-size: 11px;
    color: #444;
  }

  .zoom-hint-mobile {
    display: none;
  }

  .product-detail-specs-mobile,
  .product-mobile-bar {
    display: none;
  }

  .dialog-box--gallery {
    min-width: min(920px, 96vw);
    max-width: 96vw;
    width: min(920px, 96vw);
  }

  /* Fullscreen product photo lightbox */
  .dialog-overlay.gallery-lightbox {
    z-index: 12000;
    padding: 0;
    background: rgba(0, 0, 0, 0.88);
    align-items: stretch;
    justify-content: stretch;
  }

  .gallery-lightbox-panel {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: #0a0a0a;
    overflow: hidden;
    /* Keep a bit of breathing room on Y so it is not edge-to-edge fullscreen */
    padding: 28px 0 36px;
    box-sizing: border-box;
  }

  .gallery-lightbox-close {
    position: absolute;
    top: 36px;
    right: 12px;
    z-index: 5;
    width: 40px;
    height: 40px;
    padding: 0;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    color: #fff;
    background: rgba(40, 40, 40, 0.72);
    border: 2px solid rgba(255, 255, 255, 0.55);
    border-radius: 2px;
  }

  .gallery-lightbox-close:hover {
    background: rgba(80, 80, 80, 0.9);
  }

  .gallery-lightbox-nav {
    position: absolute;
    top: 50%;
    z-index: 4;
    transform: translateY(-50%);
    width: 44px;
    height: 64px;
    padding: 0;
    font-size: 20px;
    cursor: pointer;
    color: #fff;
    background: rgba(40, 40, 40, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.35);
    opacity: 0.45;
    transition: opacity 0.2s ease, background 0.2s ease;
  }

  .gallery-lightbox-nav:hover,
  .gallery-lightbox-panel:hover .gallery-lightbox-nav {
    opacity: 0.9;
  }

  .gallery-lightbox-nav:disabled {
    opacity: 0.2;
    cursor: default;
  }

  .gallery-lightbox-nav--prev { left: 10px; }
  .gallery-lightbox-nav--next { right: 10px; }

  .gallery-lightbox-stage {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    overflow: clip; /* zoom/pan must not create scrollbars */
    cursor: grab;
    touch-action: none;
    /* Soft inset so the photo does not fill the full viewport height */
    margin: 8px 16px 72px;
  }

  .gallery-lightbox-stage.is-panning {
    cursor: grabbing;
  }

  .gallery-lightbox-viewport {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    overflow: clip;
  }

  .gallery-lightbox .gallery-main-img {
    /* One consistent display size for the main photo */
    width: min(86vw, 72vh, 820px);
    height: min(86vw, 72vh, 820px);
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    transform-origin: center center;
    transition: transform 0.05s linear;
    user-select: none;
    -webkit-user-drag: none;
    background: #111;
  }

  .gallery-lightbox-counter {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    padding: 4px 10px;
    font-size: 12px;
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 2px;
    pointer-events: none;
  }

  .gallery-lightbox-chooser {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    z-index: 4;
    max-width: min(92vw, 720px);
    padding: 8px 10px;
    background: transparent;
    border: none;
    border-radius: 4px;
    opacity: 1;
    overflow: visible;
  }

  .gallery-lightbox .gallery-thumbs {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    /* Room for active outline so it never forces a scrollbar */
    padding: 3px;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: safe center;
    overscroll-behavior: contain;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* legacy Edge */
  }

  .gallery-lightbox .gallery-thumbs::-webkit-scrollbar {
    display: none; /* Chrome / Safari / Edge */
    width: 0;
    height: 0;
  }

  .gallery-lightbox .gallery-thumb {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    padding: 0;
    background: rgba(80, 80, 80, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.35);
    cursor: pointer;
    opacity: 0.35;
    transition: opacity 0.15s ease;
  }

  .gallery-lightbox .gallery-thumb:hover,
  .gallery-lightbox .gallery-thumb:focus-visible {
    opacity: 1;
  }

  .gallery-lightbox .gallery-thumb.is-active {
    outline: 2px solid #fff;
    outline-offset: 1px;
    opacity: 0.85;
  }

  .gallery-lightbox .gallery-thumb.is-active:hover,
  .gallery-lightbox .gallery-thumb.is-active:focus-visible {
    opacity: 1;
  }

  .gallery-lightbox .gallery-thumb img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    display: block;
  }

  .gallery-viewer {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    align-items: center;
    padding: 8px 12px 0;
  }

  .gallery-stage {
    background: #000;
    min-height: 320px;
    max-height: min(70vh, 560px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
  }

  .gallery-main-img {
    max-width: 100%;
    max-height: min(66vh, 540px);
    object-fit: contain;
    display: block;
  }

  .gallery-nav {
    min-width: 40px;
    padding: 8px 10px;
    font-size: 16px;
  }

  .gallery-nav:disabled {
    opacity: 0.45;
  }

  .gallery-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 14px 0;
    font-size: 12px;
  }

  .gallery-caption {
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .gallery-counter {
    flex-shrink: 0;
    color: #444;
  }

  .gallery-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 14px;
    max-height: 88px;
    overflow-y: auto;
  }

  .gallery-thumb {
    width: 56px;
    height: 56px;
    padding: 2px;
    background: #C0C0C0;
    border-top: 2px solid #FFFFFF;
    border-left: 2px solid #FFFFFF;
    border-right: 2px solid #808080;
    border-bottom: 2px solid #808080;
    cursor: pointer;
  }

  .gallery-thumb.is-active {
    outline: 2px solid #000080;
  }

  .gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .product-detail-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-self: stretch;
  }

  .product-detail-kicker {
    margin: 0;
    font-size: 11px;
    color: #444;
  }

  .product-detail-title {
    margin: 0;
    font-family: 'MS Sans Serif', Tahoma, sans-serif;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.25;
    color: #000080;
  }

  .product-detail-brand,
  .product-detail-sku {
    margin: 0;
    font-size: 12px;
    color: #333;
  }

  .product-detail-summary {
    margin: 6px 0 0;
    padding: 8px 10px;
    background: #fff;
    font-size: 12px;
    line-height: 1.45;
    color: #000;
    white-space: pre-wrap;
  }

  .product-detail-summary[hidden] {
    display: none !important;
  }

  .product-detail-buy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    background: #C0C0C0;
  }

  .product-detail-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
  }

  .product-detail-price {
    font-size: 22px;
    font-weight: bold;
    color: #008000;
  }

  .product-detail-stock {
    font-size: 11px;
    padding: 2px 6px;
    border: 1px solid #808080;
    background: #e8e8e8;
  }

  .product-detail-stock.is-in {
    background: #d8ffd8;
    border-color: #2a8a2a;
    color: #145214;
  }

  .product-detail-stock.is-out {
    background: #ffd8d8;
    border-color: #a84444;
    color: #6a1a1a;
  }

  .product-detail-qty {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
  }

  .product-qty-stepper {
    display: grid;
    grid-template-columns: 36px 1fr 36px;
    gap: 4px;
    align-items: center;
    padding: 4px;
    background: #fff;
  }

  .product-qty-input {
    width: 100%;
    min-width: 0;
    text-align: center;
    border: 1px solid #808080;
    padding: 6px 4px;
    font: inherit;
    background: #fff;
  }

  .product-qty-btn {
    min-width: 0;
    padding: 6px 0;
  }

  .product-detail-desc {
    margin: 0;
    width: 100%;
    min-width: 0;
    min-height: 120px;
    padding: 4px 2px 8px;
    box-sizing: border-box;
    font-size: 13px;
    line-height: 1.6;
    color: #222;
    overflow-x: hidden;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
    background: transparent;
  }

  .product-detail-html {
    max-width: 100%;
  }

  .product-detail-html img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px auto;
    border: 2px solid #808080;
    background: #fff;
  }

  .product-detail-html figcaption,
  .product-detail-html .attachment__caption,
  .product-detail-html .attachment__name,
  .product-detail-html .attachment__size {
    display: none !important;
  }

  .product-detail-html .text-left,
  .product-detail-html [style*="text-align: left"],
  .product-detail-html [style*="text-align:left"] {
    text-align: left;
  }

  .product-detail-html .text-center,
  .product-detail-html [style*="text-align: center"],
  .product-detail-html [style*="text-align:center"] {
    text-align: center;
  }

  .product-detail-html .text-right,
  .product-detail-html [style*="text-align: right"],
  .product-detail-html [style*="text-align:right"] {
    text-align: right;
  }

  .product-detail-html .text-left img,
  .product-detail-html [style*="text-align: left"] img,
  .product-detail-html [style*="text-align:left"] img,
  .product-detail-html .text-left .attachment,
  .product-detail-html [style*="text-align: left"] .attachment,
  .product-detail-html [style*="text-align:left"] .attachment {
    margin-left: 0;
    margin-right: auto;
  }

  .product-detail-html .text-center img,
  .product-detail-html [style*="text-align: center"] img,
  .product-detail-html [style*="text-align:center"] img,
  .product-detail-html .text-center .attachment,
  .product-detail-html [style*="text-align: center"] .attachment,
  .product-detail-html [style*="text-align:center"] .attachment {
    margin-left: auto;
    margin-right: auto;
  }

  .product-detail-html .text-right img,
  .product-detail-html [style*="text-align: right"] img,
  .product-detail-html [style*="text-align:right"] img,
  .product-detail-html .text-right .attachment,
  .product-detail-html [style*="text-align: right"] .attachment,
  .product-detail-html [style*="text-align:right"] .attachment {
    margin-left: auto;
    margin-right: 0;
  }

  .product-detail-html .text-left h2,
  .product-detail-html .text-left h3,
  .product-detail-html .text-left h4,
  .product-detail-html .text-left p,
  .product-detail-html [style*="text-align: left"] h2,
  .product-detail-html [style*="text-align:left"] h2 {
    text-align: left;
  }

  .product-detail-html .text-center h2,
  .product-detail-html .text-center h3,
  .product-detail-html .text-center h4,
  .product-detail-html .text-center p,
  .product-detail-html .text-center ul,
  .product-detail-html .text-center ol,
  .product-detail-html [style*="text-align: center"] h2,
  .product-detail-html [style*="text-align: center"] h3,
  .product-detail-html [style*="text-align:center"] h2,
  .product-detail-html [style*="text-align:center"] h3 {
    text-align: center;
  }

  .product-detail-html .text-right h2,
  .product-detail-html .text-right h3,
  .product-detail-html .text-right h4,
  .product-detail-html .text-right p,
  .product-detail-html .text-right ul,
  .product-detail-html .text-right ol,
  .product-detail-html [style*="text-align: right"] h2,
  .product-detail-html [style*="text-align: right"] h3,
  .product-detail-html [style*="text-align:right"] h2,
  .product-detail-html [style*="text-align:right"] h3 {
    text-align: right;
  }

  .product-detail-html br {
    display: block;
    content: '';
    margin: 0.15em 0;
  }

  .product-detail-html p,
  .product-detail-html ul,
  .product-detail-html ol,
  .product-detail-html h2,
  .product-detail-html h3,
  .product-detail-html h4,
  .product-detail-html blockquote,
  .product-detail-html table,
  .product-detail-html hr,
  .product-detail-html > div {
    margin: 0 0 0.85em;
    max-width: 100%;
  }

  .product-detail-html > :last-child {
    margin-bottom: 0;
  }

  .product-detail-html p {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
  }

  /* Global * reset strips list padding — restore indent so bullets stay inside the panel. */
  .product-detail-html ul,
  .product-detail-html ol {
    padding-left: 1.6em;
    padding-right: 0.25em;
    list-style-position: outside;
  }

  .product-detail-html ul {
    list-style-type: disc;
  }

  .product-detail-html ol {
    list-style-type: decimal;
  }

  .product-detail-html ul ul {
    list-style-type: circle;
    margin-top: 0.35em;
    margin-bottom: 0.35em;
  }

  .product-detail-html ul ul ul {
    list-style-type: square;
  }

  .product-detail-html ol ol {
    list-style-type: lower-alpha;
    margin-top: 0.35em;
    margin-bottom: 0.35em;
  }

  .product-detail-html li {
    margin: 0 0 0.35em;
    padding-left: 0.15em;
    line-height: 1.55;
  }

  .product-detail-html li:last-child {
    margin-bottom: 0;
  }

  .product-detail-html li > ul,
  .product-detail-html li > ol {
    margin-top: 0.35em;
    margin-bottom: 0;
  }

  .product-detail-html .text-center ul,
  .product-detail-html .text-center ol,
  .product-detail-html .text-right ul,
  .product-detail-html .text-right ol {
    list-style-position: inside;
    padding-left: 0;
    padding-right: 0;
  }

  .product-detail-html blockquote {
    margin-left: 0;
    margin-right: 0;
    padding: 8px 12px;
    border-left: 3px solid #808080;
    background: #f3f3f3;
    color: #333;
  }

  .product-detail-html hr {
    border: none;
    border-top: 1px solid #808080;
    margin: 1em 0;
  }

  .product-detail-html a {
    color: #000080;
    text-decoration: underline;
    word-break: break-word;
  }

  .product-detail-html h2,
  .product-detail-html h3,
  .product-detail-html h4 {
    color: #000080;
    font-family: 'MS Sans Serif', Tahoma, sans-serif;
    line-height: 1.3;
    text-align: left;
  }

  .product-detail-html h2 { font-size: 1.25em; }
  .product-detail-html h3 { font-size: 1.12em; }
  .product-detail-html h4 { font-size: 1.05em; }

  .product-detail-html table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
  }

  .product-detail-html th,
  .product-detail-html td {
    border: 1px solid #808080;
    padding: 6px 8px;
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .product-detail-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
  }

  .product-detail-actions .big-btn {
    width: 100%;
    min-width: 0;
  }

  .product-detail-actions .fav-btn.favorited {
    background: linear-gradient(180deg, #fff8a8 0%, #ffe566 100%);
  }

  .product-detail-actions .cmp-btn.comparing {
    background: linear-gradient(180deg, #d8ffd8 0%, #a8e8a8 100%);
  }

  .product-detail-panels {
    background: #C0C0C0;
    padding: 0;
    min-width: 0;
    width: 100%;
  }

  .product-detail-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    background: #C0C0C0;
    border-bottom: 2px solid #808080;
    padding: 6px 6px 0;
  }

  .product-detail-tab {
    appearance: none;
    border: 2px solid #808080;
    border-bottom: none;
    background: #b8b8b8;
    color: #000;
    font: inherit;
    font-size: 12px;
    font-weight: bold;
    padding: 7px 14px;
    cursor: pointer;
    margin-right: 4px;
    border-top-color: #fff;
    border-left-color: #fff;
  }

  .product-detail-tab.is-active {
    background: #fff;
    position: relative;
    top: 2px;
    padding-bottom: 9px;
  }

  .product-detail-tabpanels {
    background: #fff;
    padding: 14px 16px 16px;
    min-width: 0;
    overflow-x: hidden;
  }

  .product-detail-tabpanel[hidden] {
    display: none !important;
  }

  .product-panel-title {
    margin: 0 0 10px;
    font-size: 14px;
    color: #000080;
    font-family: 'MS Sans Serif', Tahoma, sans-serif;
  }

  .product-specs-empty {
    margin: 8px 0 0;
    font-size: 12px;
    color: #555;
  }

  .product-detail-specs,
  .product-detail-specs-mobile {
    display: none !important;
  }

  .product-spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    background: #fff;
  }

  .product-spec-table th,
  .product-spec-table td {
    border: 1px solid #808080;
    padding: 7px 9px;
    text-align: left;
    vertical-align: top;
  }

  .product-spec-table th {
    width: 38%;
    background: #e8e8e8;
    font-weight: bold;
  }


  .compare-product-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    max-width: 140px;
  }

  .compare-product-link:hover .compare-product-name {
    color: #000080;
    text-decoration: underline;
  }

  .compare-product-name {
    font-weight: bold;
    line-height: 1.2;
  }

  .product-name-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
  }

  .product-name-link:hover {
    color: #000080;
    text-decoration: underline;
  }

  /* ── CLICKLAB BRAND ── */
  .clicklab-brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
    vertical-align: middle;
  }

  .clicklab-wordmark {
    font-family: "MS Sans Serif", Tahoma, sans-serif;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.02em;
    color: inherit;
    white-space: nowrap;
  }

  .title-bar .clicklab-wordmark {
    color: #fff;
    font-size: 13px;
    text-shadow: 1px 1px 0 #000040;
  }

  .start-btn .clicklab-wordmark {
    display: none;
  }

  .clicklab-logo-wrap {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 0;
  }

  .clicklab-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    /* Keep silver mark readable on teal desktop / grey chrome */
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.55));
  }

  .clicklab-logo--title { width: 22px; height: 22px; }
  .clicklab-logo--xs { width: 18px; height: 18px; }
  .clicklab-logo--sm { width: 20px; height: 20px; }
  .clicklab-logo--md { width: 36px; height: 36px; }
  .clicklab-logo--lg { width: 48px; height: 48px; }
  .clicklab-logo--xl { width: 72px; height: 72px; }

  .clicklab-logo-wrap.clicklab-logo--title,
  .clicklab-logo-wrap.clicklab-logo--xs,
  .clicklab-logo-wrap.clicklab-logo--sm,
  .clicklab-logo-wrap.clicklab-logo--md,
  .clicklab-logo-wrap.clicklab-logo--lg,
  .clicklab-logo-wrap.clicklab-logo--xl {
    width: auto;
    height: auto;
  }

  .clicklab-brand--full .clicklab-logo-wrap {
    width: 120px;
    height: 120px;
  }

  .clicklab-brand--full .clicklab-logo--lg,
  .clicklab-brand--full .clicklab-logo--md,
  .clicklab-brand--full .clicklab-logo--xl {
    width: 120px;
    height: 120px;
  }

  .title-bar .clicklab-brand {
    flex-shrink: 0;
    align-items: center;
    gap: 6px;
    height: 100%;
    min-height: 0;
  }

  .title-bar .clicklab-logo-wrap {
    width: 22px;
    height: 22px;
    margin: 0;
    padding: 0;
  }

  .title-bar .clicklab-logo--title {
    width: 22px;
    height: 22px;
    filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.8));
  }

  .start-btn {
    gap: 6px;
    align-items: center;
  }

  .start-btn .clicklab-logo-wrap {
    width: 20px;
    height: 20px;
  }

  .start-btn .clicklab-logo--sm {
    width: 20px;
    height: 20px;
  }

  .start-btn-label {
    font-weight: bold;
    line-height: 1;
  }

  .desktop-icon-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
  }

  .desktop-icon-logo .clicklab-logo-wrap {
    width: 48px;
    height: 48px;
  }

  .desktop-icon-logo .clicklab-logo--lg {
    width: 48px;
    height: 48px;
    filter: drop-shadow(1px 1px 0 rgba(0, 0, 0, 0.85));
  }

  .info-panel-icon .clicklab-logo-wrap,
  .dialog-icon .clicklab-logo-wrap {
    width: 48px;
    height: 48px;
  }

  .info-panel-icon .clicklab-logo,
  .dialog-icon .clicklab-logo {
    width: 48px;
    height: 48px;
  }

  /* ── CATEGORY TREE ── */
  .cat-tree { padding: 4px 0; }

  .cat-tree-node {
    --cat-indent: 14px;
  }

  .cat-tree-row {
    display: flex;
    align-items: center;
    gap: 2px;
    padding-left: calc(var(--cat-depth, 0) * var(--cat-indent));
  }

  .cat-tree-toggle,
  .cat-tree-toggle-spacer {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #000080;
    font-family: inherit;
  }

  .cat-tree-toggle-spacer {
    cursor: default;
  }

  .cat-tree-item {
    flex: 1;
    min-width: 0;
  }

  .cat-tree-children.collapsed {
    display: none;
  }

  /* Start menu category tree — aligned columns + collapse */
  .start-cat-node {
    --cat-indent: 14px;
  }

  .start-cat-row {
    display: flex;
    align-items: center;
    gap: 2px;
    padding-left: calc(var(--cat-depth, 0) * var(--cat-indent));
    min-width: 0;
  }

  .start-cat-toggle,
  .start-cat-toggle-spacer {
    width: 18px;
    height: 22px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    line-height: 1;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #000080;
    font-family: inherit;
  }

  .start-cat-toggle-spacer {
    cursor: default;
    visibility: hidden;
  }

  .start-cat-item {
    flex: 1;
    min-width: 0;
    padding-left: 4px !important;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .start-cat-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
  }

  .start-cat-item .sm-arrow {
    display: none;
  }

  .start-cat-children.collapsed {
    display: none;
  }

  .start-menu-col--browse {
    max-height: 320px;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .tb-btn--mobile-only,
  .toolbar-sep--mobile,
  .sidebar-mobile-head,
  .fixed-cart-close-mobile,
  .mobile-sheet-backdrop {
    display: none;
  }

  @media (max-width: 768px) {
    :root {
      --taskbar-h: 52px;
      --touch-min: 48px;
      --font-base: 14px;
      --fixed-cart-w: 0px;
      --fixed-cart-h: 0px;
      --desktop-icons-w: 0px;
    }

    body {
      font-size: var(--font-base);
      -webkit-text-size-adjust: 100%;
    }

    button,
    .tb-btn,
    .card-btn,
    .big-btn,
    .sidebar-item,
    .start-menu-item,
    .desktop-icon,
    .taskbar-window,
    .title-btn,
    .start-btn,
    .sm-footer-btn {
      -webkit-tap-highlight-color: transparent;
    }

    /* Maximize workspace: Start only — no icon strip, no persistent cart pane */
    .desktop {
      flex-direction: row;
      padding-bottom: 0;
      width: 100%;
      max-width: 100vw;
      overflow: hidden;
    }

    .desktop-icons-column {
      display: none !important;
    }

    .desktop-workspace {
      flex: 1 1 auto;
      width: 100% !important;
      max-width: 100%;
      margin: 0 !important;
      min-height: 0;
      order: 0;
    }

    .desktop-window--pinned {
      border-right: none !important;
    }

    .tb-btn--mobile-only,
    .toolbar-sep--mobile {
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .tb-btn--mobile-only {
      gap: 4px;
      line-height: 1;
      text-align: center;
      vertical-align: middle;
    }

    .fixed-cart-close-mobile {
      display: inline-flex;
      margin-left: auto;
      min-width: 36px;
      min-height: 36px;
    }

    .fixed-cart-titlebar {
      display: flex;
      align-items: center;
      gap: 8px;
      min-height: 40px;
      font-size: 13px;
    }

    /* Cart = bottom sheet, closed by default */
    .fixed-cart {
      position: fixed !important;
      left: 0;
      right: 0;
      bottom: var(--taskbar-h);
      width: 100% !important;
      height: min(62vh, 480px) !important;
      flex: none !important;
      z-index: 480;
      transform: translateY(105%);
      transition: transform 0.2s ease;
      border-left: none !important;
      border-right: none !important;
      border-bottom: none !important;
      box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.35);
    }

    .fixed-cart.is-mobile-open {
      transform: translateY(0);
    }

    .mobile-sheet-backdrop {
      display: none;
      position: fixed;
      inset: 0;
      bottom: var(--taskbar-h);
      background: rgba(0, 0, 0, 0.45);
      z-index: 470;
    }

    .mobile-sheet-backdrop.is-visible {
      display: block;
    }

    /* Filters = left sheet */
    .sidebar-mobile-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 12px;
      background: #000080;
      color: #fff;
      font-size: 14px;
    }

    .is-plp .content-area {
      display: block;
      position: relative;
      min-height: 0;
      flex: 1;
      overflow: hidden;
      padding: 0;
    }

    .is-plp #win-store {
      display: flex;
      flex-direction: column;
    }

    .is-plp #win-store .window-body {
      display: flex;
      flex-direction: column;
      flex: 1;
      min-height: 0;
    }

    .is-plp .sidebar {
      position: fixed;
      top: 0;
      left: 0;
      bottom: var(--taskbar-h);
      width: min(88vw, 340px);
      max-width: 340px;
      z-index: 490;
      background: #C0C0C0;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      transform: translateX(-105%);
      transition: transform 0.2s ease;
      box-shadow: 4px 0 16px rgba(0, 0, 0, 0.35);
      padding: 0 0 16px;
    }

    .is-plp .sidebar.is-mobile-open {
      transform: translateX(0);
    }

    .is-plp .product-area {
      width: 100%;
      height: 100%;
      overflow: auto;
      -webkit-overflow-scrolling: touch;
    }

    .is-plp .plp-mobile-footer {
      display: block;
      flex-shrink: 0;
      margin-top: 8px;
      padding: 10px 6px 16px;
      background: #008080;
      border-top: 1px solid #006666;
    }

    .is-plp .plp-pagination:not([hidden]) {
      display: flex;
      flex-wrap: nowrap;
      align-items: center;
      gap: 4px;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
      padding: 10px 6px 8px;
      flex-shrink: 0;
      overflow: hidden;
    }

    .is-plp .plp-page-numbers {
      display: flex;
      flex: 1 1 auto;
      flex-wrap: nowrap;
      align-items: center;
      justify-content: center;
      gap: 4px;
      min-width: 0;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
    }

    .is-plp .plp-page-numbers::-webkit-scrollbar {
      display: none;
    }

    .is-plp .plp-page-btn {
      flex: 0 0 auto;
      min-width: 32px;
      min-height: 36px;
      height: 36px;
      padding: 0 6px;
      font-size: 12px;
      line-height: 1;
    }

    .is-plp .plp-page-btn--edge {
      flex: 0 0 36px;
      width: 36px;
      padding: 0;
    }

    .is-plp .plp-page-btn.is-active {
      background: #000080;
      color: #fff;
      border-top-color: #000040;
      border-left-color: #000040;
      border-right-color: #1084d0;
      border-bottom-color: #1084d0;
      font-weight: bold;
    }

    .is-plp .plp-page-ellipsis {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 20px;
      color: #444;
      font-size: 12px;
    }

    .is-plp .desktop-icons--footer {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: center;
      align-items: flex-start;
      gap: 8px 4px;
      width: 100%;
      max-width: 100%;
      padding: 0 2px;
      box-sizing: border-box;
    }

    .is-plp .desktop-icons--footer .desktop-icon {
      flex: 0 0 calc(33.333% - 6px);
      width: auto;
      min-width: 0;
      max-width: 88px;
      margin: 0;
      padding: 4px 2px;
      gap: 3px;
    }

    .is-plp .desktop-icons--footer .desktop-icon-img {
      font-size: 22px;
    }

    .is-plp .desktop-icons--footer .desktop-icon-sponsor-img img {
      width: 32px;
      height: 32px;
    }

    .is-plp .desktop-icons--footer .desktop-icon-label {
      font-size: 9px;
      line-height: 1.15;
      max-width: 100%;
    }

    .is-plp .menu-bar {
      display: none;
    }

    .is-plp .toolbar .toolbar-sep:not(.toolbar-sep--mobile),
    .is-plp .toolbar #btnNavBack,
    .is-plp .toolbar #btnNavForward,
    .is-plp .toolbar #btnRefresh,
    .is-plp .toolbar [data-category="favorites"],
    .is-plp .toolbar [data-open-window="compare"] {
      display: none;
    }

    .is-plp .toolbar {
      display: flex;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
      gap: 6px;
      padding: 6px;
      flex-wrap: nowrap;
      align-items: stretch;
      overflow: hidden;
    }

    .is-plp .toolbar .toolbar-sep--mobile {
      display: none;
    }

    .is-plp .toolbar .tb-btn {
      display: inline-flex;
      flex: 1 1 0;
      align-items: center;
      justify-content: center;
      gap: 4px;
      width: 0;
      min-width: 0;
      min-height: 40px;
      height: 40px;
      max-width: none;
      padding: 0 8px;
      font-size: 12px;
      line-height: 1;
      white-space: nowrap;
      text-align: center;
      box-sizing: border-box;
    }

    .is-plp .toolbar .tb-btn--nav,
    .is-plp .toolbar .tb-btn--mobile-only {
      min-width: 0;
    }

    .is-plp .toolbar .tb-btn-text,
    .is-plp .toolbar .tb-btn-count {
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .is-plp .search-bar {
      display: flex;
      gap: 6px;
      padding: 8px;
      align-items: center;
    }

    .is-plp .sponsor-banner-row--sidebar {
      display: none;
    }

    .is-plp .sponsor-banner-row--plp {
      display: flex;
      width: 100%;
      padding: 8px 8px 4px;
      box-sizing: border-box;
    }

    .is-plp .search-label {
      display: none;
    }

    .is-plp .search-field {
      flex: 1;
      min-width: 0;
    }

    .is-plp .search-input {
      width: 100%;
      min-width: 0;
      min-height: var(--touch-min);
      font-size: 14px;
    }

    .is-plp .search-preview {
      max-height: min(55vh, 380px);
    }

    .is-plp .search-preview-item {
      min-height: 48px;
      padding: 8px 10px;
      gap: 10px;
    }

    .is-plp .search-preview-thumb {
      flex-basis: 40px;
      width: 40px;
      height: 40px;
    }

    .is-plp .search-preview-name {
      font-size: 13px;
    }

    .is-plp .search-preview-meta,
    .is-plp .search-preview-price {
      font-size: 12px;
    }

    .is-plp .search-preview-more {
      min-height: 44px;
      font-size: 13px;
    }

    .is-plp #btnSearch {
      min-height: var(--touch-min);
    }

    .is-plp .status-bar .status-pane.small:nth-child(n+3) {
      display: none;
    }

    .is-plp .product-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 6px;
      padding: 6px;
    }

    .is-plp .product-card {
      min-width: 0;
    }

    .is-plp .product-desc {
      display: none;
    }

    .is-plp .product-img-wrap {
      margin: 4px 4px 2px;
      width: calc(100% - 8px);
      height: auto;
      aspect-ratio: 1 / 1;
    }

    .is-plp .product-thumb-img {
      width: 72px;
      height: 72px;
      max-width: 85%;
      max-height: 85%;
      aspect-ratio: auto;
    }

    .is-plp .product-thumb-emoji {
      font-size: 28px;
    }

    .is-plp .product-info {
      padding: 2px 4px 4px;
    }

    .is-plp .product-name {
      font-size: 11px;
      line-height: 1.2;
      max-height: 2.4em;
      overflow: hidden;
    }

    .is-plp .product-price {
      font-size: 12px;
      margin-top: 2px;
    }

    .is-plp .product-meta {
      display: none;
    }

    .is-plp .product-footer {
      padding: 0 4px 4px;
      gap: 3px;
    }

    .is-plp .card-btn {
      min-height: 28px;
      padding: 3px 4px;
      font-size: 10px;
      line-height: 1;
    }

    .is-plp .card-qty-stepper .cart-qty-btn {
      min-height: 28px;
      min-width: 20px;
      font-size: 12px;
    }

    .is-plp .card-qty-stepper .cart-qty-value {
      min-height: 28px;
      font-size: 11px;
    }

    .is-plp .card-btn.fav-btn,
    .is-plp .card-btn.cmp-btn {
      flex: 0 0 26px;
      min-height: 28px;
      padding: 2px 0;
      font-size: 12px;
    }

    .is-plp .card-btn--compare-chosen {
      font-size: 10px;
      min-height: 26px;
      padding: 3px 4px;
    }

    .desktop-window--overlay,
    .desktop-window--overlay.desktop-window--free {
      left: 50% !important;
      top: 50% !important;
      transform: translate(-50%, -50%) !important;
      width: calc(100% - 16px) !important;
      height: calc(100% - 16px) !important;
    }

    .desktop-window {
      min-width: 0 !important;
      min-height: 0 !important;
    }

    .window-resize-handle { display: none !important; }

    .desktop-window--overlay .title-bar { cursor: default; }

    .title-bar {
      min-height: 40px;
      padding: 6px 6px;
      font-size: 14px;
    }

    .title-btn {
      width: 32px;
      height: 32px;
      font-size: 14px;
      touch-action: manipulation;
    }

    .title-icon {
      width: 22px;
      height: 22px;
      font-size: 12px;
    }

    /* Hide desktop menu bar — toolbar + Start cover navigation */
    .menu-bar { display: none; }

    .toolbar {
      padding: 8px;
      gap: 8px;
    }

    .toolbar-sep { height: 32px; }

    .tb-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
      min-height: var(--touch-min);
      min-width: 72px;
      height: var(--touch-min);
      padding: 0 14px;
      font-size: 13px;
      line-height: 1;
      touch-action: manipulation;
      box-sizing: border-box;
    }

    .search-bar {
      flex-wrap: wrap;
      padding: 10px;
      gap: 8px;
    }

    .search-label {
      width: 100%;
      font-size: 13px;
    }

    .search-input {
      min-height: var(--touch-min);
      padding: 10px 12px;
      font-size: 16px;
      width: 100%;
    }

    .search-bar .tb-btn {
      width: 100%;
      justify-content: center;
    }

    .is-plp .search-bar {
      flex-wrap: nowrap;
      padding: 6px 8px;
      gap: 6px;
      align-items: center;
    }

    .is-plp .search-label {
      display: none;
      width: auto;
    }

    .is-plp .search-field {
      flex: 1 1 auto;
      min-width: 0;
    }

    .is-plp .search-input {
      width: 100%;
      min-width: 0;
      min-height: 40px;
      padding: 8px 10px;
      font-size: 14px;
    }

    .is-plp .search-bar .tb-btn,
    .is-plp #btnSearch {
      width: auto;
      flex: 0 0 auto;
      min-height: 40px;
      padding: 8px 12px;
    }

    .content-area {
      flex-direction: column;
      padding: 8px;
      gap: 10px;
    }

    .is-plp .content-area {
      flex-direction: unset;
      padding: 0;
      gap: 0;
    }

    .sidebar {
      width: 100%;
      max-height: none;
    }

    .is-plp .sidebar {
      width: min(88vw, 340px);
    }

    .sidebar-title {
      padding: 8px 10px;
      font-size: 13px;
    }

    .sidebar-item {
      min-height: var(--touch-min);
      padding: 10px 12px;
      font-size: 14px;
      touch-action: manipulation;
    }

    .sidebar-dot {
      width: 10px;
      height: 10px;
    }

    .price-filter {
      padding: 12px;
    }

    .price-filter label {
      font-size: 14px;
      margin-bottom: 8px;
    }

    .price-filter input[type=range] {
      height: 14px;
      margin: 14px 0;
    }

    .price-range-dual {
      height: 40px;
      margin: 12px 0 8px;
    }

    .price-range-dual::before,
    .price-range-dual::after {
      height: 14px;
    }

    .price-range-dual .price-range-thumb {
      height: 40px;
    }

    .price-filter input[type=range]::-webkit-slider-thumb {
      width: 32px;
      height: 36px;
    }

    .price-filter input[type=range]::-moz-range-thumb {
      width: 32px;
      height: 36px;
    }

    .price-range-labels {
      font-size: 12px;
    }

    .price-input {
      min-height: 36px;
      font-size: 14px;
      padding: 6px 8px;
    }

    .cart-qty-input {
      width: 64px;
      min-height: 36px;
      font-size: 14px;
    }

    .cart-qty-btn {
      min-width: 36px;
      min-height: 36px;
      font-size: 16px;
      touch-action: manipulation;
    }

    .cart-qty-value {
      min-width: 36px;
      min-height: 36px;
      font-size: 14px;
    }

    .product-grid {
      grid-template-columns: 1fr;
      gap: 12px;
    }

    .product-img-wrap {
      height: 180px;
    }

    .product-thumb-img {
      width: 150px;
      height: 150px;
      max-width: 150px;
      max-height: 150px;
    }

    .product-name { font-size: 14px; }

    .product-desc {
      font-size: 12px;
    }

    .product-card:hover .product-desc {
      max-height: 96px;
    }

    .product-meta { font-size: 12px; }
    .product-price { font-size: 16px; }

    .card-btn {
      min-height: var(--touch-min);
      padding: 10px 8px;
      font-size: 13px;
      touch-action: manipulation;
    }

    .card-btn.fav-btn,
    .card-btn.cmp-btn {
      flex: 0 0 52px;
      font-size: 18px;
    }

    .product-footer { padding: 0 8px 10px; gap: 8px; }

    .card-btn--compare-chosen {
      order: 4;
    }

    /* PLP: denser cards — compact actions override general mobile sizes */
    .is-plp .product-footer {
      padding: 0 4px 4px;
      gap: 3px;
    }

    .is-plp .card-btn {
      min-height: 28px;
      padding: 3px 4px;
      font-size: 10px;
      line-height: 1;
    }

    .is-plp .card-qty-stepper .cart-qty-btn {
      min-height: 28px;
      min-width: 20px;
      font-size: 12px;
    }

    .is-plp .card-qty-stepper .cart-qty-value {
      min-height: 28px;
      font-size: 11px;
    }

    .is-plp .card-btn.fav-btn,
    .is-plp .card-btn.cmp-btn {
      flex: 0 0 26px;
      min-height: 28px;
      padding: 2px 0;
      font-size: 12px;
    }

    .is-plp .card-btn--compare-chosen {
      font-size: 10px;
      min-height: 26px;
      padding: 3px 4px;
    }

    .status-bar {
      padding: 6px;
      font-size: 12px;
      flex-wrap: wrap;
    }

    .status-pane { padding: 6px 10px; }

    .big-btn {
      min-height: var(--touch-min);
      padding: 12px 20px;
      font-size: 14px;
      touch-action: manipulation;
    }

    .cart-footer {
      flex-direction: column;
      align-items: stretch;
      gap: 10px;
    }

    .cart-actions {
      flex-direction: column;
      width: 100%;
    }

    .cart-actions .big-btn { width: 100%; }

    .cart-total { font-size: 16px; text-align: center; }

    table { font-size: 13px; }
    th, td { padding: 8px 10px; }

    /* Taskbar */
    .start-btn {
      min-height: 40px;
      padding: 8px 14px;
      font-size: 14px;
      touch-action: manipulation;
    }

    .start-logo { width: 22px; height: 22px; }
    .start-logo span { width: 10px; height: 10px; }

    .taskbar-sep { height: 36px; }

    .taskbar-window {
      min-height: 40px;
      padding: 8px 12px;
      font-size: 12px;
      max-width: 120px;
      touch-action: manipulation;
    }

    .taskbar-clock {
      padding: 8px 10px;
      font-size: 12px;
      min-height: 40px;
      display: flex;
      align-items: center;
    }

    /* Start menu — full width sheet */
    .start-menu {
      left: 0;
      right: 0;
      width: 100%;
      max-width: 100vw;
      bottom: var(--taskbar-h);
      max-height: calc(100dvh - var(--taskbar-h) - 8px);
      overflow: hidden;
    }

    .start-menu.open {
      display: flex;
      flex-direction: row;
    }

    .start-menu-sidebar {
      flex: 0 0 40px;
      width: 40px;
    }

    .start-menu-sidebar-label {
      font-size: 12px;
      letter-spacing: 2px;
    }

    .start-menu-panel {
      flex: 1;
      min-width: 0;
    }

    .start-menu-body {
      flex-direction: column;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
    }

    .start-menu-col {
      border-right: none;
      border-bottom: 1px solid #808080;
    }

    .start-menu-col:last-child { border-bottom: none; }

    .start-col-title {
      padding: 10px 12px;
      font-size: 12px;
    }

    .start-menu-item {
      min-height: var(--touch-min);
      padding: 12px 14px;
      font-size: 14px;
      touch-action: manipulation;
    }

    .start-menu-item .sm-icon { font-size: 20px; width: 28px; }

    .start-menu-footer {
      padding: 10px 12px;
    }

    .sm-footer-btn {
      min-height: var(--touch-min);
      padding: 10px 16px;
      font-size: 14px;
      width: 100%;
      justify-content: center;
    }

    /* Dialogs / popups */
    .dialog-overlay {
      padding: 12px;
      padding-bottom: calc(12px + env(safe-area-inset-bottom, 0));
      align-items: flex-end;
    }

    .dialog-overlay.show {
      display: flex;
    }

    .dialog-box {
      width: 100%;
      max-width: 100%;
      min-width: 0;
    }

    .dialog-body {
      padding: 20px 16px;
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .dialog-icon { font-size: 48px; }

    .dialog-text p {
      font-size: 14px;
      line-height: 1.5;
    }

    .dialog-buttons {
      flex-direction: column;
      padding: 12px 16px 16px;
      gap: 10px;
    }

    .dialog-buttons .big-btn {
      width: 100%;
    }

    .dialog-box-wide { max-width: 100%; }

    /* Info windows (account, help, etc.) */
    .window-body-pad { padding: 16px; }

    .info-panel {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .info-panel-icon { font-size: 48px; }
    .info-panel-content { font-size: 14px; }
    .info-hint { font-size: 12px; }

    .account-form label { font-size: 14px; gap: 6px; }
    .account-form .search-input { font-size: 16px; }
    .password-toggle {
      min-width: 88px;
      min-height: var(--touch-min);
      font-size: 13px;
      padding: 6px 10px;
    }
    .account-actions { flex-direction: column; width: 100%; }
    .account-actions .big-btn { width: 100%; }
    .account-tabs { flex-wrap: wrap; }
    .account-tab { min-height: var(--touch-min); }
    .orders-body,
    .favourites-body { max-height: 40vh; }
    .desktop-window--account {
      width: min(560px, calc(100% - 16px));
      height: min(560px, calc(100% - 16px));
    }

    .compare-table { font-size: 13px; margin: 8px; }
    .compare-table th { padding: 10px; font-size: 13px; }
    .compare-table td { padding: 8px 10px; }
    .compare-table .row-label { width: 90px; font-size: 12px; }
    .empty-compare { font-size: 14px; padding: 32px 16px; }

    .compare-actions .big-btn { width: 100%; }

    .product-detail {
      grid-template-columns: 1fr;
      padding: 8px;
      gap: 8px;
    }

    .product-detail-main {
      grid-template-columns: 1fr;
      padding: 10px;
      gap: 12px;
    }

    .product-detail-frame {
      max-width: 220px;
    }

    .dialog-box--gallery {
      width: 96vw;
      min-width: 0;
    }

    .gallery-lightbox-nav {
      width: 40px;
      height: 56px;
    }

    .gallery-lightbox-chooser {
      bottom: 20px;
    }

    .product-detail-title { font-size: 18px; }
    .product-detail-price { font-size: 20px; }
    .product-detail-desc {
      aspect-ratio: auto;
      max-height: none;
      font-size: 14px;
      padding: 2px 0 4px;
    }
    .product-detail-actions { flex-direction: column; }
    .product-detail-actions .big-btn { width: 100%; min-width: 0; }
    .product-spec-table { font-size: 13px; }
  }

  /* ═══════════════════════════════════════════
     COMPACT / TABLET (≤1100) — PDP + chrome
     ═══════════════════════════════════════════ */
  @media (max-width: 1100px) {
    :root {
      --fixed-cart-w: 220px;
    }

    .product-detail {
      grid-template-columns: 1fr;
      gap: 8px;
      padding: 8px;
    }

    .product-detail-main {
      grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
      gap: 12px;
      padding: 12px;
    }

    .desktop.is-pdp .product-detail-main {
      grid-template-columns: 1fr;
    }

    .desktop.is-pdp .product-detail-frame {
      max-width: none;
    }

    .desktop.is-pdp .product-detail-media {
      align-items: center;
    }

    .product-detail-specs {
      max-width: none;
    }

    .product-grid {
      grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
  }

  /* ═══════════════════════════════════════════
     MOBILE PDP SHELL (≤768) — dedicated GUI
     ═══════════════════════════════════════════ */
  @media (max-width: 768px) {
    .desktop.is-pdp {
      --pdp-bar-h: 72px;
      width: 100%;
      max-width: 100vw;
      overflow-x: hidden;
    }

    .desktop.is-pdp .desktop-icons-column {
      display: none !important;
    }

    .desktop.is-pdp .fixed-cart {
      display: none !important;
    }

    .desktop.is-pdp .desktop-workspace {
      margin: 0 !important;
      width: 100% !important;
      max-width: 100%;
      flex: 1 1 auto;
      min-height: 0;
    }

    .desktop.is-pdp #win-product.desktop-window--pinned {
      position: relative !important;
      inset: auto !important;
      left: 0 !important;
      top: 0 !important;
      right: auto !important;
      bottom: auto !important;
      width: 100% !important;
      max-width: 100% !important;
      height: 100% !important;
      border-right: none !important;
      border-radius: 0;
      display: flex;
      flex-direction: column;
    }

    .desktop.is-pdp #win-product .window-body {
      display: flex;
      flex-direction: column;
      min-height: 0;
      flex: 1;
    }

    .desktop.is-pdp .menu-bar {
      display: none;
    }

    .desktop.is-pdp .toolbar {
      flex-wrap: nowrap;
      overflow-x: auto;
      gap: 4px;
      padding: 6px 8px;
      -webkit-overflow-scrolling: touch;
    }

    .desktop.is-pdp .toolbar .toolbar-sep,
    .desktop.is-pdp .toolbar #btnRefresh,
    .desktop.is-pdp .toolbar #btnNavForward,
    .desktop.is-pdp .toolbar [data-category="favorites"],
    .desktop.is-pdp .toolbar [data-open-window="compare"],
    .desktop.is-pdp .toolbar #btnMobileFilters,
    .desktop.is-pdp .toolbar #btnMobileCart,
    .desktop.is-pdp .toolbar .toolbar-sep--mobile {
      display: none;
    }

    .desktop.is-pdp .toolbar .tb-btn {
      min-height: var(--touch-min);
      padding: 8px 12px;
      font-size: 13px;
      white-space: nowrap;
    }

    .desktop.is-pdp .status-bar {
      display: none;
    }

    .desktop.is-pdp .product-detail {
      display: flex;
      flex-direction: column;
      gap: 0;
      padding: 0;
      background: #C0C0C0;
      overflow: auto;
      -webkit-overflow-scrolling: touch;
      padding-bottom: calc(var(--pdp-bar-h) + 8px);
      flex: 1;
      min-height: 0;
    }

    .desktop.is-pdp .product-detail-main {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: 0;
      padding: 0;
      width: 100%;
      max-width: none;
      background: transparent;
      border: none;
      box-shadow: none;
      box-sizing: border-box;
    }

    .desktop.is-pdp .product-detail-media {
      background: #C0C0C0;
      padding: 8px 0 0;
      gap: 8px;
      width: 100%;
    }

    .desktop.is-pdp .product-detail-gallery {
      display: block;
      width: 100%;
      max-width: 100%;
      padding: 0 8px;
      box-sizing: border-box;
    }

    .desktop.is-pdp .product-detail-frame {
      max-width: none !important;
      width: 100% !important;
      height: auto !important;
      aspect-ratio: 1 / 1;
      max-height: min(100vw - 16px, 360px);
      margin: 0;
      border-radius: 0;
      padding: 6px;
      background: #000;
      overflow: hidden !important;
      contain: paint;
    }

    .desktop.is-pdp .product-detail-img {
      width: 100% !important;
      height: 100% !important;
      max-width: 100% !important;
      max-height: 100% !important;
      object-fit: contain !important;
      object-position: center;
      background: #000;
      display: block;
    }

    .desktop.is-pdp .product-detail-swap {
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 6px;
      max-width: none;
      width: 100%;
      margin: 0;
      padding: 0 8px;
      box-sizing: border-box;
    }

    .desktop.is-pdp .product-gallery-nav {
      width: 40px;
      min-width: 40px;
      min-height: 48px;
      padding: 0;
      font-size: 16px;
      flex-shrink: 0;
    }

    .desktop.is-pdp .product-detail-thumbs {
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      align-items: center;
      max-width: none;
      width: auto;
      flex: 1;
      min-width: 0;
      justify-content: flex-start;
      padding: 0;
      gap: 8px;
      overflow-x: auto;
      overflow-y: hidden;
      background: transparent;
      -webkit-overflow-scrolling: touch;
    }

    .desktop.is-pdp .product-detail-thumb {
      width: 56px !important;
      height: 56px !important;
      min-width: 56px;
      min-height: 56px;
      max-width: 56px;
      max-height: 56px;
      flex: 0 0 56px;
      padding: 2px;
      overflow: hidden;
      box-sizing: border-box;
    }

    .desktop.is-pdp .product-detail-thumb img {
      width: 100% !important;
      height: 100% !important;
      object-fit: cover !important;
      display: block;
    }

    .desktop.is-pdp .product-detail-zoom-hint {
      background: #C0C0C0;
      padding: 2px 8px 8px;
      font-size: 12px;
      text-align: center;
    }

    .zoom-hint-desktop {
      display: none;
    }

    .zoom-hint-mobile {
      display: inline;
    }


    .desktop.is-pdp .product-detail-hero {
      grid-template-columns: 1fr;
      padding: 8px;
    }

    .desktop.is-pdp .product-detail-frame {
      max-width: min(100%, 420px);
    }

    .desktop.is-pdp .product-detail-buy .product-detail-price-row {
      display: none;
    }

    .desktop.is-pdp .product-detail-buy .product-detail-actions {
      display: none;
    }

    .desktop.is-pdp .product-detail-qty {
      display: none;
    }

    .desktop.is-pdp .product-detail-info {
      width: 100%;
      max-width: none;
      padding: 12px 0 0;
      gap: 10px;
      background: #C0C0C0;
      box-sizing: border-box;
    }

    .desktop.is-pdp .product-detail-kicker,
    .desktop.is-pdp .product-detail-title,
    .desktop.is-pdp .product-detail-brand {
      padding-left: 12px;
      padding-right: 12px;
    }

    .desktop.is-pdp .product-detail-kicker {
      font-size: 12px;
      color: #000080;
      font-weight: bold;
    }

    .desktop.is-pdp .product-detail-title {
      font-size: 22px;
      line-height: 1.2;
    }

    .desktop.is-pdp .product-detail-brand {
      font-size: 13px;
    }

    .desktop.is-pdp .product-detail-price-row {
      display: none; /* price lives in sticky bar */
    }

    .desktop.is-pdp .product-detail-desc {
      width: 100% !important;
      max-width: none !important;
      margin: 0;
      font-size: 14px;
      line-height: 1.55;
      aspect-ratio: auto;
      max-height: none;
      padding: 2px 0 6px;
      box-sizing: border-box;
      border-radius: 0;
      white-space: normal;
      overflow-x: hidden;
      overflow-wrap: anywhere;
      word-break: break-word;
    }

    /* Desktop action row replaced by sticky bar */
    .desktop.is-pdp .product-detail-actions {
      display: none;
    }

    .desktop.is-pdp #productDetailSpecs {
      display: none;
    }

    .desktop.is-pdp .product-detail-specs-mobile {
      display: block;
      width: 100%;
      max-width: none;
      margin: 0;
      background: #C0C0C0;
      box-sizing: border-box;
      border-radius: 0;
    }

    .product-detail-specs-summary {
      list-style: none;
      cursor: pointer;
      padding: 12px 14px;
      font-weight: bold;
      font-size: 13px;
      color: #fff;
      background: #000080;
      user-select: none;
    }

    .product-detail-specs-summary::-webkit-details-marker {
      display: none;
    }

    .product-detail-specs-summary::after {
      content: '▶';
      float: right;
      font-size: 10px;
    }

    .product-detail-specs-mobile[open] .product-detail-specs-summary::after {
      content: '▼';
    }

    .product-detail-specs-mobile .product-spec-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 13px;
    }

    .product-detail-specs-mobile .product-spec-table th,
    .product-detail-specs-mobile .product-spec-table td {
      padding: 10px 12px;
      border-bottom: 1px solid #808080;
      text-align: left;
      vertical-align: top;
    }

    .product-detail-specs-mobile .product-spec-table th {
      width: 34%;
      color: #000080;
      background: #dcdcdc;
    }

    /* Sticky purchase bar */
    .desktop.is-pdp .product-mobile-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      position: fixed;
      left: 0;
      right: 0;
      bottom: var(--taskbar-h);
      z-index: 450;
      min-height: var(--pdp-bar-h);
      padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
      background: #C0C0C0;
      border-top: 2px solid #fff;
      box-shadow: 0 -2px 0 #808080;
    }

    .product-mobile-bar-meta {
      display: flex;
      flex-direction: column;
      gap: 2px;
      min-width: 0;
      flex: 0 1 auto;
    }

    .product-mobile-bar-price {
      font-size: 20px;
      font-weight: bold;
      color: #008000;
      line-height: 1.1;
    }

    .product-mobile-bar-stock {
      font-size: 11px;
      color: #333;
    }

    .product-mobile-bar-stock.is-out {
      color: #800000;
      font-weight: bold;
    }

    .product-mobile-bar-actions {
      display: flex;
      align-items: center;
      gap: 6px;
      flex-shrink: 0;
    }

    .product-mobile-icon-btn {
      min-width: var(--touch-min);
      width: var(--touch-min);
      min-height: var(--touch-min);
      padding: 0;
      font-size: 18px;
    }

    .product-mobile-add {
      min-height: var(--touch-min);
      padding: 8px 14px;
      font-size: 14px;
      font-weight: bold;
      background: #000080;
      color: #fff;
      border-top-color: #1084d0;
      border-left-color: #1084d0;
      border-right-color: #000040;
      border-bottom-color: #000040;
    }

    .product-mobile-add:disabled {
      background: #808080;
      color: #c0c0c0;
    }

    .product-mobile-icon-btn.favorited,
    .product-mobile-icon-btn.comparing {
      outline: 2px solid #000080;
      outline-offset: -2px;
    }

    .desktop.is-pdp .dialog-box--gallery {
      width: 100vw;
      max-width: 100vw;
      min-width: 0;
      height: 100dvh;
      max-height: 100dvh;
    }

    .desktop.is-pdp #productGalleryDialog {
      align-items: stretch;
      padding: 0;
    }

    .desktop.is-pdp .gallery-lightbox-panel {
      min-height: 100dvh;
    }
  }

  @media (max-width: 380px) {
    .product-grid { grid-template-columns: 1fr; }

    .is-plp .product-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .is-plp .toolbar {
      gap: 4px;
      padding: 4px;
    }

    .is-plp .toolbar .tb-btn {
      min-height: 36px;
      height: 36px;
      padding: 0 6px;
      font-size: 11px;
    }

    .taskbar-window { max-width: 90px; font-size: 11px; }

    .title-bar-text {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      max-width: 52vw;
    }

    .product-mobile-add {
      padding: 8px 10px;
      font-size: 13px;
    }

    .product-mobile-bar-price {
      font-size: 18px;
    }
  }

  /* ═══════════════════════════════════════════
     Cookie consent · language · legal · checkout
     ═══════════════════════════════════════════ */
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
  }

  .taskbar-tray {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    padding-right: 4px;
  }

  .taskbar-clock {
    margin-left: 0;
  }

  .lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
  }

  .lang-switcher-label {
    display: none;
  }

  .lang-switcher-select {
    font-size: 11px;
    font-family: 'MS Sans Serif', Tahoma, Arial, sans-serif;
    padding: 2px 4px;
    max-width: 110px;
    background: #c0c0c0;
    border-top: 1px solid #808080;
    border-left: 1px solid #808080;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
  }

  .cookie-consent-overlay {
    z-index: 900;
    padding: 16px;
    align-items: center;
    justify-content: center;
  }

  .cookie-consent-box {
    width: min(720px, calc(100vw - 32px));
    max-width: min(720px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .cookie-consent-box .title-buttons {
    display: none;
  }

  .cookie-consent-body {
    flex-direction: column;
    gap: 0;
    padding: 0;
    overflow: auto;
  }

  .cookie-consent-intro {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
  }

  .cookie-consent-intro .dialog-icon {
    font-size: 36px;
    line-height: 1;
    margin-top: 2px;
  }

  .cookie-consent-intro-text {
    flex: 1;
    min-width: 0;
  }

  .cookie-consent-heading {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: bold;
    color: #000080;
  }

  .cookie-consent-lead {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: #222;
  }

  .cookie-categories {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    border-top: 2px solid #808080;
    border-bottom: 2px solid #fff;
    border-left: 0;
    border-right: 0;
    background: #fff;
  }

  .cookie-category-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 168px;
    gap: 12px;
    padding: 8px 18px;
    font-size: 11px;
    font-weight: bold;
    color: #000;
    background: #dfdfdf;
    border-bottom: 1px solid #808080;
  }

  .cookie-category-head span:last-child {
    text-align: center;
  }

  .cookie-category {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 168px;
    gap: 12px;
    align-items: center;
    margin: 0;
    padding: 12px 18px;
    border: 0;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    border-bottom: 1px solid #dfdfdf;
  }

  .cookie-category:last-child {
    border-bottom: 0;
  }

  .cookie-category.is-required {
    background: #f3f3f3;
  }

  .cookie-category-info {
    min-width: 0;
  }

  .cookie-category-title {
    display: block;
    font-size: 13px;
    font-weight: bold;
    margin: 0 0 4px;
  }

  .cookie-category-desc {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: #222;
  }

  .cookie-category-required {
    margin: 6px 0 0;
    font-size: 11px;
    color: #000080;
  }

  .cookie-radios {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    justify-items: start;
    min-width: 0;
  }

  .cookie-radio {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    cursor: pointer;
    min-height: 28px;
    width: 100%;
  }

  .cookie-radio.is-disabled,
  .cookie-radio:has(input:disabled) {
    opacity: 0.7;
    cursor: default;
  }

  .cookie-radio input {
    width: 14px;
    height: 14px;
    margin: 0;
    flex-shrink: 0;
    accent-color: #000080;
  }

  .cookie-consent-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    margin: 0;
    padding: 12px 18px 14px;
    border-top: 2px solid #808080;
    width: 100%;
    box-sizing: border-box;
  }

  .cookie-consent-primary {
    background: #000080;
    color: #fff;
    border-top-color: #1084d0;
    border-left-color: #1084d0;
    border-right-color: #000040;
    border-bottom-color: #000040;
  }

  @media (max-width: 640px) {
    .cookie-consent-box {
      width: min(100%, calc(100vw - 24px));
      max-width: min(100%, calc(100vw - 24px));
    }

    .cookie-consent-intro,
    .cookie-category-head,
    .cookie-category,
    .cookie-consent-actions {
      padding-left: 12px;
      padding-right: 12px;
    }

    .cookie-category-head,
    .cookie-category {
      grid-template-columns: 1fr;
      gap: 8px;
    }

    .cookie-category-head span:last-child {
      text-align: left;
    }

    .cookie-radios {
      grid-template-columns: 1fr 1fr;
      max-width: 220px;
    }

    .cookie-consent-actions {
      justify-content: stretch;
    }

    .cookie-consent-actions .big-btn {
      flex: 1 1 auto;
    }
  }

  .info-scroll {
    overflow: auto;
    max-height: min(70vh, 520px);
  }

  .legal-block {
    margin-top: 12px;
    padding: 12px;
    background: #fff;
  }

  .legal-heading {
    margin: 0 0 8px;
    font-size: 14px;
    color: #000080;
  }

  .legal-pre {
    white-space: pre-line;
  }

  .desktop.is-checkout {
    padding-bottom: 0;
  }

  .desktop-workspace--checkout {
    width: 100% !important;
    max-width: 100%;
    margin: 0 !important;
    flex: 1;
    min-height: 0;
  }

  #win-checkout {
    width: 100% !important;
    height: 100% !important;
    display: flex;
    flex-direction: column;
  }

  .checkout-body {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 12px;
    background: #808080;
  }

  .checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
    gap: 12px;
    align-items: start;
  }

  .checkout-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
  }

  .checkout-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
  }

  .checkout-step {
    padding: 4px 8px;
    background: #c0c0c0;
    border: 1px solid #808080;
    opacity: 0.65;
  }

  .checkout-step.is-active {
    opacity: 1;
    outline: 2px solid #000080;
  }

  .checkout-panel,
  .checkout-summary {
    background: #c0c0c0;
    padding: 12px;
  }

  .checkout-panel-title {
    margin: 0 0 10px;
    font-size: 15px;
    color: #000080;
  }

  .checkout-hint {
    font-size: 12px;
    margin: 0 0 12px;
    color: #222;
  }

  .checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .checkout-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
  }

  .checkout-field[hidden] {
    display: none !important;
  }

  #checkoutAddressBlock {
    display: contents;
  }

  #checkoutAddressBlock.is-hidden > * {
    display: none !important;
  }

  .checkout-field--full {
    grid-column: 1 / -1;
  }

  .checkout-field small {
    color: #444;
  }

  .checkout-input {
    width: 100%;
    box-sizing: border-box;
    min-height: 32px;
    padding: 6px 8px;
    font-size: 14px;
    font-family: inherit;
    border-top: 2px solid #808080;
    border-left: 2px solid #808080;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    background: #fff;
  }

  .checkout-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 14px;
  }

  .checkout-primary {
    background: #000080;
    color: #fff;
    border-top-color: #1084d0;
    border-left-color: #1084d0;
    border-right-color: #000040;
    border-bottom-color: #000040;
  }

  a.big-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
  }

  .checkout-delivery {
    margin: 0 0 14px;
    padding: 0;
    border: 0;
  }

  .checkout-delivery-legend {
    margin: 0 0 8px;
    padding: 0;
    font-size: 13px;
    font-weight: bold;
  }

  .payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px;
    margin-bottom: 12px;
  }

  .payment-method {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: #c0c0c0;
    cursor: pointer;
    min-height: 44px;
  }

  .payment-method:has(input:checked) {
    outline: 2px solid #000080;
    background: #dcdcdc;
  }

  .payment-method-label {
    font-size: 13px;
    font-weight: bold;
  }

  .payment-pane {
    margin-bottom: 8px;
  }

  .bank-details {
    margin: 0;
    padding: 10px;
    background: #fff;
    display: grid;
    gap: 8px;
  }

  .bank-details > div {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 8px;
    font-size: 13px;
  }

  .bank-details dt {
    font-weight: bold;
    color: #000080;
  }

  .bank-details dd {
    margin: 0;
    word-break: break-all;
  }

  .checkout-error {
    color: #800000;
    font-weight: bold;
    margin: 8px 0;
  }

  .checkout-lines {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .checkout-line {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2px 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #808080;
    font-size: 13px;
  }

  .checkout-line-name {
    grid-column: 1 / -1;
    font-weight: bold;
  }

  .checkout-line-meta {
    color: #333;
  }

  .checkout-total {
    margin-top: 12px;
    font-size: 15px;
    text-align: right;
  }

  .checkout-empty {
    max-width: 420px;
    margin: 40px auto;
    padding: 24px;
    text-align: center;
    background: #c0c0c0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .checkout-success {
    padding: 12px;
    background: #fff;
  }

  .checkout-places-status {
    display: block;
    margin-top: 4px;
    color: #000080;
  }

  .checkout-places-status.is-error {
    color: #800000;
  }

  .checkout-places-wrap {
    position: relative;
    width: 100%;
  }

  .checkout-places-wrap .checkout-input {
    width: 100%;
  }

  .checkout-places-list {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 2px);
    z-index: 10000;
    margin: 0;
    padding: 0;
    list-style: none;
    max-height: 220px;
    overflow: auto;
    background: #fff;
  }

  .checkout-places-item {
    padding: 8px 10px;
    font-size: 13px;
    cursor: pointer;
    border-bottom: 1px solid #dfdfdf;
  }

  .checkout-places-item:hover,
  .checkout-places-item.is-active {
    background: #000080;
    color: #fff;
  }

  /* Legacy pac styles unused after Places REST proxy */
  .pac-container {
    display: none !important;
  }

  @media (max-width: 900px) {
    .checkout-layout {
      grid-template-columns: 1fr;
    }

    .checkout-summary {
      order: -1;
    }
  }

  @media (max-width: 768px) {
    .checkout-grid {
      grid-template-columns: 1fr;
    }

    .bank-details > div {
      grid-template-columns: 1fr;
    }

    .lang-switcher-select {
      max-width: 84px;
    }

    .desktop.is-checkout .desktop-icons-column,
    .desktop.is-checkout .fixed-cart {
      display: none !important;
    }
  }

  /* Bottom-right toast notifications */
  .clicklab-toasts {
    position: fixed;
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 20000;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 8px;
    max-width: min(360px, calc(100vw - 24px));
    pointer-events: none;
  }

  .clicklab-toast {
    pointer-events: auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: start;
    width: 100%;
    padding: 10px 10px 10px 12px;
    background: #c0c0c0;
    color: #000;
    font-size: 12px;
    line-height: 1.35;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.35);
    animation: clicklab-toast-in 180ms ease-out;
  }

  .clicklab-toast.is-leaving {
    animation: clicklab-toast-out 200ms ease-in forwards;
  }

  .clicklab-toast-body {
    min-width: 0;
    word-break: break-word;
  }

  .clicklab-toast-close {
    border: none;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    padding: 0 2px;
  }

  .clicklab-toast--success {
    border-left: 4px solid #008000;
  }

  .clicklab-toast--error {
    border-left: 4px solid #c00000;
  }

  .clicklab-toast--warn {
    border-left: 4px solid #c08000;
  }

  .clicklab-toast--info {
    border-left: 4px solid #000080;
  }

  .checkout-input.is-invalid {
    outline: 2px solid #c00000;
    outline-offset: 1px;
  }

  @keyframes clicklab-toast-in {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes clicklab-toast-out {
    to {
      opacity: 0;
      transform: translateY(8px);
    }
  }
