/* Cache cleared: 2025-08-07 16:40:59 */
/* Cache cleared: 2025-07-20 13:08:19 */
@import "../css-edit/shop-edit.css";

body {
  margin: 0;
  font-family: var(--shop-font-family-main);
  background-color: var(--shop-color-background-light);
  color: var(--shop-color-text-primary);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
p,
ul {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

button {
  font-family: var(--shop-font-family-main);
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* CSS from section:product-catalog */
.container {
  padding-top: 130px;
  max-width: 1188px;
  margin: 40px auto;
  /* padding: 0 20px; */
  display: flex;
  gap: 45px;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 263px;
  flex-shrink: 0;
}

.catalog-title {
  font-weight: 600;
  font-size: var(--shop-font-size-xlarge);
  line-height: 1.2;
  color: var(--shop-color-text-primary);
}

.divider {
  border: none;
  height: 1px;
  background-color: var(--shop-color-background-dark);
  margin: 0;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.filter-title {
  font-weight: 600;
  font-size: var(--shop-font-size-large);
  line-height: 1.2;
  color: var(--shop-color-text-primary);
}

.filter-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 18px;
  cursor: pointer;
}

.checkbox {
  width: 26.5px;
  height: 26.5px;
  border: 1.15px solid var(--shop-color-background-light);
  border-radius: 3.5px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.checkbox.checked {
  background-color: var(--shop-color-background-dark);
  border-color: var(--shop-color-background-dark);
}

.checkbox.checked img {
  width: 13.5px;
  height: 10.3px;
}

.checkbox-label {
  font-weight: 600;
  font-size: var(--shop-font-size-base);
  line-height: 1.2;
  color: var(--shop-color-text-primary);
}

.sidebar-footer {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.stock-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stock-label {
  font-weight: 600;
  font-size: var(--shop-font-size-base);
  line-height: 1.2;
  color: var(--shop-color-text-primary);
}

.stock-toggle img {
  width: 41.4px;
  height: 23.3px;
}

.sidebar-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.items-btn,
.clear-btn {
  padding: 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: var(--shop-font-size-base);
  line-height: 1.2;
  flex-grow: 1;
  text-align: center;
}

.items-btn {
  background-color: var(--shop-color-background-button);
  color: var(--shop-color-text-on-dark);
}

.clear-btn {
  border: 1px solid var(--shop-color-text-primary);
  color: var(--shop-color-text-primary);
}

.main-content {
  display: flex;
  gap: 45px;
  flex-grow: 1;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 550px;
  flex-shrink: 0;
}

.main-product-image {
  width: 100%;
  height: 700px;
  object-fit: cover;
  background-color: #1a1a1a;
  border-radius: 12px;
}

.product-description {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.desc-title {
  font-weight: 700;
  font-size: var(--shop-font-size-large);
  line-height: 1.2;
  color: var(--shop-color-text-primary);
}

.desc-text {
  font-weight: 400;
  font-size: var(--shop-font-size-large);
  line-height: 1.2;
  color: var(--shop-color-text-primary);
}

.product-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex-grow: 1;
}

.product-title {
  font-weight: 700;
  font-size: var(--shop-font-size-large);
  line-height: 1.2;
  color: var(--shop-color-text-primary);
}

.detail-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-title {
  font-weight: 700;
  font-size: var(--shop-font-size-large);
  line-height: 1.2;
  color: var(--shop-color-text-primary);
}

.profile-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--shop-color-text-primary);
  font-weight: 400;
  font-size: var(--shop-font-size-base);
  line-height: 1.2;
}

.price-section {
  display: flex;
  align-items: center;
  gap: 96px;
}

.price-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-value {
  font-weight: 600;
  font-size: var(--shop-font-size-large);
  line-height: 1.2;
}

.new-price {
  color: var(--shop-color-text-primary);
}

.old-price {
  color: var(--shop-color-background-light);
  text-decoration: line-through;
}

.price-label {
  font-weight: 600;
  font-size: var(--shop-font-size-base);
  line-height: 1.2;
  color: var(--shop-color-text-primary);
}

.old-price + .price-label {
  color: var(--shop-color-background-light);
}

.preview-images {
  width: 271px;
  height: 55px;
}

.color-selector {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.color-option {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--shop-color-border);
  cursor: pointer;
  transition: all 0.3s ease;
}

.color-option:hover {
  border-color: var(--shop-color-background-hover);
  transform: scale(1.1);
}

.color-option.selected {
  border-color: var(--shop-color-background-dark);
  border-width: 3px;
}

.size-selector {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.size-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.size-btn {
  padding: 16px 20px;
  border: 1px solid var(--shop-color-text-primary);
  border-radius: 6px;
  font-weight: 700;
  font-size: var(--shop-font-size-large);
  line-height: 1.2;
  color: var(--shop-color-text-primary);
  min-width: 52px;
  text-align: center;
}

.size-btn.active {
  border-color: var(--shop-color-text-primary);
}

.add-to-cart-btn {
  background-color: var(--shop-color-background-button);
  color: var(--shop-color-text-on-dark);
  padding: 14px 67px;
  border-radius: 7px;
  font-weight: 500;
  font-size: var(--shop-font-size-large);
  line-height: 1.2;
  text-align: center;
  align-self: flex-start;
}

.add-to-cart-btn:hover {
  background-color: var(--shop-color-background-hover);
  color: var(--shop-color-text-on-dark);
}

@media (max-width: 1200px) {
  .container,
  .main-content {
    gap: 30px;
  }
}

@media (max-width: 992px) {
  .container {
    flex-direction: column;
    align-items: center;
  }
  .sidebar {
    width: 100%;
    max-width: 550px;
  }
  .main-content {
    width: 100%;
    max-width: 550px;
    flex-direction: column;
  }
  .product-gallery {
    width: 100%;
  }
  .main-product-image {
    height: auto;
    aspect-ratio: 550 / 700;
  }
}

@media (max-width: 768px) {
  .main-content {
    max-width: 100%;
  }
  .price-section {
    gap: 32px;
    flex-wrap: wrap;
  }
  .size-selector {
    width: 100%;
  }
  .size-row {
    flex-wrap: wrap;
  }
  .add-to-cart-btn {
    width: 100%;
  }
}
