:root {
  /* Color Palette */
  --color-primary: #ffb7c5; /* Soft Coquette Pink */
  --color-primary-light: #fff0f3; /* Very Pale Pink */
  --color-primary-dark: #cc8b98; /* Darker Pink for buttons/accents */
  --color-secondary: #000000; /* Contrast Black */
  --color-text: #333333;
  --color-bg: #ffffff;
  
  /* Glassmorphism & Effects */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.4);
  --shadow-soft: 0 10px 30px rgba(255, 183, 197, 0.2);
  --shadow-strong: 0 15px 40px rgba(0, 0, 0, 0.1);

  /* Typography */
  --font-title: 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;
  
  /* Transitions */
  --transition-smooth: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

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

/* Custom Cursor - Only on non-touch devices */
@media (hover: hover) and (pointer: fine) {
    * {
        cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23ffb7c5' %3E%3Cpath d='M12 12c.5-1 1.5-2 3-2 1.5 0 3 1.5 3 3s-1.5 3-3 3c-1.5 0-2.5-1-3-2M12 12c-.5-1-1.5-2-3-2-1.5 0-3 1.5-3 3s1.5 3 3 3c1.5 0 2.5-1 3-2'/%3E%3Ccircle cx='12' cy='12' r='1.5' fill='white'/%3E%3C/svg%3E"), auto;
    }
}

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--color-primary-light);
}
::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 10px;
    border: 3px solid var(--color-primary-light);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-dark);
}

h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--color-secondary);
}

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

ul {
  list-style: none;
}

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

/* Sections Global */
section {
  padding: 100px 5%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

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

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

/* Component Styles */

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  z-index: 1000;
  transition: var(--transition-smooth);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  box-shadow: var(--shadow-soft);
  padding: 8px 5%;
  border-bottom: 1px solid var(--color-primary-light);
}

.logo {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  border-radius: 50%;
  border: 1px solid var(--color-primary);
  height: 35px !important;
  width: 35px !important;
  object-fit: cover;
}

.logo span {
  display: inline-block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0.8;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--color-primary-dark);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--color-primary-dark);
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 100vh;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0;
}

.hero-collage {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 1fr);
    padding: 20px;
    opacity: 0.8;
}

.hero-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow-strong);
    transition: var(--transition-smooth);
}

.collage-p1 {
    grid-column: 1 / 7;
    grid-row: 2 / 10;
    transform: rotate(-3deg);
}

.collage-p2 {
    grid-column: 6 / 13;
    grid-row: 1 / 8;
    transform: rotate(2deg);
    z-index: 2;
}

.collage-p3 {
    grid-column: 4 / 10;
    grid-row: 6 / 12;
    transform: rotate(-1deg);
    z-index: 3;
}

.hero-content {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 20px;
  max-width: 450px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-strong);
  animation: fadeIn 1s ease-out;
  z-index: 10;
  text-align: center;
  position: relative;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  line-height: 1.1;
  color: var(--color-secondary);
}

.hero-content p {
  font-size: 1rem;
  margin-bottom: 25px;
  color: #555;
}

/* Mobile Optimizations for Hero */
@media (max-width: 768px) {
  .hero-collage {
      grid-template-columns: repeat(6, 1fr);
      grid-template-rows: repeat(10, 1fr);
      opacity: 0.6;
  }
  .collage-p1 { grid-column: 1/5; grid-row: 1/5; }
  .collage-p2 { grid-column: 3/7; grid-row: 3/7; }
  .collage-p3 { grid-column: 2/6; grid-row: 6/10; }
  
  .hero-content {
    margin: 0 5%;
    padding: 25px;
    max-width: 100%;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 35px;
  background-color: var(--color-primary-dark);
  color: white;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(204, 139, 152, 0.4);
}

.btn:hover {
  background-color: var(--color-secondary);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary-dark);
    color: var(--color-primary-dark);
    box-shadow: none;
    text-align: center;
}

.btn-outline:hover {
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
    transform: translateY(-2px);
}

/* Shimmer Effect for premium look */
.btn-premium-shimmer {
    position: relative;
    overflow: hidden;
}

.btn-premium-shimmer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: rotate(45deg);
    transition: 0.5s;
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; top: -100%; }
    100% { left: 100%; top: 100%; }
}

/* Reveal Animation Class */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Categories Section */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.category-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  height: 400px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.category-card:hover {
  transform: scale(1.02);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.category-card:hover img {
  transform: scale(1.1);
}

.category-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: white;
}

/* Bow Decorations */
.bow-icon {
  display: inline-block;
  font-size: 1.5rem;
  animation: float 3s ease-in-out infinite;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transition: var(--transition-smooth);
    border: 1px solid #eee;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
}

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

/* Base Carousel Styles */
.product-slider-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

.product-slides {
    display: flex;
    transition: transform 0.4s ease-out;
    height: 100%;
}

.product-slide {
    min-width: 100%;
    height: 100%;
}

.product-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 10px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .slider-nav {
    opacity: 1;
}

.nav-btn {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    border: none;
    color: var(--color-primary-dark);
    font-size: 0.8rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.slider-dots {
    position: absolute;
    bottom: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 5px;
    pointer-events: none;
}

.dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.dot.active {
    background: white;
    transform: scale(1.3);
}

.product-info {
    padding: 15px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.product-price {
    font-weight: 700;
    color: var(--color-primary-dark);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.product-desc {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 5px;
}

.product-price-alt {
  font-size: 0.85rem;
  color: #aaa;
  margin-bottom: 15px;
}

.add-to-cart {
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
    border: 2px solid var(--color-primary-dark);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.add-to-cart:hover {
    background: var(--color-primary-dark);
    color: white;
}

/* Premium Select Styling */
.size-selector-container select {
    background-color: #fff;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.size-selector-container select:hover {
    border-color: var(--color-primary);
}

.size-selector-container select:focus {
    border-color: var(--color-primary-dark);
    box-shadow: 0 0 0 2px rgba(255, 183, 197, 0.2);
}

/* Cart Item Animation */
@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.cart-floating-icon.bump {
    animation: bounce 0.3s ease-out;
}

/* Cart Sidebar & Overlay */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    max-width: 100%;
    height: 100vh;
    background: white;
    z-index: 2000;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.cart-sidebar.active {
    right: 0;
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    display: none;
}

.cart-overlay.active {
    display: block;
}

.cart-header {
    padding: 30px 20px;
    border-bottom: 2px solid #fff5f7;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    font-family: var(--font-title);
    color: var(--color-primary-dark);
}

.close-cart {
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.close-cart:hover {
    transform: rotate(90deg);
    background: var(--color-primary);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 2px solid #fff5f7;
    align-items: center;
}

.cart-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    border: 1px solid #fef1f3;
}

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

.cart-item-info h4 {
    font-size: 0.95rem;
    margin-bottom: 5px;
    line-height: 1.2;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 1.2rem;
}

.btn-full {
    width: 100%;
}

/* Floating Cart Icon */
.cart-floating-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--color-primary-dark);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transition: var(--transition-smooth);
    z-index: 999;
}

.cart-floating-icon:hover {
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -5px;
    left: -5px;
    background: var(--color-secondary);
    color: white;
    width: 25px;
    height: 25px;
    font-size: 0.8rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Filters */
.filter-btn {
    padding: 10px 25px;
    margin: 5px;
    border: 1px solid var(--color-primary-dark);
    background: white;
    color: var(--color-primary-dark);
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn.active {
    background: var(--color-primary-dark);
    color: white;
}

/* Instagram Section Items Decoration */
.insta-item img {
    transition: var(--transition-smooth);
}

.insta-item:hover img {
    transform: scale(1.1);
}

/* Responsive and Hamburger Menu */
@media (max-width: 768px) {
  .logo span { font-size: 1.1rem; }
  
  .mobile-menu-btn {
    display: block;
    z-index: 1100;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.4s cubic-bezier(0.8, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  }

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

  .nav-links a {
    font-size: 1.5rem;
    padding: 15px;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
  }

  /* Improved Hero for Mobile Glass look */
  .hero-content {
      background: rgba(255, 255, 255, 0.45) !important;
      backdrop-filter: blur(20px) saturate(160%) !important;
      border: 1px solid rgba(255, 255, 255, 0.3) !important;
      width: 92% !important;
      margin: 0 auto;
      padding: 30px 20px;
  }

  .hero-content h1 {
    font-size: 1.8rem !important;
    letter-spacing: -1px;
    margin-bottom: 15px;
  }
  
  .hero-content p {
    font-size: 0.9rem !important;
    line-height: 1.4;
  }

  .hero-collage {
      opacity: 0.5;
  }
}

/* --- Premium Upgrades --- */

/* Preloader Screen */
.preloader {
    position: fixed;
    inset: 0;
    background: white;
    z-index: 10000; /* Above everything */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 1s ease;
}
.preloader.hidden {
    opacity: 0;
    pointer-events: none;
}
.preloader-bow {
    font-size: 4rem;
    animation: bowPulse 1.5s infinite ease-in-out;
}
.preloader-text {
    margin-top: 20px;
    font-family: var(--font-title);
    letter-spacing: 5px;
    color: var(--color-primary-dark);
    text-transform: uppercase;
}

@keyframes bowPulse {
    0%, 100% { transform: scale(1) rotate(-5deg); filter: drop-shadow(0 0 5px var(--color-primary)); }
    50% { transform: scale(1.15) rotate(5deg); filter: drop-shadow(0 0 20px var(--color-primary)); }
}

/* Product Badges */
.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--color-primary-dark);
    color: white;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(204, 139, 152, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    pointer-events: none;
    border: 1px solid rgba(255,255,255,0.3);
}

/* Floating Cart & CTA Pulse */
.cart-floating-icon {
    animation: pulseLoop 2s infinite;
}

@keyframes pulseLoop {
    0% { box-shadow: 0 5px 20px rgba(204, 139, 152, 0.4), 0 0 0 0 rgba(204, 139, 152, 0.7); }
    70% { box-shadow: 0 5px 20px rgba(204, 139, 152, 0.4), 0 0 0 15px rgba(204, 139, 152, 0); }
    100% { box-shadow: 0 5px 20px rgba(204, 139, 152, 0.4), 0 0 0 0 rgba(204, 139, 152, 0); }
}

/* Specific hover tweak for Whatsapp link in footer */
.social-links a:hover img {
    filter: drop-shadow(0 0 15px var(--color-primary));
}

/* Sub-filters Styling */
.sub-filters {
    opacity: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 0 10px;
}
.sub-filter-btn {
    padding: 10px 22px;
    margin-bottom: 5px;
    background: var(--color-primary-light);
    border: 1px solid var(--color-primary);
    color: var(--color-primary-dark);
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
}
.sub-filter-btn.active {
    background: var(--color-primary-dark);
    color: white;
}
.sub-filter-btn:hover {
    background: var(--color-primary);
    color: white;
}
