/* ============================================
   MAC Makeup Landing Page - Pure CSS
   ============================================ */

/* CSS Variables */
:root {
  --background: #ffffff;
  --foreground: #0a0f1a;
  --card: #ffffff;
  --card-foreground: #0a0f1a;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --border: #e2e8f0;
  --primary: #0a0f1a;
  --primary-foreground: #f8fafc;
  --accent: #f1f5f9;
  --accent-foreground: #0a0f1a;
  --destructive: #ef4444;
  --rating-star: #facc15;
  --buy-button: #f43f5e;
  --buy-button-foreground: #ffffff;
  --tiktok-gold: #8b6914;
  --tiktok-bg: #faf8f3;
  --green-badge-bg: rgb(219, 247, 248);
  --green-badge-text: rgb(26, 111, 106);
  --radius: 0.5rem;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-family);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  min-height: 100vh;
  padding-bottom: 80px;
  -webkit-font-smoothing: antialiased;
}

/* Utility Classes */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.muted {
  color: var(--muted-foreground);
}

.divider {
  height: 1px;
  background-color: var(--border);
  margin: 1rem 0;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem;
  max-width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius);
  color: var(--foreground);
  transition: background-color 0.2s;
}

.icon-btn:hover {
  background-color: var(--accent);
}

.icon-btn i {
  font-size: 1.125rem;
}

/* Main Content */
.main-content {
  padding-top: 52px;
}

/* Gallery */
.gallery {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background-color: var(--background);
  overflow: hidden;
  cursor: grab;
  user-select: none;
}

.gallery:active {
  cursor: grabbing;
}

.gallery-track {
  display: flex;
  height: 100%;
  transition: transform 0.3s ease-out;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  pointer-events: none;
}

/* Flash Sale Timer */
.flash-sale {
  background: linear-gradient(to right, #FF4081, #FF5252, #FF6F61);
  color: white;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.flash-sale-left {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.flash-sale-price-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.flash-sale-price {
  font-size: 1.5rem;
  font-weight: 700;
}

.flash-sale-icon {
  font-size: 1.25rem;
}

.flash-sale-original {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.original-price {
  text-decoration: line-through;
  opacity: 0.9;
}

.discount-badge {
  font-weight: 700;
}

.flash-sale-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.flash-badge {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
}

.flash-timer {
  font-size: 0.875rem;
}

.timer-display {
  font-weight: 700;
  font-family: 'Courier New', monospace;
}

/* Product Info */
.product-info {
  padding: 1rem;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  flex-wrap: wrap;
}

.stars {
  display: flex;
  gap: 0.125rem;
}

.stars i {
  color: var(--rating-star);
}

.stars.small i {
  font-size: 0.875rem;
}

.stars.tiny i {
  font-size: 0.75rem;
}

.stars.tiny i.empty {
  color: var(--muted-foreground);
}

.rating-score {
  font-weight: 600;
}

.rating-count {
  color: var(--muted-foreground);
}

.sold-count {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--muted-foreground);
  margin-left: 0.5rem;
}

/* Skin Tone Selector */
.skin-tone-section {
  margin-top: 1rem;
}

.section-label {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.skin-tone-options {
  display: flex;
  gap: 0.75rem;
}

.skin-tone-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.skin-tone-btn:hover {
  border-color: rgba(244, 63, 94, 0.5);
}

.skin-tone-btn.selected {
  border-color: #F43F5E;
  box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.3);
}

/* Shipping Info */
.shipping-info {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.shipping-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.shipping-item i {
  color: var(--foreground);
}

.free-shipping-badge {
  background-color: var(--green-badge-bg);
  color: var(--green-badge-text);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-weight: 500;
}

.delivery-time {
  color: var(--muted-foreground);
}

.return-policy {
  cursor: pointer;
  transition: text-decoration 0.2s;
}

.return-policy:hover {
  text-decoration: underline;
}

/* TikTok Services */
.tiktok-services {
  margin-top: 1rem;
  background-color: var(--tiktok-bg);
  border-radius: var(--radius);
  padding: 0.875rem;
}

.services-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.services-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.services-icon {
  color: var(--tiktok-gold);
}

.services-title h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--tiktok-gold);
}

.services-arrow {
  color: #9ca3af;
  font-size: 0.875rem;
}

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

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 0.375rem;
}

.service-item i {
  color: var(--tiktok-gold);
  font-size: 0.875rem;
  font-weight: 700;
  margin-top: 0.125rem;
}

.service-item span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--foreground);
  line-height: 1.3;
}

/* Reviews Section */
.reviews-section {
  padding: 0;
}

.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.reviews-header h3 {
  font-weight: 600;
}

.reviews-score {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.reviews-score .score {
  font-size: 1.125rem;
  font-weight: 700;
}

/* Review Cards */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.review-card {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.review-card:last-child {
  border-bottom: none;
}

.review-header {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.review-info {
  flex: 1;
  min-width: 0;
}

.review-name-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.125rem;
}

.review-name {
  font-weight: 600;
  font-size: 0.875rem;
}

.review-location {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.review-comment {
  font-size: 0.75rem;
  color: var(--foreground);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.review-images {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
}

.review-thumb {
  width: 64px;
  height: 64px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  cursor: pointer;
  transition: opacity 0.2s;
}

.review-thumb:hover {
  opacity: 0.8;
}

/* Rating Distribution */
.rating-distribution {
  margin-top: 1.5rem;
}

.rating-distribution h4 {
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.rating-table {
  width: 100%;
}

.rating-table tr {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rating-row span {
  font-size: 0.875rem;
}

.rating-count-cell {
  font-weight: 500;
}

/* Store Reviews */
.store-reviews {
  margin-top: 1rem;
}

.store-reviews h2 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.trust-meter {
  margin-bottom: 0.75rem;
}

.trust-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.trust-level {
  color: #16a34a;
}

.trust-bar {
  width: 100%;
  height: 0.5rem;
  background-color: #f3f4f6;
  border-radius: 9999px;
  overflow: hidden;
}

.trust-fill {
  height: 100%;
  background: linear-gradient(to right, #ef4444, #eab308, #22c55e);
  transition: width 0.3s;
}

.store-stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--muted-foreground);
}

.stat-item:nth-child(1) i { color: #f97316; }
.stat-item:nth-child(2) i { color: #22c55e; }
.stat-item:nth-child(3) i { color: #3b82f6; }

.store-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.official-badge {
  background-color: #dcfce7;
  color: #15803d;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

.store-age {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* Store Card */
.store-card {
  margin-top: 0.75rem;
}

.store-card-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.store-card-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.store-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.store-name {
  font-weight: 700;
  font-size: 0.875rem;
}

.store-products {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.follow-btn {
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
}

.follow-btn:hover {
  background-color: var(--accent);
}

.follow-btn.following {
  background-color: var(--muted);
  border-color: transparent;
}

/* About Product */
.about-product {
  margin-top: 1.5rem;
  padding: 0;
}

.about-product h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.product-banner {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.product-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
}

.detail-block h3 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.detail-block p {
  color: var(--muted-foreground);
  line-height: 1.6;
}

.product-list {
  list-style: none;
  color: var(--muted-foreground);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.product-list strong {
  font-weight: 500;
}

.promo-box {
  background-color: rgba(var(--muted), 0.3);
  background-color: #f1f5f9;
  padding: 1rem;
  border-radius: var(--radius);
}

.promo-box p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
}

.promo-box p:first-child {
  margin-top: 0;
}

.disclaimer {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.disclaimer p {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  font-style: italic;
}

/* Accordion */
.accordion {
  margin-top: 1rem;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  background: transparent;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  color: var(--foreground);
}

.accordion-trigger i {
  transition: transform 0.2s;
}

.accordion-trigger.active i {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-content p {
  padding-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.accordion-content.open {
  max-height: 200px;
}

/* Footer */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--background);
  border-top: 1px solid var(--border);
  z-index: 50;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
}

.footer-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
}

.footer-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.125rem;
  min-width: 50px;
  padding: 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--foreground);
  font-size: 0.625rem;
  transition: background-color 0.2s;
  border-radius: var(--radius);
}

.footer-action:hover {
  background-color: var(--muted);
}

.footer-action i {
  font-size: 1.25rem;
}

.footer-action span {
  text-align: center;
  line-height: 1.2;
}

.buy-now-btn {
  flex: 1;
  height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--buy-button);
  color: var(--buy-button-foreground);
  border: none;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s;
  line-height: 1.2;
}

.buy-now-btn:hover {
  background-color: #e11d48;
}

/* Modals */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.open {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  position: relative;
  background-color: var(--background);
  border-radius: var(--radius);
  width: 100%;
  max-width: 320px;
  max-height: 85vh;
  overflow-y: auto;
  animation: modalIn 0.2s ease-out;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--muted-foreground);
  z-index: 10;
}

.modal-header {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}

.modal-header h2 {
  font-size: 1.125rem;
  font-weight: 600;
}

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

.back-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.spacer {
  width: 32px;
}

.modal-body {
  padding: 1rem;
}

/* Store Modal */
.store-modal-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.store-modal-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.store-modal-name {
  font-weight: 700;
  font-size: 1.125rem;
}

.store-modal-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
}

.store-modal-rating i {
  color: var(--rating-star);
}

.store-modal-details {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.store-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.store-detail-item i {
  color: var(--muted-foreground);
  margin-top: 0.125rem;
}

.detail-label {
  font-weight: 600;
  font-size: 0.875rem;
}

.detail-value {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.store-modal-about {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 1rem;
}

.store-modal-about h4 {
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.store-modal-about p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Chat Modal */
.chat-modal {
  max-width: 320px;
  padding: 0;
  display: flex;
  flex-direction: column;
  max-height: 75vh;
}

.chat-header {
  padding: 0.75rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(to right, rgba(var(--primary), 0.05), rgba(var(--primary), 0.1));
  background: linear-gradient(to right, #f1f5f9, #e2e8f0);
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-right: 2rem;
}

.chat-avatar-wrapper {
  position: relative;
}

.chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(var(--primary), 0.2);
  border-color: #e2e8f0;
}

.online-indicator {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  background-color: #22c55e;
  border-radius: 50%;
  border: 2px solid var(--background);
}

.chat-title {
  font-size: 0.875rem;
  font-weight: 600;
  display: block;
}

.chat-status {
  font-size: 0.625rem;
  color: var(--muted-foreground);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  min-height: 250px;
  max-height: 350px;
}

.chat-message {
  display: flex;
  gap: 0.375rem;
}

.chat-message.bot {
  justify-content: flex-start;
}

.chat-message.user {
  justify-content: flex-end;
}

.message-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.message-bubble {
  max-width: 75%;
  padding: 0.375rem 0.625rem;
  border-radius: 1rem;
  font-size: 0.6875rem;
  line-height: 1.5;
}

.chat-message.bot .message-bubble {
  background-color: var(--muted);
  color: var(--foreground);
  border-top-left-radius: 0.25rem;
}

.chat-message.user .message-bubble {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-top-right-radius: 0.25rem;
}

.chat-questions {
  border-top: 1px solid var(--border);
  background-color: rgba(var(--muted), 0.3);
  background-color: #f8fafc;
  padding: 0.625rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.questions-label {
  font-size: 0.5625rem;
  color: var(--muted-foreground);
  font-weight: 500;
  padding: 0 0.125rem;
}

.question-btn {
  width: 100%;
  text-align: left;
  padding: 0.375rem 0.5rem;
  font-size: 0.5625rem;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1.3;
}

.question-btn:hover {
  background-color: rgba(var(--primary), 0.1);
  background-color: #f1f5f9;
  border-color: rgba(var(--primary), 0.3);
  border-color: #cbd5e1;
}

/* Sheets (Bottom Sheets) */
.sheet {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}

.sheet.open {
  display: block;
}

.sheet-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.sheet-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--background);
  border-top-left-radius: 0.75rem;
  border-top-right-radius: 0.75rem;
  padding: 1rem;
  animation: sheetIn 0.3s ease-out;
}

@keyframes sheetIn {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.sheet-header {
  margin-bottom: 1rem;
}

.sheet-header h2 {
  font-size: 1.25rem;
  font-weight: 600;
}

.share-options {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
}

.share-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  min-width: 70px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.share-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.share-icon i {
  font-size: 1.5rem;
}

.bg-blue { background-color: #3b82f6; }
.bg-green { background-color: #22c55e; }
.bg-instagram { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.bg-facebook { background-color: #1877f2; }
.bg-telegram { background-color: #0ea5e9; }

.share-option span {
  font-size: 0.75rem;
  text-align: center;
}

.sheet-cancel {
  width: 100%;
  padding: 1rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background-color 0.2s;
  margin-top: 0.5rem;
}

.sheet-cancel:hover {
  background-color: var(--muted);
}

/* Report Sheet */
.report-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-align: left;
  border-radius: var(--radius);
  transition: background-color 0.2s;
}

.report-option:hover {
  background-color: var(--muted);
}

/* Report Modal */
.report-modal {
  max-width: 480px;
}

.report-reasons {
  padding: 0.5rem 0;
}

.reasons-label {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  border-bottom: 1px solid var(--border);
}

.reason-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  font-size: 1rem;
  text-align: left;
  transition: background-color 0.2s;
}

.reason-btn:hover {
  background-color: var(--muted);
}

.reason-btn i {
  color: var(--muted-foreground);
}

.report-detail-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.report-reason-display {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.report-reason-display .label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.reason-text {
  font-weight: 500;
}

.report-description label {
  display: block;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.report-description textarea {
  width: 100%;
  height: 128px;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.875rem;
  resize: none;
}

.report-description textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.char-count {
  text-align: right;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

.char-count.warning {
  color: var(--destructive);
}

.report-warning {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.submit-report-btn {
  width: 100%;
  padding: 1rem;
  background-color: #ff2d55;
  color: white;
  border: none;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.submit-report-btn:hover {
  background-color: #e61b43;
}

/* Return Modal */
.return-highlight {
  background-color: var(--accent);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1rem;
}

.highlight-title {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.highlight-text {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.return-steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.return-step {
  display: flex;
  gap: 0.75rem;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(var(--primary), 0.1);
  background-color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
}

.step-title {
  font-size: 0.875rem;
  font-weight: 600;
}

.step-text {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

.return-contact {
  background-color: var(--muted);
  border-radius: var(--radius);
  padding: 0.75rem;
  text-align: center;
  margin-top: 1rem;
}

.return-contact p {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background-color: rgba(0, 0, 0, 0.95);
  display: none;
  flex-direction: column;
}

.lightbox.open {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: white;
  transition: background-color 0.2s;
}

.lightbox-close:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.lightbox-counter {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.lightbox-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: white;
  transition: background-color 0.2s;
}

.lightbox-nav:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.lightbox-nav.prev {
  left: 1rem;
}

.lightbox-nav.next {
  right: 1rem;
}

.lightbox-info {
  background-color: var(--background);
  border-top: 1px solid var(--border);
  padding: 1rem;
  display: flex;
  gap: 0.75rem;
}

.lightbox-reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.lightbox-reviewer-info {
  flex: 1;
}

.lightbox-reviewer-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.lightbox-reviewer-name span:first-child {
  font-weight: 600;
  font-size: 0.875rem;
}

.lightbox-stars {
  font-size: 0.75rem;
}

.lightbox-location {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  display: block;
  margin-bottom: 0.5rem;
}

.lightbox-comment {
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 300;
  background-color: var(--foreground);
  color: var(--background);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-content {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.toast-title {
  font-weight: 600;
  font-size: 0.875rem;
}

.toast-message {
  font-size: 0.75rem;
  opacity: 0.9;
}

/* Responsive */
@media (min-width: 768px) {
  .product-title {
    font-size: 1.5rem;
  }
  
  .skin-tone-btn {
    width: 56px;
    height: 56px;
  }
  
  .review-avatar {
    width: 48px;
    height: 48px;
  }
  
  .review-thumb {
    width: 80px;
    height: 80px;
  }
  
  .store-logo {
    width: 56px;
    height: 56px;
  }
}