/* =========================================
   CATAFEL KAWAII STORE - MAIN STYLES
   ========================================= */

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

/* =========================================
   CSS VARIABLES
   ========================================= */
:root {
  /* Colors */
  --pink: #FF85A1;
  --pink-light: #FFB3C6;
  --pink-dark: #E85D80;
  --pink-pale: #FFE4EF;
  --lavender: #C9B8FF;
  --lavender-light: #E8E0FF;
  --lavender-dark: #9B86FF;
  --yellow: #FFD93D;
  --yellow-light: #FFF0A0;
  --mint: #8BD8BD;
  --mint-light: #C5EDDF;
  --sky: #9FD8E3;
  --sky-light: #D6F0F5;
  --peach: #FFB380;
  --peach-light: #FFD5B8;
  --coral: #FF7F7F;
  --white: #FFFFFF;
  --bg-main: #FFF5F9;
  --bg-card: rgba(255, 255, 255, 0.85);
  --text-dark: #4A3F6B;
  --text-medium: #7A6B9A;
  --text-light: #BBA8D0;

  /* Gradients */
  --grad-pink: linear-gradient(135deg, #FF85A1, #FFB3C6);
  --grad-purple: linear-gradient(135deg, #C9B8FF, #E8D5FF);
  --grad-candy: linear-gradient(135deg, #FF85A1, #C9B8FF, #6ed6e9);
  --grad-sunset: linear-gradient(135deg, #FFB3C6, #FFD93D, #FFB380);
  --grad-ocean: linear-gradient(135deg, #9FD8E3, #C9B8FF);
  --grad-hero: linear-gradient(135deg, #FFF0F7 0%, #F0E8FF 50%, #E8F8FF 100%);
  --grad-bg: linear-gradient(180deg, #FFF5F9 0%, #F5EEFF 100%);

  /* Shadows */
  --shadow-sm: 0 4px 15px rgba(255, 133, 161, 0.15);
  --shadow-md: 0 8px 32px rgba(200, 100, 150, 0.18);
  --shadow-lg: 0 16px 48px rgba(200, 100, 150, 0.22);
  --shadow-pink: 0 8px 30px rgba(255, 133, 161, 0.4);
  --shadow-purple: 0 8px 30px rgba(201, 184, 255, 0.4);

  /* Border Radius */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --radius-xl: 40px;
  --radius-full: 9999px;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 5rem;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-index */
  --z-modal: 1000;
  --z-overlay: 900;
  --z-sticky: 800;
  --z-dropdown: 700;

  /* Brand Primary - Lavender Kawaii */
  --primary: #A988F2;
  --primary-light: #C4A8F8;
  --primary-dark: #8B6FD4;
  --primary-pale: #EDE5FF;
  --grad-primary: linear-gradient(135deg, #A988F2, #C4A8F8);
  --grad-brand: linear-gradient(135deg, #A988F2 0%, #F8A8C8 50%, #A8D8F8 100%);
}

/* =========================================
   RESET & BASE
   ========================================= */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Nunito', sans-serif;
  background: var(--grad-bg);
  color: var(--text-dark);
  min-height: 100vh;
  overflow-x: hidden;
  /* Kawaii star cursor — always visible, no z-index issues */
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cpath d='M16 2C17.5 9 23 11.5 30 16C23 20.5 17.5 23 16 30C14.5 23 9 20.5 2 16C9 11.5 14.5 9 16 2Z' fill='%23A988F2' stroke='white' stroke-width='2'/%3E%3Ccircle cx='16' cy='16' r='4' fill='white' opacity='.9'/%3E%3C/svg%3E") 16 16, auto;
}

a, button, [role="button"], label, select,
.product-card, .category-card, .featured-cat-card,
.social-card, .drawer-cat-item, [data-open-cart],
.slider-nav-btn, .slider-dot, .back-to-top, .hamburger,
.nav-action-btn, .cart-close, .drawer-close {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cpath d='M16 2C17.5 9 23 11.5 30 16C23 20.5 17.5 23 16 30C14.5 23 9 20.5 2 16C9 11.5 14.5 9 16 2Z' fill='%23FF85A1' stroke='white' stroke-width='2'/%3E%3Ccircle cx='16' cy='16' r='4' fill='white' opacity='.9'/%3E%3C/svg%3E") 16 16, pointer;
}

body.loading {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

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

input, textarea, select, button {
  font-family: 'Nunito', sans-serif;
  outline: none;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

/* =========================================
   CUSTOM CURSOR
   ========================================= */
/* Custom cursor is now handled by CSS cursor property on body/a/button.
   The .custom-cursor div is hidden; only the trail sparkle ring remains. */
.custom-cursor { display: none; }

.custom-cursor-trail {
  position: fixed;
  width: 30px;
  height: 30px;
  border: 2px solid rgba(169, 136, 242, 0.55);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  background: rgba(169, 136, 242, 0.06);
  transition: width 0.2s, height 0.2s, border-color 0.2s;
}

/* =========================================
   LOADING SCREEN
   ========================================= */
.loading-screen {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #FFE4EF 0%, #EEE4FF 50%, #E4F5FF 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-logo {
  font-family: 'Pacifico', cursive;
  font-size: 3rem;
  background: var(--grad-candy);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem;
  animation: pulseScale 1.2s ease-in-out infinite;
}

.loading-hearts {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.loading-heart {
  width: 12px;
  height: 12px;
  background: var(--pink);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  position: relative;
  animation: heartBeat 0.8s ease-in-out infinite;
}

.loading-heart:nth-child(2) { animation-delay: 0.15s; background: var(--lavender); }
.loading-heart:nth-child(3) { animation-delay: 0.3s; background: var(--mint); }
.loading-heart:nth-child(4) { animation-delay: 0.45s; background: var(--yellow); }
.loading-heart:nth-child(5) { animation-delay: 0.6s; background: var(--sky); }

.loading-text {
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  color: var(--text-medium);
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* =========================================
   SCROLLBAR
   ========================================= */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--grad-pink);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--pink-dark);
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'DynaPuff', 'Nunito', cursive;
  line-height: 1.3;
}

.section-title, .hero-title, .promo-title, .nav-logo, .drawer-brand-name {
  font-family: 'DynaPuff', cursive;
}

.gradient-text {
  background: var(--grad-candy);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.font-pacifico {
  font-family: 'Pacifico', cursive;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-medium);
  text-align: center;
  margin-bottom: 3rem;
}

/* =========================================
   LAYOUT
   ========================================= */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5rem 0;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-sm { gap: 0.5rem; }
.gap-md { gap: 1rem; }
.gap-lg { gap: 1.5rem; }

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition-bounce);
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.2);
  transform: scale(0);
  border-radius: inherit;
  transition: transform 0.3s ease;
}

.btn:hover::after {
  transform: scale(1);
}

.btn-primary {
  background: var(--grad-pink);
  color: var(--white);
  box-shadow: var(--shadow-pink);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(255, 133, 161, 0.5);
}

.btn-secondary {
  background: var(--grad-purple);
  color: var(--white);
  box-shadow: var(--shadow-purple);
}

.btn-secondary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(201, 184, 255, 0.5);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--pink);
  color: var(--pink);
}

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

.btn-white {
  background: var(--white);
  color: var(--pink-dark);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-mint {
  background: linear-gradient(135deg, #8BD8BD, #6EC8A8);
  color: var(--white);
  box-shadow: 0 8px 25px rgba(139, 216, 189, 0.4);
}

.btn-mint:hover {
  transform: translateY(-3px);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  font-size: 1.05rem;
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
}

/* =========================================
   HEADER / NAVBAR
   ========================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  transition: var(--transition);
  padding: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 2px 20px rgba(169,136,242,0.12);
}

.header > .container { padding-top: 0.7rem; padding-bottom: 0.7rem; }

.header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(255, 133, 161, 0.15);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  font-family: 'DynaPuff', cursive;
  font-size: 2.2rem;
  font-weight: 600;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.nav-logo-img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  flex-shrink: 0;
}

.nav-logo span {
  display: block;
  font-family: 'DynaPuff', cursive;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links a {
  font-weight: 700;
  color: var(--text-medium);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  position: relative;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--grad-pink);
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--pink-dark);
  background: var(--pink-pale);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-search {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid var(--pink-light);
  border-radius: var(--radius-full);
  padding: 0.4rem 1rem;
  gap: 0.5rem;
  transition: var(--transition);
  flex: 1;
  max-width: 280px;
}

.nav-search:focus-within {
  border-color: var(--pink);
  box-shadow: var(--shadow-sm);
}

.nav-search input {
  font-size: 0.9rem;
  color: var(--text-dark);
  width: 100%;
  background: none;
}

.nav-search input::placeholder {
  color: var(--text-light);
}

.nav-search button {
  color: var(--text-light);
  font-size: 1rem;
  padding: 0;
  background: none;
  transition: color 0.2s;
}

.nav-search button:hover {
  color: var(--pink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.nav-action-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-medium);
  border: 2px solid transparent;
  transition: var(--transition-bounce);
  position: relative;
}

.nav-action-btn:hover {
  background: var(--pink-pale);
  color: var(--pink-dark);
  border-color: var(--pink-light);
  transform: scale(1.1);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  background: var(--pink-dark);
  color: white;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid white;
}

.nav-user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--pink-light);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--pink-dark);
  border-radius: 3px;
  transition: var(--transition);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: var(--grad-hero);
  display: flex;
  align-items: center;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
}

.hero-shape-1 {
  width: 500px;
  height: 500px;
  background: var(--pink-light);
  top: -150px;
  right: -100px;
}

.hero-shape-2 {
  width: 400px;
  height: 400px;
  background: var(--lavender-light);
  bottom: -100px;
  left: -80px;
}

.hero-shape-3 {
  width: 300px;
  height: 300px;
  background: var(--sky-light);
  top: 50%;
  right: 30%;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 7rem 0 4rem;
}

.hero-text {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid var(--pink-light);
  border-radius: var(--radius-full);
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--pink-dark);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  animation: slideInLeft 0.6s ease both;
}

.hero-badge span {
  width: 8px;
  height: 8px;
  background: var(--pink);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.hero-title {
  font-family: 'Pacifico', cursive;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  animation: slideInLeft 0.7s ease 0.1s both;
}

.hero-title .gradient-text {
  display: block;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 500px;
  animation: slideInLeft 0.7s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: slideInLeft 0.7s ease 0.3s both;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  animation: slideInLeft 0.7s ease 0.4s both;
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  font-size: 1.8rem;
  font-weight: 900;
  background: var(--grad-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: slideInRight 0.8s ease 0.2s both;
}

.hero-image-wrap {
  position: relative;
  width: 420px;
  height: 480px;
}

.hero-main-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 179, 198, 0.3);
  z-index: 3;
  animation: floatCard 3s ease-in-out infinite;
}

.hero-card-img {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: linear-gradient(135deg, var(--pink-pale), var(--lavender-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  margin-bottom: 0.75rem;
}

.hero-card-name {
  font-weight: 800;
  color: var(--text-dark);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.hero-card-price {
  font-weight: 900;
  color: var(--pink-dark);
  font-size: 1.1rem;
}

.hero-floating-card {
  position: absolute;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(15px);
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.hero-floating-card:nth-child(2) {
  top: 5%;
  right: 0;
  animation: floatCard 3s ease-in-out 0.5s infinite;
}

.hero-floating-card:nth-child(3) {
  bottom: 10%;
  left: 0;
  animation: floatCard 3s ease-in-out 1s infinite;
}

.hero-floating-card:nth-child(4) {
  top: 30%;
  left: -10px;
  animation: floatCard 3s ease-in-out 1.5s infinite;
}

.floating-card-icon {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.floating-card-text {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
}

.floating-card-subtext {
  font-size: 0.7rem;
  color: var(--text-light);
}

/* Floating elements */
.floating-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.float-elem {
  position: absolute;
  animation: floatElem linear infinite;
  font-size: 1.2rem;
  opacity: 0.6;
}

/* =========================================
   MARQUEE BANNER
   ========================================= */
.marquee-section {
  background: var(--grad-candy);
  padding: 0.75rem 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marqueeScroll 20s linear infinite;
  width: max-content;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.marquee-item span {
  font-size: 1.1rem;
}

/* =========================================
   CATEGORIES SECTION
   ========================================= */
.categories-section {
  padding: 5rem 0 4rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.category-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.75rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-bounce);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}

.category-card:nth-child(1)::before { background: linear-gradient(135deg, rgba(255,133,161,0.1), rgba(255,179,198,0.1)); }
.category-card:nth-child(2)::before { background: linear-gradient(135deg, rgba(201,184,255,0.1), rgba(232,224,255,0.1)); }
.category-card:nth-child(3)::before { background: linear-gradient(135deg, rgba(139,216,189,0.1), rgba(197,237,223,0.1)); }
.category-card:nth-child(4)::before { background: linear-gradient(135deg, rgba(255,217,61,0.1), rgba(255,240,160,0.1)); }
.category-card:nth-child(5)::before { background: linear-gradient(135deg, rgba(159,216,227,0.1), rgba(214,240,245,0.1)); }
.category-card:nth-child(6)::before { background: linear-gradient(135deg, rgba(255,179,128,0.1), rgba(255,213,184,0.1)); }

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

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

.category-icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
  transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
  transform: scale(1.2) rotate(5deg);
}

.category-name {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.category-count {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 600;
}

/* =========================================
   PRODUCT CARDS
   ========================================= */
.products-section {
  padding: 4rem 0 5rem;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-header-text .section-subtitle {
  text-align: left;
  margin-bottom: 0;
}

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

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-bounce);
  border: 2px solid transparent;
  position: relative;
  backdrop-filter: blur(10px);
}

.product-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: var(--shadow-lg);
  border-color: var(--pink-light);
}

.product-image-wrap {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--pink-pale), var(--lavender-light));
  aspect-ratio: 1;
}

.product-image-wrap img,
.product-image-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

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

.product-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.badge {
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-new { background: var(--mint); color: white; }
.badge-sale { background: var(--coral); color: white; }
.badge-hot { background: var(--yellow); color: var(--text-dark); }
.badge-limited { background: var(--lavender); color: white; }
.badge-out { background: #ccc; color: white; }

.product-actions {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transform: translateX(60px);
  transition: transform 0.3s ease;
}

.product-card:hover .product-actions {
  transform: translateX(0);
}

.product-action-btn {
  width: 36px;
  height: 36px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-bounce);
  color: var(--text-medium);
  cursor: pointer;
  border: 1.5px solid transparent;
}

.product-action-btn:hover {
  background: var(--pink-pale);
  color: var(--pink-dark);
  border-color: var(--pink-light);
  transform: scale(1.15);
}

.product-action-btn.active {
  background: var(--pink-pale);
  color: var(--pink-dark);
}

.product-info {
  padding: 1.25rem;
}

.product-category {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pink);
  margin-bottom: 0.35rem;
}

.product-name {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.stars {
  display: flex;
  gap: 2px;
}

.star {
  color: var(--yellow);
  font-size: 0.8rem;
}

.star.empty {
  color: #E0D8EC;
}

.rating-count {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 600;
}

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.product-price-group {
  display: flex;
  flex-direction: column;
}

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

.product-original-price {
  font-size: 0.8rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.product-add-cart {
  width: 38px;
  height: 38px;
  background: var(--grad-pink);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-pink);
  cursor: pointer;
  transition: var(--transition-bounce);
  flex-shrink: 0;
}

.product-add-cart:hover {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 6px 20px rgba(255,133,161,0.5);
}

.product-add-cart:disabled {
  background: #ccc;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.product-stock {
  font-size: 0.72rem;
  font-weight: 700;
  margin-top: 0.5rem;
}

.product-stock.in-stock { color: var(--mint); }
.product-stock.low-stock { color: var(--peach); }
.product-stock.out-stock { color: #ccc; }

/* =========================================
   FEATURES SECTION
   ========================================= */
.features-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(255,229,240,0.5) 0%, rgba(238,230,255,0.5) 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-bounce);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,0.8);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

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

.feature-icon-wrap.pink { background: linear-gradient(135deg, #FFE4EF, #FFB3C6); }
.feature-icon-wrap.purple { background: linear-gradient(135deg, #EEE4FF, #C9B8FF); }
.feature-icon-wrap.mint { background: linear-gradient(135deg, #E4F8F0, #8BD8BD); }
.feature-icon-wrap.yellow { background: linear-gradient(135deg, #FFF9E0, #FFD93D); }

.feature-title {
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--text-medium);
  line-height: 1.7;
}

/* =========================================
   BANNER / PROMO
   ========================================= */
.promo-section {
  padding: 4rem 0;
}

.promo-banner {
  background: var(--grad-candy);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.promo-banner-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.promo-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.promo-circle-1 { width: 300px; height: 300px; top: -100px; right: -80px; }
.promo-circle-2 { width: 200px; height: 200px; bottom: -60px; left: -60px; }
.promo-circle-3 { width: 150px; height: 150px; top: 30%; left: 10%; }

.promo-tag {
  display: inline-block;
  background: rgba(255,255,255,0.3);
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: var(--radius-full);
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.promo-title {
  font-family: 'Pacifico', cursive;
  font-size: 3rem;
  color: white;
  margin-bottom: 1rem;
  text-shadow: 2px 4px 15px rgba(0,0,0,0.1);
}

.promo-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================
   REVIEWS SECTION
   ========================================= */
.reviews-section {
  padding: 5rem 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.review-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-bounce);
  border: 2px solid rgba(255,255,255,0.8);
  position: relative;
  backdrop-filter: blur(10px);
}

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

.review-quote {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 3rem;
  color: var(--pink-pale);
  font-family: Georgia, serif;
  line-height: 1;
}

.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
}

.review-text {
  font-size: 0.92rem;
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--pink-pale), var(--lavender-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  border: 2px solid var(--pink-light);
  flex-shrink: 0;
}

.review-name {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.review-product {
  font-size: 0.76rem;
  color: var(--text-light);
}

/* =========================================
   NEWSLETTER
   ========================================= */
.newsletter-section {
  padding: 4rem 0;
}

.newsletter-card {
  background: linear-gradient(135deg, #FFF0F7, #F5EEFF);
  border-radius: var(--radius-xl);
  padding: 3.5rem 3rem;
  text-align: center;
  border: 2px solid rgba(255,179,198,0.3);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.newsletter-emoji {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: inline-block; /* importante */
  background: #f0f0f0;
  padding: 0.5rem;
  border-radius: 50%; /* círculo */
}

.newsletter-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.newsletter-desc {
  color: var(--text-medium);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-input {
  flex: 1;
  min-width: 200px;
  padding: 0.8rem 1.25rem;
  border: 2px solid var(--pink-light);
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  background: white;
  color: var(--text-dark);
  transition: var(--transition);
}

.newsletter-input:focus {
  border-color: var(--pink);
  box-shadow: var(--shadow-sm);
  outline: none;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: linear-gradient(180deg, #2A1F3D 0%, #1A1228 100%);
  color: rgba(255,255,255,0.8);
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer-bg-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-candy);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .nav-logo {
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.12);
  transition: var(--transition-bounce);
}

.social-link:hover {
  background: var(--pink);
  color: white;
  border-color: var(--pink);
  transform: translateY(-4px) scale(1.1);
}

.footer-heading {
  font-weight: 800;
  font-size: 0.95rem;
  color: white;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-text {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom-text a {
  color: var(--pink-light);
}

.footer-payments {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.payment-icon {
  padding: 0.3rem 0.6rem;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.1);
}

/* =========================================
   CART SIDEBAR
   ========================================= */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(60,30,80,0.5);
  backdrop-filter: blur(4px);
  z-index: var(--z-overlay);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 400px;
  max-width: 95vw;
  background: var(--bg-main);
  z-index: var(--z-modal);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 50px rgba(60, 30, 80, 0.15);
}

.cart-sidebar.active {
  transform: translateX(0);
}

.cart-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--pink-pale);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
}

.cart-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--pink-pale);
  color: var(--pink-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-bounce);
  font-size: 1rem;
}

.cart-close:hover {
  transform: scale(1.1) rotate(90deg);
  background: var(--pink);
  color: white;
}

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.cart-item {
  display: flex;
  gap: 0.75rem;
  background: white;
  border-radius: var(--radius-md);
  padding: 0.875rem;
  margin-bottom: 0.75rem;
  border: 2px solid transparent;
  transition: var(--transition);
}

.cart-item:hover {
  border-color: var(--pink-light);
  box-shadow: var(--shadow-sm);
}

a.cart-item-name {
  color: inherit;
  text-decoration: none;
}
a.cart-item-name:hover {
  color: var(--pink-dark);
  text-decoration: underline;
}

.cart-item-img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: linear-gradient(135deg, var(--pink-pale), var(--lavender-light));
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

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

.cart-item-name {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.cart-item-price {
  font-weight: 900;
  color: var(--pink-dark);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--pink-pale);
  color: var(--pink-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition-bounce);
  border: 1.5px solid var(--pink-light);
}

.qty-btn:hover {
  background: var(--pink);
  color: white;
  border-color: var(--pink);
  transform: scale(1.1);
}

.qty-value {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text-dark);
  min-width: 20px;
  text-align: center;
}

.cart-item-remove {
  font-size: 0.85rem;
  color: var(--text-light);
  cursor: pointer;
  transition: color 0.2s;
  padding: 4px;
  align-self: flex-start;
}

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

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  text-align: center;
  flex: 1;
}

.cart-empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.cart-empty-title {
  font-weight: 800;
  color: var(--text-medium);
  margin-bottom: 0.5rem;
}

.cart-empty-desc {
  font-size: 0.88rem;
  color: var(--text-light);
}

.cart-footer {
  padding: 1.25rem;
  background: white;
  border-bottom: 1px solid var(--pink-pale);
  flex-shrink: 0;
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed var(--pink-pale);
}

.cart-subtotal-label {
  font-size: 0.9rem;
  color: var(--text-medium);
  font-weight: 600;
}

.cart-subtotal-amount {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--pink-dark);
}

/* =========================================
   TOAST NOTIFICATIONS
   ========================================= */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99997;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: white;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
  min-width: 280px;
  max-width: 380px;
  border-left: 4px solid var(--pink);
  animation: toastSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  position: relative;
  overflow: hidden;
}

.toast::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--pink);
  animation: toastProgress 3s linear forwards;
}

.toast.success { border-color: var(--mint); }
.toast.success::before { background: var(--mint); }
.toast.error { border-color: var(--coral); }
.toast.error::before { background: var(--coral); }
.toast.warning { border-color: var(--yellow); }
.toast.warning::before { background: var(--yellow); }

.toast-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.toast-text {
  flex: 1;
}

.toast-title {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 0.15rem;
}

.toast-msg {
  font-size: 0.82rem;
  color: var(--text-medium);
}

.toast-close {
  color: var(--text-light);
  font-size: 0.9rem;
  cursor: pointer;
  transition: color 0.2s;
  padding: 2px;
}

.toast-close:hover {
  color: var(--text-dark);
}

.toast.hiding {
  animation: toastSlideOut 0.3s ease forwards;
}

/* =========================================
   MODAL
   ========================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(60,30,80,0.6);
  backdrop-filter: blur(6px);
  z-index: var(--z-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

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

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

.modal-header {
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid var(--pink-pale);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text-dark);
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--pink-pale);
  color: var(--pink-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-bounce);
  font-size: 1rem;
}

.modal-close:hover {
  background: var(--pink);
  color: white;
  transform: scale(1.1) rotate(90deg);
}

.modal-body {
  padding: 1.5rem;
}

/* =========================================
   FORMS
   ========================================= */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.form-label span {
  color: var(--coral);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--lavender-light);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: white;
  transition: var(--transition);
  font-family: 'Nunito', sans-serif;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(255,133,161,0.15);
  outline: none;
}

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

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23BBA8D0'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 20px;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-error {
  font-size: 0.78rem;
  color: var(--coral);
  font-weight: 600;
  margin-top: 0.35rem;
  display: none;
}

.form-group.error .form-error {
  display: block;
}

.form-group.error .form-input,
.form-group.error .form-select,
.form-group.error .form-textarea {
  border-color: var(--coral);
}

.form-hint {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 0.35rem;
}

/* =========================================
   BREADCRUMB
   ========================================= */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.breadcrumb a {
  color: var(--text-light);
  font-weight: 600;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--pink);
}

.breadcrumb-sep {
  color: var(--text-light);
  font-size: 0.75rem;
}

.breadcrumb-current {
  color: var(--pink);
  font-weight: 700;
}

/* =========================================
   PAGINATION
   ========================================= */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.page-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-medium);
  background: white;
  border: 2px solid var(--lavender-light);
  cursor: pointer;
  transition: var(--transition-bounce);
}

.page-btn:hover {
  background: var(--pink-pale);
  border-color: var(--pink);
  color: var(--pink-dark);
  transform: scale(1.1);
}

.page-btn.active {
  background: var(--grad-pink);
  border-color: transparent;
  color: white;
  box-shadow: var(--shadow-pink);
}

/* =========================================
   PAGE HEADER
   ========================================= */
.page-header {
  background: linear-gradient(135deg, #FFF0F7, #F5EEFF);
  padding: 8rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.page-header h1 {
  font-size: 2.8rem;
  font-weight: 900;
  position: relative;
  z-index: 1;
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1.1rem;
  color: var(--text-medium);
  position: relative;
  z-index: 1;
}

/* =========================================
   FILTER BAR
   ========================================= */
.filter-bar {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  border: 2px solid rgba(255,179,198,0.2);
}

.category-filters-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex: 1;
  flex-wrap: wrap;
}

.extra-filters-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.extra-filters-checks {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}
.filter-check-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-medium);
  white-space: nowrap;
}
.filter-count {
  margin-left: auto;
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 600;
  white-space: nowrap;
}

.filter-tag {
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-bounce);
  border: 2px solid var(--lavender-light);
  color: var(--text-medium);
  background: white;
}

.filter-tag:hover {
  border-color: var(--pink-light);
  color: var(--pink-dark);
  background: var(--pink-pale);
}

.filter-tag.active {
  background: var(--grad-pink);
  border-color: transparent;
  color: white;
  box-shadow: var(--shadow-pink);
}

.sort-select {
  margin-left: auto;
  padding: 0.4rem 0.9rem;
  border: 2px solid var(--lavender-light);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-medium);
  background: white;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23BBA8D0'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 18px;
  padding-right: 2rem;
}

/* =========================================
   PRODUCT DETAIL
   ========================================= */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: 100px;
}

.gallery-main {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(135deg, var(--pink-pale), var(--lavender-light));
  aspect-ratio: 1;
  margin-bottom: 1rem;
  position: relative;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-main img:hover {
  transform: scale(1.05);
}

.gallery-main-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
}

.gallery-thumbs {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
}

.gallery-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--pink-pale), var(--lavender-light));
}

.gallery-thumb.active {
  border-color: var(--pink);
  box-shadow: var(--shadow-sm);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-info {
  padding-top: 1rem;
}

.product-detail-category {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pink);
  margin-bottom: 0.75rem;
}

.product-detail-name {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.product-detail-rating {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.product-detail-price-wrap {
  margin-bottom: 1.5rem;
}

.product-detail-price {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--pink-dark);
  line-height: 1;
}

.product-detail-original {
  font-size: 1.1rem;
  color: var(--text-light);
  text-decoration: line-through;
  margin-left: 0.75rem;
}

.product-detail-discount {
  display: inline-block;
  background: var(--coral);
  color: white;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-left: 0.75rem;
}

.product-detail-desc {
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.product-detail-divider {
  height: 1px;
  background: linear-gradient(to right, var(--pink-pale), transparent);
  margin: 1.5rem 0;
}

.product-qty-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.qty-control-large {
  display: flex;
  align-items: center;
  gap: 0;
  border: 2px solid var(--lavender-light);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.qty-btn-large {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-medium);
  font-size: 1rem;
  font-weight: 800;
  transition: var(--transition);
  background: white;
}

.qty-btn-large:hover {
  background: var(--pink-pale);
  color: var(--pink-dark);
}

.qty-input {
  width: 50px;
  text-align: center;
  font-weight: 800;
  font-size: 1rem;
  border: none;
  border-left: 1px solid var(--lavender-light);
  border-right: 1px solid var(--lavender-light);
  color: var(--text-dark);
  padding: 0.5rem 0;
  background: white;
}

.stock-info {
  font-size: 0.85rem;
  font-weight: 700;
}

.stock-info.in-stock { color: var(--mint); }
.stock-info.low-stock { color: var(--peach); }
.stock-info.out-stock { color: #ccc; }

.product-detail-actions {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.product-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.product-tag-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-medium);
}

.product-tag {
  padding: 0.25rem 0.75rem;
  background: var(--lavender-light);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--lavender-dark);
  cursor: pointer;
  transition: var(--transition);
}

.product-tag:hover {
  background: var(--lavender);
  color: white;
}

/* =========================================
   REVIEW FORM
   ========================================= */
.review-form-section {
  background: linear-gradient(135deg, var(--pink-pale), var(--lavender-light));
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
}

.star-rating-input {
  display: flex;
  gap: 0.5rem;
  font-size: 2rem;
  cursor: pointer;
  margin-bottom: 1rem;
}

.star-rating-input .star-input {
  color: #E0D8EC;
  transition: color 0.2s, transform 0.2s;
}

.star-rating-input .star-input.active,
.star-rating-input .star-input:hover {
  color: var(--yellow);
  transform: scale(1.2);
}

/* =========================================
   CHECKOUT
   ========================================= */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: start;
}

.checkout-section {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  border: 2px solid rgba(255,179,198,0.15);
}

.checkout-section-title {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px dashed var(--pink-pale);
}

.checkout-section-title span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--grad-pink);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
  flex-shrink: 0;
}

.order-summary-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 100px;
  border: 2px solid rgba(255,179,198,0.2);
}

.order-summary-title {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px dashed var(--pink-pale);
}

.order-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.order-item-img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: linear-gradient(135deg, var(--pink-pale), var(--lavender-light));
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.order-item-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-dark);
  line-height: 1.3;
  flex: 1;
}

.order-item-qty {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 600;
}

.order-item-price {
  font-weight: 800;
  color: var(--pink-dark);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.order-divider {
  height: 1px;
  background: var(--pink-pale);
  margin: 1rem 0;
}

.order-totals {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.order-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
}

.order-total-label { color: var(--text-medium); font-weight: 600; }
.order-total-value { color: var(--text-dark); font-weight: 700; }

.order-total-row.grand-total {
  font-size: 1.1rem;
  font-weight: 900;
  padding-top: 0.75rem;
  border-top: 2px solid var(--pink-pale);
  margin-top: 0.25rem;
}

.order-total-row.grand-total .order-total-label { color: var(--text-dark); }
.order-total-row.grand-total .order-total-value { color: var(--pink-dark); font-size: 1.3rem; }

/* =========================================
   LOGIN / AUTH
   ========================================= */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.auth-visual {
  background: var(--grad-candy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.auth-visual-content {
  text-align: center;
  color: white;
  position: relative;
  z-index: 2;
}

.auth-visual-logo {
  font-family: 'Pacifico', cursive;
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 4px 15px rgba(0,0,0,0.1);
}

.auth-visual-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.auth-visual-desc {
  font-size: 1rem;
  opacity: 0.85;
  line-height: 1.8;
  max-width: 350px;
}

.auth-form-side {
  background: var(--bg-main);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 4rem;
  overflow-y: auto;
}

.auth-form-container {
  width: 100%;
  max-width: 440px;
}

.auth-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.auth-subtitle {
  color: var(--text-medium);
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}

.auth-divider {
  text-align: center;
  position: relative;
  margin: 1.5rem 0;
}

.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--lavender-light);
}

.auth-divider span {
  background: var(--bg-main);
  padding: 0 1rem;
  position: relative;
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 600;
}

.auth-social-btn {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid var(--lavender-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
  background: white;
}

.auth-social-btn:hover {
  border-color: var(--pink);
  background: var(--pink-pale);
}

.auth-social-icon {
  font-size: 1.2rem;
}

.auth-link {
  color: var(--pink-dark);
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.2s;
}

.auth-link:hover {
  color: var(--pink);
}

.auth-footer-text {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.88rem;
  color: var(--text-medium);
}

/* =========================================
   PROFILE
   ========================================= */
.profile-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  align-items: start;
}

.profile-sidebar-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 2px solid rgba(255,179,198,0.2);
}

.profile-cover {
  height: 120px;
  background: var(--grad-candy);
  position: relative;
}

.profile-avatar-wrap {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid white;
  object-fit: cover;
  background: linear-gradient(135deg, var(--pink-pale), var(--lavender-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  overflow: hidden;
}

.profile-info {
  padding: 3.5rem 1.5rem 1.5rem;
  text-align: center;
}

.profile-name {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.profile-email {
  font-size: 0.83rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.profile-bio {
  font-size: 0.88rem;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.profile-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--pink-pale);
  color: var(--pink-dark);
  margin-bottom: 1rem;
}

.profile-nav {
  border-top: 1px solid var(--pink-pale);
  padding: 0.5rem 0;
}

.profile-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-medium);
  cursor: pointer;
  transition: var(--transition);
}

.profile-nav-item:hover,
.profile-nav-item.active {
  color: var(--pink-dark);
  background: var(--pink-pale);
}

.profile-nav-item.active {
  border-right: 3px solid var(--pink);
}

.profile-content-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 2px solid rgba(255,179,198,0.15);
  margin-bottom: 1.5rem;
}

.profile-section-title {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px dashed var(--pink-pale);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* =========================================
   ADMIN PANEL
   ========================================= */
.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: linear-gradient(180deg, #2A1F3D 0%, #1A1228 100%);
  padding: 2rem 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.admin-logo {
  padding: 0 1.5rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1rem;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.admin-nav-item:hover,
.admin-nav-item.active {
  color: white;
  background: rgba(255,255,255,0.05);
  border-left-color: var(--pink);
}

.admin-main {
  background: var(--bg-main);
  padding: 2rem;
}

.cat-drag-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: white;
  border-radius: var(--radius-md);
  border: 2px solid var(--lavender-light);
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  user-select: none;
}
.cat-drag-item:hover { border-color: var(--pink-light); box-shadow: var(--shadow-sm); }
.cat-drag-item.cat-drag-over { border-color: var(--pink); background: var(--pink-pale); box-shadow: var(--shadow-pink); }
.cat-drag-handle {
  cursor: grab;
  color: var(--text-light);
  font-size: 1.1rem;
  padding: 0 0.15rem;
  flex-shrink: 0;
  letter-spacing: -0.05em;
  line-height: 1;
}
.cat-drag-handle:active { cursor: grabbing; }

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(255,179,198,0.2);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 2px solid rgba(255,255,255,0.8);
  transition: var(--transition-bounce);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.stat-card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.stat-card-icon.pink { background: linear-gradient(135deg, var(--pink-pale), var(--pink-light)); }
.stat-card-icon.purple { background: linear-gradient(135deg, var(--lavender-light), var(--lavender)); }
.stat-card-icon.mint { background: linear-gradient(135deg, var(--mint-light), var(--mint)); }
.stat-card-icon.yellow { background: linear-gradient(135deg, var(--yellow-light), var(--yellow)); }

.stat-card-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-card-label {
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 600;
}

.stat-card-trend {
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 0.5rem;
}

.trend-up { color: var(--mint); }
.trend-down { color: var(--coral); }

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.admin-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
  border-bottom: 2px solid var(--pink-pale);
}

.admin-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid rgba(255,229,240,0.5);
  color: var(--text-dark);
  vertical-align: middle;
}

.admin-table tr:hover td {
  background: rgba(255,229,240,0.3);
}

.admin-table .product-thumb {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: linear-gradient(135deg, var(--pink-pale), var(--lavender-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.table-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 2px solid rgba(255,179,198,0.15);
}

.table-card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 2px solid var(--pink-pale);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.table-card-title {
  font-weight: 900;
  font-size: 1rem;
  color: var(--text-dark);
}

.status-badge {
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-active { background: rgba(139,216,189,0.2); color: #2E7D5C; }
.status-inactive { background: rgba(200,200,200,0.2); color: #888; }
.status-pending { background: rgba(255,217,61,0.2); color: #B8890A; }
.status-completed { background: rgba(139,216,189,0.2); color: #2E7D5C; }
.status-cancelled { background: rgba(255,127,127,0.2); color: #CC4444; }

/* =========================================
   SPARKLE PARTICLES
   ========================================= */
.sparkle {
  position: fixed;
  pointer-events: none;
  z-index: 99990;
  animation: sparklePop 0.6s ease forwards;
  font-size: 1rem;
}

/* =========================================
   UTILITY CLASSES
   ========================================= */
.text-center { text-align: center; }
.text-right { text-align: right; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.text-pink { color: var(--pink-dark); }
.text-medium { color: var(--text-medium); }
.text-light-color { color: var(--text-light); }
.text-white { color: white; }
.mt-sm { margin-top: 0.5rem; }
.mt-md { margin-top: 1rem; }
.mt-lg { margin-top: 2rem; }
.mb-sm { margin-bottom: 0.5rem; }
.mb-md { margin-bottom: 1rem; }
.mb-lg { margin-bottom: 2rem; }
.hidden { display: none !important; }
.w-full { width: 100%; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero-image-wrap { width: 360px; height: 420px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .hero-visual { order: -1; }
  .hero-desc { max-width: 100%; margin: 0 auto 2.5rem; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-badge { margin-left: auto; margin-right: auto; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-gallery { position: relative; top: 0; }
  .checkout-grid { grid-template-columns: 1fr; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .profile-layout { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { height: auto; position: relative; overflow-y: visible; }
  .admin-main { padding: 1.25rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .admin-table { font-size: 0.8rem; }
  .admin-table th, .admin-table td { padding: 0.6rem 0.75rem; }
  .admin-header { flex-wrap: wrap; gap: 0.75rem; }
  .table-card { overflow: hidden; }
  .table-card > div { overflow-x: auto; }
  /* Admin dashboard 2-col inner grid (inline style override) */
  .admin-main > div > [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  /* Draggable category list */
  .cat-drag-item { gap: 0.5rem; padding: 0.6rem 0.75rem; flex-wrap: wrap; }
  .cat-drag-item > span:nth-child(3) { font-size: 0.88rem; }
  /* Modal inner grids */
  .modal .grid-2 { grid-template-columns: 1fr !important; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-search { display: none; }
  .hamburger { display: flex; }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,245,249,0.97);
    backdrop-filter: blur(20px);
    z-index: var(--z-modal);
    align-items: center;
    justify-content: center;
    gap: 2rem;
    font-size: 1.3rem;
  }
  .section-title { font-size: 1.9rem; }
  .promo-title { font-size: 2rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .promo-banner { padding: 2.5rem 1.5rem; }
  .auth-form-side { padding: 2rem 1.5rem; }
  .section-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  .filter-bar {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0.6rem;
    padding: 0.875rem 1rem;
  }
  .category-filters-row {
    flex: none;
    width: 100%;
    flex-wrap: wrap;
    gap: 0.4rem;
  }
  .category-filters-row .filter-tag { font-size: 0.78rem; padding: 0.3rem 0.75rem; }
  .sort-select { width: 100%; margin-left: 0; font-size: 0.82rem; }
  #search-query-display { width: 100%; box-sizing: border-box; }

  .extra-filters-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }
  .extra-filters-checks {
    gap: 0.4rem;
    flex-wrap: wrap;
  }
  .filter-check-label { font-size: 0.8rem; }
  .filter-count { margin-left: 0; text-align: right; font-size: 0.8rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-image-wrap { width: 280px; height: 320px; }
  .grid-4 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .toast-container { right: 1rem; left: 1rem; }
  .cart-sidebar { width: 100%; }
  .stats-grid { grid-template-columns: 1fr; }
  /* Admin */
  .admin-main { padding: 0.75rem; }
  .admin-table { font-size: 0.72rem; }
  .admin-table th, .admin-table td { padding: 0.4rem 0.5rem; }
  .stat-card { padding: 1rem; }
  .cat-drag-item { gap: 0.4rem; padding: 0.5rem 0.6rem; }
  .cat-drag-handle { display: none; }
}

/* =========================================
   ANNOUNCEMENT BANNER
   ========================================= */
.announcement-bar {
  background: linear-gradient(90deg, #8B6FD4, #A988F2, #C4A8F8, #A988F2, #8B6FD4);
  background-size: 300% 100%;
  animation: shimmer 6s linear infinite;
  color: white;
  padding: 0.5rem 1rem;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1.3rem;
  position: relative;
  overflow: hidden;
}

.announcement-text {
  position: absolute;
  white-space: nowrap;
  font-family: 'DynaPuff', cursive;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: none;
}

.announcement-text.ann-active { animation: annIn 0.55s cubic-bezier(0.4,0,0.2,1) forwards; }
.announcement-text.ann-leaving { animation: annOut 0.55s cubic-bezier(0.4,0,0.2,1) forwards; }
.announcement-text.ann-hidden { transform: translateX(110%); opacity: 0; }

@keyframes annOut {
  from { transform: translateX(0); opacity: 1; }
  to   { transform: translateX(-110%); opacity: 0; }
}
@keyframes annIn {
  from { transform: translateX(110%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

/* announcement bar sits flush at top of header; nav container handles its own padding */

/* Mobile nav — hamburger | logo+name | search | cart */
@media (max-width: 768px) {
  .navbar {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 0.4rem;
  }
  .nav-links { display: none !important; }
  .nav-search { display: none !important; }
  .hamburger { display: flex; }
  .nav-logo { justify-self: center; font-size: 1.65rem; gap: 0.45rem; }
  .nav-logo-img { width: 44px; height: 44px; }
  /* Hide wishlist, login, user on mobile — accessible via drawer */
  .nav-actions #login-nav-btn,
  .nav-actions #user-nav-btn,
  .nav-actions a[title="Favoritos"] { display: none !important; }
  .nav-actions { display: flex; gap: 0.25rem; align-items: center; }
  /* Mobile search button */
  .mobile-search-btn { display: flex !important; }
}

/* =========================================
   MOBILE DRAWER
   ========================================= */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 99980;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-overlay.open { opacity: 1; pointer-events: all; }

.mobile-drawer {
  position: fixed;
  top: 0;
  left: -110%;
  width: min(340px, 88vw);
  height: 100vh;
  background: white;
  z-index: 99985;
  transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 40px rgba(169,136,242,0.3);
}
.mobile-drawer.open { left: 0; }

.drawer-header {
  background: linear-gradient(135deg, #8B6FD4, #A988F2, #F0C8E8);
  padding: 2rem 1.5rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  flex-shrink: 0;
}

.drawer-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: rgba(255,255,255,0.2);
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.drawer-close:hover { background: rgba(255,255,255,0.35); }

.drawer-logo-img {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  object-fit: contain;
  background: rgba(255,255,255,0.25);
  padding: 6px;
  flex-shrink: 0;
}

.drawer-brand-name {
  font-family: 'DynaPuff', cursive;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  line-height: 1;
}
.drawer-brand-sub {
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.drawer-sep {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(169,136,242,0.35), transparent);
  margin: 0 1.25rem;
  flex-shrink: 0;
}

.drawer-section-title {
  font-family: 'DynaPuff', cursive;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 1.5rem 0.4rem;
}

.drawer-categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.25rem 1.25rem 0.75rem;
}

.drawer-cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.7rem 0.4rem;
  border-radius: var(--radius-md);
  background: var(--primary-pale);
  cursor: pointer;
  transition: var(--transition-bounce);
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  border: 2px solid transparent;
}
.drawer-cat-item:hover { background: var(--primary-light); transform: scale(1.04); border-color: var(--primary); }
.drawer-cat-item .dcat-emoji { font-size: 1.5rem; line-height: 1; }

.drawer-login {
  padding: 0.5rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.drawer-login-input {
  width: 100%;
  padding: 0.65rem 1rem;
  border: 2px solid rgba(169,136,242,0.3);
  border-radius: var(--radius-full);
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
  background: var(--primary-pale);
  color: var(--text-dark);
}
.drawer-login-input:focus { border-color: var(--primary); background: white; }

.drawer-login-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--text-medium);
}
.drawer-login-row a { color: var(--primary-dark); font-weight: 700; text-decoration: none; }

.drawer-login-check {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.drawer-login-btn {
  background: linear-gradient(135deg, #A988F2, #8B6FD4);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  padding: 0.78rem;
  font-family: 'DynaPuff', cursive;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-bounce);
  width: 100%;
  box-shadow: 0 6px 18px rgba(169,136,242,0.35);
}
.drawer-login-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(169,136,242,0.45); }

.drawer-register-link {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-medium);
}
.drawer-register-link a { color: var(--primary-dark); font-weight: 800; text-decoration: none; }

.drawer-google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1.5px solid #dadce0;
  border-radius: var(--radius-md);
  background: white;
  font-family: 'Nunito', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #3c4043;
  cursor: pointer;
  transition: box-shadow 0.2s, border-color 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.07);
}
.drawer-google-btn:hover { border-color: #a0a0a0; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.drawer-google-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* =========================================
   HERO SLIDER
   ========================================= */
.hero-slider {
  position: relative;
  overflow: hidden;
  min-height: 580px;
  /* margin-top set dynamically by initNavbar() to match actual header height */
}

.hero-slides-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
  min-height: 580px;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: all;
  position: relative;
}

.slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.slide-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0;
  width: 100%;
}

.slide-text { color: white; }

.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: var(--radius-full);
  padding: 0.35rem 1rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1.2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: 'DynaPuff', cursive;
}

.slide-title {
  font-family: 'DynaPuff', cursive;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: white;
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.slide-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  max-width: 440px;
}

.payment-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.payment-chip {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: var(--radius-full);
  padding: 0.28rem 0.8rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: white;
}

.slide-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.slide-product-card {
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  min-width: 240px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.slide-product-emoji {
  font-size: 6rem;
  line-height: 1;
  display: block;
  margin-bottom: 1rem;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.15));
  animation: float 3s ease-in-out infinite;
}

.slide-product-name {
  font-family: 'DynaPuff', cursive;
  font-size: 1.1rem;
  color: white;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.slide-product-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.slide-price-new {
  font-family: 'DynaPuff', cursive;
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
}

.slide-price-old {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  text-decoration: line-through;
}

.slide-discount-pill {
  background: rgba(255,255,255,0.3);
  border-radius: var(--radius-full);
  padding: 0.15rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: white;
}

.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition-bounce);
  color: var(--primary-dark);
  font-weight: 900;
}
.slider-nav-btn:hover { transform: translateY(-50%) scale(1.1); background: white; }
.slider-prev { left: 1.5rem; }
.slider-next { right: 1.5rem; }

.slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: 2px solid rgba(255,255,255,0.7);
  cursor: pointer;
  transition: var(--transition);
}
.slider-dot.active { background: white; width: 28px; border-radius: 5px; }

/* =========================================
   CATEGORY SHOWCASE — TABS + PANELS
   ========================================= */
.cat-showcase-section { padding: 4rem 0 0; }

.cat-tabs {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.cat-tab {
  padding: 0.75rem 2rem;
  border: none;
  border-radius: var(--radius-full);
  font-family: 'DynaPuff', cursive;
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
  opacity: 0.55;
  transition: var(--transition-bounce);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.cat-tab:hover { opacity: 0.8; transform: translateY(-2px); }
.cat-tab.active { opacity: 1; transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.18); }
.cat-tab[data-cat="0"] { background: linear-gradient(135deg, #E85D80, #FF85A1); }
.cat-tab[data-cat="1"] { background: linear-gradient(135deg, #8B6FD4, #A988F2); }
.cat-tab[data-cat="2"] { background: linear-gradient(135deg, #E8821A, #FFB830); }

/* Category panels */
.cat-panel { display: none; margin-top: 0; position: relative; overflow: hidden; }
.cat-panel.active { display: block; margin-bottom: 0.5rem; }

.cat-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem var(--spacing-sm) 1.75rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.cat-panel-eyebrow,
.cat-panel-badge {
  font-family: 'DynaPuff', cursive;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.cat-panel-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.75rem;
  background: white;
  color: var(--primary-dark);
  border-radius: var(--radius-full);
  font-family: 'DynaPuff', cursive;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}
.cat-panel-cta:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,0.22); }
.cat-panel-title {
  font-family: 'DynaPuff', cursive;
  font-size: 2.8rem;
  color: white;
  font-weight: 700;
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0,0,0,0.12);
  margin-bottom: 0.4rem;
}
.cat-panel-desc { color: rgba(255,255,255,0.82); font-size: 0.95rem; line-height: 1.6; max-width: 380px; }

/* Image carousel inside each panel */
.cis-outer {
  position: relative;
  padding-bottom: 2.5rem;
}
.cis-track {
  display: flex;
  justify-content: safe center;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.5rem 4rem 1rem;
}
.cis-track::-webkit-scrollbar { display: none; }

.cis-slide {
  flex: 0 0 230px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(12px);
  text-decoration: none;
  transition: var(--transition-bounce);
  display: flex;
  flex-direction: column;
  min-height: 330px;
}
.cis-slide:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,0.22); border-color: rgba(255,255,255,0.65); }

.cis-img-wrap {
  flex: 1;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
}
/* Real product image — replace placeholder with this:
   <img src="TU_URL_IMAGEN" alt="Nombre del producto"> */
.cis-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

.cis-placeholder {
  width: 100%; height: 100%;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.06);
}
.cis-placeholder-emoji { font-size: 5rem; line-height: 1; }
.cis-placeholder-label { font-size: 0.65rem; color: rgba(255,255,255,0.5); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }

.cis-info { padding: 0.85rem 1.1rem 1rem; display: flex; flex-direction: column; gap: 0.25rem; background: rgba(15,8,30,0.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); border-radius: 0 0 var(--radius-xl) var(--radius-xl); }
.cis-category { font-size: 0.62rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.cis-name { color: white; font-weight: 700; font-size: 0.88rem; line-height: 1.3; }
.cis-stars { font-size: 0.7rem; color: rgba(255,215,0,0.9); letter-spacing: 0.05em; }
.cis-rating-count { opacity: 0.6; font-size: 0.62rem; }
.cis-price-row { display: flex; align-items: baseline; gap: 0.4rem; margin-top: 0.1rem; }
.cis-price { font-family: 'DynaPuff', cursive; color: rgba(255,255,255,0.95); font-size: 0.95rem; }
.cis-old-price { font-size: 0.72rem; color: rgba(255,255,255,0.45); text-decoration: line-through; }
.cis-badges { display: flex; gap: 0.3rem; flex-wrap: wrap; margin-top: 0.2rem; }
.cis-tag { display: inline-block; background: rgba(255,255,255,0.2); border-radius: var(--radius-full); padding: 0.15rem 0.55rem; font-size: 0.62rem; font-weight: 700; color: white; }
.cis-tag-sale { background: rgba(255,200,50,0.3); }
.cis-tag-new  { background: rgba(100,220,150,0.3); }
.cis-tag-out  { background: rgba(255,80,80,0.3); }
.cis-tag-low  { background: rgba(255,150,50,0.3); }

.cis-nav-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.92);
  border: none;
  border-radius: 50%;
  width: 48px; height: 48px;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-dark);
  z-index: 5;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: var(--transition-bounce);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cis-nav-btn:hover { transform: translateY(-50%) scale(1.1); background: white; box-shadow: 0 8px 28px rgba(0,0,0,0.2); }
.cis-prev-btn { left: 0.75rem; }
.cis-next-btn { right: 0.75rem; }

@media (max-width: 768px) {
  .cat-panel-title { font-size: 2rem; }
  .cis-slide { flex: 0 0 185px; min-height: 280px; }
  .cis-img-wrap, .cis-placeholder { min-height: 200px; }
  .cis-placeholder-emoji { font-size: 4rem; }
  .cis-track { padding: 0.5rem 3rem 1rem; gap: 0.85rem; }
  .cis-nav-btn { width: 38px; height: 38px; font-size: 1.1rem; }
}
@media (max-width: 480px) {
  .cat-tabs { gap: 0.4rem; }
  .cat-tab { padding: 0.6rem 1.2rem; font-size: 0.78rem; }
  .cat-panel-header { padding: 2rem 1rem 1.5rem; }
  .cat-panel-title { font-size: 1.7rem; }
  .cis-slide { flex: 0 0 155px; min-height: 250px; }
}

/* =========================================
   SKELETON LOADERS (categories + showcase)
   ========================================= */
@keyframes skeletonShimmer {
  0% { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.category-card-skeleton {
  background: linear-gradient(90deg, #f0e6ff 25%, #e0d0f8 50%, #f0e6ff 75%);
  background-size: 800px 100%;
  animation: skeletonShimmer 1.4s ease-in-out infinite;
  border-radius: var(--radius-md);
  min-height: 140px;
}

.cis-slide.cis-skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.12) 25%, rgba(255,255,255,0.22) 50%, rgba(255,255,255,0.12) 75%);
  background-size: 800px 100%;
  animation: skeletonShimmer 1.4s ease-in-out infinite;
  pointer-events: none;
}

.cis-empty {
  flex: 0 0 auto;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  min-width: 200px;
}

/* =========================================
   SOCIAL FOLLOW — COMPACT
   ========================================= */
.social-follow-section {
  padding: 3rem 0;
  background: linear-gradient(135deg, #F8F3FF 0%, #FFF0F7 50%, #EEF8FF 100%);
}

.social-compact-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.75rem;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.social-compact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.75rem 1rem;
  border-radius: var(--radius-xl);
  text-decoration: none;
  transition: var(--transition-bounce);
  border: 2px solid rgba(255,255,255,0.4);
  text-align: center;
}
.social-compact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.scc-icon {
  width: 90px; height: 90px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  padding: 14px;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.35);
  transition: transform 0.2s;
}
.social-compact-card:hover .scc-icon { transform: scale(1.08); }
.scc-icon img { width: 100%; height: 100%; object-fit: contain; }

.scc-info { min-width: 0; }
.scc-name { font-family: 'DynaPuff', cursive; font-size: 1rem; font-weight: 700; color: white; line-height: 1.2; }
.scc-handle { font-size: 0.75rem; color: rgba(255,255,255,0.8); }

.social-compact-card.sc-facebook { background: linear-gradient(135deg, #1877F2, #3b5998); }
.social-compact-card.sc-instagram { background: linear-gradient(135deg, #405DE6, #833AB4, #C13584, #E1306C); }
.social-compact-card.sc-tiktok { background: linear-gradient(135deg, #161823, #2d2d3a); }
.social-compact-card.sc-whatsapp { background: linear-gradient(135deg, #25D366, #128C7E); }

.social-compact-card {
  padding: 1.25rem 0.75rem;
}
@media (max-width: 400px) {
  .social-compact-row { gap: 0.6rem; }
  .scc-icon { width: 70px; height: 70px; padding: 10px; }
  .scc-name { font-size: 0.85rem; }
  .scc-handle { font-size: 0.65rem; }
}

/* =========================================
   FEATURED CATEGORIES
   ========================================= */
.featured-cats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.featured-cat-card {
  border-radius: var(--radius-xl);
  padding: 2.2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  cursor: pointer;
  transition: var(--transition-bounce);
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 175px;
  text-decoration: none;
  border: 3px solid rgba(255,255,255,0.3);
}
.featured-cat-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: var(--shadow-lg); }
.featured-cat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.3s;
}
.featured-cat-card:hover::after { background: rgba(255,255,255,0.08); }

.featured-cat-icon { font-size: 3.8rem; line-height: 1; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.18)); }
.featured-cat-name {
  font-family: 'DynaPuff', cursive;
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
  line-height: 1.3;
}
.featured-cat-sub { font-size: 0.7rem; color: rgba(255,255,255,0.82); font-weight: 600; }
.fcat-1 { background: linear-gradient(135deg, #FF85A1, #FF6B9D, #FFB3C6); }
.fcat-2 { background: linear-gradient(135deg, #A988F2, #8B6FD4, #C4A8F8); }
.fcat-3 { background: linear-gradient(135deg, #FFB830, #FF8C42, #FFD93D); }

/* =========================================
   SOCIAL FOLLOW SECTION
   ========================================= */
.social-follow-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #FFF0F7 0%, #F0E8FF 50%, #E8F8FF 100%);
}

.social-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-card {
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  transition: var(--transition-bounce);
  text-decoration: none;
  overflow: hidden;
  position: relative;
}
.social-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.social-card-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,0.3);
  overflow: hidden;
  padding: 12px;
}
.social-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.social-card-name {
  font-family: 'DynaPuff', cursive;
  font-size: 1.35rem;
  font-weight: 700;
  color: white;
}
.social-card-handle { font-size: 0.85rem; color: rgba(255,255,255,0.78); font-weight: 600; }
.social-card-btn {
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.55);
  border-radius: var(--radius-full);
  color: white;
  padding: 0.55rem 1.5rem;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'DynaPuff', cursive;
  text-decoration: none;
  display: inline-block;
}
.social-card-btn:hover { background: rgba(255,255,255,0.35); }

.sc-facebook { background: linear-gradient(135deg, #1877F2, #3b5998); }
.sc-instagram { background: linear-gradient(135deg, #405DE6, #833AB4, #C13584, #E1306C, #F77737); }
.sc-tiktok { background: linear-gradient(135deg, #010101, #2d2d2d); }
.sc-tiktok .social-card-name::after { content: ' 🎵'; }

/* =========================================
   PATCHI SCOOP SECTION
   ========================================= */
.patchi-section { padding: 3rem 0; }

.patchi-card {
  background: linear-gradient(135deg, #FFF0F7, #F0E8FF);
  border-radius: var(--radius-xl);
  border: 3px solid rgba(169,136,242,0.2);
  padding: 3rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2.5rem;
  position: relative;
  overflow: hidden;
}
.patchi-card::before {
  content: '🍦✨🌸';
  position: absolute;
  top: 1.2rem;
  right: 3rem;
  font-size: 1.8rem;
  opacity: 0.18;
  letter-spacing: 0.5rem;
  pointer-events: none;
}

.patchi-logo-wrap {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-lg);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
  overflow: hidden;
}
.patchi-logo-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 0.75rem; }

.patchi-eyebrow {
  font-family: 'DynaPuff', cursive;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.patchi-title {
  font-family: 'DynaPuff', cursive;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.patchi-desc {
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.65;
  max-width: 400px;
}

.patchi-btn {
  background: linear-gradient(135deg, #A988F2, #8B6FD4);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  padding: 0.9rem 2rem;
  font-family: 'DynaPuff', cursive;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-bounce);
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
  box-shadow: 0 6px 22px rgba(169,136,242,0.38);
}
.patchi-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(169,136,242,0.48); }

/* =========================================
   FOOTER KAWAII
   ========================================= */
.footer-kawaii {
  background: linear-gradient(160deg, #2A1F3D 0%, #1A1228 65%, #0D0818 100%);
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 0;
}
.footer-kawaii::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #A988F2, #F8A8C8, #A8D8F8, #A988F2);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

.footer-kawaii-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-kawaii-brand { display: flex; flex-direction: column; gap: 1rem; }

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.footer-brand-logo img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  object-fit: contain;
}
.footer-brand-name-wrap { display: flex; flex-direction: column; }
.footer-brand-name {
  font-family: 'DynaPuff', cursive;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-brand-sub {
  font-family: 'DynaPuff', cursive;
  font-size: 0.58rem;
  font-weight: 600;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}
.footer-desc-kawaii { font-size: 0.83rem; color: rgba(255,255,255,0.45); line-height: 1.72; }

.footer-social-row {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 0.75rem;
  margin-top: 0.75rem;
  justify-content: start;
}
.footer-social-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  transition: var(--transition-bounce);
}
.footer-social-icon:hover { transform: translateY(-4px); }
.footer-social-icon-img {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.15);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.footer-social-icon:hover .footer-social-icon-img { border-color: rgba(255,255,255,0.5); box-shadow: 0 4px 16px rgba(0,0,0,0.25); }
.footer-social-icon-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.footer-social-icon:hover .footer-social-icon-img img { opacity: 1; }
.footer-social-icon-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  font-family: 'Nunito', sans-serif;
}
.footer-social-icon:hover .footer-social-icon-label { color: rgba(255,255,255,0.9); }
.fsi-fb  .footer-social-icon-img { background: rgba(24,119,242,0.22); }
.fsi-ig  .footer-social-icon-img { background: rgba(225,48,108,0.22); }
.fsi-tt  .footer-social-icon-img { background: rgba(255,255,255,0.08); }
.fsi-wa  .footer-social-icon-img { background: rgba(37,211,102,0.22); }

.footer-kawaii-heading {
  font-family: 'DynaPuff', cursive;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-light);
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.footer-kawaii-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-kawaii-links a { color: rgba(255,255,255,0.45); font-size: 0.82rem; transition: color 0.2s; text-decoration: none; }
.footer-kawaii-links a:hover { color: var(--primary-light); }

.footer-kawaii-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.2rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-kawaii-copy { font-size: 0.78rem; color: rgba(255,255,255,0.28); }
.footer-payments-row { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.payment-pill {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 0.2rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 800;
  color: rgba(255,255,255,0.4);
}

/* =========================================
   RESPONSIVE - NEW SECTIONS
   ========================================= */
@media (max-width: 1024px) {
  .slide-title { font-size: 2.4rem; }
  .footer-kawaii-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .hero-slider { min-height: 460px; margin-top: 90px; }
  .hero-slide { min-height: 460px; }
  .slide-content { grid-template-columns: 1fr; padding: 3rem 0 5rem; gap: 2rem; }
  .slide-visual { display: none; }
  .slide-title { font-size: 2rem; }
  .featured-cats-row { grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
  .featured-cat-card { padding: 1.3rem 0.6rem; min-height: 120px; }
  .featured-cat-icon { font-size: 2.6rem; }
  .featured-cat-name { font-size: 0.78rem; }
  .social-cards-row { grid-template-columns: 1fr; gap: 1rem; }
  .patchi-card { grid-template-columns: 1fr; text-align: center; padding: 2rem 1.5rem; gap: 1.5rem; }
  .patchi-logo-wrap { margin: 0 auto; }
  .patchi-desc { max-width: 100%; }
  .footer-kawaii-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .slider-nav-btn { width: 40px; height: 40px; font-size: 1rem; }
  .slider-prev { left: 0.75rem; }
  .slider-next { right: 0.75rem; }
}

@media (max-width: 480px) {
  .hero-slider { min-height: 380px; margin-top: 84px; }
  .hero-slide { min-height: 380px; }
  .slide-title { font-size: 1.7rem; }
  .featured-cats-row { gap: 0.4rem; }
  .footer-kawaii-grid { grid-template-columns: 1fr; }
  .footer-kawaii-brand { align-items: center; text-align: center; }
  .footer-brand-logo { justify-content: center; }
  .footer-social-row { justify-content: center; }
  .footer-desc-kawaii { text-align: center; }
  .patchi-card::before { display: none; }
}
