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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Top Banner */
.top-banner {
  background-color: #c4f82a;
  text-align: center;
  padding: 0.5rem;
  font-size: 0.875rem;
  color: #000;
}

.banner-link {
  color: #000;
  text-decoration: underline;
}

/* Header */
.header {
  border-bottom: 1px solid #e5e5e5;
  background-color: #fff;
  padding: 1rem 0;
}

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

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 0.1em;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.icon-btn {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.5rem;
}

.cart-btn {
  position: relative;
}

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  background: #000;
  color: #fff;
  border-radius: 50%;
  width: 1rem;
  height: 1rem;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.currency {
  border: 1px solid #ccc;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.875rem;
}

.menu-btn {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
}

.mobile-only {
  display: none;
}

.login-text {
  font-size: 0.875rem;
}

/* Breadcrumb */
.breadcrumb {
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: #666;
}

.product-ref {
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

/* Main Content */
.main-content {
  padding: 2rem 0;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* Product Images */
.product-images {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.main-image {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: #f5f5f5;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.thumbnail {
  aspect-ratio: 3 / 4;
  border: 2px solid #e5e5e5;
  border-radius: 4px;
  overflow: hidden;
  background: none;
  cursor: pointer;
  transition: border-color 0.2s;
}

.thumbnail.active {
  border-color: #000;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Details */
.product-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-title {
  font-size: 1.5rem;
  font-weight: 300;
  color: #666;
}

.price-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.current-price {
  font-size: 1.5rem;
  font-weight: bold;
}

.installments {
  font-size: 0.875rem;
  color: #666;
}

.app-discount {
  border: 1px solid #ccc;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  display: inline-block;
  width: fit-content;
}

/* Size Selection */
.size-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.size-options {
  display: flex;
  gap: 0.5rem;
}

.size-btn {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #ccc;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.size-btn:hover {
  background-color: #f5f5f5;
}

.size-btn.selected {
  background-color: #000;
  color: #fff;
}

.size-guide {
  background: none;
  border: none;
  color: #666;
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.875rem;
  text-align: left;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cta-btn {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 1rem;
  font-size: 1.125rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.cta-btn:hover {
  background-color: #333;
}

.wishlist-btn {
  background: none;
  border: none;
  color: #666;
  padding: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.heart {
  font-size: 1.25rem;
}

.heart.filled {
  color: #e74c3c;
}

/* App Section */
.app-section {
  border-top: 1px solid #e5e5e5;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.section-title {
  font-size: 0.875rem;
  font-weight: 500;
}

.section-text {
  font-size: 0.875rem;
  color: #666;
}

.download-link {
  background: none;
  border: none;
  color: #000;
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.875rem;
  text-align: left;
}

/* Delivery Info */
.delivery-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.delivery-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.delivery-title {
  font-weight: 500;
  font-size: 0.875rem;
}

.delivery-text {
  font-size: 0.875rem;
  color: #666;
}

/* Footer */
.footer {
  background-color: #fff;
  border-top: 1px solid #e5e5e5;
  margin-top: 5rem;
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  font-size: 0.875rem;
}

.footer-column h3 {
  font-weight: 500;
  margin-bottom: 1rem;
  color: #333;
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-column a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-column a:hover {
  color: #000;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e5e5;
}

.social-media {
  display: flex;
  gap: 1rem;
}

.social-media a {
  font-size: 1.25rem;
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}

.social-media a:hover {
  color: #000;
}

.certifications {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cert-image {
  height: 3rem;
}

.trees-counter {
  text-align: center;
}

.trees-number {
  font-weight: bold;
  font-size: 1.125rem;
}

.trees-text {
  font-size: 0.75rem;
  line-height: 1.2;
}

.footer-legal {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e5e5;
  text-align: center;
  font-size: 0.75rem;
  color: #666;
}

.security-badges {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-only {
    display: block;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }

  .header-right {
    gap: 0.5rem;
  }

  .login-text {
    display: none;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .size-options {
    justify-content: center;
  }

  .container {
    padding: 0 0.5rem;
  }
}
