.shirt-gallery { max-width: 1000px; margin: 0 auto; color: #202638; font-family: Arial, sans-serif; } .shirt-gallery *, .shirt-gallery *::before, .shirt-gallery *::after { box-sizing: border-box; } .shirt-gallery__section { margin: 0 0 22px; } .shirt-gallery__heading { margin: 0 0 12px; font-size: 17px; line-height: 1.35; text-align: center; } .shirt-gallery__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; } .shirt-gallery__grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); } .shirt-gallery__item { display: block; width: 100%; aspect-ratio: 1 / 1; padding: 0; overflow: hidden; border: 0; border-radius: 10px; background: transparent; cursor: zoom-in; transition: transform 0.2s ease; } .shirt-gallery__item:hover { transform: scale(1.025); } .shirt-gallery__item:focus-visible { outline: 2px solid #6159e8; outline-offset: 3px; } .shirt-gallery__item img { display: block; width: 100%; height: 100%; object-fit: contain; } .shirt-gallery__viewer { width: min(94vw, 1100px); height: min(90vh, 850px); height: min(90dvh, 850px); max-width: none; max-height: none; margin: auto; padding: 12px; overflow: hidden; border: 0; border-radius: 14px; background: #fff; color: #202638; box-shadow: 0 18px 60px rgba(0, 0, 0, 0.3); } .shirt-gallery__viewer::backdrop { background: rgba(15, 18, 28, 0.82); } .shirt-gallery__viewer-content { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; width: 100%; height: 100%; gap: 8px; } .shirt-gallery__viewer-bar { display: flex; align-items: center; justify-content: space-between; min-width: 0; gap: 8px; } .shirt-gallery__caption { min-width: 0; overflow: hidden; color: #606a7c; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; } .shirt-gallery__controls { display: flex; flex: 0 0 auto; align-items: center; gap: 5px; } .shirt-gallery__control { display: inline-grid; min-width: 36px; height: 36px; padding: 0 9px; place-items: center; border: 1px solid #e5e7ed; border-radius: 9px; background: #fff; color: #202638; cursor: pointer; font: inherit; font-size: 14px; -webkit-tap-highlight-color: transparent; } .shirt-gallery__control:hover { border-color: #d3d0ff; background: #f7f6ff; } .shirt-gallery__control:focus-visible { outline: 2px solid #6159e8; outline-offset: 2px; } .shirt-gallery__control--close { font-size: 22px; line-height: 1; } .shirt-gallery__stage { position: relative; min-width: 0; min-height: 0; overflow: hidden; border-radius: 8px; background: transparent; touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; } .shirt-gallery__stage:active { cursor: grabbing; } .shirt-gallery__full-image { position: absolute; top: 50%; left: 50%; display: block; max-width: none; height: auto; transform-origin: center center; pointer-events: none; user-select: none; -webkit-user-drag: none; } .shirt-gallery__hint { margin: 0; color: #70788a; font-size: 12px; text-align: right; } @media (max-width: 600px) { .shirt-gallery__grid, .shirt-gallery__grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; } .shirt-gallery__section { margin-bottom: 18px; } .shirt-gallery__heading { margin-bottom: 9px; font-size: 16px; } .shirt-gallery__viewer { width: 96vw; height: 90vh; height: 90dvh; padding: 8px; border-radius: 10px; } .shirt-gallery__controls { gap: 4px; } .shirt-gallery__control { min-width: 34px; height: 36px; padding: 0 7px; } .shirt-gallery__hint { display: none; } } @media (prefers-reduced-motion: reduce) { .shirt-gallery__item { transition: none; } } Футболки PREMIUM Футболки-варёнки — графит Свитшоты Oversize