:root {
  --brand-pink: #ff7eb9;
  --brand-soft-yellow: #ffe36f;
  --brand-blue: #ff9ccf;
  --brand-yellow: #ffd54f;
  --brand-orange: #ff8a3d;
  --brand-cyan: #2cc7d9;
  --brand-purple: #7c5cff;
  --surface: #ffffff;
  --text-dark: #2c233d;
  --text-muted: #6b6e87;
  --shadow-soft: 0 24px 60px rgba(30, 22, 47, 0.08);
}

body {
  background: radial-gradient(circle at top left, rgba(255, 149, 197, 0.18), transparent 24%),
              radial-gradient(circle at bottom right, rgba(255, 213, 79, 0.14), transparent 28%),
              linear-gradient(180deg, #fff5fb 0%, #fff8f0 40%, #fffdf4 100%);
  color: var(--text-dark);
  min-height: 100vh;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

header {
  position: relative;
  z-index: 1100;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px rgba(17, 42, 76, 0.08);
}

header .nav-link,
header .dropdown-toggle,
header .text-decoration-none,
header .btn {
  color: var(--text-dark) !important;
}

header .nav-link:hover,
header .dropdown-toggle:hover,
header .text-decoration-none:hover,
header .btn:hover {
  color: var(--brand-orange) !important;
}

.topbar {
  background: linear-gradient(90deg, rgba(255, 121, 184, 0.12), rgba(255, 213, 79, 0.18));
}

.hero-section {
  background: radial-gradient(circle at top left, rgba(255, 205, 60, 0.18), transparent 30%),
              radial-gradient(circle at bottom right, rgba(255, 126, 185, 0.18), transparent 28%),
              linear-gradient(135deg, rgba(255, 152, 204, 0.95), rgba(255, 224, 102, 0.96));
  border-radius: 2rem;
  color: #42234d;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.hero-section::after {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  top: -50px;
  right: -50px;
}

.hero-section .badge {
  background: rgba(255, 255, 255, 0.18);
  color: #42234d;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-section .btn-hero {
  background: linear-gradient(135deg, var(--brand-pink), var(--brand-soft-yellow));
  color: var(--text-dark);
  font-weight: 700;
  border-radius: 999px;
  padding: 1rem 2.5rem;
  box-shadow: 0 20px 45px rgba(255, 130, 173, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-section .btn-hero:hover,
.hero-section .btn-hero:focus {
  transform: translateY(-2px);
  box-shadow: 0 24px 55px rgba(255, 133, 61, 0.28);
}

.featured-products .card,
.testimonial-card,
.trust-card {
  border: none;
  border-radius: 1.6rem;
}

.trust-card {
  background: rgba(245, 250, 255, 0.9);
}

.trust-section .trust-card h5,
.testimonial-card p {
  color: var(--text-dark);
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(20, 40, 78, 0.08);
}

.testimonials .card {
  min-height: 220px;
}

.btn-outline-primary {
  color: var(--brand-blue);
  border-color: rgba(45, 136, 255, 0.28);
  background: rgba(255, 255, 255, 0.92);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-pink), var(--brand-soft-yellow));
  border-color: transparent;
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, #ff9ac6, #ffe58f);
  transform: translateY(-2px);
  box-shadow: 0 18px 35px rgba(255, 154, 192, 0.22);
}

.btn-outline-primary {
  color: var(--brand-pink);
  border-color: rgba(255, 121, 184, 0.28);
  background: rgba(255, 245, 251, 0.95);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background: rgba(255, 213, 229, 0.35);
}

.btn-outline-success {
  color: var(--brand-soft-yellow);
  border-color: rgba(255, 213, 79, 0.28);
  background: rgba(255, 255, 255, 0.92);
}

.btn-outline-success:hover,
.btn-outline-success:focus {
  background: rgba(255, 236, 166, 0.28);
}

.form-control {
  border-radius: 999px;
  border: 1px solid rgba(20, 61, 107, 0.16);
}

.form-control:focus {
  box-shadow: 0 0 0 0.15rem rgba(25, 118, 210, 0.18);
  border-color: #1976d2;
}

.product-card,
.card {
  border: none;
  border-radius: 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.35s ease, filter 0.25s ease;
  overflow: hidden;
  opacity: 0.92;
}

.product-card:hover,
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 38px 80px rgba(7, 35, 79, 0.15);
  opacity: 1;
  filter: saturate(1.08);
}

.product-card .card-img-top,
.card .card-img {
  border-top-left-radius: 1.75rem;
  border-top-right-radius: 1.75rem;
}

.card-title {
  color: var(--text-dark);
  font-weight: 700;
}

.text-muted {
  color: var(--text-muted) !important;
}

.page-heading {
  color: var(--text-dark);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.page-subtitle {
  color: #4f657a;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

.category-sidebar {
  margin-top: 1rem;
  border-radius: 1.5rem;
  overflow: hidden;
}

.category-item {
  border: none;
  border-bottom: 1px solid rgba(15, 35, 85, 0.08);
  padding: 1rem 1.15rem;
  background: transparent;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.category-item:last-child {
  border-bottom: none;
}

.category-item:hover {
  transform: translateX(6px);
  background: rgba(45, 136, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(45, 136, 255, 0.12);
}

.category-child {
  padding-left: 1.85rem;
  color: rgba(20, 40, 78, 0.75);
}

.dropdown-menu {
  position: absolute;
  z-index: 2100;
  border-radius: 1rem;
  box-shadow: 0 20px 45px rgba(20, 61, 107, 0.12);
}

.pagination .page-link {
  border-radius: 0.85rem;
}

.pagination .page-item.active .page-link {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: #ffffff;
}

.dashboard-sidebar {
  border: 1px solid rgba(17, 42, 76, 0.06);
  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(247,251,255,0.96));
}

.dashboard-brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
  color: #ffffff;
  font-weight: 800;
  margin-bottom: 0.7rem;
}

.dashboard-sidebar .list-group-item.active {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
  border-color: transparent;
}

.dashboard-topbar {
  padding: 0.85rem 1rem;
  border-radius: 1.2rem;
  background: linear-gradient(90deg, rgba(45,136,255,0.08), rgba(23,197,113,0.08));
}

.dashboard-user-card {
  padding: 0.8rem 0.95rem;
  border-radius: 0.95rem;
  background: rgba(45, 136, 255, 0.06);
}

.chatbot-fab {
  position: fixed !important;
  right: 1.5rem !important;
  bottom: 1.5rem !important;
  width: 4rem !important;
  height: 4rem !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, var(--brand-pink), var(--brand-soft-yellow)) !important;
  color: #ffffff !important;
  box-shadow: 0 24px 60px rgba(30, 22, 47, 0.24) !important;
  cursor: pointer !important;
  z-index: 99999 !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.chatbot-fab::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(255, 121, 184, 0.22);
  animation: chatbotPulse 2s infinite;
}

.chatbot-fab:hover,
.chatbot-fab:focus-visible,
.chatbot-fab.active {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 24px 50px rgba(17, 42, 76, 0.26);
  filter: brightness(1.03);
}

.chatbot-panel {
  position: fixed;
  right: 1.25rem;
  bottom: 5.5rem;
  width: min(92vw, 340px);
  max-height: min(72vh, 500px);
  display: flex;
  flex-direction: column;
  border-radius: 1.2rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 60px rgba(17, 42, 76, 0.18);
  border: 1px solid rgba(17, 42, 76, 0.08);
  z-index: 2200;
  transform: translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.chatbot-panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.chatbot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.95rem 1rem;
  background: linear-gradient(135deg, rgba(45, 136, 255, 0.16), rgba(23, 197, 113, 0.18));
  border-bottom: 1px solid rgba(17, 42, 76, 0.08);
}

.chatbot-header h6 {
  font-weight: 800;
  color: var(--text-dark);
}

.chatbot-header small {
  color: var(--text-muted);
  display: block;
  margin-top: 0.15rem;
}

.chatbot-close {
  border: none;
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(17, 42, 76, 0.08);
}

.chatbot-messages {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  overflow-y: auto;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.95), rgba(255, 255, 255, 1));
}

.chatbot-messages::-webkit-scrollbar {
  width: 6px;
}

.chatbot-messages::-webkit-scrollbar-thumb {
  background: rgba(45, 136, 255, 0.25);
  border-radius: 999px;
}

.chatbot-bubble {
  max-width: 86%;
  padding: 0.8rem 0.95rem;
  border-radius: 1rem 1rem 1rem 0.35rem;
  font-size: 0.95rem;
  line-height: 1.45;
  box-shadow: 0 8px 20px rgba(17, 42, 76, 0.06);
}

.chatbot-bubble.bot {
  align-self: flex-start;
  background: linear-gradient(135deg, #f7fbff, #eef7ff);
  color: var(--text-dark);
  border: 1px solid rgba(45, 136, 255, 0.08);
}

.chatbot-bubble.user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
  color: #ffffff;
  border-radius: 1rem 1rem 0.35rem 1rem;
}

.chatbot-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0 1rem 0.85rem;
}

.chatbot-suggestion {
  border: 1px solid rgba(45, 136, 255, 0.2);
  border-radius: 999px;
  background: #ffffff;
  color: var(--brand-blue);
  padding: 0.45rem 0.7rem;
  font-size: 0.85rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chatbot-suggestion:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(45, 136, 255, 0.12);
}

.chatbot-input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem 1rem;
  border-top: 1px solid rgba(17, 42, 76, 0.07);
  background: rgba(255, 255, 255, 0.92);
}

.chatbot-input-row input {
  flex: 1;
  border: 1px solid rgba(17, 42, 76, 0.12);
  border-radius: 999px;
  padding: 0.7rem 0.9rem;
  box-shadow: inset 0 1px 2px rgba(17, 42, 76, 0.04);
}

.chatbot-input-row input:focus {
  outline: none;
  border-color: rgba(45, 136, 255, 0.35);
  box-shadow: 0 0 0 3px rgba(45, 136, 255, 0.12);
}

.chatbot-input-row button {
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
  color: #ffffff;
  width: 2.6rem;
  height: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(45, 136, 255, 0.18);
}

.chatbot-bubble.typing {
  font-style: italic;
  color: var(--text-muted);
  background: #f7faff;
}

@keyframes chatbotPulse {
  0% {
    transform: scale(0.96);
    opacity: 0.75;
  }
  70% {
    transform: scale(1.08);
    opacity: 0;
  }
  100% {
    transform: scale(1.08);
    opacity: 0;
  }
}

@media (max-width: 576px) {
  .chatbot-panel {
    right: 0.75rem;
    left: 0.75rem;
    width: auto;
    bottom: 4.75rem;
  }

  .chatbot-fab {
    right: 0.75rem;
    bottom: 0.75rem;
  }
}

.alert {
  border-radius: 1rem;
}

.site-footer {
  background: linear-gradient(180deg, rgba(255, 214, 176, 0.98), rgba(255, 184, 218, 0.98));
  color: rgba(45, 29, 52, 0.94);
}

.site-footer .footer-title {
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: #4b2046;
  font-weight: 700;
}

.site-footer .footer-text,
.site-footer .footer-list,
.site-footer .footer-social {
  color: rgba(75, 32, 70, 0.8);
}

.site-footer .footer-list li,
.site-footer .footer-social li {
  margin-bottom: 0.8rem;
}

.site-footer .footer-social-label {
  font-weight: 700;
  color: #4b2046;
}

.site-footer .footer-bottom {
  border-color: rgba(75, 32, 70, 0.16);
}

main.container {
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}

header .btn-primary {
  background: linear-gradient(135deg, var(--brand-green), var(--brand-blue));
  box-shadow: 0 18px 25px rgba(22, 128, 203, 0.16);
}

.hero-section {
  background: linear-gradient(135deg, rgba(23, 197, 113, 0.95), rgba(45, 136, 255, 0.96));
  border-radius: 2rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.hero-section::after {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 213, 79, 0.18);
  top: -40px;
  right: -40px;
}

.promo-slider .carousel-inner,
.promo-slider .promo-video-wrapper {
  min-height: 420px;
  max-height: 520px;
}

.promo-slider .carousel-item img,
.promo-slider .carousel-item video {
  height: 100%;
  object-fit: cover;
}

.promo-slider .carousel-caption {
  background: rgba(20, 40, 78, 0.42);
  border-radius: 1rem;
  padding: 1.5rem;
  max-width: 520px;
}

.promo-slider .carousel-caption h5 {
  font-size: 1.8rem;
}

.btn {
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-pink), var(--brand-soft-yellow));
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, #ff9ac6, #ffe58f);
  transform: translateY(-2px);
  box-shadow: 0 18px 35px rgba(255, 154, 192, 0.22);
}

.btn-outline-primary {
  color: var(--brand-pink);
  border-color: rgba(255, 121, 184, 0.28);
  background: rgba(255, 245, 251, 0.95);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background: rgba(255, 213, 229, 0.35);
}

.btn-outline-danger {
  border-color: rgba(255, 84, 84, 0.28);
}

.btn-outline-success {
  color: var(--brand-soft-yellow);
  border-color: rgba(255, 213, 79, 0.28);
  background: rgba(255, 255, 255, 0.92);
}

.btn-outline-success:hover,
.btn-outline-success:focus {
  background: rgba(255, 236, 166, 0.28);
}

.form-control {
  border-radius: 999px;
  border: 1px solid rgba(225, 180, 195, 0.42);
}

.form-control:focus {
  box-shadow: 0 0 0 0.15rem rgba(255, 121, 184, 0.18);
  border-color: rgba(255, 121, 184, 0.45);
}

.product-card,
.card {
  border: none;
  border-radius: 1.35rem;
  box-shadow: 0 24px 50px rgba(7, 35, 79, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.35s ease, filter 0.25s ease;
  overflow: hidden;
  opacity: 0.65;
}

.product-card:hover,
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 32px 70px rgba(7, 35, 79, 0.14);
  opacity: 1;
  filter: saturate(1.05);
}

.product-card .card-img-top,
.card .card-img {
  border-top-left-radius: 1.35rem;
  border-top-right-radius: 1.35rem;
}

.card-title {
  color: var(--deep-navy);
  font-weight: 700;
}

.text-muted {
  color: var(--text-muted) !important;
}

.page-heading {
  color: var(--text-dark);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.page-subtitle {
  color: #4f657a;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

.btn .ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple-effect 0.6s linear;
  background: rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

@keyframes ripple-effect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.badge-category {
  background: rgba(255, 183, 77, 0.18);
  color: #d67e16;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
}

#backToTop {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  border: none;
  background: var(--brand-blue);
  color: #ffffff;
  box-shadow: 0 18px 35px rgba(45, 136, 255, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  display: grid;
  place-items: center;
  z-index: 2200;
}

#backToTop.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backToTop i {
  font-size: 1.3rem;
}

.sidebar-card {
  border: none;
  border-radius: 1.75rem;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,252,255,0.95));
}

.sidebar-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.category-sidebar {
  margin-top: 1rem;
  border-radius: 1.25rem;
  overflow: hidden;
}

.category-item {
  border: none;
  border-bottom: 1px solid rgba(15, 35, 85, 0.08);
  padding: 0.95rem 1rem;
  background: transparent;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.category-item:last-child {
  border-bottom: none;
}

.category-item a {
  display: block;
}

.category-item:hover {
  transform: translateX(4px);
  background: rgba(45, 136, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(45, 136, 255, 0.1);
}

.category-child {
  padding-left: 1.75rem;
  color: rgba(20, 40, 78, 0.8);
}

.dropdown-menu {
  position: absolute;
  z-index: 2100;
  border-radius: 1rem;
  box-shadow: 0 20px 45px rgba(20, 61, 107, 0.12);
}

.pagination .page-link {
  border-radius: 0.85rem;
}

.pagination .page-item.active .page-link {
  background: var(--warm-orange);
  border-color: var(--warm-orange);
  color: #ffffff;
}

.alert {
  border-radius: 1rem;
}

.site-footer {
  background: linear-gradient(180deg, rgba(37, 55, 94, 0.98), rgba(20, 34, 64, 0.98));
  color: rgba(255, 255, 255, 0.92);
}

.site-footer .footer-title {
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: #ffffff;
  font-weight: 700;
}

.site-footer .footer-text,
.site-footer .footer-list,
.site-footer .footer-social {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer .footer-list li,
.site-footer .footer-social li {
  margin-bottom: 0.8rem;
}

.site-footer .footer-social-label {
  font-weight: 700;
  color: #ffffff;
}

.site-footer .footer-bottom {
  border-color: rgba(255, 255, 255, 0.12);
}

main.container {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}
