:root {
  --primary: #2563eb;
  --primary-light: #3b82f6;
  --dark: #1e293b;
  --light: #f8fafc;
  --white: #ffffff;
  --gray: #94a3b8;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
  --transition: all 0.2s ease;
  
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--light);
  color: var(--dark);
  padding-top: 60px;
  line-height: 1.5;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  z-index: 100;
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

.header.scrolled .header-bg {
  opacity: 1;
}

.back-button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--primary);
  margin-right: 12px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 20px;
}

.back-button:hover {
  background-color: rgba(37, 99, 235, 0.1);
}

.header.scrolled .back-button {
  color: var(--white);
}

.header h1 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  flex-grow: 1;
  text-align: center;
  transition: var(--transition);
}

.header.scrolled h1 {
  color: var(--white);
}

/* Main content */
.main-content {
  padding: 16px;
}

/* Categories */
.categories-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  animation: fadeIn 0.3s ease-out;
}

.category-card {
  position: relative;
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  aspect-ratio: 4 / 3.5;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.category-image-container {
  flex-grow: 1;
  position: relative;
  overflow: hidden;
}

.category-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.category-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease;
}

.no-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  color: #ccc;
  font-size: 2rem;
}

.category-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: var(--white);
  padding: 8px 8px;
  font-weight: 600;
  text-align: center;
  font-size: 15px;
}

.category-card .no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 20px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  background: #f1f1f1;
}

/* Индикатор количества фотографий */
.thumbnails-indicator {
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  z-index: 2;
  border: 2px solid white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.indicator-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.indicator-badge {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  border-radius: 50%;
}

/* Анимация при наведении */
.thumbnails-indicator:hover {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}


/* Products */
.products-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  animation: fadeIn 0.3s ease-out;
}

@media (min-width: 768px) {
  .products-container,
  .categories-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-container,
  .categories-container {
    grid-template-columns: repeat(8, 1fr);
  }
}

.product-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  aspect-ratio: 3 / 5.3;
  display: flex;
  flex-direction: column;
  position: relative; /* Добавляем для позиционирования цены */
}

.product-image-wrapper {
  position: relative;
  padding: 8px 8px 7px 8px;
  background-color: #f9fafb;
  border-bottom: 1px solid #f1f1f1;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}



.product-image {
  width: 100%;
  height: auto;
  max-height: 100%; /* Ограничиваем максимальную высоту */
  object-fit: contain;
  border-radius: 8px;
}

.product-info {
  padding: 5px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  min-height: 60px; /* Фиксированная высота для инфо-блока */
}


.product-name {
  font-weight: 500;
  font-size: 15px;
  color: var(--dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0px;
  line-height: 1.3;
  height: 40px; /* Фиксированная высота для названия */
}

.product-price {
  font-weight: 600;
  font-size: 15px;
  color: var(--primary);
  background-color: rgba(37, 99, 235, 0.05);
  padding: 4px 8px;
  border-radius: 6px;
  width: fit-content;
  margin-top: auto; /* Прижимаем цену к низу product-info */
  margin-left: auto;
  align-self: flex-start;
}

/* Слайдер в модальном окне */

.modal-slider {
  position: relative;
  height: 65vh; /* Увеличиваем высоту */
  max-height: 500px;
  overflow: hidden;
  margin: 0 0 15px 0;
  border-radius: 0;
  touch-action: pan-y; /* Разрешаем только вертикальный скролл */
}

.slides-container {
  display: flex;
  height: 100%;
  will-change: transform; /* Оптимизация анимации */
}


.slide {
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  user-select: none; /* Запрещаем выделение при свайпе */
}

.slide img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 0.3s;
}

.slide img.zoomed {
  transform: scale(1.8);
  cursor: zoom-out;
}

.slide-arrow {
  width: 44px;
  height: 44px;
  opacity: 0.9;
  background: rgba(0,0,0,0.5);
  color: white;
}

.slide-arrow:hover {
  opacity: 1;
  background: rgba(0,0,0,0.7);
}


.prev {
  left: 10px;
}

.next {
  right: 10px;
}


/* Стили для галереи миниатюр */
.thumbnails-container {
  display: flex;
  gap: 8px;
  padding: 0 16px 15px;
  overflow-x: auto;
  scrollbar-width: none; /* Для Firefox */
}

.thumbnails-container::-webkit-scrollbar {
  display: none; /* Для Chrome/Safari */
}

.thumbnail {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s;
  flex-shrink: 0;
}

.thumbnail:hover {
  transform: scale(1.05);
}

.thumbnail.active {
  border-color: var(--primary);
  transform: scale(1.05);
}

/* Стили для большого фото миниатюр */

.dots-container {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 10;
  padding: 5px;
  background: rgba(0,0,0,0.3);
  border-radius: 20px;
  margin: 0 auto;
  width: fit-content;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: white;
  transform: scale(1.3);
}

.modal-desc {
  padding: 0 16px 15px;
  color: var(--dark);
  line-height: 1.5;
  max-height: 120px;
  overflow-y: auto;
  font-size: 15px;
}

.whatsapp-order-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: calc(100% - 32px);
  margin: 0 auto 20px;
  padding: 14px;
  background: #25D366;
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.25);
}

.whatsapp-order-button:hover {
  background: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.35);
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 200;
  padding: 16px;
}

.modal-content {
  background: var(--white);
  border-radius: 16px;
  width: 100%;
  max-width: 500px;
  max-height: 80vh;
  overflow: auto;
  position: relative;
  flex-direction: column; /* Важно для правильной работы прокрутки */
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.1);
  border: none;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.modal-close:hover {
  background: rgba(0,0,0,0.2);
}

.modal-content h2 {
  padding: 20px 16px 16px;
  font-size: 18px;
  text-align: center;
}

.modal-images {
  padding: 0 16px 20px;
  display: grid;
  gap: 12px;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-images img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

/* Product details in modal */
.product-details {
  padding: 0 16px 16px;
}

/* Product details in modal */
.product-description {
  padding: 0 16px 15px;
  color: var(--dark);
  line-height: 1.5;
  font-size: 15px;
  white-space: pre-line; /* Сохраняет переносы строк из текста */
}

.empty-description {
  padding: 0 16px 15px;
  color: var(--gray);
  font-style: italic;
  font-size: 14px;
}

.price-section {
  background: rgba(37, 99, 235, 0.05);
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 15px;
}

.price-row:last-child {
  margin-bottom: 0;
}


.price {
  font-weight: 600;
  color: var(--primary);
}

.characteristics {
  margin-top: 16px;
}

.characteristics h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--dark);
}

.characteristics ul {
  list-style: none;
  padding-left: 0;
}

.characteristics li {
  margin-bottom: 8px;
  font-size: 14px;
  display: flex;
  gap: 5px;
}

.characteristics li strong {
  font-weight: 500;
}

.product-images-container {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

/* Small  button */
.button-small {
  position: fixed;
  top: 15px;
  right: 15px;
  background: var(--primary);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: var(--shadow-sm);
  z-index: 100;
  transition: var(--transition);
  text-decoration: none;
}

.button-small:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.button-small i {
  font-size: 12px;
}



/*Whatsapp buttons*/

.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #25D366; /* Цвет WhatsApp */
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  transition: var(--transition);
  font-size: 24px;
}

.whatsapp-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(37, 211, 102, 0.3);
}

/* Стили модального окна ввода пароля */
.modal-vvod-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-vvod-content {
  background: white;
  padding: 20px;
  border-radius: 8px;
  width: 300px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
}

.modal-vvod-content h3 {
  margin-top: 0;
  margin-bottom: 20px;
}

.modal-vvod-content input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.modal-vvod-content button {
  width: 100%;
  padding: 10px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.modal-vvod-content button:hover {
  background-color: var(--primary-light);
}


/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Empty states */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 16px;
  color: var(--gray);
}

.empty-state i {
  font-size: 40px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-state p {
  font-size: 16px;
}



/* Адаптивность */
@media (max-width: 768px) {
  .modal-slider {
    height: 55vh;
  }
  
  .slide-arrow {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 480px) {
  .modal-slider {
    height: 50vh;
  }
}




.adminEditModalInput {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

.adminEditModalButtons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.adminEditModalButton {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.adminEditModalButton:hover {
  opacity: 0.9;
}

.adminEditModalButton.adminEditCancel {
  background-color: #ccc;
  color: #333;
}

.adminEditModalButton:not(.adminEditCancel) {
  background-color: #4CAF50;
  color: white;
}
.adminEdit-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  justify-content: center; /* Центрирование по горизонтали */
  align-items: center; /* Центрирование по вертикали */
  overflow-y: auto; /* Прокрутка, если содержимое выходит за пределы экрана */
}

.adminEdit-modal-content {
  background: white;
  border-radius: var(--radius);
  width: 90%;
  max-width: 500px;
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  animation: fadeIn 0.3s ease-out;
  max-height: 80vh; /* Ограничиваем высоту до 80% высоты экрана */
  overflow-y: auto; /* Прокрутка внутри контента, если нужно */
  position: relative; /* Для правильного позиционирования кнопки закрытия */
}

.adminEdit-modal-content::-webkit-scrollbar {
  width: 8px;
}
.adminEdit-modal-content::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}
.adminEdit-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.adminEdit-modal-title {
  margin: 0;
  font-size: 1.25rem;
}
.adminEdit-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray);
}
.adminEdit-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.adminEdit-form-group {
  margin-bottom: 1.25rem;
  grid-template-columns: 1fr;
}
.adminEdit-mobile-text {
	display: block;
	font-size: 0.9rem;
	margin: 0.5rem 0 0;
}
.adminEdit-image-preview-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 1rem;
  max-height: none; /* Убираем ограничение высоты */
  overflow: visible; /* Отключаем прокрутку */
  padding: 0;
}

/* Стили для модального окна добавления товара */
#addProductModal .adminEdit-form-group {
  margin-bottom: 1.25rem;
}

#addProductModal .adminEdit-form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

#addProductModal .adminEdit-form-group input,
#addProductModal .adminEdit-form-group select,
#addProductModal .adminEdit-form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

#addProductModal .adminEdit-form-group textarea {
  min-height: 100px;
  resize: vertical;
}

#addProductModal #uploadArea {
  border: 2px dashed #ccc;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s;
}

#addProductModal #uploadArea:hover {
  border-color: var(--primary);
  background-color: rgba(37, 99, 235, 0.05);
}

#addProductModal #uploadArea i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

#addProductModal .adminEdit-image-preview-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 1rem;
  max-height: none; /* Убираем ограничение высоты */
  overflow: visible; /* Отключаем прокрутку */
  padding: 0;
}

#addProductModal .adminEdit-image-preview-container img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #eee;
}

/* Стили для кнопок в модальном окне */
#addProductModal .adminEditModalButton {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

#addProductModal .adminEditModalButton-cancel {
  background-color: #f1f1f1;
  color: #333;
}

#addProductModal .adminEditModalButton-primary {
  background-color: var(--primary);
  color: white;
}

#addProductModal .adminEditModalButton:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}


/* Обновим стили для модального окна обрезки */
#cropperModal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1002; /* Увеличим z-index чтобы было поверх других модалок */
  overflow: auto;
}

.cropper-container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 90vw;
  max-height: 80vh;
  overflow: hidden;
  position: relative;
  background: black; /* временно добавь для наглядности */
}

.cropper-container img {
  max-width: 100%;
  max-height: 70vh;
  display: block;
}

.cropper-actions {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 1003;
}

.cropper-actions button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

#cropImage {
  background: #4CAF50;
  color: white;
}

#cancelCrop {
  background: #f44336;
  color: white;
}

/* Для мобильных устройств */
@media (max-width: 768px) {
  .cropper-container {
    width: 95%;
  }
  
  .cropper-actions {
    bottom: 10px;
    gap: 10px;
  }
  
  .cropper-actions button {
    padding: 8px 15px;
    font-size: 14px;
  }
}
/* Улучшаем видимость рамки обрезки */
.cropper-crop-box, .cropper-view-box {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: -2px;
}

.cropper-line {
  background-color: rgba(255, 255, 255, 0.6);
}

.cropper-point {
  background-color: #fff;
  width: 8px;
  height: 8px;
  opacity: 0.8;
}


/* Стили для модального окна редактирования товара */
#editProductModal .adminEdit-form-group {
  margin-bottom: 1.25rem;
}

#editProductModal .adminEdit-form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

#editProductModal .adminEdit-form-group input,
#editProductModal .adminEdit-form-group select,
#editProductModal .adminEdit-form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

#editProductModal .adminEdit-form-group textarea {
  min-height: 100px;
  resize: vertical;
}

#editProductModal #editUploadArea {
  border: 2px dashed #ccc;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s;
}

#editProductModal #editUploadArea:hover {
  border-color: var(--primary);
  background-color: rgba(37, 99, 235, 0.05);
}

#editProductModal #editUploadArea i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

#editProductModal #editImagePreview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 1rem;
  max-height: none;
  overflow: visible;
  padding: 0;
}

#editProductModal #editImagePreview img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #eee;
}




/* Стили для модального окна загрузки */
.loading-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.loading-content {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  max-width: 300px;
}

.loading-spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

