/* Shoe Retailer Stylesheet - Step Lavender */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;850&display=swap');

:root {
  --shoes-font-main: 'Outfit', sans-serif;
  --shoes-color-primary: hsl(265, 80%, 65%);
  --shoes-color-primary-light: hsl(265, 100%, 96%);
  --shoes-color-primary-dark: hsl(265, 80%, 55%);
  --shoes-color-text: #1a202c;
  --shoes-color-muted: #4a5568;
  --shoes-color-border: #e2e8f0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--shoes-font-main);
  color: var(--shoes-color-text);
  background: #ffffff;
}

.shoes-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

/* Header & Top Bar */
.shoes-header {
  background: #ffffff;
  position: sticky;
  top: 54px; /* Demo control offset */
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.shoes-top-bar {
  background: #0f0c1b;
  color: #e2e8f0;
  font-size: 0.75rem;
  padding: 8px 0;
}

.shoes-top-bar .shoes-container {
  display: flex;
  justify-content: space-between;
}

.shoes-top-bar a:hover {
  color: var(--shoes-color-primary);
}

.shoes-main-nav {
  border-bottom: 1px solid var(--shoes-color-border);
  padding: 16px 0;
}

.shoes-main-nav .shoes-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.shoes-logo {
  font-size: 1.3rem;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.shoes-logo span {
  color: var(--shoes-color-primary);
}

.shoes-menu {
  display: flex;
  gap: 24px;
}

.shoes-menu a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--shoes-color-muted);
}

.shoes-menu a:hover {
  color: var(--shoes-color-primary);
}

/* Buttons */
.shoes-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--shoes-color-primary);
  color: white;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.shoes-btn:hover {
  background: var(--shoes-color-primary-dark);
  transform: translateY(-1px);
}

/* Hero Section */
.shoes-hero {
  padding: 60px 0;
  background: radial-gradient(circle at 75% 50%, var(--shoes-color-primary-light) 0%, transparent 60%);
}

.shoes-hero-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.shoes-badge {
  background: var(--shoes-color-primary-light);
  color: var(--shoes-color-primary);
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.shoes-hero-content h2 {
  font-size: 3rem;
  font-weight: 850;
  line-height: 1.15;
  margin: 16px 0 20px 0;
}

.shoes-hero-content p {
  color: var(--shoes-color-muted);
  font-size: 1rem;
  margin-bottom: 30px;
  max-width: 480px;
}

.shoes-hero-graphic {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.shoes-graphic-circle {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: var(--shoes-color-primary-light);
  position: absolute;
  z-index: 1;
}

.shoes-hero-graphic svg {
  position: relative;
  z-index: 2;
  transform: rotate(-10deg);
  animation: floatShoe 6s ease-in-out infinite;
}

@keyframes floatShoe {
  0%, 100% { transform: rotate(-10deg) translateY(0); }
  50% { transform: rotate(-8deg) translateY(-10px); }
}

/* Catalog Page layout */
.catalog-section {
  padding: 60px 0 100px 0;
}

.catalog-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
}

.catalog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-widget {
  background: #ffffff;
  border: 1px solid var(--shoes-color-border);
  border-radius: 12px;
  padding: 20px;
}

.sidebar-widget h3 {
  font-size: 0.95rem;
  font-weight: 750;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.search-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--shoes-color-border);
  border-radius: 6px;
  font-family: var(--shoes-font-main);
  font-size: 0.85rem;
}

.search-input:focus {
  outline: none;
  border-color: var(--shoes-color-primary);
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 550;
  cursor: pointer;
}

.filter-checkbox input {
  display: none;
}

.custom-chk {
  width: 16px;
  height: 16px;
  border: 2px solid var(--shoes-color-border);
  border-radius: 4px;
  display: inline-block;
  position: relative;
  transition: all 0.2s ease;
}

.filter-checkbox input:checked + .custom-chk {
  border-color: var(--shoes-color-primary);
  background: var(--shoes-color-primary);
}

.filter-checkbox input:checked + .custom-chk::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  left: 4px;
  top: 1px;
  transform: rotate(45deg);
}

.size-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.size-btn {
  padding: 8px 0;
  border: 1px solid var(--shoes-color-border);
  background: transparent;
  font-family: var(--shoes-font-main);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s;
}

.size-btn:hover {
  border-color: var(--shoes-color-primary);
}

.size-btn.active {
  background: var(--shoes-color-primary);
  color: white;
  border-color: var(--shoes-color-primary);
}

/* Sidebar Contact Form */
.contact-widget form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-widget input, .contact-widget textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--shoes-color-border);
  border-radius: 6px;
  font-family: var(--shoes-font-main);
  font-size: 0.85rem;
}

.contact-widget input:focus, .contact-widget textarea:focus {
  outline: none;
  border-color: var(--shoes-color-primary);
}

/* Catalog Main Listings */
.catalog-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.catalog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--shoes-color-muted);
}

.sorting-controls select {
  padding: 6px 12px;
  border: 1px solid var(--shoes-color-border);
  border-radius: 6px;
  font-family: var(--shoes-font-main);
  font-size: 0.85rem;
}

.shoes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.shoe-card {
  border: 1px solid var(--shoes-color-border);
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.shoe-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(159, 122, 234, 0.08);
}

.shoe-img-container {
  height: 200px;
  background-color: var(--shoes-color-primary-light);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.shoe-img-container svg {
  transition: transform 0.4s ease;
}

.shoe-card:hover .shoe-img-container svg {
  transform: scale(1.1) rotate(-5deg);
}

.shoe-card-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.shoe-card-info h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.shoe-card-info .shoe-desc {
  font-size: 0.75rem;
  color: var(--shoes-color-muted);
  margin-bottom: 12px;
}

.shoe-card-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.shoe-price {
  font-weight: 750;
  font-size: 1.1rem;
}

.btn-add-cart {
  padding: 6px 12px;
  font-size: 0.75rem;
  border-radius: 6px;
}

/* Footer */
.shoes-footer {
  background: #0f0c1b;
  color: #a0aec0;
  padding: 40px 0;
  font-size: 0.85rem;
}

.shoes-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.shoes-footer-contacts {
  display: flex;
  gap: 20px;
}

/* Responsive */
@media (max-width: 992px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .shoes-hero-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .shoes-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .shoes-hero-graphic {
    margin-top: 30px;
  }
  .shoes-footer-top {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .shoes-footer-contacts {
    flex-direction: column;
    gap: 8px;
  }
}
