body {
  font-family: system-ui, sans-serif;
  padding: 10px;
  padding-top: 0px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  background: #f9fafb;
}

.header-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  width: 1200px;
  max-width: 100%;
}

.nav-button {
  background: none;
  border: none;
  color: #000;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.nav-button:hover {
  opacity: 0.6;
}

.nav-separator {
  width: 1px;
  height: 16px;
  background: #e0e0e0;
}

.pdp-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.product-detail {
  display: flex;
  gap: 40px;
  background: white;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-image {
  flex: 1;
  min-width: 0;
  position: relative;
}

.product-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.product-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.product-title {
  font-size: 28px;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
}

.product-price {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin: 0;
}

.product-description {
  color: #666;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.color-selection {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.selection-label {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.color-swatch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
  position: relative;
}

.color-swatch:hover {
  transform: scale(1.1);
}

.color-swatch.active {
  border-color: #3498db;
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.try-on-button {
  background: #000;
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: auto;
  width: 100%;
}

.try-on-button:hover:not(:disabled) {
  background: #333;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.try-on-button:disabled {
  background: #95a5a6;
  cursor: not-allowed;
  transform: none;
}

#sdk-container-pdp {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  background: transparent;
  overflow: hidden;
  z-index: 10;
  transition: opacity 0.3s ease;
}

#sdk-container-pdp.visible {
  opacity: 1;
  pointer-events: auto;
}

#sdk-container-pdp iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}

@media (max-width: 1024px) {
  .product-detail {
    flex-direction: column;
    gap: 30px;
    padding: 30px;
  }

  .product-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .header-nav {
    width: 100%;
  }

  .pdp-container {
    padding: 0;
  }

  .product-detail {
    padding: 20px;
    gap: 20px;
  }

  .product-title {
    font-size: 24px;
  }

  .product-price {
    font-size: 20px;
  }

  .product-description {
    font-size: 14px;
  }

  .color-swatch {
    width: 36px;
    height: 36px;
  }

  .try-on-button {
    padding: 12px 24px;
    font-size: 14px;
  }
}
