/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Outfit', sans-serif;
  background: #0a0a0a;
  color: #f0ece4;
  overflow-x: hidden;
}

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

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

/* ===== TOKENS ===== */
:root {
  --gold: #C9A96E;
  --gold-light: #E2C99A;
  --dark: #0a0a0a;
  --dark-2: #111111;
  --dark-3: #1a1a1a;
  --dark-4: #242424;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f0ece4;
  --text-muted: #888;
  --radius: 14px;
  --radius-lg: 22px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: #0a0a0a;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 169, 110, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* ===== SECTION LABELS ===== */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-label.light {
  color: var(--gold-light);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 48px;
}

.section-title em {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

/* ===== HEADER ===== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all var(--transition);
}

#header.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.logo span {
  color: var(--gold);
}

nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
}

nav a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

nav a:hover {
  color: var(--gold);
}

#header-cta {
  margin-left: 8px;
  padding: 10px 22px;
  font-size: 0.88rem;
}

#menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

#menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== MOBILE NAV ===== */
#mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: var(--dark-2);
  padding: 100px 32px 40px;
}

#mobile-nav.open {
  display: flex;
}

.mobile-link {
  font-size: 1.5rem;
  font-weight: 300;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.mobile-cta {
  margin-top: 32px;
  text-align: center;
  justify-content: center;
}

/* ===== HERO ===== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.35) saturate(0.6);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.85) 40%, rgba(10, 10, 10, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 0 80px;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid rgba(201, 169, 110, 0.4);
  border-radius: 50px;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: 0.5;
    transform: scale(1.4)
  }
}

#hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 24px;
}

#hero h1 em {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
  display: block;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(240, 236, 228, 0.7);
  margin-bottom: 40px;
  max-width: 480px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat {
  text-align: center;
}

.stat-num {
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold);
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}

.hero-scroll span {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% {
    transform: scaleY(0);
    transform-origin: top
  }

  50% {
    transform: scaleY(1);
    transform-origin: top
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom
  }
}

/* ===== CATEGORIES ===== */
#categories {
  padding: 40px 0 20px;
  background: var(--dark-2);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 65px;
  z-index: 50;
}

.cat-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 2px;
}

.cat-strip::-webkit-scrollbar {
  display: none;
}

.cat-btn {
  padding: 9px 20px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.cat-btn:hover,
.cat-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 169, 110, 0.08);
}

/* ===== COLLECTIONS ===== */
#collections {
  padding: 100px 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.product-card {
  background: var(--dark-3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 169, 110, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.product-card.hidden {
  display: none;
}

/* Image-only card variant */
.product-card--img-only {
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
}

.product-card--img-only:hover {
  transform: translateY(-4px);
  box-shadow: none;
}

.product-card--img-only .product-img-wrap {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Name label overlay at the bottom of the image */
.product-img-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  padding: 24px 10px 10px;
  display: flex;
  align-items: flex-end;
}

.product-img-label span {
  font-size: 0.78rem;
  color: #f0ece4;
  font-weight: 500;
  line-height: 1.3;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #1c1c1c;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.product-card:hover .product-overlay {
  opacity: 1;
  pointer-events: auto;
}

.product-info {
  padding: 20px;
}

.product-tags {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 10px;
  padding-bottom: 4px;
}

.product-tags::-webkit-scrollbar {
  display: none;
}

.tag {
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 50px;
  background: rgba(201, 169, 110, 0.12);
  color: var(--gold);
  border: 1px solid rgba(201, 169, 110, 0.2);
}

.product-name {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.product-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-colors {
  display: flex;
  gap: 8px;
  align-items: center;
}

.color-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: transform var(--transition);
}

.color-dot:hover {
  transform: scale(1.3);
  border-color: var(--gold);
}

.view-more-wrap {
  text-align: center;
}

/* ===== STYLE SECTION ===== */
#style {
  padding: 100px 0;
  background: var(--dark-2);
}

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

.style-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--dark-3);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.style-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 169, 110, 0.3);
}

.style-img {
  aspect-ratio: 3/4;
  overflow: hidden;
}

.style-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.style-card:hover .style-img img {
  transform: scale(1.05);
}

.style-body {
  padding: 24px;
}

.style-icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.style-body h3 {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.style-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.style-link {
  font-size: 0.88rem;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}

.style-link:hover {
  gap: 10px;
}

/* ===== HOW IT WORKS ===== */
#how {
  padding: 100px 0;
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.step {
  flex: 1;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
}

.step:hover {
  border-color: rgba(201, 169, 110, 0.35);
  transform: translateY(-4px);
}

.step-num {
  font-size: 3rem;
  font-weight: 700;
  color: rgba(201, 169, 110, 0.15);
  font-family: 'Playfair Display', serif;
  line-height: 1;
  margin-bottom: 16px;
}

.step-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.step-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-arrow {
  font-size: 1.5rem;
  color: var(--gold);
  padding-top: 48px;
  flex-shrink: 0;
}

/* ===== TRUST / REVIEWS ===== */
#trust {
  padding: 100px 0;
  background: var(--dark-2);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.review-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}

.review-card:hover {
  border-color: rgba(201, 169, 110, 0.3);
  transform: translateY(-3px);
}

.review-stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.9rem;
  color: rgba(240, 236, 228, 0.8);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--dark-4));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  flex-shrink: 0;
}

.review-author strong {
  display: block;
  font-size: 0.9rem;
}

.review-author span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.badge {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.badge-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.badge strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.badge p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== CTA SECTION ===== */
#contact {
  padding: 100px 0;
}

.cta-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 60px;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.12), transparent 70%);
  pointer-events: none;
}

.cta-left h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 16px;
}

.cta-left p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.cta-channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.cta-channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all var(--transition);
}

.cta-channel:hover {
  border-color: var(--gold);
  background: rgba(201, 169, 110, 0.07);
  transform: translateX(6px);
}

.cta-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cta-right {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}

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

/* ===== FOOTER ===== */
#footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.footer-logo span {
  color: var(--gold);
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.25);
}

/* ===== FLOATING CHAT ===== */
#float-chat {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  background: #0068FF;
  border-radius: 50px;
  box-shadow: 0 8px 30px rgba(0, 104, 255, 0.45);
  transition: all var(--transition);
  animation: floatIn 0.8s ease 1s both;
}

#float-chat a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
}

#float-chat:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 104, 255, 0.55);
  border-radius: 50px;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(20px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {

  #categories {
    position: relative;
    top: 0;
    padding: 20px 0;
  }

  nav,
  #header-cta {
    display: none;
  }

  #menu-toggle {
    display: flex;
  }

  .style-grid {
    grid-template-columns: 1fr 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-badges {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    flex-direction: column;
  }

  .step-arrow {
    display: none;
  }

  .mobile-cta-btn {
    display: block !important;
  }

  .product-overlay {
    display: none !important;
  }

  .cta-box {
    grid-template-columns: 1fr;
    padding: 40px 28px;
  }

  .cta-right {
    display: none;
  }
}

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

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .trust-badges {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stats {
    gap: 16px;
  }

  .stat-num {
    font-size: 1.5rem;
  }
}

/* ===== AI CHAT WIDGET ===== */
#ai-chat-root {
  position: fixed;
  bottom: 100px;
  right: 32px;
  z-index: 9999;
  font-family: 'Outfit', sans-serif;
}

#ai-chat-toggle {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(168, 85, 247, 0.4);
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 0.9rem;
}

#ai-chat-toggle:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(168, 85, 247, 0.5);
}

.ai-toggle-icon {
  font-size: 1.2rem;
  animation: ais-pulse 2s infinite;
}

#ai-chat-window {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 350px;
  height: 500px;
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: bottom right;
}

#ai-chat-window.hidden {
  opacity: 0;
  transform: scale(0.8) translateY(20px);
  pointer-events: none;
}

.ai-chat-header {
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.ai-avatar {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.ai-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: white;
}

.ai-status {
  font-size: 0.75rem;
  color: #4ade80;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ai-status::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
}

#ai-chat-close {
  background: none;
  border: none;
  color: #777;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 5px;
}

.ai-chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.ai-msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.ai-msg.bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.07);
  color: #eee;
  border-bottom-left-radius: 4px;
}

.ai-msg.user {
  align-self: flex-end;
  background: #C9A96E;
  color: #000;
  border-bottom-right-radius: 4px;
  font-weight: 500;
}

.ai-typing {
  font-style: italic;
  font-size: 0.8rem;
  color: #888;
}

.ai-chat-input-wrap {
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 10px;
}

#ai-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 10px 16px;
  color: white;
  font-family: inherit;
  font-size: 0.9rem;
}

#ai-input:focus {
  outline: none;
  border-color: #C9A96E;
}

#ai-send-btn {
  background: #C9A96E;
  color: #000;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
}

#ai-send-btn:hover {
  transform: scale(1.05);
}

@keyframes ais-pulse {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }

  100% {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .filter-top-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

@media (max-width: 480px) {
  #ai-chat-root {
    bottom: 80px;
    right: 20px;
  }

  #ai-chat-window {
    width: calc(100vw - 40px);
    height: calc(100vh - 180px);
    right: 0;
  }
}