@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #FF6B35; --primary-dark: #E55A25; --primary-light: #FF8C5A;
  --primary-bg: #FFF4EF;
  --dark: #1A1A2E; --dark-2: #2D2D42;
  --gray-700: #374151; --gray-500: #6B7280; --gray-400: #9CA3AF;
  --gray-200: #E5E7EB; --gray-100: #F3F4F6; --white: #FFFFFF;
  --success: #10B981; --warning: #F59E0B; --error: #EF4444; --info: #3B82F6;
  --container-max: 1280px;
  --radius-sm: 4px; --radius: 8px; --radius-lg: 16px; --radius-full: 9999px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.06);
  --shadow: 0 2px 8px rgba(0,0,0,.1);
  --shadow-md: 0 4px 16px rgba(0,0,0,.12);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.15);
  --transition: 250ms ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--dark); background: #FAFAF8; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 768px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* ── NAVBAR ── */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.navbar__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 1rem; }
.navbar__logo { display: flex; align-items: center; gap: .5rem; font-weight: 800; font-size: 1.2rem; flex-shrink: 0; }
.navbar__logo-icon { width: 36px; height: 36px; background: var(--primary); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1rem; }
.navbar__logo-text { color: var(--dark); }
.navbar__logo-text span { color: var(--primary); }
.navbar__nav { display: none; align-items: center; gap: 4px; }
@media (min-width: 1024px) { .navbar__nav { display: flex; } }
.navbar__nav a { padding: 6px 12px; border-radius: var(--radius); font-size: .875rem; font-weight: 500; color: var(--gray-700); transition: var(--transition); }
.navbar__nav a:hover, .navbar__nav a.active { color: var(--primary); background: var(--primary-bg); }
.navbar__actions { display: flex; align-items: center; gap: 6px; }
.navbar__icon-btn { position: relative; width: 40px; height: 40px; border-radius: var(--radius); border: none; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--gray-700); font-size: 1.1rem; transition: var(--transition); }
.navbar__icon-btn:hover { background: var(--gray-100); color: var(--primary); }
.cart-badge { position: absolute; top: 4px; right: 4px; background: var(--primary); color: #fff; font-size: .6rem; font-weight: 700; width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.navbar__hamburger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; border: none; background: transparent; }
.navbar__hamburger span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: var(--transition); }
.navbar__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; }
.navbar__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1024px) { .navbar__hamburger { display: none; } }

.navbar__user { display: flex; align-items: center; gap: .75rem; padding: 4px 12px; border-radius: var(--radius-full); transition: var(--transition); cursor: pointer; }
.navbar__user:hover { background: var(--gray-100); }
.navbar__avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--primary); background: #fff; }
.navbar__username { font-size: .875rem; font-weight: 600; color: var(--gray-700); }
.navbar__logout-btn { color: var(--gray-400); font-size: 1rem; transition: var(--transition); display: flex; align-items: center; padding: 4px; }
.navbar__logout-btn:hover { color: var(--error); }

/* Mobile menu */
.mobile-menu { display: none; position: fixed; inset: 64px 0 0 0; background: #fff; z-index: 999; padding: 1.5rem; overflow-y: auto; transform: translateX(-100%); transition: transform .3s ease; }
.mobile-menu.open { transform: translateX(0); display: block; }
.mobile-menu a { display: block; padding: 12px 0; font-size: 1rem; font-weight: 500; color: var(--gray-700); border-bottom: 1px solid var(--gray-100); }
.mobile-menu a:hover { color: var(--primary); }

/* ── HERO SLIDER ── */
.hero-slider { position: relative; height: 500px; max-height: 65vh; overflow: hidden; background: var(--dark); }
.hero-slider__wrapper { position: relative; width: 100%; height: 100%; }
.hero-slide {
  position: absolute; inset: 0; display: flex; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s ease;
  z-index: 1;
}
.hero-slide.active { opacity: 1; visibility: visible; z-index: 2; }
.hero-slide__bg {
  position: absolute; inset: 0; z-index: -1;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.hero-slide__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(26,26,46,0.85) 0%, rgba(26,26,46,0.4) 100%);
}

.hero__content { position: relative; z-index: 1; color: #fff; max-width: 620px; padding: 2rem 0; }
/* Slide content animation */
.hero-slide .hero__badge,
.hero-slide .hero__title,
.hero-slide .hero__subtitle,
.hero-slide .hero__actions {
  opacity: 0; transform: translateY(20px); transition: all .6s ease;
}
.hero-slide.active .hero__badge { opacity: 1; transform: translateY(0); transition-delay: .2s; }
.hero-slide.active .hero__title { opacity: 1; transform: translateY(0); transition-delay: .3s; }
.hero-slide.active .hero__subtitle { opacity: 1; transform: translateY(0); transition-delay: .4s; }
.hero-slide.active .hero__actions { opacity: 1; transform: translateY(0); transition-delay: .5s; }

.hero__badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; padding: 6px 14px; border-radius: var(--radius-full); font-size: .8rem; font-weight: 600; margin-bottom: 1.25rem; }
.hero__title { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; line-height: 1.15; margin-bottom: 1rem; text-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.hero__title em { color: var(--primary); font-style: normal; }
.hero__subtitle { font-size: 1.15rem; color: rgba(255,255,255,.85); margin-bottom: 2rem; line-height: 1.7; max-width: 540px; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-slider__btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.1); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
  transition: var(--transition); backdrop-filter: blur(4px);
}
.hero-slider__btn:hover { background: var(--primary); border-color: var(--primary); }
.hero-slider__btn--prev { left: 1.5rem; }
.hero-slider__btn--next { right: 1.5rem; }

.hero-slider__pagination {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: .75rem; z-index: 10;
}
.hero-slider__dot {
  width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.3);
  cursor: pointer; transition: var(--transition);
}
.hero-slider__dot.active { background: var(--primary); width: 28px; border-radius: 5px; }

@media (max-width: 768px) {
  .hero-slider { height: 300px; min-height: auto; }
  .hero-slider__btn { display: none; }
  .hero__content { text-align: center; margin: 0 auto; }
  .hero__actions { justify-content: center; }
}


/* ── CATEGORIES ── */
.categories { padding: 4rem 0; background: #fff; }
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-tag { display: inline-block; background: var(--primary-bg); color: var(--primary); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: var(--radius-full); margin-bottom: .75rem; }
.section-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: .5rem; }
.section-subtitle { color: var(--gray-500); font-size: .95rem; }
.categories__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 640px) { .categories__grid { grid-template-columns: repeat(4, 1fr); } }
.category-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/4; cursor: pointer; group: true; }
.category-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.category-card:hover .category-card__img { transform: scale(1.08); }
.category-card__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.7) 0%, rgba(0,0,0,.1) 60%); }
.category-card__body { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.25rem; color: #fff; }
.category-card__icon { font-size: 1.75rem; margin-bottom: .4rem; }
.category-card__name { font-size: 1rem; font-weight: 700; margin-bottom: .2rem; }
.category-card__count { font-size: .8rem; color: rgba(255,255,255,.7); }
.category-card:hover .category-card__overlay { background: linear-gradient(to top, rgba(255,107,53,.7) 0%, rgba(0,0,0,.1) 60%); }

/* ── PRODUCTS GRID ── */
.products-section { padding: 4rem 0; }
.products-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 640px) { .products-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }

/* ── PRODUCT CARD ── */
.product-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid var(--gray-200); display: flex; flex-direction: column; height: 100%; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.product-card__image-wrap { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--gray-100); flex-shrink: 0; }
.product-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-card__img { transform: scale(1.06); }
.product-card__badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; }
.badge { display: inline-block; padding: 3px 8px; border-radius: var(--radius-full); font-size: .7rem; font-weight: 700; }
.badge--sale { background: var(--error); color: #fff; }
.badge--new { background: var(--success); color: #fff; }
.badge--out { background: var(--gray-400); color: #fff; }
.product-card__actions { position: absolute; bottom: 10px; right: 10px; display: flex; gap: 6px; opacity: 0; transform: translateY(8px); transition: var(--transition); }
.product-card:hover .product-card__actions { opacity: 1; transform: translateY(0); }
.product-card__action-btn { width: 34px; height: 34px; border-radius: 50%; border: none; background: #fff; color: var(--dark); cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); font-size: .9rem; transition: var(--transition); }
.product-card__action-btn:hover { background: var(--primary); color: #fff; }
.product-card__body { padding: .875rem .875rem 0; flex: 1; display: flex; flex-direction: column; min-height: 0; }
.product-card__category { font-size: .7rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .3rem; flex-shrink: 0; }
.product-card__name { font-size: .9rem; font-weight: 600; color: var(--dark); margin-bottom: .5rem; line-height: 1.4; min-height: calc(0.9rem * 1.4 * 2); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; word-break: break-word; flex-shrink: 0; }
.product-card__rating { display: flex; align-items: center; gap: 4px; font-size: .75rem; color: var(--gray-500); margin-bottom: .5rem; flex-shrink: 0; min-height: 1.25rem; }
.product-card__stars { color: #F59E0B; }
.product-card__price { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-top: auto; padding-top: .25rem; min-height: 1.5rem; flex-shrink: 0; }
.price-sale { font-size: 1rem; font-weight: 700; color: var(--primary); }
.price-original { font-size: .8rem; color: var(--gray-400); text-decoration: line-through; }
.price-normal { font-size: 1rem; font-weight: 700; color: var(--dark); }
.product-card__footer { padding: .625rem .875rem .875rem; flex-shrink: 0; }
.btn-add-cart { width: 100%; padding: 8px; border-radius: var(--radius); border: 1.5px solid var(--primary); background: transparent; color: var(--primary); font-size: .8rem; font-weight: 600; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; }
.btn-add-cart:hover { background: var(--primary); color: #fff; }

/* ── PROMO BANNER ── */
.promo-banner { margin: 2rem 0; background: linear-gradient(135deg, var(--dark) 0%, #3d1c78 100%); border-radius: var(--radius-lg); padding: 3rem 2rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; overflow: hidden; position: relative; }
@media (min-width: 768px) { .promo-banner { flex-direction: row; align-items: center; justify-content: space-between; padding: 3rem; } }
.promo-banner__text { color: #fff; }
.promo-banner__tag { background: rgba(255,107,53,.25); color: var(--primary-light); font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: var(--radius-full); display: inline-block; margin-bottom: .75rem; }
.promo-banner__title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; margin-bottom: .5rem; line-height: 1.2; }
.promo-banner__sub { color: rgba(255,255,255,.7); font-size: .9rem; }
.promo-banner__decoration { position: absolute; right: -20px; top: -20px; font-size: 8rem; opacity: .05; line-height: 1; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.5rem; border-radius: var(--radius); font-weight: 600; font-size: .9rem; cursor: pointer; border: 2px solid transparent; transition: var(--transition); }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,107,53,.35); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-outline-dark { background: transparent; color: var(--dark); border-color: var(--gray-200); }
.btn-outline-dark:hover { border-color: var(--primary); color: var(--primary); }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-sm { padding: .5rem 1rem; font-size: .8rem; }

/* ── TOAST ── */
.toast-container { position: fixed; top: 80px; right: 1rem; z-index: 9999; display: flex; flex-direction: column; gap: .5rem; }
.toast { display: flex; align-items: center; gap: .75rem; padding: .875rem 1.25rem; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-lg); min-width: 280px; max-width: 360px; animation: slideInRight .3s ease; border-left: 4px solid var(--info); }
.toast--success { border-color: var(--success); }
.toast--error { border-color: var(--error); }
.toast--warning { border-color: var(--warning); }
.toast__icon { font-size: 1.1rem; flex-shrink: 0; }
.toast__msg { flex: 1; font-size: .875rem; font-weight: 500; }
.toast__close { background: none; border: none; cursor: pointer; color: var(--gray-400); font-size: .9rem; padding: 2px; }
@keyframes slideInRight { from { opacity: 0; transform: translateX(100%); } to { opacity: 1; transform: translateX(0); } }

/* ── FLASH MESSAGES ── */
.flash-list { padding: .75rem 0; }
.flash-msg { display: flex; align-items: center; gap: .75rem; padding: .875rem 1.25rem; border-radius: var(--radius); margin-bottom: .5rem; font-size: .875rem; font-weight: 500; }
.flash-msg--success { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.flash-msg--error { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.flash-msg--warning { background: #FFFBEB; color: #92400E; border: 1px solid #FDE68A; }
.flash-msg--info { background: #EFF6FF; color: #1E40AF; border: 1px solid #BFDBFE; }

/* ── FOOTER ── */
.footer { background: var(--dark); color: rgba(255,255,255,.75); padding: 3rem 0 1.5rem; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.footer__col--hide-mobile { display: none; }
@media (max-width: 1023px) {
  .footer { padding: 2rem 0 1.25rem; }
  .footer__grid { gap: 0; margin-bottom: 0; }
}
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
  .footer__col--hide-mobile { display: block; }
}
.footer__brand-name { font-weight: 800; font-size: 1.3rem; color: #fff; margin-bottom: .75rem; }
.footer__brand-name span { color: var(--primary); }
.footer__brand-desc { font-size: .875rem; line-height: 1.7; margin-bottom: 1.25rem; }
.footer__social { display: flex; gap: .75rem; }
.social-btn { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-size: .9rem; color: #fff; transition: var(--transition); }
.social-btn:hover { background: var(--primary); }
.footer__col-title { font-weight: 700; font-size: .875rem; color: #fff; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.footer__links a { display: block; font-size: .875rem; padding: 4px 0; transition: var(--transition); }
.footer__links a:hover { color: var(--primary); padding-left: 4px; }
.footer__contact-item { display: flex; gap: .6rem; font-size: .875rem; padding: 4px 0; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; display: flex; flex-direction: column; gap: .5rem; text-align: center; font-size: .8rem; color: rgba(255,255,255,.4); }
@media (min-width: 640px) { .footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; } }

/* ── PAGE HEADER ── */
.page-header { background: linear-gradient(135deg, var(--dark), #2D1B69); padding: 2.5rem 0; color: #fff; }
.page-header__title { font-size: 1.75rem; font-weight: 800; margin-bottom: .25rem; }
.page-header__breadcrumb { font-size: .85rem; color: rgba(255,255,255,.6); display: flex; gap: .5rem; align-items: center; }
.page-header__breadcrumb a:hover { color: var(--primary); }

/* ── PAGINATION ── */
.pagination { display: flex; align-items: center; gap: .5rem; justify-content: center; padding: 2rem 0; }
.page-btn { width: 38px; height: 38px; border-radius: var(--radius); border: 1.5px solid var(--gray-200); background: #fff; color: var(--gray-700); font-size: .875rem; font-weight: 500; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.page-btn:hover, .page-btn.active { border-color: var(--primary); background: var(--primary); color: #fff; }
.page-btn:disabled { opacity: .4; cursor: not-allowed; }

/* ── RATING STARS ── */
.stars { display: inline-flex; gap: 2px; }
.star { color: var(--gray-200); font-size: .9rem; }
.star.filled { color: #F59E0B; }

/* ── SEARCH OVERLAY ── */
.search-overlay {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: flex-start;
  justify-content: center;
  padding: 5rem 1rem 2rem;
  background: rgba(26, 26, 46, .55);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}
.search-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.search-overlay__panel {
  width: 100%;
  max-width: 640px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .22);
  border: 1px solid rgba(255, 255, 255, .8);
  padding: 1.5rem;
  transform: translateY(-16px) scale(.98);
  transition: transform .28s ease;
}
.search-overlay.open .search-overlay__panel {
  transform: translateY(0) scale(1);
}
.search-overlay__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.search-overlay__eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .35rem;
}
.search-overlay__title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.3;
}
.search-overlay__close {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  color: var(--gray-500);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.search-overlay__close:hover {
  background: var(--primary-bg);
  color: var(--primary);
}
.search-overlay__form {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.search-overlay__field {
  display: flex;
  align-items: center;
  gap: .75rem;
  width: 100%;
  padding: .5rem .5rem .5rem 1rem;
  background: var(--gray-100);
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.search-overlay__field:focus-within {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, .15);
}
.search-overlay__field-icon {
  color: var(--gray-400);
  font-size: 1rem;
  flex-shrink: 0;
}
.search-overlay__field:focus-within .search-overlay__field-icon {
  color: var(--primary);
}
.search-overlay__input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark);
  padding: .65rem 0;
}
.search-overlay__input::placeholder {
  color: var(--gray-400);
  font-weight: 400;
}
.search-overlay__input::-webkit-search-cancel-button {
  cursor: pointer;
}
.search-overlay__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border: none;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
  padding: .75rem 1.15rem;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 4px 14px rgba(255, 107, 53, .35);
}
.search-overlay__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 107, 53, .4);
}
.search-overlay__submit-icon {
  display: none;
}
.search-overlay__hint {
  font-size: .8rem;
  color: var(--gray-500);
  padding-left: .25rem;
}
.search-overlay__hint kbd {
  display: inline-block;
  padding: .1rem .4rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  background: #fff;
  font-size: .72rem;
  font-family: inherit;
  color: var(--gray-700);
}
@media (max-width: 640px) {
  .search-overlay {
    padding: 4.5rem .75rem 1.5rem;
    align-items: flex-start;
  }
  .search-overlay__panel {
    padding: 1.15rem;
    border-radius: var(--radius-lg);
  }
  .search-overlay__title {
    font-size: 1.15rem;
  }
  .search-overlay__field {
    flex-wrap: wrap;
    border-radius: var(--radius-lg);
    padding: .75rem;
    gap: .5rem;
  }
  .search-overlay__input {
    width: 100%;
    flex: 1 1 100%;
    padding: .35rem 0;
  }
  .search-overlay__submit {
    width: 100%;
    padding: .85rem 1rem;
  }
  .search-overlay__submit-text {
    display: inline;
  }
}
@media (min-width: 641px) {
  .search-overlay__submit-icon {
    display: inline-block;
  }
}

/* ── UTILITIES ── */
.text-primary { color: var(--primary); }
.text-muted { color: var(--gray-500); }
.font-bold { font-weight: 700; }
.text-sm { font-size: .875rem; }
.text-xs { font-size: .75rem; }
.mt-auto { margin-top: auto; }
.w-full { width: 100%; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: .5rem; }
.hidden { display: none !important; }

/* ── ANIMATIONS ── */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── SCROLL TO TOP ── */
.scroll-top { position: fixed; bottom: 1.5rem; right: 1.5rem; width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; border: none; cursor: pointer; display: none; align-items: center; justify-content: center; box-shadow: var(--shadow-md); transition: var(--transition); z-index: 500; font-size: 1rem; }
.scroll-top.visible { display: flex; }
.scroll-top:hover { background: var(--primary-dark); transform: translateY(-2px); }
