h1 { font-family: Arial, Helvetica, sans-serif; }

/* Product Description HTML Rendering */
.product-description {
  line-height: 1.8;
}

.product-description h1,
.product-description h2,
.product-description h3,
.product-description h4,
.product-description h5,
.product-description h6 {
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #1f2937;
}

.product-description h1 { font-size: 2rem; }
.product-description h2 { font-size: 1.75rem; }
.product-description h3 { font-size: 1.5rem; }
.product-description h4 { font-size: 1.25rem; }

.product-description p {
  margin-bottom: 1rem;
}

.product-description ul,
.product-description ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.product-description ul {
  list-style-type: disc;
}

.product-description ol {
  list-style-type: decimal;
}

.product-description li {
  margin-bottom: 0.5rem;
}

.product-description a {
  color: #2563eb;
  text-decoration: underline;
}

.product-description a:hover {
  color: #1d4ed8;
}

.product-description img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1rem 0;
}

.product-description table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.product-description table th,
.product-description table td {
  border: 1px solid #e5e7eb;
  padding: 0.75rem;
  text-align: left;
}

.product-description table th {
  background-color: #f3f4f6;
  font-weight: 600;
}

.product-description blockquote {
  border-left: 4px solid #2563eb;
  padding-left: 1rem;
  margin: 1rem 0;
  color: #4b5563;
  font-style: italic;
}

.product-description code {
  background-color: #f3f4f6;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-family: monospace;
  font-size: 0.875rem;
}

.product-description pre {
  background-color: #1f2937;
  color: #f9fafb;
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 1rem 0;
}

.product-description pre code {
  background-color: transparent;
  padding: 0;
  color: inherit;
}

/* Popup Banner Animations */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(20px);
  }
}

.animate-fade-in {
  animation: fade-in 0.4s ease-out;
}

/* Responsive adjustments for popup */
@media (max-width: 640px) {
  #popup-banner {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    max-width: none !important;
  }
}
/* Admin Toggle Button in Header */
.admin-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 13px;
  color: #4b5563;
  background-color: white;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.admin-toggle-btn:hover {
  background-color: #f9fafb;
  color: #0074E4;
  border-color: #0074E4;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 116, 228, 0.1);
}

.admin-toggle-btn:active {
  transform: translateY(0);
}

.admin-toggle-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Mobile: Icon only */
@media (max-width: 1023px) {
  .admin-toggle-btn {
    padding: 8px;
  }
  
  .admin-toggle-btn span {
    display: none !important;
  }
}

/* Ensure button stays visible in sticky header */
.header-corporate.sticky .admin-toggle-btn,
.header-corporate .admin-toggle-btn {
  position: relative;
  z-index: 10;
}
/* Header brand lockup: Samsung wordmark and company name are rendered separately. */
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-wordmark-crop {
  display: block;
  width: 140px;
  height: 32px;
  overflow: hidden;
  flex: 0 0 140px;
}

.brand-wordmark-crop img {
  display: block;
  width: auto;
  max-width: none;
  height: 32px;
  transition: transform 180ms ease;
}

.brand-lockup:hover .brand-wordmark-crop img {
  transform: scale(1.02);
  transform-origin: left center;
}

.brand-lockup-divider {
  width: 1px;
  height: 30px;
  background: #9ca3af;
  flex: 0 0 1px;
}

.brand-lockup-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
}

.brand-lockup-kicker {
  color: #6b7280;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.brand-lockup-name {
  color: #111827;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .brand-lockup {
    gap: 6px;
  }

  .brand-wordmark-crop {
    width: 106px;
    height: 24px;
    flex-basis: 106px;
  }

  .header-top .brand-wordmark-crop img {
    width: auto !important;
    max-width: none !important;
    height: 24px !important;
  }

  .brand-lockup-divider {
    display: none;
  }

  .brand-lockup-kicker {
    display: block;
    font-size: 8px;
    letter-spacing: -0.04em;
  }

  .brand-lockup-name {
    font-size: 10px;
  }
}
