/* css/accessories-section.css */

.accessories-section {
  padding: 4rem 1.5rem;
  background-color: transparent;
}

.accessories-container {
  max-width: 1440px;
  margin: 0 auto;
  background-color: #f6efe1; /* Light beige matching the image */
  border-radius: 12px;
  display: flex;
  gap: 2rem;
  padding: 3rem;
  align-items: stretch;
}

.accessories-left {
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.accessories-title {
  font-family: 'DM Serif Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.accessories-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 1rem;
}

.accessories-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #5a6678;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.accessories-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #e3c078 0%, #d4af37 100%);
  color: #111;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  align-self: flex-start;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(0,0,0,0.1);
}

.accessories-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
  color: #111;
}

.accessories-right {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding-bottom: 1rem; /* For scrollbar */
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: #d4af37 transparent;
}

.accessories-right::-webkit-scrollbar {
  height: 6px;
}
.accessories-right::-webkit-scrollbar-thumb {
  background-color: #d4af37;
  border-radius: 10px;
}

.acc-card {
  flex: 0 0 calc(100% / 4 - 1rem); /* Show ~4 items */
  min-width: 150px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  padding: 1.2rem;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}

.acc-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.acc-img-wrap {
  width: 100%;
  aspect-ratio: 1.2 / 1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 6px;
  overflow: hidden;
}

.acc-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.acc-info {
  text-align: center;
  margin-top: auto;
}

.acc-info h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111;
  margin: 0 0 0.25rem 0;
}

.acc-info p {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: #718096;
  margin: 0;
}

@media (max-width: 1024px) {
  .accessories-container {
    flex-direction: column;
    padding: 2rem;
  }
  .accessories-left {
    flex: auto;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    align-items: center;
  }
  .accessories-btn {
    align-self: center;
  }
  .acc-card {
    flex: 0 0 calc(100% / 3 - 1rem);
  }
}

@media (max-width: 768px) {
  .accessories-section {
    padding: 2rem 1rem;
  }
  .accessories-container {
    padding: 1.5rem;
  }
  .acc-card {
    min-width: 140px;
    flex: 0 0 calc(100% / 2 - 1rem);
  }
}
