/* ArtUnique - Custom Stylesheet */
:root {
  --color-primary: #D5005B;
  --color-primary-dark: #A80046;
  --color-primary-deep: #7A0035;
  --color-primary-light: #FCE4EF;
  --color-bg-light: #FFF7FA;
  --color-accent-cyan: #00C2CB;
  --color-accent-gold: #F5A623;
  --tw-gradient-stops: #A80046;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-light);
  color: #1F2937;
  overflow-x: hidden;
}

h1, h2, h3, .font-serif-heading {
  font-family: var(--font-heading);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #FFF0F5;
}
::-webkit-scrollbar-thumb {
  background: #D5005B;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #A80046;
}

/* Brand Colors */
.bg-magenta-primary { background-color: #D5005B; }
.bg-magenta-dark { background-color: #A80046; }
.bg-magenta-deep { background-color: #7A0035; }
.bg-magenta-light { background-color: #FCE4EF; }
.bg-magenta-surface { background-color: #FFF7FA; }
.text-magenta-primary { color: #D5005B; }
.text-magenta-dark { color: #A80046; }
.text-magenta-deep { color: #7A0035; }
.border-magenta-primary { border-color: #D5005B; }
.border-magenta-light { border-color: #FCE4EF; }

/* Navbar link hover animation */
.nav-link {
  position: relative;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #D5005B;
  transition: width 0.3s ease, left 0.3s ease;
  border-radius: 2px;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
  left: 0;
}

/* Hero Carousel */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 1;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 2;
}

/* Marquee Animation */
@keyframes marqueeScroll {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}
.marquee-track:hover {
  animation-play-state: paused;
}

/* Pulse Glow Animation */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(213, 0, 91, 0.4);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(213, 0, 91, 0);
  }
}
.whatsapp-pulse {
  animation: pulseGlow 2.5s infinite;
}

/* Heart burst animation for wishlist */
@keyframes heartBurst {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1); }
}
.heart-active {
  animation: heartBurst 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  fill: #D5005B !important;
  color: #D5005B !important;
}

/* Before / After Slider */
.before-after-container {
  position: relative;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}
.before-after-overlay {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 50%;
  overflow: hidden;
  will-change: width;
}
.before-after-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #FFFFFF;
  box-shadow: 0 0 12px rgba(0,0,0,0.3);
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 10;
}
.before-after-handle-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: #D5005B;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(213, 0, 91, 0.5);
  border: 3px solid #FFFFFF;
}

/* Horizontal scroll styling */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Smooth reveal on scroll */
.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Cart & Modal Transitions */
.drawer-backdrop {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}
.cart-drawer {
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.cart-drawer.active {
  transform: translateX(0);
}

/* ==========================================================================
   Dynamic Free Shipping Progress Bar & Celebration Animations
   ========================================================================== */
.shipping-progress-track {
  background: #fce7f3;
  border-radius: 9999px;
  overflow: hidden;
  height: 9px;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
}

.shipping-progress-fill {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #D5005B 0%, #880036 35%, #9333EA 70%, #D5005B 100%);
  background-size: 200% 100%;
  animation: shippingGradientShift 2.5s ease-in-out infinite;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1), background 0.4s ease, box-shadow 0.4s ease;
  position: relative;
}

.shipping-progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.45) 50%, rgba(255,255,255,0) 100%);
  animation: shippingShimmer 2s infinite linear;
}

/* Green Glow celebratory state when threshold unlocked */
.shipping-progress-fill.unlocked {
  background: linear-gradient(90deg, #10B981 0%, #059669 40%, #34D399 75%, #10B981 100%) !important;
  background-size: 200% 100% !important;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.8), 0 0 4px rgba(5, 150, 105, 0.6) !important;
  animation: shippingGreenGlowPulse 1.8s infinite alternate, shippingGradientShift 3s ease-in-out infinite !important;
}

.shipping-progress-card {
  transition: all 0.35s ease;
}

.shipping-progress-card.unlocked-glow {
  border-color: rgba(16, 185, 129, 0.45) !important;
  background: linear-gradient(135deg, rgba(236, 253, 245, 0.95) 0%, rgba(240, 253, 250, 0.98) 100%) !important;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.22) !important;
}

@keyframes shippingGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes shippingShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes shippingGreenGlowPulse {
  0% {
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5), 0 0 2px rgba(5, 150, 105, 0.4);
  }
  100% {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.95), 0 0 6px rgba(52, 211, 153, 0.8);
  }
}

/* ==========================================================================
   Animated Gifting Checkout Page Styles
   ========================================================================== */
.font-handwriting {
  font-family: 'Caveat', 'Dancing Script', cursive;
}

.gift-card-preview {
  background: linear-gradient(135deg, #FFFDF9 0%, #FAF6F0 100%);
  border: 1px dashed #E2D3B8;
  box-shadow: 0 4px 20px rgba(184, 142, 97, 0.12), inset 0 0 25px rgba(230, 215, 195, 0.3);
  position: relative;
}

.gift-card-preview::before {
  content: '💌';
  position: absolute;
  top: -12px;
  right: 18px;
  font-size: 20px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.wax-seal {
  width: 38px;
  height: 38px;
  background: radial-gradient(circle at 35% 35%, #D5005B 0%, #880036 75%, #4C001C 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(136, 0, 54, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.4);
  position: relative;
}

.wax-seal::after {
  content: 'AU';
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 900;
  color: #FFE4EC;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  letter-spacing: 0.5px;
}

.gift-wrap-card {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.gift-wrap-card.selected {
  border-color: #D5005B !important;
  background-color: #FFF0F5 !important;
  box-shadow: 0 0 0 2px #D5005B, 0 8px 16px rgba(213, 0, 91, 0.15) !important;
  transform: translateY(-2px);
}

.payment-method-card {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.payment-method-card.selected {
  border-color: #D5005B !important;
  background-color: #FFF5F9 !important;
  box-shadow: 0 0 0 2px #D5005B !important;
}

.btn-place-order-shimmer {
  background: linear-gradient(90deg, #D5005B 0%, #880036 30%, #D5005B 60%, #E91E63 100%);
  background-size: 250% 100%;
  animation: placeOrderShimmer 3s infinite ease-in-out;
}

@keyframes placeOrderShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes floatBoxBounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(-3deg); }
}

.animate-gift-bounce {
  animation: floatBoxBounce 2.5s infinite ease-in-out;
}

/* Search Overlay */
.search-overlay {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.search-overlay.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Loading Screen */
#loading-screen {
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#loading-screen.loaded {
  opacity: 0;
  visibility: hidden;
}

/* Toast notification */
.toast-msg {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #1F2937;
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: 9999px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  z-index: 100;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
  opacity: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}
.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Product badge shimmer */
.badge-discount {
  background: linear-gradient(135deg, #D5005B 0%, #A80046 100%);
}

/* ==========================================================================
   Category Horizontal Carousel & Cards
   ========================================================================== */
.category-slider-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.category-slider-card:hover {
  transform: translateY(-5px);
}
.category-img-box {
  background: #FFFFFF;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 1.5rem;
}
.category-slider-card:hover .category-img-box {
  box-shadow: 0 12px 28px -6px rgba(213, 0, 91, 0.18), 0 8px 12px -6px rgba(213, 0, 91, 0.08);
  transform: scale(1.02);
}
.category-slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #374151;
  border: 1.5px solid #FCE4EF;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 30;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}
.category-slider-arrow:hover {
  background-color: #D5005B !important;
  color: #FFFFFF !important;
  border-color: #D5005B !important;
  box-shadow: 0 8px 22px rgba(213, 0, 91, 0.35);
  transform: translateY(-50%) scale(1.08);
}
.category-slider-arrow:active {
  transform: translateY(-50%) scale(0.92);
}
.cat-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: #E2E8F0;
  border: none;
  padding: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.cat-dot.active {
  width: 26px;
  background-color: #D5005B;
}

.bestseller-pedestal-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.bestseller-pedestal-card:hover {
  transform: translateY(-5px);
}

/* AI Customer Support Chatbot Styles */
.chatbot-window {
  opacity: 0;
  transform: scale(0.85) translateY(20px);
  pointer-events: none;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: bottom left;
}

.chatbot-window.chatbot-open {
  opacity: 1 !important;
  transform: scale(1) translateY(0) !important;
  pointer-events: auto !important;
  visibility: visible !important;
}

/* Sam Mascot Launcher (Left Side) - Remains visible while chat is open */
#artunique-chatbot-launcher {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  z-index: 50;
}

#sam-video-wrapper {
  transform-origin: bottom center;
}

#sam-video-wrapper video {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-mask-image: -webkit-radial-gradient(white, black); /* Fix Safari video rendering clipping */
}

/* Remove default browser black focus rings & tap highlight on chatbot */
#artunique-chatbot-launcher button,
#artunique-chatbot-launcher a,
#artunique-chatbot-launcher div,
#artunique-chatbot-window button,
#artunique-chatbot-window input,
#artunique-chatbot-window a,
.chat-chip,
.chat-option-btn,
#chatbot-toggle-btn {
  outline: none !important;
  outline-color: transparent !important;
  -webkit-tap-highlight-color: transparent !important;
  -webkit-focus-ring-color: transparent !important;
  user-select: none;
}

#artunique-chatbot-launcher button:focus,
#artunique-chatbot-launcher button:focus-visible,
#artunique-chatbot-launcher button:active,
#artunique-chatbot-window button:focus,
#artunique-chatbot-window button:focus-visible,
#artunique-chatbot-window button:active,
#chatbot-toggle-btn:focus,
#chatbot-toggle-btn:focus-visible,
#chatbot-toggle-btn:active {
  outline: none !important;
  box-shadow: none !important;
  border-color: transparent;
}

.chat-bubble-bot {
  background: #FFF0F5;
  color: #1F2937;
  border: 1px solid rgba(213, 0, 91, 0.14);
  border-radius: 18px 18px 18px 4px;
  padding: 10px 14px;
  font-size: 0.8rem;
  line-height: 1.45;
  max-width: 88%;
  align-self: flex-start;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  animation: chatFadeIn 0.25s ease-out forwards;
}

.chat-bubble-user {
  background: #D5005B;
  color: #FFFFFF;
  border-radius: 18px 18px 4px 18px;
  padding: 10px 14px;
  font-size: 0.8rem;
  line-height: 1.45;
  max-width: 82%;
  align-self: flex-end;
  box-shadow: 0 2px 10px rgba(213, 0, 91, 0.25);
  animation: chatFadeIn 0.25s ease-out forwards;
}

.chat-bubble-bot a {
  color: #D5005B;
  font-weight: 700;
  text-decoration: underline;
}

@keyframes chatFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.typing-dot {
  width: 6px;
  height: 6px;
  background-color: #D5005B;
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out both;
}
.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0); opacity: 0.3; }
  40% { transform: scale(1); opacity: 1; }
}

.chat-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  margin: 3px 2px;
  background: #FFFFFF;
  border: 1px solid rgba(213, 0, 91, 0.22);
  color: #D5005B;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(213, 0, 91, 0.05);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}
.chat-chip:hover {
  background: #D5005B;
  border-color: #D5005B;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(213, 0, 91, 0.22);
}
.chat-chip:active {
  transform: scale(0.96);
}

/* Initial Chatbot Quick Options Grid & Modern Rounded Pill Buttons */
.chat-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
.chat-quick-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 10px;
  background: #FFFFFF;
  border: 1.5px solid rgba(213, 0, 91, 0.22);
  border-radius: 9999px;
  color: #D5005B;
  font-size: 0.73rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(213, 0, 91, 0.06);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  text-decoration: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  width: 100%;
}
.chat-quick-btn:hover {
  background: linear-gradient(135deg, #D5005B 0%, #B8004F 100%);
  border-color: #D5005B;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(213, 0, 91, 0.25);
}
.chat-quick-btn:active {
  transform: translateY(0) scale(0.96);
  box-shadow: 0 1px 3px rgba(213, 0, 91, 0.2);
}
.chat-quick-btn .btn-icon {
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.chat-quick-btn:hover .btn-icon {
  transform: scale(1.18);
}
.chat-quick-btn .btn-label {
  white-space: nowrap;
  letter-spacing: -0.01em;
}

/* Chatbot Multi-Option Action Cards Grid (6 Action Cards) */
.chat-actions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.chat-action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 6px;
  background: #FFFFFF;
  border: 1px solid rgba(213, 0, 91, 0.16);
  border-radius: 16px;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  text-decoration: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  width: 100%;
}
.chat-action-card:hover {
  background: #FFF5F8;
  border-color: #D5005B;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(213, 0, 91, 0.16);
}
.chat-action-card:active {
  transform: translateY(0) scale(0.96);
  box-shadow: 0 1px 3px rgba(213, 0, 91, 0.1);
}
.chat-action-card .action-icon {
  font-size: 1.35rem;
  line-height: 1;
  margin-bottom: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
.chat-action-card:hover .action-icon {
  transform: scale(1.18);
}
.chat-action-card .action-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #374151;
  line-height: 1.2;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}
.chat-action-card:hover .action-label {
  color: #D5005B;
}

/* ==========================================================================
   20. PRODUCT DETAIL PAGE (PDP) STYLES
   ========================================================================== */

/* Gallery Main Image Zoom Box */
.pdp-gallery-main {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  background: #FAFAFC;
  cursor: crosshair;
}

.pdp-gallery-img {
  transition: transform 0.3s cubic-bezier(0.2, 0, 0.2, 1), opacity 0.25s ease;
}

.pdp-gallery-main:hover .pdp-gallery-img.zoomable {
  transform: scale(1.4);
}

/* Thumbnail Active Glow */
.pdp-thumb-btn {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  background: #FFF7FA;
}

.pdp-thumb-btn.active {
  border-color: #D5005B;
  box-shadow: 0 0 0 3px rgba(213, 0, 91, 0.2);
  transform: scale(1.02);
}

/* Customization Upload Dropzone */
.pdp-upload-zone {
  border: 2px dashed rgba(213, 0, 91, 0.35);
  background: linear-gradient(135deg, rgba(255, 247, 250, 0.8) 0%, rgba(252, 228, 239, 0.4) 100%);
  transition: all 0.25s ease;
}

.pdp-upload-zone:hover,
.pdp-upload-zone.dragover {
  border-color: #D5005B;
  background: rgba(252, 228, 239, 0.8);
  transform: translateY(-1px);
}

/* Variant & Option Chips */
.pdp-option-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.55rem 0.95rem !important;
  border-radius: 9999px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  border: 1.5px solid #FCE4EF !important;
  background: #FFFFFF !important;
  color: #1F2937 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.2s cubic-bezier(0.2, 0, 0.2, 1) !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

.pdp-option-chip:hover {
  border-color: #D5005B !important;
  color: #D5005B !important;
  background: #FFF7FA !important;
  transform: translateY(-1px) !important;
}

.pdp-option-chip.active {
  border-color: #D5005B !important;
  background: #FFF0F5 !important;
  color: #D5005B !important;
  box-shadow: 0 2px 10px rgba(213, 0, 91, 0.2) !important;
  font-weight: 700 !important;
}

/* Quantity Control Stepper */
.pdp-qty-btn {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1F2937;
  border-radius: 0.75rem;
  transition: all 0.15s ease;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  cursor: pointer;
}

.pdp-qty-btn:hover {
  background: #D5005B;
  color: #FFFFFF;
  border-color: #D5005B;
}

/* Accordion and Tabs */
.pdp-tab-btn {
  position: relative;
  padding: 0.875rem 1.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: #6B7280;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.pdp-tab-btn.active {
  color: #D5005B;
  border-bottom-color: #D5005B;
}

/* Live Customization Preview Mockup */
.pdp-lamp-preview-glow {
  filter: drop-shadow(0 0 25px rgba(255, 200, 100, 0.55));
  animation: lampGlowPulse 3s ease-in-out infinite alternate;
}

@keyframes lampGlowPulse {
  0% { filter: drop-shadow(0 0 15px rgba(255, 190, 80, 0.4)); }
  100% { filter: drop-shadow(0 0 35px rgba(255, 215, 120, 0.7)); }
}

/* Sticky Mobile Purchase Bar */
.pdp-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 45;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid #FCE4EF;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  padding: 0.75rem 1rem;
  transform: translateY(0);
  transition: transform 0.3s ease;
}

/* ==========================================================================
   ADVANCED PRODUCT CUSTOMIZATION & 3D STUDIO STYLES
   ========================================================================== */

/* Main Customization Viewport */
.customizer-viewport-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at 50% 30%, #FFFFFF 0%, #FDF4F8 70%, #FBEBF2 100%);
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow: 0 10px 35px -5px rgba(213, 0, 91, 0.08), 0 0 0 1px rgba(252, 228, 239, 0.8);
}

/* 2D Interactive Canvas */
.customizer-canvas-2d {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  touch-action: none;
  transition: filter 0.2s ease;
}

.customizer-canvas-2d:active {
  cursor: grabbing;
}

/* 3D Three.js WebGL Container */
.customizer-three-container {
  width: 100%;
  height: 100%;
  display: none;
  cursor: grab;
  touch-action: none;
}

.customizer-three-container:active {
  cursor: grabbing;
}

.customizer-three-container canvas {
  width: 100% !important;
  height: 100% !important;
  outline: none;
}

/* Floating Viewport HUD Controls */
.customizer-hud-bar {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.customizer-hud-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(252, 228, 239, 0.9);
  font-size: 0.75rem;
  font-weight: 700;
  color: #374151;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  user-select: none;
}

.customizer-hud-btn:hover {
  background: #FFFFFF;
  color: #D5005B;
  border-color: #D5005B;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(213, 0, 91, 0.15);
}

.customizer-hud-btn.active {
  background: linear-gradient(135deg, #D5005B 0%, #A80046 100%);
  color: #FFFFFF;
  border-color: #D5005B;
  box-shadow: 0 4px 14px rgba(213, 0, 91, 0.35);
}

/* Direct Drag Hint Overlay */
.customizer-drag-hint {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  background: rgba(17, 24, 39, 0.75);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  pointer-events: none;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  animation: fadeInOutPulse 4s ease-in-out infinite alternate;
}

@keyframes fadeInOutPulse {
  0% { opacity: 0.7; transform: translateX(-50%) translateY(0); }
  100% { opacity: 1; transform: translateX(-50%) translateY(-2px); }
}

/* Custom Range Slider */
.customizer-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 9999px;
  background: #FCE4EF;
  outline: none;
  transition: background 0.2s ease;
}

.customizer-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #D5005B;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(213, 0, 91, 0.45);
  border: 2.5px solid #FFFFFF;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.customizer-slider::-webkit-slider-thumb:hover {
  transform: scale(1.18);
  box-shadow: 0 3px 12px rgba(213, 0, 91, 0.6);
}

.customizer-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #D5005B;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(213, 0, 91, 0.45);
  border: 2.5px solid #FFFFFF;
}

/* Transform Control Buttons */
.customizer-ctrl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  background: #FFFFFF;
  border: 1px solid #FCE4EF;
  color: #374151;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.15s ease;
  cursor: pointer;
  user-select: none;
}

.customizer-ctrl-btn:hover {
  background: #FFF0F5;
  color: #D5005B;
  border-color: #D5005B;
  transform: translateY(-1px);
}

.customizer-ctrl-btn:active {
  transform: scale(0.94);
}

.customizer-joystick-grid {
  display: grid;
  grid-template-columns: repeat(3, 2.25rem);
  grid-template-rows: repeat(3, 2.25rem);
  gap: 0.35rem;
  justify-content: center;
  align-items: center;
}

/* ==========================================================================
   21. SHOP CATALOG DYNAMIC ANIMATIONS & FILTER STYLES
   ========================================================================== */

/* Animated Product Card Entrance */
@keyframes shopCardEntrance {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.shop-card-animated {
  animation: shopCardEntrance 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, opacity;
}

/* Shimmer Badge */
@keyframes badgeShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.shimmer-badge {
  background: linear-gradient(90deg, #D5005B 0%, #FF4D8D 50%, #D5005B 100%);
  background-size: 200% 100%;
  animation: badgeShimmer 3.5s infinite linear;
}

/* Shop Category Chip Buttons */
.shop-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.825rem;
  font-weight: 700;
  border: 1.5px solid #FCE4EF;
  background: #FFFFFF;
  color: #4B5563;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.shop-cat-chip:hover {
  border-color: #D5005B;
  color: #D5005B;
  background: #FFF7FA;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(213, 0, 91, 0.12);
}

.shop-cat-chip.active {
  background: linear-gradient(135deg, #D5005B 0%, #A80046 100%);
  border-color: #D5005B;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(213, 0, 91, 0.32);
  transform: translateY(-1px);
}

/* Shop Subcategory Chip Buttons */
.shop-subcat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1.5px solid #FCE4EF;
  background: #FFFFFF;
  color: #4B5563;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.shop-subcat-chip:hover {
  border-color: #D5005B;
  color: #D5005B;
  background: #FFF7FA;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(213, 0, 91, 0.1);
}

.shop-subcat-chip.active {
  background: linear-gradient(135deg, #D5005B 0%, #A80046 100%);
  border-color: #D5005B;
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(213, 0, 91, 0.28);
  transform: translateY(-1px);
}

/* Price Range Slider */
.shop-price-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 9999px;
  background: #FCE4EF;
  outline: none;
}

.shop-price-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #D5005B;
  border: 2.5px solid #FFFFFF;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(213, 0, 91, 0.45);
  transition: transform 0.15s ease;
}

.shop-price-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.shop-price-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #D5005B;
  border: 2.5px solid #FFFFFF;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(213, 0, 91, 0.45);
}

/* Filter Checkbox Custom Styles */
.shop-filter-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 1.15rem;
  height: 1.15rem;
  border: 1.5px solid #E5E7EB;
  border-radius: 0.375rem;
  background: #FFFFFF;
  display: inline-grid;
  place-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.shop-filter-checkbox:checked {
  background: #D5005B;
  border-color: #D5005B;
}

.shop-filter-checkbox:checked::before {
  content: "";
  width: 0.45rem;
  height: 0.3rem;
  border-left: 2px solid #FFFFFF;
  border-bottom: 2px solid #FFFFFF;
  transform: rotate(-45deg) translate(1px, -1px);
}

/* Floating Filter Mobile Button */
.shop-mobile-filter-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 40;
  box-shadow: 0 10px 25px -5px rgba(213, 0, 91, 0.4);
}


