/* ===================================================
   MODAUZ — MULTILINGUAL FASHION STORE WITH VIDEO HERO
   =================================================== */

:root {
  --primary: #18181b;
  --primary-hover: #27272a;
  --accent: #e11d48;
  --accent-hover: #be123c;
  --gold: #d97706;
  --dark: #09090b;
  --dark-surface: #121215;
  --gray-900: #18181b;
  --gray-800: #27272a;
  --gray-700: #3f3f46;
  --gray-600: #52525b;
  --gray-500: #71717a;
  --gray-400: #a1a1aa;
  --gray-200: #e4e4e7;
  --gray-100: #f4f4f5;
  --gray-50: #fafafa;
  --white: #ffffff;
  --danger: #ef4444;
  --success: #10b981;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.06);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #fcfcfc;
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

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

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

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

/* Utilities */
.text-accent { color: var(--accent); }
.text-white { color: var(--white); }
.text-danger { color: var(--danger); }
.text-success { color: var(--success); }
.text-center { text-align: center; }

.section-header {
  margin-bottom: 35px;
}

.sub-heading {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 6px;
}

.section-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.5px;
}

/* Top Announcement Bar */
.announcement-bar {
  background: var(--dark);
  color: var(--gray-400);
  font-size: 13px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

.bar-left strong {
  color: var(--white);
}

.badge-flash {
  background: linear-gradient(135deg, #e11d48, #f43f5e);
  color: var(--white);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bar-right a:hover {
  color: var(--white);
}

.divider {
  opacity: 0.3;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.lang-btn {
  background: none;
  color: var(--gray-400);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.lang-btn:hover {
  color: var(--white);
}

.lang-btn.active {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 2px 6px rgba(225, 29, 72, 0.4);
}

.lang-divider {
  font-size: 10px;
  opacity: 0.3;
  color: var(--gray-400);
}

.mobile-lang-box {
  padding: 15px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.mobile-lang-box span {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray-700);
}

.mobile-lang-box .lang-switcher {
  background: var(--white);
  border: 1px solid var(--gray-200);
  justify-content: space-around;
}

.mobile-lang-box .lang-btn {
  color: var(--gray-700);
}

/* Header & Navbar */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 20px;
}

/* Brand Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 24px;
  font-weight: 900;
  color: var(--gray-900);
  letter-spacing: -0.5px;
  line-height: 1.05;
  font-family: 'Playfair Display', serif;
}

.logo-tagline {
  font-size: 9px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 1.5px;
}

/* Search Box */
.search-box {
  flex: 1;
  max-width: 480px;
  position: relative;
  display: flex;
  align-items: center;
}

.search-box input {
  width: 100%;
  padding: 12px 42px 12px 44px;
  background: var(--gray-100);
  border: 1.5px solid transparent;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-family: inherit;
  transition: var(--transition);
}

.search-box input:focus {
  background: var(--white);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.1);
  outline: none;
}

.search-icon {
  position: absolute;
  left: 16px;
  color: var(--gray-400);
  font-size: 16px;
  pointer-events: none;
}

.clear-search-btn {
  position: absolute;
  right: 14px;
  background: none;
  color: var(--gray-400);
  font-size: 16px;
  padding: 4px;
}

.clear-search-btn:hover {
  color: var(--gray-700);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  color: var(--gray-700);
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
}

.action-btn:hover {
  background: var(--gray-100);
  color: var(--accent);
}

.icon-wrap {
  position: relative;
  font-size: 20px;
}

.badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  width: 19px;
  height: 19px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(225, 29, 72, 0.4);
}

.cart-btn-accent {
  background: #fff1f2;
  color: var(--accent);
  border: 1px solid rgba(225, 29, 72, 0.15);
}

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

.cart-btn-accent:hover .cart-total-header {
  color: var(--white);
}

.cart-label-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.cart-total-header {
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
}

.mobile-toggle-btn {
  display: none;
  font-size: 22px;
  background: none;
  color: var(--gray-800);
  padding: 6px;
}

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  left: -290px;
  width: 290px;
  height: 100vh;
  background: var(--white);
  z-index: 1001;
  box-shadow: var(--shadow-xl);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow-y: auto;
}

.mobile-nav.open {
  transform: translateX(290px);
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.mobile-nav-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--gray-900);
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-list a {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-weight: 600;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}

.mobile-nav-list a:hover,
.mobile-nav-list a.active {
  background: #fff1f2;
  color: var(--accent);
}

/* ==================== VIDEO HERO SECTION ==================== */
.video-hero-section {
  position: relative;
  height: 85vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: #000;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(9, 9, 11, 0.4) 0%,
    rgba(9, 9, 11, 0.75) 75%,
    rgba(9, 9, 11, 0.95) 100%
  );
  z-index: 2;
}

/* Video Controls (Play/Pause & Mute) */
.video-controls-bar {
  position: absolute;
  top: 25px;
  right: 25px;
  z-index: 10;
  display: flex;
  gap: 10px;
}

.video-ctrl-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: var(--transition);
}

.video-ctrl-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.08);
}

/* Hero Content */
.hero-video-content {
  position: relative;
  z-index: 5;
  width: 100%;
}

.hero-text-box {
  max-width: 680px;
}

.hero-season-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(225, 29, 72, 0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(225, 29, 72, 0.4);
  color: #fda4af;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 22px;
}

.hero-video-title {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.gradient-fashion-text {
  background: linear-gradient(90deg, #ffedd5, #f43f5e, #fda4af);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Playfair Display', serif;
  font-style: italic;
}

.hero-video-desc {
  font-size: 18px;
  color: #e4e4e7;
  line-height: 1.7;
  margin-bottom: 35px;
  max-width: 580px;
}

.hero-cta-btns {
  display: flex;
  gap: 16px;
  margin-bottom: 45px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  transition: var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(225, 29, 72, 0.4);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(225, 29, 72, 0.5);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, #e11d48, #be123c);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.4);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(225, 29, 72, 0.5);
}

.btn-block { width: 100%; }
.btn-lg { padding: 15px 32px; font-size: 16px; }

.btn-outline {
  background: transparent;
  color: var(--gray-700);
  border: 1.5px solid var(--gray-300);
}

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

.btn-text {
  background: transparent;
  color: var(--gray-500);
}

.btn-text:hover { color: var(--danger); }

.hero-video-badges {
  display: flex;
  align-items: center;
  gap: 30px;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge-item i {
  font-size: 24px;
  color: var(--accent);
}

.badge-item strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--white);
}

.badge-item span {
  font-size: 11px;
  color: var(--gray-400);
}

/* Scroll Down Hint */
.scroll-down-hint {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

.scroll-down-hint:hover {
  color: var(--white);
}

.bounce-icon {
  animation: bounce 1.8s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(6px); }
  60% { transform: translateY(3px); }
}

/* ==================== CATEGORIES SECTION ==================== */
.categories-section {
  padding: 45px 0 20px;
}

.categories-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
}

.categories-bar::-webkit-scrollbar {
  height: 4px;
}

.categories-bar::-webkit-scrollbar-thumb {
  background: var(--gray-200);
  border-radius: 4px;
}

.category-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-700);
  white-space: nowrap;
  transition: var(--transition);
}

.category-tab i {
  font-size: 16px;
  color: var(--gray-400);
  transition: var(--transition);
}

.category-tab:hover {
  border-color: var(--gray-900);
  color: var(--gray-900);
}

.category-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.category-tab.active i {
  color: var(--accent);
}

/* ==================== CATALOG SECTION ==================== */
.catalog-section {
  padding: 20px 0 70px;
}

.catalog-header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 15px;
}

.catalog-title-group {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.products-counter {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-500);
}

.catalog-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.catalog-controls label {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-600);
}

.sort-select {
  padding: 9px 18px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-800);
  cursor: pointer;
  outline: none;
  transition: var(--transition);
}

.sort-select:focus {
  border-color: var(--accent);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.product-thumb-wrap {
  position: relative;
  background: #f4f4f5;
  height: 320px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.product-card:hover .product-thumb {
  transform: scale(1.08);
}

.product-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.tag-badge {
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-sale {
  background: var(--accent);
  color: var(--white);
}

.badge-new {
  background: var(--dark);
  color: var(--white);
}

.badge-hit {
  background: var(--gold);
  color: var(--white);
}

.wishlist-btn-card {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  background: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  box-shadow: var(--shadow-md);
  font-size: 16px;
  z-index: 2;
  transition: var(--transition);
}

.wishlist-btn-card:hover {
  color: var(--accent);
  transform: scale(1.12);
}

.wishlist-btn-card.active {
  color: var(--accent);
  background: #fff1f2;
}

.quick-view-overlay-btn {
  position: absolute;
  bottom: -45px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(9, 9, 11, 0.88);
  backdrop-filter: blur(6px);
  color: var(--white);
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  z-index: 2;
}

.product-card:hover .quick-view-overlay-btn {
  bottom: 16px;
}

.product-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.product-category-name {
  font-size: 11px;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-sizes-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-500);
}

.product-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.35;
  margin-bottom: 10px;
  min-height: 46px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 13px;
}

.rating-stars {
  color: #f59e0b;
  font-size: 12px;
}

.rating-count {
  color: var(--gray-400);
  font-size: 12px;
}

.product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--gray-100);
}

.price-box {
  display: flex;
  flex-direction: column;
}

.current-price {
  font-size: 18px;
  font-weight: 900;
  color: var(--gray-900);
}

.old-price {
  font-size: 13px;
  color: var(--gray-400);
  text-decoration: line-through;
}

.add-to-cart-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--gray-100);
  color: var(--gray-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition);
}

.add-to-cart-btn:hover {
  background: var(--accent);
  color: var(--white);
  transform: scale(1.08);
}

/* Empty Search State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px dashed var(--gray-200);
  margin-top: 20px;
}

.empty-icon {
  font-size: 54px;
  color: var(--gray-400);
  margin-bottom: 16px;
}

.empty-state h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.empty-state p {
  color: var(--gray-500);
  margin-bottom: 20px;
}

/* ==================== PROMO BANNER ==================== */
.promo-section {
  padding: 50px 0;
}

.promo-banner {
  background: linear-gradient(135deg, #18181b 0%, #27272a 60%, #3f3f46 100%);
  border-radius: var(--radius-lg);
  color: var(--white);
  padding: 60px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.promo-badge {
  background: var(--accent);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 15px;
}

.promo-content h2 {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 14px;
}

.promo-content p {
  color: #d4d4d8;
  font-size: 16px;
  margin-bottom: 25px;
  max-width: 520px;
}

.countdown {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}

.timer-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  text-align: center;
  min-width: 70px;
}

.timer-box span {
  font-size: 28px;
  font-weight: 900;
  display: block;
  line-height: 1;
}

.timer-box small {
  font-size: 11px;
  color: #a1a1aa;
  text-transform: uppercase;
}

.timer-colon {
  font-size: 24px;
  font-weight: 900;
  color: var(--accent);
}

.promo-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.promo-price-tag {
  display: flex;
  flex-direction: column;
}

.promo-new-price {
  font-size: 26px;
  font-weight: 900;
  color: #fda4af;
}

.promo-price-tag del {
  color: #a1a1aa;
  font-size: 15px;
}

.promo-image-box img {
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  max-height: 380px;
  object-fit: cover;
  width: 100%;
}

/* ==================== REVIEWS ==================== */
.reviews-section {
  padding: 60px 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.review-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.stars {
  color: #f59e0b;
  margin-bottom: 14px;
}

.review-text {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
  flex: 1;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 14px;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
}

.reviewer-info h5 {
  font-size: 15px;
  font-weight: 800;
  color: var(--gray-900);
}

.reviewer-info span {
  font-size: 12px;
  color: var(--gray-500);
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--dark);
  color: #a1a1aa;
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h4 {
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 20px;
}

.footer-desc {
  margin: 18px 0 20px;
  font-size: 14px;
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 14px;
}

.contact-item i {
  color: var(--accent);
  margin-top: 4px;
}

.contact-item strong {
  display: block;
  color: var(--white);
}

.payment-methods {
  margin-top: 20px;
}

.payment-methods span {
  display: block;
  font-size: 12px;
  margin-bottom: 8px;
}

.payment-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pay-badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
}

.footer-bottom {
  padding: 25px 0;
  font-size: 13px;
}

.bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==================== CART DRAWER ==================== */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(9, 9, 11, 0.65);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 440px;
  max-width: 90vw;
  height: 100vh;
  background: var(--white);
  z-index: 999;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-drawer.open {
  right: 0;
}

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

.drawer-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-title-wrap i {
  font-size: 20px;
  color: var(--accent);
}

.drawer-title-wrap h3 {
  font-size: 18px;
  font-weight: 800;
}

.close-btn {
  background: none;
  font-size: 28px;
  color: var(--gray-400);
  line-height: 1;
  transition: var(--transition);
}

.close-btn:hover {
  color: var(--gray-900);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Cart Item Card */
.cart-item {
  display: flex;
  gap: 15px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
}

.cart-item-img {
  width: 75px;
  height: 85px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
  line-height: 1.3;
}

.cart-item-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 10px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quantity-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-btn {
  background: var(--gray-100);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--gray-700);
  transition: var(--transition);
}

.qty-btn:hover {
  background: var(--gray-200);
}

.qty-val {
  padding: 0 10px;
  font-size: 13px;
  font-weight: 700;
}

.remove-cart-item {
  background: none;
  color: var(--gray-400);
  font-size: 14px;
  transition: var(--transition);
}

.remove-cart-item:hover {
  color: var(--danger);
}

.cart-empty-view {
  text-align: center;
  padding: 60px 10px;
}

.cart-empty-view i {
  font-size: 48px;
  color: var(--gray-300);
  margin-bottom: 15px;
}

.drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--gray-600);
}

.cart-total-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 900;
  color: var(--gray-900);
  margin-top: 14px;
  margin-bottom: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-200);
}

.total-price-val {
  color: var(--accent);
  font-size: 20px;
}

.drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==================== MODALS ==================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(9, 9, 11, 0.7);
  backdrop-filter: blur(6px);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 550px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.modal-overlay.active .modal-dialog {
  transform: scale(1);
}

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

.modal-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-title h3 {
  font-size: 18px;
  font-weight: 800;
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}

/* Order Form */
.order-summary-box {
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
  border: 1px solid var(--gray-200);
}

.order-summary-box h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 10px;
}

.checkout-items-preview {
  max-height: 120px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.checkout-preview-item {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--gray-700);
}

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  font-size: 15px;
  border-top: 1px dashed var(--gray-300);
  padding-top: 8px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1);
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.radio-option:hover {
  border-color: var(--accent);
  background: #fff1f2;
}

.radio-option input[type="radio"]:checked + span {
  color: var(--accent);
  font-weight: 700;
}

/* Success Modal */
.success-dialog {
  padding: 40px 30px;
  max-width: 460px;
}

.success-icon-wrap {
  width: 72px;
  height: 72px;
  background: #dcfce7;
  color: var(--success);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  margin: 0 auto 20px;
}

.success-dialog h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.success-details-card {
  background: var(--gray-50);
  padding: 16px;
  border-radius: var(--radius-md);
  margin: 20px 0 25px;
  font-size: 14px;
  color: var(--gray-600);
}

/* Quick View Dialog */
.quick-view-dialog {
  max-width: 800px;
  padding: 30px;
}

.modal-close-corner {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
}

.quick-view-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
  align-items: center;
}

.qv-img-wrap {
  background: var(--gray-100);
  border-radius: var(--radius-md);
  height: 380px;
  overflow: hidden;
}

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

.qv-info h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
}

.qv-price {
  font-size: 24px;
  font-weight: 900;
  color: var(--accent);
  margin: 12px 0;
}

.qv-desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 18px;
}

.qv-sizes-row {
  margin-bottom: 20px;
}

.qv-sizes-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.qv-sizes-list {
  display: flex;
  gap: 8px;
}

.qv-size-pill {
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.qv-size-pill:hover,
.qv-size-pill.active {
  border-color: var(--gray-900);
  background: var(--gray-900);
  color: var(--white);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--gray-900);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  transform: translateY(20px);
  opacity: 0;
  animation: toastIn 0.3s forwards;
}

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

.toast-success i { color: var(--success); }
.toast-info i { color: #38bdf8; }

/* ==================== RESPONSIVE MEDIA QUERIES ==================== */
@media (max-width: 1024px) {
  .hero-video-title {
    font-size: 42px;
  }
  .promo-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px;
  }
  .promo-content p {
    margin: 0 auto 25px;
  }
  .countdown {
    justify-content: center;
  }
  .promo-actions {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .announcement-bar {
    display: none;
  }
  .mobile-toggle-btn {
    display: block;
  }
  .navbar {
    padding: 12px 0;
    flex-wrap: wrap;
  }
  .action-label, .cart-label-wrap {
    display: none;
  }
  .search-box {
    order: 3;
    width: 100%;
    max-width: 100%;
    margin-top: 10px;
  }
  .video-hero-section {
    height: 75vh;
  }
  .hero-video-title {
    font-size: 32px;
  }
  .hero-video-desc {
    font-size: 15px;
  }
  .hero-video-badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .quick-view-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .bottom-content {
    flex-direction: column;
    text-align: center;
  }
  .phone-number-text {
    display: none;
  }
}

/* ==================== PHONE & CONTACT WIDGETS ==================== */
/* Header Direct Call Button */
.header-phone-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f0fdf4;
  color: #15803d;
  border: 1.5px solid #86efac;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 800;
  transition: var(--transition);
}

.header-phone-btn i {
  color: #16a34a;
  font-size: 14px;
}

.header-phone-btn:hover {
  background: #16a34a;
  color: var(--white);
  border-color: #16a34a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.header-phone-btn:hover i {
  color: var(--white);
}

/* Mobile Nav Contact Card */
.mobile-contact-card {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
}

/* Floating Quick Contact Widget */
.floating-contact-widget {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.float-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  color: var(--white);
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
  text-decoration: none;
}

.float-phone {
  background: linear-gradient(135deg, #10b981, #059669);
}

.float-phone:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.45);
}

.float-tg {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  width: 48px;
  height: 48px;
  padding: 0;
  justify-content: center;
  font-size: 22px;
}

.float-tg:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.45);
}

.pulse-btn {
  animation: pulseGreen 2.2s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 16px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ==================== HERO PHONE BANNER ==================== */
.hero-phone-banner {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: rgba(18, 18, 21, 0.75);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(134, 239, 172, 0.35);
  padding: 12px 22px;
  border-radius: var(--radius-lg);
  margin-bottom: 28px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.hp-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #10b981, #059669);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.hp-info {
  display: flex;
  flex-direction: column;
}

.hp-label {
  font-size: 11px;
  font-weight: 700;
  color: #a1a1aa;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.hp-number {
  font-size: 20px;
  font-weight: 900;
  color: #86efac;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.hp-number:hover {
  color: var(--white);
}

.hp-tg-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(2, 132, 199, 0.25);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  transition: var(--transition);
}

.hp-tg-btn:hover {
  background: #0284c7;
  color: var(--white);
}

/* ==================== MODAAI VIRTUAL STILIST CHATBOT ==================== */
.ai-widget-wrapper {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 1000;
}

/* Floating AI Trigger Button */
.ai-trigger-btn {
  position: relative;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #ec4899 100%);
  color: var(--white);
  padding: 12px 22px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 800;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 25px rgba(124, 58, 237, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.ai-trigger-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 35px rgba(168, 85, 247, 0.55);
}

.ai-btn-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-btn-content i {
  font-size: 18px;
  color: #fde047;
}

.ai-pulse-dot {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 14px;
  height: 14px;
  border-radius: var(--radius-full);
  background: #10b981;
  border: 2px solid var(--white);
  box-shadow: 0 0 8px #10b981;
}

/* AI Chat Window */
.ai-chat-window {
  position: absolute;
  bottom: 70px;
  left: 0;
  width: 380px;
  max-width: 92vw;
  height: 540px;
  max-height: 80vh;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.92) translateY(20px);
  transform-origin: bottom left;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ai-chat-window.open {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
}

/* AI Header */
.ai-chat-header {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 60%, #4c1d95 100%);
  color: var(--white);
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.ai-avatar-badge {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #a855f7, #ec4899);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.ai-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-name-row h4 {
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

.ai-online-badge {
  background: #10b981;
  color: var(--white);
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.ai-header-desc {
  font-size: 11px;
  color: #c4b5fd;
}

.ai-header-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-icon-btn {
  background: none;
  color: #c4b5fd;
  font-size: 15px;
  padding: 4px;
  transition: var(--transition);
}

.ai-icon-btn:hover {
  color: var(--white);
}

.ai-close-btn {
  background: none;
  color: #c4b5fd;
  font-size: 26px;
  line-height: 1;
  transition: var(--transition);
}

.ai-close-btn:hover {
  color: var(--white);
}

/* Phone Bar in Chat */
.ai-chat-phone-bar {
  background: #f0fdf4;
  padding: 8px 16px;
  font-size: 12px;
  color: #166534;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #bbf7d0;
}

.ai-chat-phone-bar i {
  color: #15803d;
}

.ai-chat-phone-bar a {
  color: #15803d;
  text-decoration: underline;
}

/* Chat Messages Body */
.ai-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #f8fafc;
}

/* Message Bubbles */
.ai-msg {
  display: flex;
  gap: 10px;
  max-width: 86%;
  animation: fadeInMsg 0.25s ease-out;
}

@keyframes fadeInMsg {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.ai-msg-user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.ai-msg-bot {
  align-self: flex-start;
}

.ai-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.5;
}

.ai-msg-user .ai-bubble {
  background: var(--gray-900);
  color: var(--white);
  border-bottom-right-radius: 4px;
}

.ai-msg-bot .ai-bubble {
  background: var(--white);
  color: var(--gray-800);
  border: 1px solid var(--gray-200);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  border-bottom-left-radius: 4px;
}

/* Product Mini Card in Chat */
.ai-product-card {
  display: flex;
  gap: 10px;
  background: #f1f5f9;
  border-radius: var(--radius-sm);
  padding: 8px;
  margin-top: 8px;
  align-items: center;
  border: 1px solid var(--gray-200);
}

.ai-prod-img {
  width: 48px;
  height: 56px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.ai-prod-info {
  flex: 1;
  overflow: hidden;
}

.ai-prod-title {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--gray-900);
}

.ai-prod-price {
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
}

.ai-prod-btn {
  background: var(--accent);
  color: var(--white);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  transition: var(--transition);
}

.ai-prod-btn:hover {
  background: var(--accent-hover);
}

/* Chips Bar */
.ai-chips-bar {
  padding: 8px 12px;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.ai-chips-bar::-webkit-scrollbar {
  display: none;
}

.ai-chip {
  background: #f4f4f5;
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
  padding: 5px 10px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: var(--transition);
}

.ai-chip:hover {
  background: #7c3aed;
  color: var(--white);
  border-color: #7c3aed;
}

/* Chat Input Form */
.ai-chat-input-area {
  display: flex;
  padding: 10px 12px;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  gap: 8px;
}

.ai-chat-input-area input {
  flex: 1;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-full);
  padding: 9px 16px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.ai-chat-input-area input:focus {
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.ai-chat-send-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--transition);
  flex-shrink: 0;
}

.ai-chat-send-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}


