/* Maanit Frontend Styles */
:root {
  --pink: #FF6B9D;
  --pink-dark: #e5558a;
  --pink-light: #fff0f5;
  --purple: #c44dff;
  --teal: #4dd0e1;
  --font-primary: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-primary); color: #333; }

/* Navbar */
.navbar {
  background: white;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  padding: 12px 0;
}

.navbar-brand {
  font-size: 24px;
  font-weight: 800;
  color: #333;
  display: flex;
  align-items: center;
}

.navbar-brand .brand-text span { color: var(--pink); }

.nav-link {
  font-weight: 500;
  color: #555 !important;
  padding: 8px 16px !important;
  font-size: 14px;
  transition: color 0.2s;
}

.nav-link:hover { color: var(--pink) !important; }

.cart-icon {
  position: relative;
  color: #333;
  text-decoration: none;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--pink);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

/* Hero Slider */
.hero-slider .carousel-item { position: relative; }
.hero-slider .carousel-item::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.5) 0%, transparent 100%);
}

.carousel-caption {
  text-align: left;
  left: 10%;
  right: 50%;
  bottom: 80px;
}

.carousel-caption h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 15px;
}

.carousel-caption p {
  font-size: 18px;
  margin-bottom: 20px;
  opacity: 0.9;
}

/* Section */
.section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, var(--pink), var(--purple));
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Category Card */
.category-card {
  background: white;
  border-radius: 16px;
  padding: 25px 15px;
  text-align: center;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.category-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}

.category-card h5 {
  font-size: 15px;
  font-weight: 700;
  color: #333;
  margin-bottom: 5px;
}

/* Product Card */
.product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  height: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-img {
  position: relative;
  overflow: hidden;
  height: 220px;
}

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

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

.badge-sale {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--pink);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.badge-trending {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--teal);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.product-info {
  padding: 16px;
}

.product-info h6 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.sale-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--pink);
}

.original-price {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
}

.feature-tag {
  background: #f0f0f0;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  color: #666;
}

.add-to-cart-btn {
  width: 100%;
  padding: 8px;
  background: var(--pink);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  margin-top: 10px;
  transition: background 0.2s;
  cursor: pointer;
}

.add-to-cart-btn:hover { background: var(--pink-dark); }

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--pink-light) 0%, #e0f7fa 100%);
  padding: 40px 0;
}

.page-header h1 {
  font-size: 32px;
  font-weight: 800;
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
  font-size: 13px;
}

.breadcrumb-item a { color: var(--pink); text-decoration: none; }

/* Filter Sidebar */
.filter-sidebar {
  background: white;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li a {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  color: #555;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
  transition: color 0.2s;
}

.category-list li a:hover,
.category-list li a.active {
  color: var(--pink);
  font-weight: 600;
}

/* Product Detail */
.product-gallery .main-image {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.product-gallery .main-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.thumbnail-list {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.thumbnail-list img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid transparent;
  transition: border 0.2s;
}

.thumbnail-list img:hover { border-color: var(--pink); }

.product-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 10px;
}

.product-price-large .sale-price {
  font-size: 36px;
}

.product-price-large .original-price {
  font-size: 22px;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: 6px 0;
  font-size: 14px;
  color: #555;
}

.feature-list li i { margin-right: 10px; }

.qty-selector {
  display: flex;
  align-items: center;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
}

.qty-selector button {
  width: 40px;
  height: 40px;
  border: none;
  background: #f8f9fa;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.qty-selector button:hover { background: #eee; }

.qty-selector input {
  width: 50px;
  text-align: center;
  border: none;
  border-left: 2px solid #e0e0e0;
  border-right: 2px solid #e0e0e0;
  height: 40px;
  font-weight: 700;
  font-size: 14px;
}

.qty-selector input:focus { outline: none; }

/* Promo Section */
.promo-section {
  background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
  padding: 80px 0;
  color: white;
}

.promo-section h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 20px;
}

.promo-section p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 30px;
}

/* Footer */
.footer {
  background: #1a1a2e;
  color: white;
  padding: 60px 0 20px;
}

.footer h5 { font-size: 20px; }
.footer h5 span { color: var(--pink); }
.footer h6 { font-size: 15px; }

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  padding: 6px 0;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

.footer-links li a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

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

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.2s;
}

.social-link:hover {
  background: var(--pink);
  color: white;
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 992px) {
  .navbar-nav { padding: 15px 0; }
  .nav-link { padding: 10px 0 !important; font-size: 16px; }
  .filter-sidebar { margin-bottom: 20px; }
  .product-img { height: 200px; }
}

@media (max-width: 768px) {
  .carousel-caption { left: 5%; right: 5%; bottom: 30px; }
  .carousel-caption h2 { font-size: 20px; }
  .carousel-caption p { font-size: 13px; margin-bottom: 10px; }
  .carousel-caption .btn { padding: 8px 20px; font-size: 13px; }
  .hero-slider .carousel-item img { height: 250px !important; }
  .section { padding: 30px 0; }
  .section-title { font-size: 22px; margin-bottom: 25px; }
  .product-img { height: 160px; }
  .product-info { padding: 12px; }
  .product-info h6 { font-size: 13px; }
  .sale-price { font-size: 15px; }
  .original-price { font-size: 12px; }
  .add-to-cart-btn { font-size: 12px; padding: 6px; }
  .product-gallery .main-image img { height: 250px; }
  .product-title { font-size: 20px; }
  .product-price-large .sale-price { font-size: 26px; }
  .page-header { padding: 25px 0; }
  .page-header h1 { font-size: 24px; }
  .promo-section { padding: 50px 0; }
  .promo-section h2 { font-size: 28px; }
  .footer { padding: 40px 0 20px; }
  .footer h5 { font-size: 18px; }
  .category-card { padding: 15px 10px; }
  .category-card h5 { font-size: 13px; }
  .category-card img { width: 60px; height: 60px; }
  .qty-selector input { width: 40px; }
  .qty-selector button { width: 35px; height: 35px; font-size: 16px; }
  .content-area h2 { font-size: 22px; }
  .thumbnail-list img { width: 50px; height: 50px; }
  .section { animation: none; }
  .cart-item-img { width: 60px !important; height: 60px !important; }
}

@media (max-width: 576px) {
  .hero-slider .carousel-item img { height: 200px !important; }
  .carousel-caption h2 { font-size: 17px; }
  .carousel-caption p { font-size: 12px; }
  .product-img { height: 140px; }
  .product-info h6 { font-size: 12px; }
  .sale-price { font-size: 14px; }
  .original-price { font-size: 11px; }
  .badge-sale { font-size: 10px; padding: 3px 8px; }
  .badge-trending { font-size: 10px; padding: 3px 8px; }
  .promo-section h2 { font-size: 22px; }
  .promo-section p { font-size: 14px; }
  .footer-links li { font-size: 13px; }
}

/* Cart empty state */
.cart-item { transition: all 0.3s; }

/* Content area for pages */
.content-area {
  font-size: 16px;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

.content-area h2 { font-size: 28px; font-weight: 700; margin: 30px 0 15px; }
.content-area p { margin-bottom: 15px; color: #555; }

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.section { animation: fadeInUp 0.5s ease-out; }
.product-card, .category-card { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }