body {
  margin: 0;
  font-family: 'Helvetica Neue', sans-serif;
  background-color: #f8f8f8;
  color: #000;
}

header {
  max-width: 1320px;
  margin: 0 auto;
  padding: 60px;
  background-color: #fff;
}

header h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 20px;
}

header p {
  font-size: 20px;
  line-height: 1.5;
}

.products-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 60px 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  background-color: #fff;
}

.product-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
  width: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-image-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.product-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease;
}

.product-image.secondary {
  opacity: 0;
}

.product-info {
  padding: 20px 0;
}

.product-title {
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  margin: 0 0 10px;
}

.product-description {
  font-weight: 400;
  font-size: 14px;
  line-height: 1;
  color: #666;
  margin: 0 0 10px;
}

.product-pricing {
  display: flex;
  gap: 10px;
  align-items: center;
}

.current-price {
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
}

.original-price {
  font-weight: 400;
  font-size: 14px;
  line-height: 1;
  text-decoration: line-through;
  color: #999;
}

.error-message {
  text-align: center;
  padding: 40px;
  color: #d32f2f;
  grid-column: 1/-1;
}

footer {
  width: 100%;
  background-color: #fff;
}

.footer {
  width: 100%;
  max-width: 1440px;
  min-height: 500px;
  padding: 40px 5%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  box-sizing: border-box;
  background-color: #fff;
}

.footer-content {
  flex: 1;
}

.footer-title {
  font-weight: 700;
  font-size: clamp(24px, 5vw, 40px);
  line-height: 1.5;
  margin: 0 0 20px;
}

.footer-description {
  font-weight: 400;
  font-size: clamp(16px, 3vw, 20px);
  line-height: 1.5;
  margin: 0;
}

.footer-underline {
  text-decoration: underline;
}

.footer-accordion {
  flex: 1;
  width: 100%;
}

.footer-box {
  width: 100%;
  min-height: 60px;
  background: #f7f8fb;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: background-color 0.4s ease-out;
}

.footer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  height: 60px;
  cursor: pointer;
  box-sizing: border-box;
}

.footer-text {
  font-size: clamp(16px, 3vw, 20px);
  margin: 0;
  padding: 0;
  flex-grow: 1;
  line-height: 1;
}

.footer-toggle-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #000;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.footer-toggle-btn::before {
  content: '+';
  position: absolute;
  font-size: 24px;
  transition: all 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  transform-origin: center;
}

.footer-content-wrapper {
  will-change: height;
  transition: height 0.6s ease-out;
  height: 0;
  overflow: hidden;
}

.footer-content-inner {
  padding: 8px 15px;
  font-weight: 400;
  font-size: clamp(14px, 3vw, 20px);
  line-height: 1.5;
}

.footer-box.expanded {
  background-color: #d7ecec;
}

.footer-box.expanded .footer-toggle-btn::before {
  content: '-';
  transform: rotate(180deg) scale(1.1);
}

@media (max-width: 1024px) {
  header, .products-container {
    padding: 40px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 30px 15px;
  }

  header h1 {
    font-size: 32px;
    margin-bottom: 10px;
  }

  header p {
    font-size: 14px;
  }

  .products-container {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 15px 30px;
    gap: 10px;
  }

  .product-card {
    width: 158px;
    height: 271px;
  }

  .product-image-container {
    height: 200px;
  }

  .footer {
    padding: 20px 15px;
    gap: 20px;
  }
  
  .footer-header {
    padding: 0 12px;
    height: 50px;
  }

  .footer-content-inner {
    padding: 8px 12px;
  }

  .footer-toggle-btn {
    width: 28px;
    height: 28px;
  }
  
  .footer-toggle-btn::before {
    font-size: 20px;
  }
}

@media (min-width: 1024px) {
  .footer {
    flex-direction: row;
    gap: 80px;
    padding: 40px 60px;
  }
}

@media (max-width: 480px) {
  .products-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .product-card {
    width: 158px;
    height: 271px;
  }
}