/* ============================================
   SKY ART SHOP - MODERN THEME CSS
   Complete Redesign - Clean & Elegant
   ============================================ */

/* CSS Variables - Color Palette (Original Colors Preserved) */
:root {
  /* Primary Colors */
  --primary-pink: #ffd0d0;
  --primary-pink-light: #ffebeb;
  --primary-pink-dark: #fcb1d8;
  --accent-pink: #f6ccde;
  
  /* Text Colors */
  --text-primary: #202023;
  --text-secondary: #555;
  --text-light: #777;
  --text-white: #ffffff;
  
  /* Background Colors */
  --bg-light: #ffebeb;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --bg-overlay: rgba(32, 32, 35, 0.6);
  
  /* Border Colors */
  --border-light: #ffd0d0;
  --border-medium: #fcb1d8;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.15);
  
  /* Typography */
  --font-primary: 'Inter', 'Roboto', sans-serif;
  --font-heading: 'Poppins', 'Inter', sans-serif;
  
  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 40px;
  --spacing-xxl: 64px;
  --spacing-2xl: 80px;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50px;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s ease;
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Layout */
  --container-max: 1400px;
  --navbar-height: 80px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-light);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ============================================
   RICH TEXT CONTENT STYLING
   Global styles for HTML content from Quill editor
   ============================================ */
.rich-content,
.rich-text-content {
  line-height: 1.8;
  color: var(--text-secondary);
}

.rich-content p,
.rich-text-content p {
  margin-bottom: var(--spacing-md);
}

.rich-content ul,
.rich-content ol,
.rich-text-content ul,
.rich-text-content ol {
  padding-left: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
}

.rich-content li,
.rich-text-content li {
  margin-bottom: var(--spacing-xs);
}

.rich-content h1,
.rich-content h2,
.rich-content h3,
.rich-text-content h1,
.rich-text-content h2,
.rich-text-content h3 {
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
  font-family: var(--font-heading);
}

.rich-content h1,
.rich-text-content h1 {
  font-size: 1.75rem;
}

.rich-content h2,
.rich-text-content h2 {
  font-size: 1.5rem;
}

.rich-content h3,
.rich-text-content h3 {
  font-size: 1.25rem;
}

.rich-content a,
.rich-text-content a {
  color: var(--primary-pink-dark);
  text-decoration: underline;
}

.rich-content a:hover,
.rich-text-content a:hover {
  color: var(--text-primary);
}

.rich-content strong,
.rich-text-content strong {
  font-weight: 600;
}

.rich-content em,
.rich-text-content em {
  font-style: italic;
}

.rich-content u,
.rich-text-content u {
  text-decoration: underline;
}

.rich-content blockquote,
.rich-text-content blockquote {
  border-left: 4px solid var(--primary-pink);
  padding-left: var(--spacing-md);
  margin: var(--spacing-md) 0;
  font-style: italic;
  color: var(--text-light);
}

/* Scrollable content containers */
.scrollable-content {
  max-height: 400px;
  overflow-y: auto;
  padding-right: var(--spacing-sm);
}

.scrollable-content::-webkit-scrollbar {
  width: 6px;
}

.scrollable-content::-webkit-scrollbar-track {
  background: var(--bg-light);
  border-radius: 3px;
}

.scrollable-content::-webkit-scrollbar-thumb {
  background: var(--primary-pink);
  border-radius: 3px;
}

.scrollable-content::-webkit-scrollbar-thumb:hover {
  background: var(--primary-pink-dark);
}

/* ============================================
   NAVIGATION BAR - Fixed Header
   ============================================ */
.nav-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--primary-pink);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.nav-wrapper.scrolled {
  background: var(--primary-pink);
  box-shadow: var(--shadow-md);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
  height: var(--navbar-height);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.nav-brand:hover {
  transform: scale(1.02);
}

.nav-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  background: white;
  padding: 4px;
  box-shadow: 0 4px 15px rgba(252, 177, 216, 0.4),
              0 0 0 4px rgba(255, 255, 255, 0.5);
}

.nav-brand span {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  list-style: none;
}

.nav-link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: var(--primary-pink-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--primary-pink-dark);
  transition: var(--transition-fast);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  flex-shrink: 0;
}

.nav-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--primary-pink-light);
  border: none;
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.nav-icon-btn:hover {
  background: var(--primary-pink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.nav-icon-btn .badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: var(--primary-pink-dark);
  color: var(--text-primary);
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-fast);
}

/* Mobile Navigation */
@media (max-width: 992px) {
  .nav-mobile-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-white);
    padding: var(--spacing-lg);
    gap: var(--spacing-sm);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
  }
  
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-link {
    width: 100%;
    padding: var(--spacing-md);
    text-align: center;
  }
}

/* Body padding for fixed navbar */
.page-content {
  padding-top: var(--navbar-height);
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  background: linear-gradient(135deg, #ffd0d0 0%, #fcb4d8 100%);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(100%);
  will-change: transform;
}

.slide.active {
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
  transform: translateX(0);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide.outgoing {
  visibility: visible;
  z-index: 1;
  transform: translateX(-100%);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Default overlay for slides without images */
.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 210, 210, 0.9) 0%, rgba(252, 180, 216, 0.9) 100%);
  z-index: 1;
}

/* When slide has a background image - NO overlay, show image vibrantly */
.slide.has-image .slide-overlay {
  background: transparent;
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
  width: 100%;
}

/* Text container with backdrop for readability over images */
.slide.has-image .slide-content {
  background: rgba(255, 255, 255, 0.85);
  padding: var(--spacing-xl) var(--spacing-xxl);
  border-radius: var(--radius-lg);
  max-width: 650px;
  margin-left: var(--spacing-xxl);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .slide.has-image .slide-content {
    margin: 0 var(--spacing-md);
    padding: var(--spacing-lg);
    max-width: calc(100% - var(--spacing-xl));
  }
}

.slide-content h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
}

.slide-content p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: var(--spacing-lg);
}

.slide-content .btn {
  /* Button visible by default */
}

.slider-nav {
  position: absolute;
  bottom: var(--spacing-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--spacing-sm);
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: var(--bg-white);
  opacity: 0.5;
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
}

.slider-dot.active,
.slider-dot:hover {
  opacity: 1;
  background: var(--primary-pink-dark);
  transform: scale(1.2);
}

.slider-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 var(--spacing-lg);
  z-index: 10;
  pointer-events: none;
}

.slider-arrow {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: var(--bg-white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-fast);
  pointer-events: auto;
  box-shadow: var(--shadow-md);
}

.slider-arrow:hover {
  background: var(--primary-pink);
  transform: scale(1.1);
}

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-xl);
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--text-primary);
  color: var(--text-white);
  border-color: var(--text-primary);
}

.btn-primary:hover {
  background: transparent;
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--primary-pink);
  color: var(--text-primary);
  border-color: var(--primary-pink);
}

.btn-secondary:hover {
  background: var(--primary-pink-dark);
  border-color: var(--primary-pink-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--text-primary);
}

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

.btn-sm {
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: 0.875rem;
}

.btn-lg {
  padding: var(--spacing-lg) var(--spacing-2xl);
  font-size: 1.125rem;
}

/* ============================================
   SECTION LAYOUTS
   ============================================ */
.section {
  padding: var(--spacing-2xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

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

.product-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  overflow: hidden;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

.product-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.product-badges {
  position: absolute;
  top: var(--spacing-md);
  left: var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  z-index: 2;
}

.product-badge {
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-full);
  background: var(--text-primary);
  color: var(--text-white);
}

.product-badge.sale {
  background: #e74c3c;
}

.product-badge.new {
  background: var(--primary-pink-dark);
  color: var(--text-primary);
}

.product-actions {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  opacity: 0;
  transform: translateX(20px);
  transition: var(--transition-smooth);
  z-index: 2;
}

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

.product-action-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--bg-white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.product-action-btn:hover {
  background: var(--primary-pink);
  transform: scale(1.1);
}

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

.product-info {
  padding: var(--spacing-lg);
}

.product-category {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--spacing-xs);
}

.product-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-name a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

.product-name a:hover {
  color: var(--primary-pink-dark);
}

.product-price {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.price-current {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

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

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md) var(--spacing-lg);
  border-top: 1px solid var(--border-light);
}

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

.product-stock.in-stock {
  color: #27ae60;
}

.product-stock.low-stock {
  color: #e67e22;
}

.add-to-cart-btn {
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--text-primary);
  color: var(--text-white);
  border: none;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.add-to-cart-btn:hover {
  background: var(--primary-pink-dark);
  color: var(--text-primary);
  transform: scale(1.05);
}

/* ============================================
   INSPIRATION / GET INSPIRED SECTION
   ============================================ */
.inspiration-section {
  background: var(--bg-white);
}

.inspiration-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.inspiration-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  display: block;
  text-decoration: none;
  color: inherit;
}

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

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

.inspiration-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--spacing-xl);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
  color: var(--text-white);
  transition: var(--transition-smooth);
}

.inspiration-category {
  display: inline-block;
  background: var(--primary-pink);
  color: var(--text-primary);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--spacing-sm);
}

.inspiration-overlay h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xs);
  font-weight: 700;
}

.inspiration-overlay p {
  font-size: 0.9rem;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.inspiration-card:hover .inspiration-overlay p {
  opacity: 0.9;
  max-height: 100px;
}

@media (max-width: 768px) {
  .inspiration-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--text-primary);
  color: var(--text-white);
  padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.footer-brand img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  padding: 4px;
  box-shadow: 0 4px 15px rgba(252, 177, 216, 0.4),
              0 0 0 4px rgba(255, 255, 255, 0.5);
}

.footer-brand span {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-about p {
  font-size: 0.95rem;
  opacity: 0.8;
  line-height: 1.7;
  margin-bottom: var(--spacing-lg);
}

.footer-social {
  display: flex;
  gap: var(--spacing-sm);
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 1rem;
  transition: var(--transition-fast);
}

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

.footer-column h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--spacing-lg);
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.footer-links li {
  margin-bottom: var(--spacing-sm);
}

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

.footer-links a:hover {
  color: var(--primary-pink);
  padding-left: var(--spacing-sm);
}

.footer-social .social-link,
.footer-social .social-link:visited {
  color: white;
}

.footer-bottom {
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  opacity: 0.7;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--spacing-md);
    text-align: center;
  }
}

/* ============================================
   SHOP PAGE FILTERS
   ============================================ */
.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--spacing-xl);
}

.shop-sidebar {
  position: sticky;
  top: calc(var(--navbar-height) + var(--spacing-lg));
  height: fit-content;
}

.filter-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
}

.filter-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid var(--border-light);
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.filter-option {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  cursor: pointer;
  padding: var(--spacing-sm);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.filter-option:hover {
  background: var(--primary-pink-light);
}

.filter-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-pink-dark);
}

.shop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-lg);
}

.shop-sort select {
  padding: var(--spacing-sm) var(--spacing-md);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  background: var(--bg-white);
  cursor: pointer;
}

@media (max-width: 992px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }
  
  .shop-sidebar {
    position: static;
  }
}

/* ============================================
   PORTFOLIO / GALLERY
   ============================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--spacing-lg);
}

.portfolio-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-white);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

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

.portfolio-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.portfolio-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.view-project {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  background: var(--bg-white);
  color: var(--text-primary);
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-fast);
  text-decoration: none;
  transform: translateY(10px);
  opacity: 0;
}

.portfolio-card:hover .view-project {
  transform: translateY(0);
  opacity: 1;
}

.view-project:hover {
  background: var(--primary-pink);
}

.portfolio-info {
  padding: var(--spacing-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-category {
  display: inline-block;
  background: var(--primary-pink-light);
  color: var(--text-primary);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--spacing-sm);
  align-self: flex-start;
}

.portfolio-info h3 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
  font-weight: 700;
  line-height: 1.3;
}

.portfolio-info p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
  flex: 1;
}
  background: var(--primary-pink-dark);
  transform: translateY(-2px);
}

/* ============================================
   BLOG CARDS
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--spacing-xl);
}

.blog-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

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

.blog-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.blog-content {
  padding: var(--spacing-lg);
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  font-size: 0.85rem;
  color: var(--text-light);
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.blog-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  line-height: 1.4;
}

.blog-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

.blog-title a:hover {
  color: var(--primary-pink-dark);
}

.blog-excerpt {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
}

.blog-read-more {
  color: var(--text-primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  transition: var(--transition-fast);
}

.blog-read-more:hover {
  color: var(--primary-pink-dark);
  gap: var(--spacing-sm);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero {
  text-align: center;
  padding: var(--spacing-lg) 0;
  background: linear-gradient(135deg, var(--primary-pink-light) 0%, var(--primary-pink) 100%);
}

.about-hero h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
}

.about-hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
  padding: var(--spacing-2xl) 0;
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: var(--spacing-lg);
}

.about-text p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: auto;
}

.team-section {
  background: var(--bg-white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--spacing-xl);
}

.team-card {
  text-align: center;
  padding: var(--spacing-xl);
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  transition: var(--transition-smooth);
}

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

.team-avatar {
  width: 150px;
  height: 150px;
  border-radius: var(--radius-full);
  margin: 0 auto var(--spacing-lg);
  overflow: hidden;
  border: 4px solid var(--primary-pink);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xs);
}

.team-card .position {
  color: var(--primary-pink-dark);
  font-weight: 500;
  margin-bottom: var(--spacing-md);
}

.team-card .bio {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
}

.contact-info {
  background: var(--bg-white);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.contact-info h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  margin-bottom: var(--spacing-lg);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: var(--primary-pink-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-primary);
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 1rem;
  margin-bottom: var(--spacing-xs);
}

.contact-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-form {
  background: var(--bg-white);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.contact-form h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  margin-bottom: var(--spacing-lg);
}

.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--spacing-sm);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--spacing-md);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: var(--font-primary);
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-pink-dark);
  box-shadow: 0 0 0 3px rgba(252, 177, 216, 0.2);
}

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

@media (max-width: 768px) {
  .contact-section {
    grid-template-columns: 1fr;
  }
}

/* Map Placeholder */
.map-section {
  margin-top: var(--spacing-xl);
}

.map-placeholder {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-image {
  position: relative;
  height: 400px;
}

.map-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.map-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 100%);
}

.map-pin {
  width: 60px;
  height: 60px;
  background: var(--primary-pink);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  animation: bounce 2s ease infinite;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

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

.map-info {
  text-align: center;
  color: white;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
}

.map-info h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
}

.map-info p {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: var(--spacing-xs);
}

.map-info .btn {
  margin-top: var(--spacing-md);
}

.btn-sm {
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: 0.9rem;
}

/* ============================================
   SIGN IN / AUTH PAGE
   ============================================ */
.auth-page {
  min-height: calc(100vh - var(--navbar-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xl);
  background: linear-gradient(135deg, var(--primary-pink-light) 0%, var(--primary-pink) 100%);
}

.auth-card {
  width: 100%;
  max-width: 450px;
  background: var(--bg-white);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.auth-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.auth-header h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: var(--spacing-sm);
}

.auth-header p {
  color: var(--text-secondary);
}

.auth-form .form-group {
  margin-bottom: var(--spacing-lg);
}

.auth-form .btn {
  width: 100%;
  justify-content: center;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin: var(--spacing-lg) 0;
  color: var(--text-light);
  font-size: 0.9rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-light);
}

.social-login {
  display: flex;
  gap: var(--spacing-md);
}

.social-btn {
  flex: 1;
  padding: var(--spacing-md);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-white);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.social-btn:hover {
  border-color: var(--primary-pink-dark);
  background: var(--primary-pink-light);
}

.auth-footer {
  text-align: center;
  margin-top: var(--spacing-lg);
  color: var(--text-secondary);
}

.auth-footer a {
  color: var(--text-primary);
  font-weight: 600;
  text-decoration: none;
}

.auth-footer a:hover {
  color: var(--primary-pink-dark);
}

/* ============================================
   PAGE HEADERS
   ============================================ */
.page-header {
  background: linear-gradient(135deg, var(--primary-pink-light) 0%, var(--primary-pink) 100%);
  padding: var(--spacing-lg) 0;
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

.page-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
}

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

.breadcrumb span {
  color: var(--text-light);
}

/* ============================================
   CART DRAWER
   ============================================ */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  height: 100vh;
  background: var(--bg-white);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: var(--transition-smooth);
  z-index: 1100;
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 1050;
}

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

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-lg);
  border-bottom: 1px solid var(--border-light);
}

.cart-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.cart-close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--primary-pink-light);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.cart-close:hover {
  background: var(--primary-pink);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: var(--spacing-lg);
}

.cart-item {
  display: flex;
  gap: var(--spacing-md);
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid var(--border-light);
}

.cart-item-image {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.cart-item-name {
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.cart-item-price {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  cursor: pointer;
  transition: var(--transition-fast);
}

.qty-btn:hover {
  background: var(--primary-pink-light);
}

.cart-footer {
  padding: var(--spacing-lg);
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--spacing-lg);
  width: 100%;
}

.cart-checkout-btn {
  width: auto;
  min-width: 200px;
  text-align: center;
}

/* ============================================
   WISHLIST DRAWER
   ============================================ */
.wishlist-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  height: 100vh;
  background: var(--bg-white);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: var(--transition-smooth);
  z-index: 1100;
  display: flex;
  flex-direction: column;
}

.wishlist-drawer.open {
  transform: translateX(0);
}

.wishlist-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 1050;
}

.wishlist-overlay.open {
  opacity: 1;
  visibility: visible;
}

.wishlist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-lg);
  border-bottom: 1px solid var(--border-light);
}

.wishlist-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.wishlist-close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--primary-pink-light);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.wishlist-close:hover {
  background: var(--primary-pink);
}

.wishlist-items {
  flex: 1;
  overflow-y: auto;
  padding: var(--spacing-lg);
}

.wishlist-empty {
  text-align: center;
  padding: var(--spacing-xl) 0;
  color: var(--text-light);
}

.wishlist-empty i {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  color: var(--primary-pink);
}

.wishlist-item {
  display: flex;
  gap: var(--spacing-md);
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid var(--border-light);
}

.wishlist-item-image {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.wishlist-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.wishlist-item-name {
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.wishlist-item-price {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: var(--spacing-sm);
}

.wishlist-item-actions {
  display: flex;
  gap: var(--spacing-sm);
}

.wishlist-item-actions button {
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.wishlist-add-to-cart {
  background: var(--primary-pink);
  border: none;
  color: var(--text-primary);
}

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

.wishlist-remove {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-light);
}

.wishlist-remove:hover {
  background: #fee2e2;
  border-color: #fecaca;
  color: #dc2626;
}

.wishlist-footer {
  padding: var(--spacing-lg);
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: center;
}

.wishlist-footer .btn {
  width: auto;
  min-width: 200px;
  text-align: center;
}

/* ============================================
   PORTFOLIO DETAIL VIEW (Full Page Modal)
   ============================================ */
.portfolio-detail {
  position: fixed;
  inset: 0;
  background: var(--bg-light);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  overflow-y: auto;
}

.portfolio-detail.open {
  opacity: 1;
  visibility: visible;
}

.portfolio-detail-header {
  position: sticky;
  top: 0;
  background: var(--bg-white);
  padding: var(--spacing-md) var(--spacing-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  z-index: 10;
}

.portfolio-detail-header .back-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.portfolio-detail-header .back-btn:hover {
  background: var(--bg-light);
  color: var(--primary-pink-dark);
}

.portfolio-detail-header .back-btn i {
  font-size: 1.2rem;
}

.portfolio-detail-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: var(--spacing-2xl);
}

.portfolio-detail-image {
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: var(--spacing-2xl);
  background: var(--bg-white);
}

.portfolio-detail-image img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  display: block;
}

.portfolio-detail-info {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-md);
}

.portfolio-detail-category {
  display: inline-block;
  background: var(--primary-pink-light);
  color: var(--text-primary);
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--spacing-md);
}

.portfolio-detail-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-lg);
  line-height: 1.2;
}

.portfolio-detail-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: var(--spacing-xl);
  max-height: 400px;
  overflow-y: auto;
  padding-right: var(--spacing-sm);
}

.portfolio-detail-desc::-webkit-scrollbar {
  width: 6px;
}

.portfolio-detail-desc::-webkit-scrollbar-track {
  background: var(--bg-light);
  border-radius: 3px;
}

.portfolio-detail-desc::-webkit-scrollbar-thumb {
  background: var(--primary-pink);
  border-radius: 3px;
}

/* Rich text content styling for frontend */
.portfolio-detail-desc p,
.portfolio-detail-desc ul,
.portfolio-detail-desc ol {
  margin-bottom: var(--spacing-md);
}

.portfolio-detail-desc ul,
.portfolio-detail-desc ol {
  padding-left: var(--spacing-lg);
}

.portfolio-detail-desc li {
  margin-bottom: var(--spacing-xs);
}

.portfolio-detail-desc h1,
.portfolio-detail-desc h2,
.portfolio-detail-desc h3 {
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.portfolio-detail-desc a {
  color: var(--primary-pink-dark);
  text-decoration: underline;
}

.portfolio-detail-desc strong {
  font-weight: 600;
}

.portfolio-detail-meta {
  display: flex;
  gap: var(--spacing-xl);
  padding-top: var(--spacing-xl);
  border-top: 1px solid var(--border-light);
}

.portfolio-detail-meta-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.portfolio-detail-meta-item i {
  color: var(--primary-pink);
  font-size: 1.2rem;
}

.portfolio-detail-cta {
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-xl);
  border-top: 1px solid var(--border-light);
  text-align: center;
}

.portfolio-detail-cta p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

.portfolio-detail-cta .btn {
  padding: var(--spacing-md) var(--spacing-2xl);
}

@media (max-width: 768px) {
  .portfolio-detail-content {
    padding: var(--spacing-lg);
  }
  
  .portfolio-detail-title {
    font-size: 1.75rem;
  }
  
  .portfolio-detail-info {
    padding: var(--spacing-xl);
  }
  
  .portfolio-detail-meta {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  
  .portfolio-detail-header {
    padding: var(--spacing-sm) var(--spacing-md);
  }
}

@media (max-width: 480px) {
  .cart-drawer,
  .wishlist-drawer {
    width: 100%;
  }
}

/* ============================================
   LOADING & ANIMATIONS
   ============================================ */
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-light);
  border-top-color: var(--primary-pink-dark);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center {
  text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.py-1 { padding-top: var(--spacing-xs); padding-bottom: var(--spacing-xs); }
.py-2 { padding-top: var(--spacing-sm); padding-bottom: var(--spacing-sm); }
.py-3 { padding-top: var(--spacing-md); padding-bottom: var(--spacing-md); }
.py-4 { padding-top: var(--spacing-lg); padding-bottom: var(--spacing-lg); }
.py-5 { padding-top: var(--spacing-xl); padding-bottom: var(--spacing-xl); }

.hidden { display: none !important; }
.visible { display: block !important; }

/* Smooth scrolling for internal links */
html {
  scroll-behavior: smooth;
}

/* Focus styles for accessibility */
*:focus-visible {
  outline: 2px solid var(--primary-pink-dark);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .nav-wrapper,
  .footer,
  .cart-drawer,
  .cart-overlay {
    display: none !important;
  }
}
