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

:root {
  --green: #108474;
  --green-light: #edf5f5;
  --brown: #766a62;
  --dark: #1d1d1f;
  --dark-light: #515151;
  --gold: #fcb237;
  --gray: #e6e6e6;
  --bg: #f5f5f7;
  --white: #ffffff;
  --alert: #d32f2f;
  --radius: 16px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Helvetica, Arial, sans-serif;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.10);
  --blur: blur(24px);
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --border: var(--gray);
  --sidebar-w: 72px;
  --sidebar-w-open: 220px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ======================================================
   SIDEBAR (desktop)
   ====================================================== */

.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--sidebar-w);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 0 24px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  box-shadow: 1px 0 8px rgba(0, 0, 0, 0.04);
  transition: width 0.3s var(--ease);
  overflow: hidden;
}

.sidebar:hover {
  width: var(--sidebar-w-open);
}

.sidebar-logo {
  margin-bottom: 40px;
  flex-shrink: 0;
}

.sidebar-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  transition: width 0.3s var(--ease), height 0.3s var(--ease);
}

.sidebar:hover .sidebar-logo img {
  width: 90px;
  height: 90px;
}

.sidebar-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  flex: 1;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 24px;
  color: var(--dark-light);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
  position: relative;
}

.sidebar-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 2px;
  height: 24px;
  background: var(--green);
  border-radius: 0 2px 2px 0;
  transition: transform 0.3s var(--ease);
}

.sidebar-link:hover {
  color: var(--dark);
  background: rgba(0, 0, 0, 0.03);
}

.sidebar-link.active {
  color: var(--dark);
  font-weight: 600;
}

.sidebar-link.active::before {
  transform: translateY(-50%) scaleY(1);
}

.sidebar-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.sidebar-link:hover svg,
.sidebar-link.active svg {
  color: var(--green);
}

.sidebar-link span {
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.sidebar:hover .sidebar-link span {
  opacity: 1;
  transform: none;
}

.sidebar-link:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(16, 132, 116, 0.28);
}

.sidebar-family {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  width: 100%;
  margin-top: auto;
  overflow: hidden;
  transition: padding 0.3s var(--ease);
}

.sidebar:hover .sidebar-family {
  padding: 12px 24px;
}

.sidebar-family img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.sidebar-family span {
  font-size: 0.72rem;
  color: var(--brown);
  letter-spacing: 0.04em;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.sidebar:hover .sidebar-family span {
  opacity: 1;
  transform: none;
}

/* ======================================================
   TOPBAR (header with icons)
   ====================================================== */

.topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: var(--sidebar-w);
  height: 56px;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 28px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}

.topbar-menu {
  display: none;
}

.topbar-logo {
  display: none;
}

.topbar-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: auto;
}

.topbar-icon {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--dark);
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.topbar-icon:hover {
  color: var(--green);
  background: var(--white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: scale(1.08);
}

.topbar-icon:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(16, 132, 116, 0.28);
}

.topbar-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.topbar-icon .cart-count {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--green);
  color: var(--white);
  font-size: 0.55rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  pointer-events: none;
}

.topbar-icon .cart-count:empty {
  display: none;
}

/* ======================================================
   MOBILE NAV OVERLAY
   ====================================================== */

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--dark-light);
  transition: color 0.3s var(--ease);
}

.mobile-nav-close:hover {
  color: var(--dark);
}

.mobile-nav-close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(16, 132, 116, 0.3);
  border-radius: 50%;
}

.mobile-nav-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.mobile-nav-content a {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--dark);
  padding: 12px 32px;
  border-radius: 12px;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
  opacity: 0;
  transform: translateY(16px);
}

.mobile-nav-content a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(16, 132, 116, 0.3);
}

.mobile-nav-overlay.open .mobile-nav-content a {
  opacity: 1;
  transform: none;
}

.mobile-nav-content a:nth-child(1) { transition-delay: 0.06s; }
.mobile-nav-content a:nth-child(2) { transition-delay: 0.12s; }
.mobile-nav-content a:nth-child(3) { transition-delay: 0.18s; }
.mobile-nav-content a:nth-child(4) { transition-delay: 0.24s; }

.mobile-nav-content a:hover {
  color: var(--green);
  background: rgba(16, 132, 116, 0.04);
}

.mobile-nav-content a.active {
  color: var(--green);
}

/* ======================================================
   MAIN CONTENT (offset for sidebar)
   ====================================================== */

.main-content {
  margin-left: var(--sidebar-w);
}

/* ======================================================
   ANNOUNCEMENT BAR
   ====================================================== */

.announcement-bar {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  padding: 10px 20px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.announcement-bar p {
  margin: 0;
}

/* ======================================================
   HERO (fullscreen, dark gradient, breathing)
   ====================================================== */

.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 0 0 0;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-fallback img,
.hero-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 110%;
  height: 110%;
  transform: translate(-50%, -50%);
  z-index: 1;
  border: 0;
  pointer-events: none;
  object-fit: cover;
}

@media (max-width: 480px) {
  .hero-video { display: none; }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.15) 50%,
    transparent 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 0 56px 80px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 16px;
}

.hero p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  font-weight: 400;
  max-width: 420px;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero .btn-hero {
  display: inline-block;
  padding: 14px 36px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 980px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.hero .btn-hero:hover {
  background: var(--green);
  border-color: var(--green);
}

.hero .btn-hero:active {
  transform: scale(0.97);
}

/* Hero intro animation */
.hero h1,
.hero p,
.hero-actions {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.hero.hero--visible h1 { opacity: 1; transform: none; transition-delay: 0.1s; }
.hero.hero--visible p { opacity: 1; transform: none; transition-delay: 0.25s; }
.hero.hero--visible .hero-actions { opacity: 1; transform: none; transition-delay: 0.4s; }

/* Breathe animation */
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.018); }
}

.hero-fallback img {
  animation: breathe 8s ease-in-out infinite;
}

/* ======================================================
   SECTION TITLES
   ====================================================== */

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 100px;
}

.section-title {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brown);
  margin-bottom: 40px;
  font-weight: 500;
}

.section-lede {
  font-size: 0.95rem;
  color: var(--dark-light);
  margin: -24px 0 32px;
  max-width: 520px;
  line-height: 1.6;
}

/* ======================================================
   PRODUCTS GRID (editorial)
   ====================================================== */

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.products-grid--editorial {
  grid-template-columns: repeat(3, 1fr);
}

.products-grid--editorial .product-card:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.product-card {
  display: block;
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
}

.product-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-hover);
}

.product-card-img {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #fafafa;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s var(--ease);
}

.product-card:hover .product-card-img img {
  transform: scale(1.02);
}

.product-card-img .placeholder-icon {
  font-size: 2rem;
  color: var(--gray);
}

.product-card-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 20px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent);
  border-radius: 0 0 var(--radius) var(--radius);
  transform: translateY(100%);
  transition: transform 0.3s var(--ease);
  pointer-events: none;
}

.product-card:hover .product-card-overlay {
  transform: none;
}

.product-card-overlay-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}

.product-card-overlay-price {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.8);
}

.price-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: var(--green);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 700;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.product-card-text {
  padding: 14px 4px 0;
}

.product-card h3 {
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 4px;
  line-height: 1.3;
  color: var(--dark);
}

.product-card .price {
  font-size: 0.82rem;
  color: var(--dark-light);
}

.product-card .price .original {
  text-decoration: line-through;
  color: var(--brown);
  margin-left: 6px;
  font-size: 0.75rem;
}

.product-card .reviews-count {
  font-size: 0.72rem;
  color: var(--brown);
  margin-top: 4px;
}

/* ======================================================
   CUSTOM DROPDOWN
   ====================================================== */

.custom-select {
  position: relative;
  display: inline-block;
}

.custom-select-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 980px;
  border: 1px solid var(--gray);
  background: var(--white);
  font-family: var(--font);
  font-size: 0.82rem;
  color: var(--dark);
  cursor: pointer;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  min-width: 160px;
  white-space: nowrap;
  user-select: none;
}

.custom-select-trigger:hover {
  border-color: var(--dark-light);
}

.custom-select-trigger:focus-visible {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(16, 132, 116, 0.15);
}

.custom-select-trigger svg {
  width: 14px;
  height: 14px;
  stroke: var(--dark-light);
  stroke-width: 2;
  fill: none;
  margin-left: auto;
  transition: transform 0.3s var(--ease);
}

.custom-select.open .custom-select-trigger svg {
  transform: rotate(180deg);
}

.custom-select-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 100%;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
  z-index: 50;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s var(--ease);
}

.custom-select.open .custom-select-dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.custom-select-option {
  padding: 10px 16px;
  font-size: 0.85rem;
  color: var(--dark);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
  white-space: nowrap;
}

.custom-select-option:hover {
  background: var(--green-light);
}

.custom-select-option.selected {
  color: var(--green);
  font-weight: 600;
}

/* ======================================================
   SHOP TOOLBAR
   ====================================================== */

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.shop-toolbar-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.shop-toolbar label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brown);
  font-weight: 500;
}

/* ======================================================
   PRODUCT DETAIL
   ====================================================== */

.product-detail {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px 100px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.product-detail-img {
  position: relative;
  aspect-ratio: 3 / 4;
  background: #fafafa;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06), inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.product-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s var(--ease);
}

.product-detail-img:hover img {
  animation: breathe 4s ease-in-out infinite;
}

.price-badge--detail {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
}

.product-detail-info h1 {
  font-size: 2.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.15;
}

.product-detail-info .reviews-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  font-size: 0.82rem;
  color: var(--brown);
  margin-bottom: 20px;
}

.product-stars {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  line-height: 1;
}

.product-sell-points {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-sell-points li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.85rem;
  color: var(--dark-light);
  line-height: 1.5;
}

.product-sell-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.section-lede--related {
  margin: 8px 0 32px;
  max-width: 560px;
}

.related-products-wrap .section-title {
  margin-bottom: 0;
}

.related-products-wrap .products-grid {
  margin-top: 8px;
}

.product-detail-info .price-row {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 28px;
}

.product-detail-info .price-row .original {
  text-decoration: line-through;
  color: var(--brown);
  margin-left: 8px;
  font-size: 1rem;
  font-weight: 400;
}

.product-detail-info .description {
  font-size: 0.92rem;
  color: var(--dark-light);
  line-height: 1.75;
  margin-bottom: 32px;
}

.product-detail-info .description p { margin-bottom: 14px; }
.product-detail-info .description h3 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--dark);
  margin: 24px 0 10px;
}
.product-detail-info .description ul { padding-left: 20px; margin-bottom: 14px; }
.product-detail-info .description li { margin-bottom: 6px; }

.size-select { margin-bottom: 28px; }
.size-select label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brown);
  margin-bottom: 10px;
}
.size-select select {
  font-family: var(--font);
  font-size: 0.88rem;
  padding: 10px 16px;
  border: 1px solid var(--gray);
  border-radius: 12px;
  background: var(--white);
  color: var(--dark);
  height: 48px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.size-select select:focus { outline: none; }
.size-select select:focus-visible {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(16, 132, 116, 0.15);
}

/* ======================================================
   REVIEWS CAROUSEL
   ====================================================== */

.reviews-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 80px;
}

.reviews-summary-bar {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.reviews-score {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--dark);
}

.reviews-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.reviews-count-label {
  font-size: 0.85rem;
  color: var(--brown);
}

.reviews-carousel-wrap {
  position: relative;
}

.reviews-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 40px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 0 16px;
}

.reviews-carousel::-webkit-scrollbar { display: none; }

.review-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.review-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-hover);
}

.review-card-stars {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.review-card-text {
  font-size: 0.88rem;
  color: var(--dark-light);
  line-height: 1.65;
  font-style: italic;
  flex: 1;
}

.review-card-author {
  font-size: 0.75rem;
  color: var(--brown);
  font-weight: 500;
  font-style: normal;
}

.reviews-scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.reviews-scroll-btn:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.reviews-scroll-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(16, 132, 116, 0.3);
}

.reviews-scroll-btn svg {
  width: 16px;
  height: 16px;
  stroke: var(--dark);
  stroke-width: 2;
  fill: none;
}

.reviews-scroll-btn--prev { left: -20px; }
.reviews-scroll-btn--next { right: -20px; }

/* ======================================================
   BUTTONS
   ====================================================== */

.btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 980px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--dark);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green);
  box-shadow: 0 4px 20px rgba(16, 132, 116, 0.25);
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(16, 132, 116, 0.28);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 1px solid var(--dark);
}

.btn-outline:hover {
  background: var(--dark);
  color: var(--white);
}

.btn-add-cart {
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.btn-add-cart:active { transform: scale(0.97); }

/* Pulsating CTA glow */
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 132, 116, 0); }
  50% { box-shadow: 0 0 0 8px rgba(16, 132, 116, 0.1); }
}

.btn--glow {
  animation: ctaGlow 3s ease-in-out infinite;
}

/* ======================================================
   PRODUCT META (details/summary)
   ====================================================== */

.product-meta {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--gray);
}

.product-meta summary {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  padding: 12px 0;
  list-style: none;
  transition: color 0.3s var(--ease);
}

.product-meta summary:hover { color: var(--green); }
.product-meta summary:focus { outline: none; }
.product-meta summary:focus-visible {
  box-shadow: 0 0 0 3px rgba(16, 132, 116, 0.22);
  border-radius: 8px;
}
.product-meta summary::before { content: "+ "; color: var(--brown); }
.product-meta details[open] summary::before { content: "- "; }

.product-meta .meta-content {
  font-size: 0.88rem;
  color: var(--dark-light);
  line-height: 1.75;
  padding-bottom: 20px;
}

/* ======================================================
   POLAROID
   ====================================================== */

.polaroid {
  background: var(--white);
  padding: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10), inset 0 0 0 1px rgba(0, 0, 0, 0.04);
  border-radius: 20px;
  display: inline-block;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  overflow: hidden;
}

.polaroid:hover {
  transform: rotate(0deg) scale(1.03) !important;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.polaroid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

.polaroid--tilt-left { transform: rotate(-2deg); }
.polaroid--tilt-right { transform: rotate(1.5deg); }

/* ======================================================
   ABOUT PAGE
   ====================================================== */

.page-header {
  padding: 80px 40px 48px;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.page-header h1 {
  font-size: 2.6rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  line-height: 1.1;
}

.page-header p {
  font-size: 1rem;
  color: var(--dark-light);
  line-height: 1.7;
}

.about-hero-frame {
  max-width: 480px;
  margin: 0 auto 64px;
  padding: 10px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.10), inset 0 0 0 1px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.about-hero-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 18px;
}

.page-header--about {
  padding-top: 60px;
}

.about-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 40px 100px;
}

.about-people {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 80px;
}

.about-person {
  text-align: center;
}

.about-person .polaroid {
  margin: 0 auto 28px;
  max-width: 320px;
  width: 100%;
}

.about-person h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.about-person .role {
  font-size: 0.72rem;
  color: var(--brown);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  font-weight: 500;
}

.about-person p {
  font-size: 0.92rem;
  color: var(--dark-light);
  line-height: 1.7;
}

.about-vision {
  border-top: 1px solid var(--gray);
  padding-top: 56px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.about-vision h2 {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.about-vision p {
  font-size: 0.95rem;
  color: var(--dark-light);
  line-height: 1.7;
}

/* Timeline */
.timeline {
  max-width: 560px;
  margin: 64px auto 0;
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--gray);
  border-radius: 1px;
}

.timeline-item {
  position: relative;
  padding-bottom: 32px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 5px;
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--green);
}

.timeline-year {
  font-size: 0.72rem;
  color: var(--brown);
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.timeline-text {
  font-size: 0.92rem;
  color: var(--dark);
  line-height: 1.6;
}

/* ======================================================
   CONTACT
   ====================================================== */

.contact-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 40px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.contact-info h2 { font-size: 1.1rem; font-weight: 600; margin-bottom: 20px; }
.contact-info p { font-size: 0.92rem; color: var(--dark-light); line-height: 1.8; margin-bottom: 24px; }
.contact-info .hours { font-size: 0.85rem; color: var(--brown); }
.contact-info .hours span { display: block; margin-bottom: 4px; }

.contact-form label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brown);
  margin-bottom: 8px;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  font-family: var(--font);
  font-size: 0.92rem;
  padding: 12px 16px;
  border: 1px solid var(--gray);
  border-radius: 12px;
  width: 100%;
  height: 48px;
  margin-bottom: 20px;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.contact-form textarea { height: 140px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible {
  border-color: transparent;
  box-shadow: 0 0 0 4px rgba(16, 132, 116, 0.15);
}

/* ======================================================
   ANALYSIS CTA
   ====================================================== */

.analysis-cta {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 100px;
}

.analysis-cta-inner {
  background: var(--bg);
  border-radius: 24px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.analysis-cta-text h2 {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.2;
}

.analysis-cta-text p {
  font-size: 0.95rem;
  color: var(--dark-light);
  line-height: 1.65;
  max-width: 460px;
}

/* ======================================================
   CART DRAWER
   ====================================================== */

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  max-width: 90vw;
  height: 100%;
  background: var(--white);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.08);
}

.cart-drawer.open { transform: translateX(0); }

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--gray);
}

.cart-drawer-header h2 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.cart-close { font-size: 1.3rem; color: var(--dark-light); padding: 4px; transition: color 0.3s var(--ease); border-radius: 50%; }
.cart-close:hover { color: var(--dark); }
.cart-close:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(16, 132, 116, 0.3); }

.cart-items { flex: 1; overflow-y: auto; padding: 20px 28px; }
.cart-empty { text-align: center; color: var(--brown); font-size: 0.92rem; padding-top: 48px; }

.cart-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--gray); }
.cart-item:last-child { border-bottom: none; }

.cart-item-img {
  width: 64px; height: 64px; background: var(--bg); border-radius: 12px; flex-shrink: 0; overflow: hidden;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-details { flex: 1; }
.cart-item-details h4 { font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; }
.cart-item-details .cart-item-price { font-size: 0.82rem; color: var(--dark-light); }

.cart-item-qty { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.cart-item-qty button {
  width: 28px; height: 28px; border: 1px solid var(--gray); border-radius: 8px;
  font-size: 0.78rem; display: flex; align-items: center; justify-content: center;
  color: var(--dark-light); transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.cart-item-qty button:hover { border-color: var(--dark); color: var(--dark); }
.cart-item-qty span { font-size: 0.85rem; font-weight: 500; }

.cart-item-remove {
  font-size: 0.75rem; color: var(--brown); text-decoration: underline;
  margin-top: 8px; display: inline-block; transition: color 0.3s var(--ease);
}
.cart-item-remove:hover { color: var(--alert); }

.cart-footer { padding: 24px 28px; border-top: 1px solid var(--gray); }
.cart-total { display: flex; justify-content: space-between; font-size: 0.95rem; font-weight: 600; margin-bottom: 20px; }
.cart-footer .btn { width: 100%; text-align: center; }

.cart-shipping-hint {
  font-size: 0.78rem; color: var(--dark-light); line-height: 1.45; margin: 0 0 14px;
  padding: 12px 14px; border-radius: 12px; background: var(--bg);
}
.cart-shipping-hint strong { color: var(--dark); font-weight: 600; }
.cart-shipping-hint--ok { color: var(--green); font-weight: 600; }

/* ======================================================
   FOOTER
   ====================================================== */

.footer {
  border-top: 1px solid var(--gray);
  padding: 64px 40px 40px;
  background: var(--bg);
}

.footer-logo {
  text-align: center;
  margin-bottom: 48px;
}

.footer-logo img {
  width: 44px;
  height: 44px;
  margin: 0 auto;
  object-fit: contain;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 48px;
}

.footer-col h4 {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brown);
  margin-bottom: 14px;
  font-weight: 600;
}

.footer-col p, .footer-col a {
  font-size: 0.85rem; color: var(--dark-light); line-height: 1.9; display: block;
}
.footer-col a { transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--dark); }

.footer-bottom {
  max-width: 1200px; margin: 40px auto 0; padding-top: 24px;
  border-top: 1px solid var(--gray); font-size: 0.72rem; color: var(--brown);
  text-align: center;
}

/* ======================================================
   CHECKOUT
   ====================================================== */

.checkout-container {
  max-width: 960px; margin: 0 auto; padding: 48px 40px 100px;
  display: grid; grid-template-columns: 1fr 380px; gap: 56px;
}

.checkout-trust-strip {
  list-style: none; margin: 0 0 28px; padding: 16px 18px;
  display: flex; flex-wrap: wrap; gap: 12px 24px;
  border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow);
  font-size: 0.8rem; color: var(--dark-light); line-height: 1.45;
}
.checkout-trust-strip li { position: relative; padding-left: 1rem; }
.checkout-trust-strip li::before {
  content: ""; position: absolute; left: 0; top: 0.45em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--green);
}

.checkout-section-title {
  font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; text-transform: none;
  margin-bottom: 28px; padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.checkout-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkout-field { margin-bottom: 20px; }
.checkout-field label { display: block; font-size: 0.82rem; color: var(--dark-light); margin-bottom: 8px; letter-spacing: 0.02em; }
.checkout-field input {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: 12px;
  font-family: var(--font); font-size: 0.92rem; background: var(--white); color: var(--dark); height: 48px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.checkout-field input:focus { outline: none; }
.checkout-field input:focus-visible { border-color: transparent; box-shadow: 0 0 0 4px rgba(16, 132, 116, 0.15); }

.checkout-summary-section {
  background: var(--bg); padding: 28px; border-radius: var(--radius); align-self: start; position: sticky; top: 80px;
}
.checkout-line { display: flex; justify-content: space-between; padding: 10px 0; font-size: 0.9rem; color: var(--dark-light); border-bottom: 1px solid var(--border); }
.checkout-line:last-child { border-bottom: none; }
.checkout-line-total { font-weight: 600; color: var(--dark); font-size: 1.05rem; padding-top: 14px; margin-top: 10px; border-top: 1px solid var(--dark); border-bottom: none; }

/* ======================================================
   ANALYSIS 2.0 – Two-column layout, webcam, chat
   ====================================================== */

.analysis-page { min-height: 60vh; }

.analysis-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 56px 100px;
  min-height: 70vh;
}

.analysis-left {
  position: sticky;
  top: 120px;
  align-self: start;
}

.analysis-right {
  min-width: 0;
}

/* Step transitions */
.analysis-step {
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.analysis-step--hidden {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.analysis-step--visible {
  opacity: 1;
  transform: none;
  position: relative;
  width: auto;
  height: auto;
}

/* Upload zone */
.upload-zone {
  border: 2px dashed var(--gray);
  border-radius: 24px;
  padding: 64px 32px;
  text-align: center;
  cursor: pointer;
  background: rgba(245, 245, 247, 0.5);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.upload-zone:hover,
.upload-zone.drag-over {
  border-color: var(--green);
  background: rgba(16, 132, 116, 0.04);
}
.upload-zone:focus { outline: none; }
.upload-zone:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(16, 132, 116, 0.3);
}
.upload-icon { color: var(--brown); margin-bottom: 20px; opacity: 0.6; transition: opacity 0.3s; }
.upload-zone:hover .upload-icon { opacity: 1; color: var(--green); }
.upload-icon svg { stroke: currentColor; }
.upload-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; color: var(--dark); }
.upload-hint { font-size: 0.88rem; color: var(--dark-light); margin-bottom: 24px; }
.upload-btn { pointer-events: auto; }

.upload-or {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  color: var(--brown);
  font-size: 0.82rem;
}
.upload-or::before,
.upload-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gray);
}

.webcam-open-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Upload preview */
.upload-preview {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.upload-preview img {
  width: 100%;
  display: block;
  border-radius: 24px 24px 0 0;
  max-height: 500px;
  object-fit: cover;
}
.upload-preview-actions {
  display: flex;
  gap: 12px;
  padding: 20px;
  background: var(--white);
  border-radius: 0 0 24px 24px;
}
.upload-preview-actions .btn { flex: 1; text-align: center; }

/* Webcam */
.webcam-container {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  aspect-ratio: 4/3;
  background: var(--dark);
}
.webcam-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.webcam-capture-btn {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 4px solid var(--white);
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  animation: capturePulse 2s ease-in-out infinite;
  z-index: 2;
}
.webcam-capture-btn:hover {
  transform: translateX(-50%) scale(1.08);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.4);
}
.webcam-capture-btn::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--white);
}
@keyframes capturePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); }
}
.webcam-switch-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border: none;
  cursor: pointer;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s var(--ease);
  z-index: 2;
}
.webcam-switch-btn:hover { background: rgba(0, 0, 0, 0.6); }
.webcam-close-btn {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border: none;
  cursor: pointer;
  color: var(--white);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s var(--ease);
  z-index: 2;
}
.webcam-close-btn:hover { background: rgba(0, 0, 0, 0.6); }
.webcam-countdown {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  z-index: 3;
  pointer-events: none;
}
@keyframes countdownFade {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.5); }
}

/* Loading */
.analysis-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  gap: 24px;
  text-align: center;
}
.loading-spinner {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid var(--gray);
  border-top-color: var(--green);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.analysis-loading p { font-size: 0.95rem; color: var(--dark); font-weight: 500; }
.loading-hint { font-size: 0.85rem; color: var(--dark-light); max-width: 420px; text-align: center; }
.loading-fact {
  font-size: 0.85rem;
  color: var(--brown);
  max-width: 400px;
  min-height: 2.4em;
  transition: opacity 0.3s var(--ease);
  text-align: center;
  line-height: 1.55;
}

/* Privacy notice */
.privacy-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(16, 132, 116, 0.06);
  border-radius: 12px;
  font-size: 0.8rem;
  color: var(--brown);
  margin-top: 20px;
  line-height: 1.5;
}
.privacy-notice svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  stroke: var(--green);
}

/* ---- Questionnaire Wizard ---- */
.question-wizard {
  animation: resultFadeIn 0.4s var(--ease) forwards;
}

.wizard-progress {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}
.progress-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.progress-dot.active {
  background: var(--green);
  transform: scale(1.2);
}
.progress-dot.completed {
  background: var(--green);
}

.question-step {
  display: none;
  animation: wizardSlideIn 0.35s var(--ease) forwards;
}
.question-step--active {
  display: block;
}
@keyframes wizardSlideIn {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: none; }
}

.question-label {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.question-sublabel {
  font-size: 0.85rem;
  color: var(--brown);
  margin-bottom: 20px;
}

.question-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.question-pill {
  padding: 10px 22px;
  border-radius: 980px;
  border: 1.5px solid var(--gray);
  background: var(--white);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--dark);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  user-select: none;
}
.question-pill:hover {
  border-color: var(--green);
  background: rgba(16, 132, 116, 0.04);
}
.question-pill.selected {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
  box-shadow: 0 2px 12px rgba(16, 132, 116, 0.25);
}

.question-sliders {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 16px;
}
.slider-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.slider-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.slider-name {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--dark);
}
.slider-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--green);
  min-width: 20px;
  text-align: center;
}
.slider-hints {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--brown);
  opacity: 0.7;
}
.question-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--gray);
  outline: none;
  cursor: pointer;
}
.question-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(16, 132, 116, 0.3);
  cursor: pointer;
  transition: transform 0.2s var(--ease);
}
.question-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}
.question-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(16, 132, 116, 0.3);
  cursor: pointer;
}

.goal-freetext-wrap {
  margin-top: 16px;
}
.goal-freetext {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray);
  border-radius: 12px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  height: 48px;
}
.goal-freetext:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(16, 132, 116, 0.12);
}
.goal-freetext::placeholder {
  color: var(--brown);
  opacity: 0.6;
}

.wizard-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  gap: 12px;
}
.wizard-next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Analysis waiting state */
.analysis-waiting {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  gap: 24px;
  text-align: center;
  animation: resultFadeIn 0.4s var(--ease) forwards;
}
.analysis-waiting p { font-size: 0.95rem; color: var(--dark); font-weight: 500; }
.analysis-waiting .loading-hint { font-size: 0.85rem; color: var(--dark-light); max-width: 420px; font-weight: 400; }
.analysis-waiting .loading-fact {
  font-size: 0.85rem;
  color: var(--brown);
  max-width: 400px;
  min-height: 2.4em;
  transition: opacity 0.3s var(--ease);
  line-height: 1.55;
}

/* Results */
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray);
}
.results-header h2 { font-size: 1.4rem; font-weight: 600; letter-spacing: -0.01em; }

.result-section {
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(16px);
  animation: resultFadeIn 0.6s var(--ease) forwards;
}
.result-section:nth-child(1) { animation-delay: 0.1s; }
.result-section:nth-child(2) { animation-delay: 0.25s; }
.result-section:nth-child(3) { animation-delay: 0.4s; }
.result-section:nth-child(4) { animation-delay: 0.55s; }
@keyframes resultFadeIn {
  to { opacity: 1; transform: none; }
}

.analysis-heading {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin-bottom: 12px;
}
.analysis-text { font-size: 0.95rem; line-height: 1.7; color: var(--dark-light); }
.analysis-text p { margin-bottom: 16px; }
.analysis-text strong { color: var(--dark); font-weight: 600; }
.analysis-text h3 { font-size: 0.98rem; font-weight: 600; margin: 24px 0 10px; color: var(--dark); }
.analysis-text ul { padding-left: 20px; margin: 12px 0; }
.analysis-text li { margin-bottom: 6px; }

/* ---- Skin Score Circle ---- */
.skin-score {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 40px;
  padding: 32px;
  background: var(--bg);
  border-radius: 20px;
  animation: resultFadeIn 0.6s var(--ease) forwards;
}
.skin-score-circle {
  position: relative;
  flex-shrink: 0;
  width: 120px;
  height: 120px;
}
.skin-score-circle svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.skin-score-circle .score-bg {
  fill: none;
  stroke: var(--gray);
  stroke-width: 8;
}
.skin-score-circle .score-progress {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.skin-score-circle.score-green .score-progress { stroke: var(--green); }
.skin-score-circle.score-yellow .score-progress { stroke: #e6a817; }
.skin-score-circle.score-red .score-progress { stroke: #d4483b; }

.skin-score-value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.score-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.02em;
}
.skin-score-text h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}
.skin-score-text p {
  font-size: 0.92rem;
  color: var(--dark-light);
  line-height: 1.6;
}

/* ---- Region Cards ---- */
.region-cards {
  margin-bottom: 40px;
}
.region-cards .section-title {
  margin-bottom: 16px;
}
.region-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.region-card {
  background: var(--white);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  opacity: 0;
  transform: translateY(12px);
  animation: resultFadeIn 0.5s var(--ease) forwards;
}
.region-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.region-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.region-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
  text-transform: capitalize;
}
.region-score {
  font-size: 0.85rem;
  font-weight: 700;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.region-score.score-green { background: var(--green); }
.region-score.score-yellow { background: #e6a817; }
.region-score.score-red { background: #d4483b; }
.region-text {
  font-size: 0.84rem;
  color: var(--dark-light);
  line-height: 1.55;
}

/* ---- Lifestyle Tips ---- */
.lifestyle-tips {
  margin-bottom: 40px;
}
.lifestyle-tips .section-title {
  margin-bottom: 16px;
}
.lifestyle-tips-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lifestyle-tip {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  opacity: 0;
  transform: translateY(10px);
  animation: resultFadeIn 0.5s var(--ease) forwards;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.lifestyle-tip:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.lifestyle-tip-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(16, 132, 116, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}
.lifestyle-tip-icon svg {
  width: 20px;
  height: 20px;
}
.lifestyle-tip-content {
  flex: 1;
  min-width: 0;
}
.lifestyle-tip-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.lifestyle-tip-header strong {
  font-size: 0.92rem;
  color: var(--dark);
}
.lifestyle-tip-content p {
  font-size: 0.88rem;
  color: var(--dark-light);
  line-height: 1.55;
}
.impact-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 980px;
  text-transform: lowercase;
}
.impact-badge.impact-high {
  background: rgba(16, 132, 116, 0.1);
  color: var(--green);
}
.impact-badge.impact-medium {
  background: rgba(230, 168, 23, 0.12);
  color: #b88a10;
}
.impact-badge.impact-low {
  background: var(--bg);
  color: var(--brown);
}

/* ---- Product Cards with CTA ---- */
.results-products { margin-top: 40px; }
.results-products .section-title { margin-bottom: 16px; }

.analysis-product-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.analysis-product-card {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  opacity: 0;
  transform: translateY(12px);
  animation: resultFadeIn 0.5s var(--ease) forwards;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.analysis-product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.analysis-product-img {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg);
}
.analysis-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.analysis-product-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.analysis-product-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  transition: color 0.2s;
}
.analysis-product-name:hover {
  color: var(--green);
}
.analysis-product-price {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--dark);
}
.analysis-product-reason {
  font-size: 0.84rem;
  color: var(--dark-light);
  line-height: 1.5;
  margin-top: 4px;
}
.analysis-product-cta {
  margin-top: 8px;
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  font-size: 0.85rem;
  border-radius: 980px;
  position: relative;
  overflow: hidden;
}
.analysis-product-cta .cta-check {
  width: 16px;
  height: 16px;
  display: none;
}
.analysis-product-cta.cta-added .cta-text { display: none; }
.analysis-product-cta.cta-added .cta-check { display: block; }
.analysis-product-cta.cta-added {
  background: #0d6e62;
}

.analysis-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.analysis-actions .btn {
  flex: 1;
  text-align: center;
}

/* ---- Avoid Section ---- */
.avoid-section {
  margin-top: 32px;
}
.avoid-section .section-title {
  margin-bottom: 12px;
}
.avoid-list {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.avoid-list li {
  font-size: 0.9rem;
  color: var(--dark-light);
  line-height: 1.55;
}
.avoid-list li::marker {
  color: #d4483b;
}

/* ---- Routine Section ---- */
.routine-section {
  margin-top: 40px;
}
.routine-section .section-title {
  margin-bottom: 16px;
}
.routine-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.routine-col h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray);
}
.routine-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  opacity: 0;
  transform: translateY(8px);
  animation: resultFadeIn 0.4s var(--ease) forwards;
}
.routine-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}
.routine-step-img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.routine-step-text {
  font-size: 0.88rem;
  color: var(--dark);
}
.routine-save-btn {
  margin-top: 16px;
}

/* ---- Next Step ---- */
.analysis-next-step {
  margin-top: 40px;
}
.next-step-card {
  padding: 28px;
  background: rgba(16, 132, 116, 0.05);
  border-radius: 20px;
  text-align: center;
}
.next-step-card p {
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.6;
}
.next-step-remind {
  display: flex;
  gap: 10px;
  max-width: 400px;
  margin: 0 auto;
}
.next-step-email {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid var(--gray);
  border-radius: 12px;
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--dark);
  background: var(--white);
  height: 48px;
  transition: border-color 0.3s var(--ease);
}
.next-step-email:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(16, 132, 116, 0.12);
}
.next-step-email::placeholder {
  color: var(--brown);
  opacity: 0.6;
}

/* ---- Share Button ---- */
.analysis-share {
  margin-top: 24px;
  text-align: center;
}
.analysis-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.analysis-disclaimer { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--gray); }
.analysis-disclaimer p { font-size: 0.78rem; color: var(--brown); line-height: 1.75; }

/* Empty state (right panel before analysis) */
.analysis-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 40px;
  text-align: center;
}
.analysis-empty-state p {
  font-size: 0.95rem;
  color: var(--brown);
  max-width: 300px;
  line-height: 1.6;
  margin-top: 20px;
}

/* ---- Chat interface ---- */

.chat-container {
  margin-top: 40px;
  border-top: 1px solid var(--gray);
  padding-top: 32px;
}
.chat-header {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 20px;
}
.chat-messages {
  max-height: 400px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 0;
  scroll-behavior: smooth;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--gray); border-radius: 2px; }

.chat-bubble {
  max-width: 80%;
  padding: 14px 18px;
  border-radius: 20px;
  font-size: 0.9rem;
  line-height: 1.6;
  animation: bubbleIn 0.3s var(--ease);
}
.chat-bubble p { margin-bottom: 8px; }
.chat-bubble p:last-child { margin-bottom: 0; }
@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(8px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.chat-bubble--assistant {
  align-self: flex-start;
  background: var(--bg);
  color: var(--dark);
  border-bottom-left-radius: 6px;
}
.chat-bubble--user {
  align-self: flex-end;
  background: var(--green);
  color: var(--white);
  border-bottom-right-radius: 6px;
}

.chat-typing {
  align-self: flex-start;
  display: flex;
  gap: 4px;
  padding: 14px 18px;
  background: var(--bg);
  border-radius: 20px;
  border-bottom-left-radius: 6px;
}
.chat-typing span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brown);
  opacity: 0.4;
  animation: typingDot 1.4s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot {
  0%, 60%, 100% { opacity: 0.4; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-4px); }
}

.chat-input-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding: 8px;
  background: var(--bg);
  border-radius: 28px;
  transition: box-shadow 0.3s var(--ease);
}
.chat-input-form:focus-within {
  box-shadow: 0 0 0 3px rgba(16, 132, 116, 0.15);
}
.chat-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.9rem;
  padding: 10px 16px;
  outline: none;
  font-family: inherit;
  color: var(--dark);
}
.chat-input::placeholder {
  color: var(--brown);
  opacity: 0.6;
}
.chat-send-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--green);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
  flex-shrink: 0;
}
.chat-send-btn:hover {
  transform: scale(1.05);
  background: #0d6e62;
}
.chat-send-btn:active { transform: scale(0.95); }
.chat-send-btn svg { width: 20px; height: 20px; }

/* ======================================================
   AUTH (Login / Register)
   ====================================================== */

.auth-container { display: flex; align-items: center; justify-content: center; min-height: calc(100vh - 200px); padding: 60px 40px; }
.auth-card { width: 100%; max-width: 440px; background: var(--white); border-radius: 24px; padding: 48px 40px; box-shadow: 0 2px 24px rgba(0, 0, 0, 0.05); }
.auth-title { font-size: 1.8rem; font-weight: 600; letter-spacing: -0.02em; text-align: center; margin-bottom: 8px; }
.auth-subtitle { font-size: 0.95rem; color: var(--dark-light); text-align: center; margin-bottom: 36px; line-height: 1.5; }
.auth-field { margin-bottom: 20px; }
.auth-field label { display: block; font-size: 0.82rem; font-weight: 500; color: var(--dark); margin-bottom: 8px; }
.auth-field input {
  width: 100%; height: 48px; padding: 0 16px; border: 1px solid var(--gray); border-radius: 12px;
  font-family: var(--font); font-size: 0.92rem; color: var(--dark); background: var(--white);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.auth-field input:focus { outline: none; }
.auth-field input:focus-visible { border-color: transparent; box-shadow: 0 0 0 4px rgba(16, 132, 116, 0.15); }
.auth-field input::placeholder { color: #b0b0b0; }
.auth-actions { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.auth-actions .btn { width: 100%; text-align: center; padding: 16px 40px; font-size: 0.88rem; }
.auth-link { text-align: center; margin-top: 24px; font-size: 0.88rem; color: var(--dark-light); }
.auth-link a { color: var(--green); font-weight: 500; transition: opacity 0.3s var(--ease); }
.auth-link a:hover { opacity: 0.7; }
.auth-link a:focus { outline: none; }
.auth-link a:focus-visible { box-shadow: 0 0 0 3px rgba(16, 132, 116, 0.28); border-radius: 4px; }
.auth-divider { display: flex; align-items: center; gap: 16px; margin: 28px 0; color: var(--brown); font-size: 0.8rem; letter-spacing: 0.04em; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--gray); }

/* ======================================================
   DASHBOARD
   ====================================================== */

.dashboard-layout { display: grid; grid-template-columns: 260px 1fr; min-height: calc(100vh - 56px); }
.dashboard-sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; background: var(--bg); box-shadow: 1px 0 8px rgba(0, 0, 0, 0.04); padding: 32px 0; }
.dashboard-sidebar-nav { display: flex; flex-direction: column; }
.dashboard-sidebar-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 24px; font-size: 0.9rem; color: var(--dark-light); transition: background 0.3s var(--ease), color 0.3s var(--ease); font-weight: 400; }
.dashboard-sidebar-nav a:hover { background: rgba(0, 0, 0, 0.04); color: var(--dark); }
.dashboard-sidebar-nav a.active { background: rgba(16, 132, 116, 0.08); color: var(--green); font-weight: 600; }
.dashboard-sidebar-nav a .nav-icon { width: 20px; text-align: center; flex-shrink: 0; font-size: 1rem; }
.dashboard-main { max-width: 960px; padding: 40px 48px 80px; }
.dashboard-header { margin-bottom: 40px; }
.dashboard-header h1 { font-size: 2rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 4px; }
.dashboard-header p { font-size: 0.95rem; color: var(--dark-light); }
.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-bottom: 40px; }
.dashboard-card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease); }
.dashboard-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.dashboard-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.dashboard-card-title { font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brown); }
.dashboard-stat { text-align: left; }
.dashboard-stat-value { font-size: 2.4rem; font-weight: 700; letter-spacing: -0.02em; color: var(--dark); line-height: 1.1; margin-bottom: 4px; }
.dashboard-stat-label { font-size: 0.82rem; color: var(--dark-light); font-weight: 400; }
.dashboard-list { list-style: none; }
.dashboard-list-item { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--gray); font-size: 0.9rem; gap: 12px; }
.dashboard-list-item:last-child { border-bottom: none; }
.dashboard-list-item-label { flex: 1; color: var(--dark); font-weight: 400; }
.dashboard-list-item-value { color: var(--dark-light); font-size: 0.88rem; font-weight: 500; }
.dashboard-badge { display: inline-flex; align-items: center; padding: 3px 12px; border-radius: 980px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; }
.dashboard-badge--green { background: rgba(16, 132, 116, 0.1); color: var(--green); }
.dashboard-badge--amber { background: rgba(252, 178, 55, 0.15); color: #b8860b; }
.dashboard-badge--red { background: rgba(211, 47, 47, 0.1); color: var(--alert); }
.dashboard-badge--gray { background: var(--bg); color: var(--dark-light); }
.dashboard-progress { width: 100%; height: 8px; background: var(--bg); border-radius: 980px; overflow: hidden; margin-top: 8px; }
.dashboard-progress-fill { height: 100%; background: var(--green); border-radius: 980px; transition: width 0.6s var(--ease); }
.dashboard-empty { text-align: center; padding: 48px 24px; color: var(--brown); font-size: 0.95rem; }
.dashboard-empty p { margin-bottom: 8px; }

/* Skin Timeline (dashboard) */
.skin-timeline { position: relative; padding-left: 28px; }
.skin-timeline::before { content: ""; position: absolute; left: 6px; top: 4px; bottom: 4px; width: 2px; background: var(--gray); border-radius: 1px; }
.skin-timeline-item { position: relative; padding-bottom: 28px; }
.skin-timeline-item:last-child { padding-bottom: 0; }
.skin-timeline-item::before { content: ""; position: absolute; left: -24px; top: 6px; width: 10px; height: 10px; background: var(--green); border-radius: 50%; border: 2px solid var(--white); box-shadow: 0 0 0 2px var(--green); }
.skin-timeline-date { font-size: 0.75rem; color: var(--brown); margin-bottom: 4px; font-weight: 500; }
.skin-timeline-text { font-size: 0.9rem; color: var(--dark); line-height: 1.6; }

/* Routine */
.routine-step { display: flex; gap: 16px; padding: 20px; background: var(--bg); border-radius: var(--radius); margin-bottom: 12px; transition: box-shadow 0.3s var(--ease); }
.routine-step:hover { box-shadow: var(--shadow); }
.routine-step-number { width: 32px; height: 32px; background: var(--green); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.82rem; font-weight: 700; flex-shrink: 0; }
.routine-step-content h4 { font-size: 0.92rem; font-weight: 600; margin-bottom: 4px; }
.routine-step-content p { font-size: 0.85rem; color: var(--dark-light); line-height: 1.5; }

/* Loyalty */
.loyalty-tier { text-align: center; padding: 32px 24px; }
.loyalty-tier-name { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--brown); font-weight: 600; margin-bottom: 8px; }
.loyalty-tier-level { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.01em; color: var(--dark); margin-bottom: 4px; }
.loyalty-tier-points { font-size: 0.88rem; color: var(--dark-light); margin-bottom: 20px; }
.loyalty-tier .dashboard-progress { max-width: 280px; margin: 0 auto; }
.loyalty-tier-next { font-size: 0.78rem; color: var(--brown); margin-top: 10px; }

/* ======================================================
   UTILITY
   ====================================================== */

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

.notification {
  position: fixed; bottom: 24px; right: 24px; background: var(--dark); color: var(--white);
  padding: 14px 24px; border-radius: 980px; font-size: 0.85rem; z-index: 300;
  transform: translateY(100px); opacity: 0; transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
  box-shadow: var(--shadow-hover);
}
.notification.show { transform: translateY(0); opacity: 1; }

/* ======================================================
   REVEAL + STAGGER
   ====================================================== */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal.is-visible .stagger-card {
  animation: staggerFade 0.5s var(--ease) forwards;
  animation-delay: calc(var(--stagger, 0) * 60ms);
  opacity: 0;
}

@keyframes staggerFade {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.cart-count--bounce { animation: cartBounce 0.45s var(--ease); }
@keyframes cartBounce {
  0%, 100% { transform: scale(1); }
  35% { transform: scale(1.35); }
}

/* ======================================================
   RESPONSIVE
   ====================================================== */

@media (max-width: 768px) {
  .sidebar { display: none; }

  .main-content { margin-left: 0; }

  .topbar {
    left: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    pointer-events: auto;
    justify-content: space-between;
    padding: 0 16px;
    box-shadow: 0 0.5px 0 rgba(0, 0, 0, 0.08);
  }

  .topbar-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    pointer-events: auto;
  }

  .topbar-menu span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--dark);
    transition: transform 0.3s var(--ease);
  }

  .topbar-logo {
    display: flex;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: auto;
  }

  .topbar-logo img { width: 28px; height: 28px; object-fit: contain; }

  .hero {
    height: 85svh;
    min-height: 480px;
  }

  .hero-content {
    padding: 0 24px 56px;
  }

  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 0.95rem; }

  .section { padding: 0 20px 80px; }

  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .products-grid--editorial .product-card:first-child { grid-column: span 2; grid-row: span 1; }

  .product-detail { padding: 72px 20px 80px; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 32px; }

  .page-header { padding: 72px 20px 40px; }
  .page-header h1 { font-size: 2rem; }

  .about-people { grid-template-columns: 1fr; gap: 48px; }
  .about-content { padding: 0 20px 80px; }

  .contact-content { grid-template-columns: 1fr; gap: 36px; padding: 0 20px 80px; }

  .footer { padding: 48px 20px 32px; }
  .footer-inner { flex-direction: column; gap: 32px; }

  .analysis-cta { padding: 0 20px 80px; }
  .analysis-cta-inner { flex-direction: column; text-align: center; padding: 36px 24px; }
  .analysis-cta-text p { max-width: 100%; }

  .analysis-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 20px 80px;
  }
  .analysis-left { position: static; }
  .analysis-empty-state { display: none; }
  .webcam-container { aspect-ratio: 3/4; }
  .upload-zone { padding: 48px 24px; }
  .results-header { flex-direction: column; gap: 12px; align-items: flex-start; }
  .chat-messages { max-height: 300px; }
  .chat-bubble { max-width: 90%; }

  .skin-score { flex-direction: column; text-align: center; padding: 24px; }
  .skin-score-circle { width: 100px; height: 100px; }
  .score-number { font-size: 1.6rem; }

  .region-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .routine-columns { grid-template-columns: 1fr; }

  .analysis-product-card { flex-direction: column; align-items: center; text-align: center; }
  .analysis-product-img { width: 80px; height: 80px; }
  .analysis-product-cta { align-self: center; }
  .analysis-actions { flex-direction: column; }

  .next-step-remind { flex-direction: column; }
  .question-pills { gap: 8px; }
  .question-pill { padding: 8px 16px; font-size: 0.85rem; }

  .auth-container { padding: 80px 20px 60px; }

  .checkout-container { grid-template-columns: 1fr; gap: 36px; padding: 48px 20px 80px; }
  .checkout-summary-section { position: static; order: -1; }
  .checkout-row { grid-template-columns: 1fr; }

  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-sidebar { position: static; height: auto; border-right: none; border-bottom: 1px solid var(--gray); padding: 12px 0; overflow-x: auto; }
  .dashboard-sidebar-nav { flex-direction: row; gap: 0; padding: 0 16px; white-space: nowrap; }
  .dashboard-sidebar-nav a { padding: 10px 16px; font-size: 0.82rem; border-radius: 980px; white-space: nowrap; }
  .dashboard-main { padding: 28px 20px 60px; }
  .dashboard-header h1 { font-size: 1.6rem; }
  .dashboard-grid { grid-template-columns: 1fr; }

  .reviews-section { padding: 0 20px 60px; }
  .review-card { flex: 0 0 260px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .products-grid { gap: 12px; }
  .product-card h3 { font-size: 0.82rem; }
  .product-card .price { font-size: 0.78rem; }

  .auth-card { padding: 36px 24px; box-shadow: none; border-radius: 0; }
  .auth-title { font-size: 1.5rem; }

  .dashboard-main { padding: 24px 16px 48px; }
  .dashboard-card { padding: 20px; }
  .dashboard-stat-value { font-size: 2rem; }

  .upload-zone { padding: 40px 20px; }
  .webcam-capture-btn { width: 60px; height: 60px; }
  .analysis-heading { font-size: 1.2rem; }
}

/* ======================================================
   PREFERS REDUCED MOTION
   ====================================================== */

@media (prefers-reduced-motion: reduce) {
  .reveal, .hero h1, .hero p, .hero-actions {
    opacity: 1; transform: none; transition: none;
  }
  .reveal.is-visible .stagger-card { animation: none; opacity: 1; }
  .cart-count--bounce { animation: none; }
  .hero-fallback img { animation: none; }
  .product-detail-img:hover img { animation: none; }
  .product-card, .product-card:hover { transform: none; }
  .product-card { transition: box-shadow 0.3s var(--ease); }
  .product-card:hover .product-card-img img { transform: none; }
  .product-card-img img { transition: none; }
  .product-card-overlay { transform: none; opacity: 0; transition: opacity 0.3s var(--ease); }
  .product-card:hover .product-card-overlay { opacity: 1; }
  .btn:active { transform: none; }
  .btn { transition: background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease); }
  .btn--glow { animation: none; }
  .mobile-nav-content a { opacity: 1; transform: none; transition: color 0.3s var(--ease); }
  .about-hero img { animation: none; }
  .polaroid:hover { transform: none !important; }
  .result-section { animation: none; opacity: 1; transform: none; }
  .chat-bubble { animation: none; }
  .webcam-capture-btn { animation: none; }
  .chat-typing span { animation: none; opacity: 0.6; }
  .cw-bubble { animation: none; }
  .cw-typing span { animation: none; opacity: 0.6; }
  .cw-modal { animation: none; }
}

/* ======================================================
   CHAT WIDGET (site-wide)
   ====================================================== */

.cw-trigger {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--dark);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.cw-trigger:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.24);
}

.cw-trigger:active {
  transform: scale(0.95);
}

.cw-trigger:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(16, 132, 116, 0.4), 0 4px 24px rgba(0, 0, 0, 0.18);
}

.cw-trigger-icon {
  width: 24px;
  height: 24px;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  position: absolute;
}

.cw-trigger-icon--chat {
  opacity: 1;
  transform: scale(1);
}

.cw-trigger-icon--close {
  opacity: 0;
  transform: scale(0.6) rotate(-90deg);
}

.cw-trigger--open .cw-trigger-icon--chat {
  opacity: 0;
  transform: scale(0.6) rotate(90deg);
}

.cw-trigger--open .cw-trigger-icon--close {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.cw-trigger--open {
  background: var(--green);
}

/* Backdrop */
.cw-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.cw-backdrop--open {
  opacity: 1;
  visibility: visible;
}

/* Modal */
.cw-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  z-index: 10000;
  width: 94vw;
  max-width: 520px;
  height: 80vh;
  max-height: 640px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s var(--ease);
}

.cw-modal--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.cw-modal-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border-radius: 24px;
  position: relative;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

/* Header */
.cw-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}

.cw-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cw-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.cw-header-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
}

.cw-header-sub {
  font-size: 0.75rem;
  color: var(--brown);
  margin-top: 1px;
}

.cw-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--dark-light);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.cw-close:hover {
  background: var(--bg);
  color: var(--dark);
}

.cw-close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(16, 132, 116, 0.3);
}

/* Messages */
.cw-messages {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}

.cw-messages::-webkit-scrollbar { width: 4px; }
.cw-messages::-webkit-scrollbar-track { background: transparent; }
.cw-messages::-webkit-scrollbar-thumb { background: var(--gray); border-radius: 2px; }

/* Bubbles */
.cw-bubble {
  max-width: 85%;
  padding: 14px 18px;
  border-radius: 20px;
  font-size: 0.88rem;
  line-height: 1.6;
  animation: cwBubbleIn 0.3s var(--ease);
}

.cw-bubble p { margin-bottom: 8px; }
.cw-bubble p:last-child { margin-bottom: 0; }
.cw-bubble strong { font-weight: 600; }
.cw-bubble ul { padding-left: 16px; margin: 6px 0; }
.cw-bubble li { margin-bottom: 4px; }

@keyframes cwBubbleIn {
  from { opacity: 0; transform: translateY(8px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

.cw-bubble--assistant {
  align-self: flex-start;
  background: var(--bg);
  color: var(--dark);
  border-bottom-left-radius: 6px;
}

.cw-bubble--user {
  align-self: flex-end;
  background: var(--green);
  color: var(--white);
  border-bottom-right-radius: 6px;
}

/* Typing */
.cw-typing {
  align-self: flex-start;
  display: flex;
  gap: 4px;
  padding: 14px 18px;
  background: var(--bg);
  border-radius: 20px;
  border-bottom-left-radius: 6px;
}

.cw-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brown);
  opacity: 0.4;
  animation: cwTypingDot 1.4s ease-in-out infinite;
}

.cw-typing span:nth-child(2) { animation-delay: 0.2s; }
.cw-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes cwTypingDot {
  0%, 60%, 100% { opacity: 0.4; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

/* Product card in chat */
.cw-product-card {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  animation: cwBubbleIn 0.3s var(--ease);
  max-width: 85%;
}

.cw-product-card img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

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

.cw-product-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cw-product-price {
  font-size: 0.75rem;
  color: var(--brown);
  margin-top: 2px;
}

.cw-product-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
  padding: 6px 14px;
  border-radius: 980px;
  background: rgba(16, 132, 116, 0.08);
  transition: background 0.3s var(--ease);
  flex-shrink: 0;
  white-space: nowrap;
}

.cw-product-link:hover {
  background: rgba(16, 132, 116, 0.15);
}

/* Tips overlay */
.cw-tips-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 24px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease), transform 0.3s var(--ease);
  overflow: hidden;
}

.cw-tips-overlay--open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.cw-tips-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 16px;
  flex-shrink: 0;
}

.cw-tips-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: -0.01em;
}

.cw-tips-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--bg);
  color: var(--dark-light);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.cw-tips-close:hover {
  background: var(--gray);
  color: var(--dark);
}

.cw-tips-grid {
  flex: 1;
  overflow-y: auto;
  padding: 0 24px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-content: flex-start;
}

.cw-tips-grid::-webkit-scrollbar { width: 4px; }
.cw-tips-grid::-webkit-scrollbar-track { background: transparent; }
.cw-tips-grid::-webkit-scrollbar-thumb { background: var(--gray); border-radius: 2px; }

.cw-tip {
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--gray);
  background: var(--white);
  color: var(--dark);
  font-size: 0.82rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  line-height: 1.4;
  text-align: left;
  text-align: left;
}

.cw-tip:hover {
  background: rgba(16, 132, 116, 0.05);
  border-color: var(--green);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.cw-tip:active {
  transform: scale(0.98);
}

.cw-tips-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--brown);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}

.cw-tips-btn:hover {
  color: var(--green);
  background: rgba(16, 132, 116, 0.06);
}

.cw-tips-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(16, 132, 116, 0.3);
}

.cw-tips-btn svg {
  width: 20px;
  height: 20px;
}

/* Input form */
.cw-form {
  display: flex;
  gap: 8px;
  padding: 16px 20px;
  box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}

.cw-input {
  flex: 1;
  border: none;
  background: var(--bg);
  border-radius: 24px;
  padding: 12px 18px;
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--dark);
  outline: none;
  transition: box-shadow 0.3s var(--ease);
}

.cw-input::placeholder {
  color: var(--brown);
  opacity: 0.6;
}

.cw-input:focus {
  box-shadow: 0 0 0 2px rgba(16, 132, 116, 0.2);
}

.cw-send {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--green);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.cw-send:hover {
  transform: scale(1.05);
  background: #0d6e62;
}

.cw-send:active {
  transform: scale(0.95);
}

.cw-send:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(16, 132, 116, 0.3);
}

.cw-send svg {
  width: 18px;
  height: 18px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .cw-trigger {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }

  .cw-trigger-icon {
    width: 22px;
    height: 22px;
  }

  .cw-modal {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    top: 0;
    left: 0;
    transform: translateY(20px);
    border-radius: 0;
  }

  .cw-modal--open {
    transform: none;
  }

  .cw-modal-inner {
    border-radius: 0;
  }
}
