:root {
  --pink-light: #FFD1DC;
  --pink-main: #FFB6C1;
  --pink-dark: #FF91A4;
  --pink-hot: #FF6B8A;
  --blue-pastel: #B5E2FA;
  --blue-main: #87CEEB;
  --blue-dark: #5DADE2;
  --yellow-mallow: #FFE5B4;
  --yellow-main: #FFDAB9;
  --yellow-dark: #FFB347;
  --yellow-glow: #FFA500;
  --mint: #A8E6CF;
  --mint-light: #D4F1E8;
  --lavender: #D5B4E8;
  --peach: #FFCCBC;
  --coral: #FF8A80;
  --text-dark: #2D3436;
  --text-medium: #636E72;
  --text-light: #B2BEC3;
  --white: #FFFFFF;
  --cream: #FFF8F0;
  --shadow: 0 10px 30px rgba(255, 182, 193, 0.25);
  --shadow-hover: 0 20px 40px rgba(255, 145, 164, 0.35);
  --shadow-glow: 0 8px 24px rgba(255, 107, 138, 0.45);
  --radius: 28px;
  --radius-sm: 20px;
  --radius-xs: 12px;
  --gradient-rainbow: linear-gradient(135deg, #FF6B8A 0%, #FFB347 50%, #A8E6CF 100%);
  --gradient-candy: linear-gradient(135deg, #FF9A9E 0%, #FECFEF 50%, #FBC2EB 100%);
  --gradient-sky: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-sunset: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.skip-link {
  position: absolute;
  top: -40px;
  right: 0;
  background: var(--pink-main);
  color: white;
  padding: 8px 16px;
  z-index: 100000;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Vazir', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.8;
  overflow-x: hidden;
  direction: rtl;
  text-align: right;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 182, 193, 0.3);
  transition: all 0.3s ease;
  overflow: visible;
}

header.scrolled {
  box-shadow: 0 4px 20px rgba(255, 182, 193, 0.2);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 24px;
  overflow: visible;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-dark);
  flex-shrink: 0;
}

.logo svg {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 4px 8px rgba(255, 182, 193, 0.4));
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--pink-dark), var(--yellow-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 16px;
  align-items: center;
  flex-wrap: nowrap;
  overflow: visible;
  padding-bottom: 4px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-medium);
  font-weight: 500;
  font-size: 0.85rem;
  transition: color 0.3s ease;
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, var(--pink-dark), var(--blue-main));
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--pink-hot);
}

.nav-user-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px !important;
  border-radius: 50px;
  background: linear-gradient(135deg, rgba(255, 107, 138, 0.1), rgba(255, 179, 71, 0.1));
  border: 2px solid rgba(255, 107, 138, 0.3);
  transition: all 0.3s ease;
}

.nav-user-link:hover {
  background: linear-gradient(135deg, var(--pink-hot), var(--yellow-glow)) !important;
  color: white !important;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 138, 0.3);
}

.nav-user-link .user-icon {
  font-size: 1.1rem;
}

.nav-user-link .user-text {
  font-size: 0.85rem;
  font-weight: 600;
}

.cart-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 107, 138, 0.1), rgba(255, 179, 71, 0.1));
  border: 2px solid rgba(255, 107, 138, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
}

.cart-link:hover {
  background: linear-gradient(135deg, var(--pink-hot), var(--yellow-glow));
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 138, 0.3);
  border-color: transparent;
}

.cart-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: linear-gradient(135deg, #FF6B8A, #FF8A80);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
  box-shadow: 0 2px 8px rgba(255, 107, 138, 0.4);
  animation: pulse-glow 2s ease-in-out infinite;
}

.logout-link:hover {
  background: linear-gradient(135deg, #C62828, #E53935) !important;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(198, 40, 40, 0.3);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--pink-hot);
  font-weight: 700;
}

.nav-links a.active::after {
  width: 100%;
  background: linear-gradient(135deg, var(--pink-hot), var(--yellow-glow));
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dropdown-toggle .arrow {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--white);
  min-width: 240px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hover);
  padding: 8px 0;
  z-index: 10000;
  border: 1px solid rgba(255, 182, 193, 0.3);
}

.dropdown-menu li {
  list-style: none;
  position: relative;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.dropdown-menu a:hover {
  background: var(--cream);
  color: var(--pink-dark);
}

/* Nested dropdown */
.dropdown-menu .dropdown {
  position: relative;
}

.dropdown-menu .dropdown .dropdown-menu {
  top: 0;
  right: 100%;
  margin-right: 4px;
  z-index: 10000;
}

.dropdown-menu .dropdown-toggle::after {
  content: '▸';
  font-size: 0.8rem;
  margin-right: 8px;
}

.dropdown-menu .dropdown.open > .dropdown-toggle::after {
  content: '▾';
}

/* Click-based dropdown */
.dropdown > .dropdown-menu {
  display: none;
}

.dropdown.open > .dropdown-menu,
.dropdown .dropdown.open > .dropdown-menu {
  display: block;
}

.dropdown.open > .dropdown-menu {
  animation: fadeIn 0.2s ease;
}

.dropdown .dropdown.open > .dropdown-menu {
  animation: fadeIn 0.2s ease;
}

.dropdown-menu .dropdown.open > .dropdown-menu {
  display: block;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hero */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, var(--pink-light) 0%, var(--blue-pastel) 50%, var(--yellow-mallow) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.7);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--text-medium);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.3;
  color: var(--text-dark);
}

.hero h1 span {
  background: linear-gradient(135deg, var(--pink-dark), var(--yellow-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-medium);
  margin-bottom: 32px;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink-dark), var(--yellow-dark));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(255, 145, 164, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255, 145, 164, 0.5);
}

.btn-secondary {
  background: var(--white);
  color: var(--text-dark);
  margin-right: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Sections */
section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.section-header p {
  color: var(--text-medium);
  font-size: 1.1rem;
}

/* Categories */
.categories {
  background: var(--white);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--pink-light);
}

.category-image {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}

.category-image.pink {
  background: linear-gradient(135deg, #FFE5EC 0%, #FFD1DC 100%);
}

.category-image.blue {
  background: linear-gradient(135deg, #E0F7FA 0%, #B5E2FA 100%);
}

.category-image.yellow {
  background: linear-gradient(135deg, #FFF8E1 0%, #FFE5B4 100%);
}

.category-image.purple {
  background: linear-gradient(135deg, #F3E5F5 0%, #E1BEE7 100%);
}

.category-image.green {
  background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
}

.category-info {
  padding: 24px;
}

.category-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.category-info p {
  font-size: 0.9rem;
  color: var(--text-medium);
  margin-bottom: 16px;
}

.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.category-card:hover .tag {
  transform: translateY(-2px) scale(1.05);
}

/* Subcategories */
.subcategory-section {
  background: var(--cream);
}

.subcategory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.subcategory-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.subcategory-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--blue-pastel);
}

.subcategory-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 16px;
}

.subcategory-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.subcategory-card p {
  font-size: 0.85rem;
  color: var(--text-medium);
}

/* Products */
.products {
  background: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--yellow-mallow);
}

.product-image {
  width: 100%;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  position: relative;
  z-index: 1;
}

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

.product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--pink-dark);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
}

.product-info {
  padding: 20px;
}

.product-category {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 6px;
}

.product-info h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.product-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--pink-dark);
}

.product-price old {
  font-size: 0.9rem;
  color: var(--text-light);
  text-decoration: line-through;
  margin-left: 8px;
  font-weight: 400;
}

/* Address */
.address {
  background: linear-gradient(135deg, var(--pink-light) 0%, var(--yellow-mallow) 100%);
  position: relative;
  overflow: hidden;
}

.address-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}

.address-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-light), var(--yellow-mallow));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 24px;
}

.address-card h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.address-card p {
  color: var(--text-medium);
  font-size: 1.05rem;
  margin-bottom: 12px;
  line-height: 2;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--pink-dark), var(--yellow-dark));
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.map-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 145, 164, 0.4);
}

/* Footer */
footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand .logo-text {
  font-size: 1.8rem;
  margin-bottom: 16px;
  display: block;
  background: linear-gradient(135deg, var(--pink-main), var(--yellow-main));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer-links h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 240, 0.95));
  border-top: 3px solid rgba(255, 107, 138, 0.3);
  box-shadow: 0 -8px 24px rgba(255, 145, 164, 0.2);
  z-index: 99999;
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
  justify-content: space-between;
  align-items: flex-end;
}

.mobile-bottom-nav .nav-left {
  display: flex;
  gap: 24px;
  flex: 1;
  justify-content: flex-end;
  padding-left: 16px;
}

.mobile-bottom-nav .nav-center {
  display: flex;
  justify-content: center;
}

.mobile-bottom-nav .nav-right {
  display: flex;
  justify-content: flex-start;
  flex: 1;
  padding-right: 16px;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-medium);
  transition: all 0.3s ease;
  padding: 4px 12px;
}

.mobile-nav-item .nav-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.mobile-nav-item.home {
  background: linear-gradient(135deg, var(--pink-hot) 0%, var(--yellow-glow) 100%);
  color: var(--white);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -20px;
  box-shadow: 0 8px 24px rgba(255, 107, 138, 0.5);
  padding: 0;
  animation: bounce 2s ease-in-out infinite;
}

.mobile-nav-item.home .nav-icon {
  font-size: 1.75rem;
}

.mobile-nav-item:active {
  transform: scale(0.95);
}

/* ========== PLAYFUL CHILDLIKE ENHANCEMENTS ========== */

/* Bouncy animations */
@keyframes bouncy {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-8px) rotate(-2deg); }
  50% { transform: translateY(-4px) rotate(1deg); }
  75% { transform: translateY(-12px) rotate(-1deg); }
}

@keyframes wobbly {
  0%, 100% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(-3deg) scale(1.02); }
  50% { transform: rotate(2deg) scale(0.98); }
  75% { transform: rotate(-1deg) scale(1.01); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

@keyframes pulse-cute {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-5deg); }
  75% { transform: rotate(5deg); }
}

@keyframes pop-in {
  0% { transform: scale(0); opacity: 0; }
  70% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0); }
  50% { opacity: 1; transform: scale(1); }
}

/* Playful button styles */
.btn {
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, #FF9A9E 0%, #FFD1DC 50%, #FFE5B4 100%);
  color: var(--text-dark);
  box-shadow: 0 6px 20px rgba(255, 154, 158, 0.4);
  border: 3px solid white;
  animation: pulse-cute 2s ease-in-out infinite;
}

.btn-primary:hover {
  transform: translateY(-4px) rotate(-2deg) scale(1.05);
  box-shadow: 0 12px 30px rgba(255, 154, 158, 0.5);
  animation: wiggle 0.5s ease-in-out;
}

.btn-secondary {
  background: linear-gradient(135deg, #B5E2FA 0%, #E8F4FD 100%);
  color: var(--text-dark);
  border: 3px solid white;
  box-shadow: 0 4px 16px rgba(181, 226, 250, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-4px) rotate(2deg) scale(1.05);
  box-shadow: 0 10px 24px rgba(181, 226, 250, 0.4);
  animation: wiggle 0.5s ease-in-out;
}

/* Playful card styles */
.product-card,
.category-card,
.cart-item {
  border-radius: 30px;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border: 4px solid transparent;
  position: relative;
}

.product-card::before,
.category-card::before {
  content: '';
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #FF9A9E, #FFD1DC);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.product-card:hover::before,
.category-card:hover::before {
  opacity: 1;
}

.product-card:hover,
.category-card:hover {
  transform: translateY(-12px) rotate(1deg) scale(1.02);
  box-shadow: 0 20px 50px rgba(255, 154, 158, 0.3);
  border-color: var(--pink-light);
}

/* Playful product image */
.product-image,
.category-image {
  border-radius: 26px;
  position: relative;
  overflow: hidden;
}

.product-image::after,
.category-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  transition: left 0.6s;
}

.product-card:hover .product-image::after,
.category-card:hover .category-image::after {
  left: 100%;
}

/* Playful badges */
.product-badge,
.category-badge {
  border-radius: 50px;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  animation: bouncy 2s ease-in-out infinite;
  border: 2px solid white;
}

/* Playful header */
header {
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom: 3px dashed rgba(255, 182, 193, 0.4);
}

/* Playful dropdown */
.dropdown-menu {
  border-radius: 24px;
  border: 3px solid var(--pink-light);
  box-shadow: 0 10px 40px rgba(255, 182, 193, 0.3);
  animation: pop-in 0.3s ease;
}

.dropdown-menu a {
  transition: all 0.3s ease;
  border-radius: 16px;
  margin: 0 8px;
  padding: 10px 16px !important;
}

.dropdown-menu a:hover {
  background: linear-gradient(135deg, #FFE5EC, #FFF8E1) !important;
  transform: translateX(-5px);
  border-radius: 16px;
}

/* Playful hero */
.hero {
  background: linear-gradient(135deg, #FFE5EC 0%, #E8F4FD 25%, #FFF8E1 50%, #F3E5F5 75%, #FFE5EC 100%);
  position: relative;
}

.hero::before {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 182, 193, 0.3) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(181, 226, 250, 0.3) 0%, transparent 70%);
  animation: float 10s ease-in-out infinite reverse;
}

.hero-badge {
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,240,245,0.9));
  border: 2px solid rgba(255, 182, 193, 0.3);
  box-shadow: 0 4px 20px rgba(255, 107, 138, 0.2);
  animation: bouncy 3s ease-in-out infinite;
  border-radius: 50px;
}

.hero h1 {
  font-weight: 900;
  text-shadow: 3px 3px 0px rgba(255, 182, 193, 0.3);
  animation: wiggle 4s ease-in-out infinite;
}

.hero h1 span {
  display: inline-block;
  animation: pulse-cute 2s ease-in-out infinite;
}

/* Playful inputs */
.form-group input,
.form-group textarea {
  border-radius: 20px;
  border: 3px solid rgba(255, 182, 193, 0.4);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--pink-hot);
  box-shadow: 0 0 0 6px rgba(255, 107, 138, 0.15);
  transform: scale(1.02);
}

/* Playful section headers */
.section-header h2 {
  position: relative;
  display: inline-block;
  animation: pop-in 0.6s ease;
}

/* Playful address section */
.address {
  background: linear-gradient(135deg, #FFE5EC 0%, #FFE5B4 30%, #E8F4FD 60%, #F3E5F5 100%);
}

.address-card {
  border-radius: 40px;
  border: 4px solid white;
  box-shadow: 0 20px 60px rgba(255, 145, 164, 0.3);
  animation: bouncy 4s ease-in-out infinite;
}

.address-icon {
  border-radius: 50%;
  animation: wiggle 3s ease-in-out infinite;
  border: 4px solid white;
}

/* Playful footer */
footer {
  background: linear-gradient(135deg, #FF9A9E 0%, #FFD1DC 50%, #B5E2FA 100%);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #FF6B8A, #FFB347, #A8E6CF, #87CEEB, #D5B4E8);
  animation: float 3s ease-in-out infinite;
}

/* Playful scrollbar */
::-webkit-scrollbar {
  width: 14px;
}

::-webkit-scrollbar-track {
  background: linear-gradient(135deg, #FFE5EC, #FFF8E1);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #FF9A9E, #FFD1DC, #B5E2FA);
  border-radius: 20px;
  border: 3px solid #FFE5EC;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #FF6B8A, #FFB347, #87CEEB);
}

/* Playful selection */
::selection {
  background: linear-gradient(135deg, #FFD1DC, #B5E2FA);
  color: var(--text-dark);
}

/* Playful focus states */
a:focus, button:focus, input:focus, textarea:focus {
  outline: 4px solid var(--pink-hot);
  outline-offset: 4px;
  border-radius: 12px;
}

/* Playful notification */
.cart-notification {
  border-radius: 50px;
  border: 3px solid white;
  box-shadow: 0 8px 30px rgba(255, 154, 158, 0.5);
  animation: bouncy 0.5s ease;
}

/* Playful cart styles */
.cart-item {
  border-radius: 24px;
  border: 3px solid transparent;
  transition: all 0.3s ease;
}

.cart-item:hover {
  border-color: var(--pink-light);
  transform: translateX(-5px);
}

.qty-btn {
  border-radius: 50%;
  border: 3px solid var(--pink-light);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.qty-btn:hover {
  background: linear-gradient(135deg, var(--pink-hot), var(--yellow-glow));
  color: white;
  transform: rotate(90deg) scale(1.1);
  border-color: transparent;
}

/* Playful cart summary */
.cart-summary {
  border-radius: 30px;
  border: 4px solid white;
  box-shadow: 0 15px 50px rgba(255, 182, 193, 0.3);
}

/* Playful auth card */
.auth-card {
  border-radius: 40px;
  border: 4px solid white;
  box-shadow: 0 20px 60px rgba(255, 154, 158, 0.3);
}

.auth-icon {
  border-radius: 50%;
  border: 4px solid white;
  animation: wiggle 3s ease-in-out infinite;
}

/* Playful mobile nav */
.mobile-bottom-nav {
  background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(255,248,240,0.95));
  border-top: 3px dashed rgba(255, 107, 138, 0.3);
  box-shadow: 0 -8px 30px rgba(255, 145, 164, 0.2);
}

.mobile-nav-item {
  color: var(--text-medium);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.mobile-nav-item:active {
  transform: scale(0.9) rotate(-5deg);
}

.mobile-nav-item.home {
  background: linear-gradient(135deg, #FF9A9E 0%, #FFD1DC 50%, #FFE5B4 100%);
  box-shadow: 0 8px 24px rgba(255, 154, 158, 0.5);
  animation: bouncy 2s ease-in-out infinite;
}

/* Playful dropdown arrow */
.dropdown-toggle .arrow {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.dropdown.open > .dropdown-toggle .arrow {
  transform: rotate(180deg);
}

/* Responsive */
@media (max-width: 768px) {
  body {
    padding-bottom: 80px;
  }

  .mobile-bottom-nav {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 0;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
    z-index: 1001;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    background: var(--cream);
    border-radius: var(--radius-sm);
    padding: 4px 0;
    margin-top: 4px;
    margin-right: 16px;
  }

  .dropdown.open > .dropdown-menu {
    display: block;
  }

  .dropdown-toggle::after {
    content: ' ▸';
    float: left;
    font-weight: bold;
  }

  .dropdown.open > .dropdown-toggle::after {
    content: ' ▾';
  }

  .dropdown-menu .dropdown-toggle::after {
    content: ' ▸';
  }

  .dropdown-menu .dropdown.open > .dropdown-toggle::after {
    content: ' ▾';
  }

  .dropdown-menu .dropdown-menu {
    margin-right: 12px;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .address-card {
    padding: 32px 24px;
  }
}

/* Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.marshmallow-float {
  animation: float 4s ease-in-out infinite;
}

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

/* The fade-in class is used broadly across page sections and product cards.
   It must never hide real visible content. Keep entries fully visible by default
   and leave the observer-driven animation only to add an interaction state. */
.fade-in,
.fade-in.visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  transition: all 0.6s ease;
}

/* Overlay for mobile menu */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
}

.overlay.active {
  display: block;
}

/* ========== AUTHENTICATION STYLES ========== */

.auth-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  background: linear-gradient(135deg, #FFE5EC 0%, #E8F4FD 30%, #FFF8E1 60%, #F3E5F5 100%);
  position: relative;
  overflow: hidden;
}

.auth-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 182, 193, 0.5) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatShape 10s ease-in-out infinite;
}

.auth-section::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(181, 226, 250, 0.5) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatShape 12s ease-in-out infinite reverse;
}

.auth-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 240, 0.95));
  border-radius: var(--radius);
  padding: 48px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(255, 145, 164, 0.35);
  position: relative;
  z-index: 2;
  border: 2px solid rgba(255, 182, 193, 0.3);
  backdrop-filter: blur(10px);
}

.auth-header {
  text-align: center;
  margin-bottom: 36px;
}

.auth-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-hot) 0%, var(--yellow-glow) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(255, 107, 138, 0.4);
  animation: bounce 2s ease-in-out infinite;
}

.auth-header h2 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.auth-header p {
  color: var(--text-medium);
  font-size: 1rem;
}

.alert {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-error {
  background: linear-gradient(135deg, #FFE5EC, #FFCCBC);
  color: #C62828;
  border: 1px solid #FF8A80;
}

.alert-success {
  background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
  color: #2E7D32;
  border: 1px solid #A5D6A7;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 48px 14px 48px;
  border: 2px solid rgba(255, 182, 193, 0.3);
  border-radius: var(--radius-sm);
  font-family: 'Vazirmatn', sans-serif;
  font-size: 0.95rem;
  background: var(--white);
  color: var(--text-dark);
  transition: all 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--pink-hot);
  box-shadow: 0 0 0 4px rgba(255, 107, 138, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 107, 138, 0.12), rgba(255, 179, 71, 0.12));
  border-radius: 10px;
  pointer-events: none;
  opacity: 1;
  z-index: 2;
}

textarea ~ .input-icon {
  top: 20px;
  transform: none;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: -8px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-medium);
}

.checkbox-label input {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 182, 193, 0.5);
  border-radius: 6px;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.checkbox-label input:checked + .checkmark {
  background: linear-gradient(135deg, var(--pink-hot), var(--yellow-glow));
  border-color: var(--pink-hot);
}

.checkbox-label input:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
}

.forgot-link {
  color: var(--pink-hot);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.forgot-link:hover {
  color: var(--yellow-glow);
  text-decoration: underline;
}

.btn-block {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.btn-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(-5px);
}

.auth-footer {
  text-align: center;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 182, 193, 0.3);
}

.auth-footer p {
  color: var(--text-medium);
  font-size: 0.95rem;
}

.auth-link {
  color: var(--pink-hot);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease;
}

.auth-link:hover {
  color: var(--yellow-glow);
  text-decoration: underline;
}

.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Cart Notification */
.cart-notification {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: linear-gradient(135deg, #2D3436, #636E72);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 99999;
  opacity: 0;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cart-notification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Cart Page Styles */
.cart-section {
  min-height: 100vh;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #FFE5EC 0%, #E8F4FD 30%, #FFF8E1 60%, #F3E5F5 100%);
}

.cart-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.cart-header {
  text-align: center;
  margin-bottom: 48px;
}

.cart-header h2 {
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.cart-header p {
  color: var(--text-medium);
  font-size: 1.1rem;
}

.cart-empty {
  text-align: center;
  padding: 80px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cart-empty-icon {
  font-size: 5rem;
  margin-bottom: 24px;
  opacity: 0.5;
}

.cart-empty h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.cart-empty p {
  color: var(--text-medium);
  margin-bottom: 32px;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.cart-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  gap: 20px;
  align-items: center;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.cart-item:hover {
  border-color: rgba(255, 182, 193, 0.3);
}

.cart-item-image {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.cart-item-info .cart-item-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--pink-hot);
  margin-bottom: 12px;
}

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

.qty-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255, 182, 193, 0.3);
  background: var(--white);
  color: var(--text-dark);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: linear-gradient(135deg, var(--pink-hot), var(--yellow-glow));
  color: var(--white);
  border-color: transparent;
}

.qty-value {
  font-size: 1.1rem;
  font-weight: 700;
  min-width: 32px;
  text-align: center;
}

.cart-item-remove {
  background: none;
  border: none;
  color: #C62828;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.cart-item-remove:hover {
  background: #FFE5EC;
  transform: scale(1.1);
}

.cart-summary {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 2px solid rgba(255, 182, 193, 0.3);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 1.05rem;
  color: var(--text-medium);
}

.cart-summary-row.total {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid rgba(255, 182, 193, 0.3);
  margin-bottom: 0;
}

.cart-summary-row.total .total-price {
  color: var(--pink-hot);
  font-size: 1.6rem;
}

.cart-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.cart-actions .btn {
  flex: 1;
  min-width: 200px;
  justify-content: center;
}

.btn-checkout {
  background: linear-gradient(135deg, var(--pink-hot) 0%, var(--yellow-glow) 100%);
  color: var(--white);
  box-shadow: var(--shadow-glow);
}

.btn-checkout:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255, 107, 138, 0.5);
}

.btn-cancel {
  background: var(--white);
  color: #C62828;
  border: 2px solid #FF8A80;
}

.btn-cancel:hover {
  background: #FFE5EC;
  transform: translateY(-3px);
}

/* Add to cart button on product cards */
.product-card .add-to-cart-wrapper,
.category-card .add-to-cart-wrapper {
  padding: 0 20px 20px;
}

.add-to-cart-btn {
  width: 100%;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: none;
  background: linear-gradient(135deg, var(--pink-hot), var(--yellow-glow));
  color: var(--white);
  font-family: 'Vazirmatn', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(255, 107, 138, 0.3);
}

.add-to-cart-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(255, 107, 138, 0.4);
}

.add-to-cart-btn:active {
  transform: translateY(0) scale(0.98);
}

.add-to-cart-btn .btn-cart-icon {
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .auth-card {
    padding: 32px 24px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .form-options {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  
  .auth-header h2 {
    font-size: 1.6rem;
  }
}

/* ========== PLAYFUL FANTASY ENHANCEMENTS ========== */

/* Floating decorative shapes */
.shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
  animation: floatShape 8s ease-in-out infinite;
}

.shape.circle {
  border-radius: 50%;
}

.shape.star {
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.shape.cloud {
  border-radius: 100px;
  opacity: 0.4;
}

@keyframes floatShape {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-30px) rotate(5deg);
  }
  50% {
    transform: translateY(-15px) rotate(-3deg);
  }
  75% {
    transform: translateY(-40px) rotate(2deg);
  }
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(255, 107, 138, 0.4), 0 0 20px rgba(255, 107, 138, 0.2);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 107, 138, 0.8), 0 0 40px rgba(255, 107, 138, 0.4);
  }
}

@keyframes wiggle {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-3deg);
  }
  75% {
    transform: rotate(3deg);
  }
}

/* Hero enhancements */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, #FFE5EC 0%, #E8F4FD 30%, #FFF8E1 60%, #F3E5F5 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255, 182, 193, 0.5) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatShape 10s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(181, 226, 250, 0.5) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatShape 12s ease-in-out infinite reverse;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 240, 245, 0.9));
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pink-hot);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(255, 107, 138, 0.2);
  animation: bounce 2s ease-in-out infinite;
  border: 2px solid rgba(255, 107, 138, 0.2);
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 24px;
  line-height: 1.3;
  color: var(--text-dark);
  text-shadow: 2px 2px 0px rgba(255, 182, 193, 0.3);
}

.hero h1 span {
  background: linear-gradient(135deg, var(--pink-hot) 0%, var(--yellow-glow) 50%, var(--blue-main) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: wiggle 3s ease-in-out infinite;
  display: inline-block;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-medium);
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Playful buttons */
.btn {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink-hot) 0%, var(--yellow-glow) 100%);
  color: var(--white);
  box-shadow: var(--shadow-glow);
  transform-origin: center;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 36px rgba(255, 107, 138, 0.6);
  animation: pulse-glow 2s ease-in-out infinite;
}

.btn-secondary {
  background: var(--white);
  color: var(--text-dark);
  margin-right: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 2px solid rgba(255, 182, 193, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
  border-color: var(--pink-main);
  background: linear-gradient(135deg, var(--white) 0%, var(--cream) 100%);
}

/* Colorful section headers */
.section-header h2 {
  font-size: 2.6rem;
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--text-dark);
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 6px;
  background: linear-gradient(135deg, var(--pink-hot), var(--yellow-glow), var(--blue-main));
  border-radius: 10px;
}

.section-header p {
  color: var(--text-medium);
  font-size: 1.1rem;
  margin-top: 16px;
}

/* Playful category cards */
.category-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  cursor: pointer;
  border: 3px solid transparent;
  position: relative;
}

.category-card:hover {
  transform: translateY(-10px) rotate(1deg);
  box-shadow: 0 24px 48px rgba(255, 145, 164, 0.4);
  border-color: var(--pink-hot);
}

.category-image {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}

.category-image::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 70%);
  transform: rotate(45deg) translateX(-100%);
  transition: transform 0.6s;
}

.category-card:hover .category-image::before {
  transform: rotate(45deg) translateX(100%);
}

.category-image.pink {
  background: linear-gradient(135deg, #FFE5EC 0%, #FFD1DC 50%, #FFF0F3 100%);
}

.category-image.blue {
  background: linear-gradient(135deg, #E0F7FA 0%, #B5E2FA 50%, #E8F4FD 100%);
}

.category-image.yellow {
  background: linear-gradient(135deg, #FFF8E1 0%, #FFE5B4 50%, #FFFDE7 100%);
}

.category-image.purple {
  background: linear-gradient(135deg, #F3E5F5 0%, #E1BEE7 50%, #F8E4F8 100%);
}

.category-image.green {
  background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 50%, #E8F5E9 100%);
}

.category-image.mint {
  background: linear-gradient(135deg, #E0F7FA 0%, #A8E6CF 50%, #E8F5E9 100%);
}

.category-image.peach {
  background: linear-gradient(135deg, #FFCCBC 0%, #FFE5B4 50%, #FFE5EC 100%);
}

.category-image.coral {
  background: linear-gradient(135deg, #FF8A80 0%, #FFCCBC 50%, #FFE5EC 100%);
}

/* Colorful product cards */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border: 3px solid transparent;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(255, 107, 138, 0.35);
  border-color: var(--yellow-glow);
}

.product-image {
  width: 100%;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #FFF8F0 0%, #FFE5EC 100%);
}

.product-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-25deg);
  transition: left 0.8s;
}

.product-card:hover .product-image::after {
  left: 150%;
}

.product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--white);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  animation: bounce 2s ease-in-out infinite;
}

.product-badge.new {
  background: linear-gradient(135deg, #FF6B8A 0%, #FF8A80 100%);
}

.product-badge.popular {
  background: linear-gradient(135deg, #FFB347 0%, #FFA500 100%);
}

.product-badge.baby {
  background: linear-gradient(135deg, #87CEEB 0%, #5DADE2 100%);
}

.product-badge.sport {
  background: linear-gradient(135deg, #A8E6CF 0%, #4CAF50 100%);
}

/* Colorful address section */
.address {
  background: linear-gradient(135deg, #FFE5EC 0%, #FFE5B4 30%, #E8F4FD 60%, #F3E5F5 100%);
  position: relative;
  overflow: hidden;
}

.address::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 182, 193, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatShape 6s ease-in-out infinite;
}

.address::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(181, 226, 250, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatShape 8s ease-in-out infinite reverse;
}

.address-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 248, 240, 0.9));
  border-radius: var(--radius);
  padding: 48px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 16px 48px rgba(255, 145, 164, 0.25);
  position: relative;
  z-index: 2;
  border: 2px solid rgba(255, 182, 193, 0.3);
  backdrop-filter: blur(10px);
}

.address-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-hot) 0%, var(--yellow-glow) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  margin: 0 auto 24px;
  box-shadow: 0 8px 24px rgba(255, 107, 138, 0.4);
  animation: bounce 2s ease-in-out infinite;
}

.address-card h3 {
  font-size: 1.9rem;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--pink-hot) 0%, var(--yellow-glow) 100%);
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: var(--shadow-glow);
}

.map-link:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 32px rgba(255, 107, 138, 0.5);
}

/* Colorful footer */
footer {
  background: linear-gradient(135deg, #2D3436 0%, #636E72 100%);
  color: var(--white);
  padding: 60px 0 30px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pink-hot), var(--yellow-glow), var(--blue-main), var(--mint), var(--lavender));
}

.footer-brand .logo-text {
  font-size: 1.9rem;
  margin-bottom: 16px;
  display: block;
  background: linear-gradient(135deg, var(--pink-main), var(--yellow-main));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-links a:hover {
  color: var(--pink-main);
  text-shadow: 0 0 10px rgba(255, 182, 193, 0.5);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--cream);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--pink-main), var(--yellow-mallow));
  border-radius: 10px;
  border: 2px solid var(--cream);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--pink-dark), var(--yellow-dark));
}

/* Selection color */
::selection {
  background: linear-gradient(135deg, var(--pink-light), var(--yellow-mallow));
  color: var(--text-dark);
}

/* Playful focus states */
a:focus, button:focus {
  outline: 3px solid var(--pink-hot);
  outline-offset: 3px;
  border-radius: 8px;
}

/* Mobile bottom nav enhancements */
.mobile-bottom-nav {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 240, 0.95));
  border-top: 3px solid rgba(255, 107, 138, 0.3);
  box-shadow: 0 -8px 24px rgba(255, 145, 164, 0.2);
}

.mobile-nav-item {
  color: var(--text-medium);
  transition: all 0.3s ease;
}

.mobile-nav-item:active {
  transform: scale(0.9);
}

/* Category tags color variations */
.tag.pink {
  background: linear-gradient(135deg, #FFE5EC 0%, #FFD1DC 100%);
  color: var(--pink-hot);
}

.tag.blue {
  background: linear-gradient(135deg, #E8F4FD 0%, #B5E2FA 100%);
  color: var(--blue-dark);
}

.tag.yellow {
  background: linear-gradient(135deg, #FFF8E1 0%, #FFE5B4 100%);
  color: #E67E22;
}

.tag.purple {
  background: linear-gradient(135deg, #F3E5F5 0%, #E1BEE7 100%);
  color: #9B59B6;
}

.tag.green {
  background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
  color: #27AE60;
}
