:root {
  --proso-frame-max-width: 1480px;
  --proso-frame-menu-max-width: 290px;
}

@media screen and (min-width: 1460px) {
  body > :is(header, footer, #proso-shopping-panel, .content-wrapper) > .container,
  body > header > #top > .container,
  body > #proso-cart-merge-notice.container {
    max-width: clamp(1340px, calc(100% - 120px), var(--proso-frame-max-width));
  }

  body > :is(header, #proso-shopping-panel) > .container > .row > .col-aside,
  body > .content-wrapper > .container > .row > .col-aside.order-lg-1,
  body > .content-wrapper > .container .col-aside:not(.order-lg-3):has(> .menu-holder) {
    --proso-catalog-aside-width: clamp(18.5rem, calc(var(--proso-frame-menu-max-width) + (100% - var(--proso-frame-max-width)) * .225), var(--proso-frame-menu-max-width));
    flex-basis: var(--proso-catalog-aside-width);
    max-width: var(--proso-catalog-aside-width);
  }
}

@media screen and (min-width: 1520px) {
  #product-category .products-container > .grid > .product-item .product-image > a > .position-relative:has(> svg.img-fluid[width="180px"][height="320px"]) {
    width: min(100%, 192px);
  }

  #product-category .products-container > .grid > .product-item .product-image > a > .position-relative > svg.img-fluid[width="180px"][height="320px"] {
    width: 100%;
    aspect-ratio: 9 / 16;
  }

  #product-category .products-container > .grid > .product-item .product-image > a > .position-relative:has(> svg.img-fluid[width="180px"][height="320px"]) > img.img-fluid {
    min-width: 100%;
  }
}
