img {
  padding: 0;
}
article#catalog {
  margin: 2% 7%;
  overflow: hidden;
}
article#catalog:has(.full) {
  width: 88%;
}
article#catalog:has(.short) {
  display: grid;
  grid-gap: 52px;
  grid-template-columns: 1fr 1fr;
}
@media all and (min-width: 1600px) {
  article#catalog:has(.short) {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media all and (max-width: 900px) {
  article#catalog:has(.short) {
    grid-template-columns: auto;
  }
}
.short {
  width: 100%;
  max-width: 480px;
  min-width: 320px;
  border-radius: 10px 0 10px 10px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 320px 60px 268px;
  grid-template-columns: 85% 15%;
}
.short div.image-frame {
  grid-area: 1/1/2/3;
}
.short header {
  grid-area: 1/1;
}
.short #lense {
  grid-area: 1/2;
}
.short aside {
  grid-area: 1/2/1/3;
}
.short [itemprop=price] {
  grid-area: 2/1/2/3;
}
.short main {
  grid-area: 3/1/3/3;
}
.short .cart-control {
  grid-area: 3/1/3/3;
}
.short header {
  padding: 20px;
  z-index: 5;
  cursor: zoom-in;
  max-width: 274px;
}
.short #lense {
  width: 35px;
  z-index: 10;
  justify-self: end;
  align-self: end;
  margin: 15px;
}
.short aside {
  align-self: center;
}
.short p,
.short h3 {
  margin: 0;
}
.short h3 {
  text-align: left;
  color: #777777;
  margin: 30px 0 20px;
}
.short span {
  margin: 0;
  color: #777777;
}
.short main {
  background: white;
  border-radius: 0 0 10px 10px;
  padding: 20px;
}
.short [itemprop=price] {
  display: block;
  background: white;
  border-radius: 10px 10px 0 0;
  color: #CF4620;
  text-align: left;
  line-height: 1;
  padding: 20px;
}
.short [itemprop=price] small {
  font-size: 18px;
}
.short .cart-control {
  height: 47px;
  width: 250px;
  transition: width 0.3s ease;
  justify-self: end;
  align-self: end;
  border-radius: 34px 0 0 0;
  overflow: hidden;
}
.short .cart-control.cart-empty {
  width: 166px;
}
.short .cart-control.cart-empty {
  grid-template-columns: 1fr 0 0 0 0;
}
.short .cart-control:not(.cart-empty) {
  grid-template-columns: 0 1fr 25px 38px 22px;
}
.short .cart-control * {
  border-radius: 0;
  font-size: 15px;
}
.full {
  display: grid;
  grid-gap: 22px;
  grid-template-columns: 7.05fr 43fr 0 178px 27fr;
  grid-template-rows: auto auto auto 1fr;
}
.full aside {
  grid-area: 1/1/5/2;
}
.full div.image-frame {
  grid-area: 1/2/5/3;
}
.full header {
  grid-area: 1/4/1/6;
}
.full main {
  grid-area: 2/4/2/6;
}
.full article {
  grid-area: 4/4/4/6;
}
.full [itemprop=price] {
  grid-area: 3/4;
}
.full .cart-control {
  grid-area: 3/5;
}
.full header {
  text-align: left;
}
.full header p {
  display: inline-block;
  margin-right: 27px;
}
.full p,
.full h3 {
  margin: 0;
}
.full h3 {
  font-size: 25px;
  text-align: left;
}
.full span {
  margin: 0;
  color: #777777;
}
.full .image-frame.zoom {
  height: unset;
  aspect-ratio: 1;
}
.full .image-frame:not(.zoom) img {
  width: 100%;
  object-fit: contain;
}
.full main {
  display: grid;
}
.full main #price {
  grid-area: 6;
  margin-top: 31px;
}
.full article {
  margin-top: 26px;
  font-size: 15px;
}
.full article li {
  display: list-item;
  margin: 0;
  padding-top: 11px;
  text-align: left;
  list-style: square inside;
}
.full article li::marker {
  color: rgba(255, 81, 33, 0.5);
  font-size: 1.2em;
  font-weight: bold;
}
.full [itemprop=price] {
  text-align: left;
  color: #CF4620;
}
.full [itemprop=price] small {
  font-size: 18px;
}
.full .cart-control {
  width: 100%;
  max-width: 305px;
  height: 47px;
}
.full .cart-control.cart-empty {
  grid-template-columns: 1fr 0 0 0 0;
}
.full .cart-control:not(.cart-empty) {
  grid-template-columns: 0 4fr 49px 1fr 31px;
}
.full .cart-control #minus {
  border-radius: 5px 0 0 5px;
  margin-left: 19px;
}
.full .cart-control #plus {
  border-radius: 0 5px 5px 0;
}
#catalog aside {
  display: flex;
  gap: 2px;
  flex-direction: column;
  z-index: 6;
}
#catalog aside img.preview {
  width: 100%;
  aspect-ratio: 140 / 120;
  object-fit: cover;
  object-position: top center;
  display: block;
  border: solid 2px #dddddd;
  border-radius: 3px;
  cursor: pointer !important;
  background: #f5f5F5;
}
#catalog aside img.preview.dot {
  width: 15px;
  height: 15px;
  margin: 8px 4px 8px auto;
  border: solid 8px #dddddd;
  border-radius: 5px;
}
#catalog aside img.preview.active {
  border-color: #CF4620;
}
#catalog aside img.preview:hover:not( .active ) {
  border-color: #777777;
}
.image-frame.zoom {
  height: 100%;
  overflow: hidden;
}
.image-frame.zoom img {
  transform: translate(-50%, -50%);
  cursor: zoom-out;
}
.image-frame img {
  position: relative;
  cursor: zoom-in;
}
#length-buttons {
  max-width: 505px;
  display: grid;
  grid-template-columns: auto auto auto;
  grid-gap: 7px;
  margin: 10px 0 23px;
}
#length-buttons button {
  font-size: 16px;
  background: none;
  padding: 8px;
  margin: 0;
  border: solid 2px #dddddd;
  color: #404040;
}
#length-buttons button[checked] {
  border-color: #CF4620;
}
#length-buttons button:hover:not( [ checked ] ) {
  border-color: #777777;
}
#length-buttons button span {
  display: block;
  width: auto;
  height: 20px;
  border-radius: 10px;
  background: #CF4620;
  color: white;
  font-size: 12px;
  position: absolute;
  transform: translateY(-38px);
  padding: 2px 7px;
}
.cart-control {
  padding: 0 !important;
  display: grid;
  justify-items: stretch;
  align-items: stretch;
  transition: grid-template-columns 0.3s ease;
}
.cart-control * {
  margin: 0;
  padding: 0;
  line-height: 1;
  align-content: center;
  overflow: hidden;
}
.cart-control #plus,
.cart-control #minus,
.cart-control input {
  background: #CF4620;
  color: white;
}
.cart-control #plus:disabled:not(input),
.cart-control #minus:disabled:not(input),
.cart-control input:disabled:not(input) {
  cursor: default;
  color: #CF4620;
}
.cart-control #minus {
  margin-left: 2px;
}
.cart-control input {
  font-size: 25px !important;
  border: none;
  outline: none;
  text-align: center;
  width: 100%;
}
.cart-control input.small {
  font-size: 21px !important;
}
/*# sourceMappingURL=catalog_item.css.map */