/* ==========================================================================
   LITTLE TO LARGE - PREMIUM FASHION UX & ANIMATIONS ENGINE
   ========================================================================== */

/* 1. SKELETON SHIMMER LOADER */
.skeleton-box {
  position: relative;
  overflow: hidden;
  background-color: #e5e7eb;
  border-radius: 8px;
}

.skeleton-box::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-100%);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 20%,
    rgba(255, 255, 255, 0.6) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: shimmer 1.6s infinite;
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

.skeleton-img {
  height: 250px;
  width: 100%;
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
}

.skeleton-title {
  height: 20px;
  width: 80%;
  margin-bottom: 0.6rem;
}

.skeleton-text {
  height: 14px;
  width: 60%;
  margin-bottom: 1rem;
}

.skeleton-btn {
  height: 40px;
  width: 100%;
  border-radius: 8px;
}

/* 2. GLOBAL PROGRESS BAR (Apple / Nike style navigation) */
#globalProgressBar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--marigold) 0%, var(--accent) 50%, var(--success) 100%);
  z-index: 10000;
  transition: width 0.4s cubic-bezier(0.1, 0.8, 0.3, 1), opacity 0.2s ease;
  box-shadow: 0 1px 8px rgba(217, 119, 6, 0.4);
}

/* 3. GLASSMORPHISM GLOBAL LOADING OVERLAY */
.global-loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.global-loader-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.loader-brand {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: logoPulse 1.5s ease-in-out infinite;
}

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

.loader-brand span {
  color: var(--marigold);
}

/* Motion Clothing Icon */
.floating-clothing-icon {
  font-size: 2rem;
  color: var(--primary);
  animation: floatClothing 2s ease-in-out infinite;
}

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

/* 4. PREMIUM BUTTON STATE LOADING SPINNERS */
.btn-loading-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: btnSpinner 0.6s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

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

.btn-success-state {
  background-color: var(--success) !important;
  border-color: var(--success) !important;
  color: #fff !important;
}

.btn-error-state {
  background-color: var(--danger) !important;
  border-color: var(--danger) !important;
  color: #fff !important;
}

/* 5. FLY-TO-CART PARABOLIC THUMBNAILS */
.fly-item {
  position: fixed;
  z-index: 9999;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: contain;
  background-color: #fff;
  border: 2px solid var(--marigold);
  box-shadow: var(--shadow-md);
  pointer-events: none;
  transition: transform 0.8s cubic-bezier(0.18, 0.89, 0.32, 1.28), opacity 0.8s ease;
}

/* 6. CART ICON BOUNCE GLOW GLIDE */
.cart-badge-bounce {
  animation: badgeBounce 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cart-icon-glow {
  box-shadow: 0 0 15px var(--marigold) !important;
  transition: box-shadow 0.3s ease;
}

@keyframes badgeBounce {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* 7. PREMIUM MICRO-INTERACTIONS */
/* Card Hover Tilt Lift */
.tilt-hover {
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
}

.tilt-hover:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

/* Material Click Ripple Effect */
.btn-ripple {
  position: relative;
  overflow: hidden;
}

.btn-ripple .ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: rippleAnimation 0.5s linear;
  pointer-events: none;
}

@keyframes rippleAnimation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* 8. OFFLINE WARNING BANNER DISABLED */
.offline-banner {
  display: none !important;
}

/* 9. PROGRESSIVE IMAGE LAZY FADE */
.lazy-image {
  filter: blur(8px);
  transition: filter 0.5s ease, opacity 0.5s ease;
  opacity: 0.6;
}

.lazy-image.loaded {
  filter: blur(0);
  opacity: 1;
}

/* 10. MOBILE FORM & GRID LAYOUT OVERRIDES */
@media (max-width: 900px) {
  .account-layout {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    margin: 2rem 0 !important;
  }
}

@media (max-width: 768px) {
  /* Automatically stack side-by-side flex inputs inside forms on mobile */
  form div[style*="display:flex"], 
  form div[style*="display: flex"] {
    flex-direction: column !important;
    gap: 0.8rem !important;
  }
}

/* Skeleton responsive matching */
.skeleton-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
}
@media (max-width: 1024px) {
  .skeleton-detail-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
}

/* 11. RESPONSIVE CONTACT US / INQUIRY OVERRIDES */
@media (max-width: 768px) {
  .logo {
    font-size: 1.3rem !important;
    gap: 0.3rem !important;
    white-space: nowrap !important;
  }
  .logo span {
    white-space: nowrap !important;
    display: inline !important;
  }

  #contact {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    margin: 2rem auto !important;
  }
  
  #contact div[style*="padding:3rem"],
  #contact div[style*="padding: 3rem"] {
    padding: 1.5rem !important;
  }
  
  #inquiryForm div[style*="display:flex"],
  #inquiryForm div[style*="display: flex"] {
    flex-direction: column !important;
    gap: 0.8rem !important;
  }

  /* Hide text buttons in mobile navbar to prevent horizontal squishing */
  .nav-actions .btn-accent,
  .nav-actions .btn-primary {
    display: none !important;
  }

  /* Stack reviews layout vertically on mobile */
  .reviews-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
}

/* 12. GLOBAL HORIZONTAL OVERFLOW PREVENTION */
html, body {
  max-width: 100% !important;
  overflow-x: hidden !important;
  width: 100% !important;
}

/* 13. PREMIUM NAVIGATION DRAWER STYLING */
.nav-drawer {
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  overflow-y: auto !important;
}
.drawer-header {
  background: var(--primary, #1e1b4b);
  padding: 2.5rem 1.5rem 1.5rem 1.5rem;
  color: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  box-sizing: border-box;
}
.drawer-header .drawer-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
}
.drawer-user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}
.drawer-user-info img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
}
.drawer-user-info .guest-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
}
.drawer-user-name {
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.2;
}
.drawer-user-email {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
}
.drawer-login-btn {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: var(--marigold, #d97706);
  color: #fff !important;
  font-weight: 700;
  border-radius: 50px;
  font-size: 0.85rem;
  text-decoration: none;
  width: fit-content;
  text-align: center;
  transition: opacity 0.2s ease;
}
.drawer-login-btn:hover {
  opacity: 0.9;
}
.drawer-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-sizing: border-box;
}
.drawer-section-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #999;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 0.2rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
}
.drawer-links-group {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.drawer-link {
  display: flex !important;
  align-items: center;
  gap: 0.8rem;
  color: #333 !important;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 0.2rem 0;
}
.drawer-link i {
  width: 20px;
  color: var(--primary, #1e1b4b);
  text-align: center;
  font-size: 1.05rem;
}
.drawer-link:hover {
  color: var(--marigold, #d97706) !important;
}
.drawer-link.logout-link {
  color: var(--danger, #ef4444) !important;
  margin-top: 0.5rem;
  border-top: 1px solid #eee;
  padding-top: 1rem;
}
.drawer-link.logout-link i {
  color: var(--danger, #ef4444);
}

/* 14. ACCOUNT PROFILE SUB-TABS & MODERN FORM DESIGNS */
.profile-subtabs {
  display: flex;
  gap: 10px;
  margin-bottom: 2rem;
  border-bottom: 2px solid #f4f4f5;
  padding-bottom: 5px;
  overflow-x: auto;
  scrollbar-width: none;
}
.profile-subtabs::-webkit-scrollbar {
  display: none;
}
.subtab-btn {
  background: none;
  border: none;
  padding: 0.6rem 1.2rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-light, #71717a);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.subtab-btn:hover {
  color: var(--primary, #1e1b4b);
}
.subtab-btn.active {
  color: var(--primary, #1e1b4b);
  border-bottom-color: var(--marigold, #d97706);
}
.profile-subtab-content {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.profile-subtab-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Validation inputs */
.validation-input-group {
  position: relative;
  display: flex;
  flex-direction: column;
}
.validation-input-group input.valid {
  border-color: #22c55e !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2322c55e'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 40px;
}
.validation-input-group input.invalid {
  border-color: #ef4444 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ef4444'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 40px;
}
.validation-input-group .error-msg {
  font-size: 0.75rem;
  color: #ef4444;
  font-weight: 700;
  margin-top: 4px;
  min-height: 15px;
}

/* Switch Toggle Slider */
.switch-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
  flex-shrink: 0;
}
.switch-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #e4e4e7;
  transition: .3s;
  border-radius: 34px;
}
.switch-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.switch-toggle input:checked + .switch-slider {
  background-color: var(--marigold, #d97706);
}
.switch-toggle input:checked + .switch-slider:before {
  transform: translateX(24px);
}

/* 15. MOBILE GRID RESPONSIVENESS OVERRIDES */
@media (max-width: 991px) {
  .catalog-layout {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    margin-top: 1.5rem !important;
  }
  .desktop-sidebar {
    display: none !important; /* Hide desktop catalog filters on mobile/tablet */
  }
  .about-grid, .contact-layout {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
    margin: 2.5rem auto !important;
  }
}

@media (max-width: 768px) {
  .detail-actions {
    flex-direction: column !important;
    gap: 1rem !important;
    margin-bottom: 2rem !important;
  }
  .detail-actions button {
    max-width: 100% !important;
    width: 100% !important;
  }
  .pincode-checker {
    flex-direction: column !important;
    gap: 0.8rem !important;
  }
  .pincode-checker input, .pincode-checker button {
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* 16. HIGHLY ATTRACTIVE CUSTOMER VISUAL EFFECTS */
.category-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
}
.category-card img {
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
}
.category-card:hover img {
  transform: scale(1.1) !important;
}
/* Diagonal sweep shine across category cards */
.category-card::after {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 100%);
  transform: skewX(-25deg);
  transition: 0.75s;
  pointer-events: none;
}
.category-card:hover::after {
  left: 125%;
}

/* Elevate product cards on hover and add borders */
.product-card {
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease, border-color 0.4s ease !important;
  border: 1px solid transparent;
}
.product-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: var(--shadow-lg) !important;
  border-color: var(--border-color) !important;
}
.product-card img {
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
}
.product-card:hover img {
  transform: scale(1.05) !important;
}

/* Premium gradient on CTA buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, hsl(243, 60%, 30%) 100%) !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(30, 27, 75, 0.15);
  transition: all 0.3s ease !important;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 27, 75, 0.25) !important;
}
.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, hsl(16, 96%, 43%) 100%) !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.15);
  transition: all 0.3s ease !important;
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.25) !important;
}

/* Floating headers action-icons zoom */
.action-icon {
  position: relative;
  transition: transform 0.25s ease, color 0.25s ease !important;
}
.action-icon:hover {
  transform: translateY(-3px);
  color: var(--marigold) !important;
}

/* Cart Badge Micro-Bounce */
@keyframes badgeBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.4); }
}
.badge-bounce {
  animation: badgeBounce 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* 17. COOKIE CONSENT BANNER MODERN STYLES */
.cookie-banner {
  position: fixed !important;
  bottom: 24px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 90% !important;
  max-width: 580px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(30, 27, 75, 0.15) !important;
  box-shadow: 0 12px 32px rgba(30, 27, 75, 0.15) !important;
  border-radius: 14px !important;
  padding: 1.2rem !important;
  z-index: 10002 !important;
  box-sizing: border-box !important;
}
.cookie-content {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}
.cookie-content p {
  font-size: 0.82rem !important;
  color: var(--text-light, #4b5563) !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  font-weight: 500 !important;
}
.cookie-buttons {
  display: flex !important;
  justify-content: flex-end !important;
  gap: 10px !important;
}
.btn-cookie {
  padding: 0.5rem 1.2rem !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  cursor: pointer !important;
  border: none !important;
  transition: opacity 0.2s ease !important;
}
.btn-cookie.accept {
  background-color: var(--primary, #1e1b4b) !important;
  color: #fff !important;
}
.btn-cookie.reject {
  background-color: #e4e4e7 !important;
  color: #27272a !important;
}
.btn-cookie:hover {
  opacity: 0.9 !important;
}

@media (max-width: 768px) {
  .btn-share {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* 18. MOBILE CART RESPONSIVENESS OVERRIDES */
@media (max-width: 576px) {
  .cart-item {
    display: grid !important;
    grid-template-columns: 80px 1fr !important;
    gap: 1.2rem !important;
    align-items: start !important;
    padding: 1.2rem 0 !important;
    position: relative !important;
  }
  .cart-item-img {
    width: 80px !important;
    height: 100px !important;
    border-radius: 8px !important;
  }
  .cart-item-details {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
  }
  .cart-item-title {
    font-size: 0.92rem !important;
    line-height: 1.3 !important;
    margin-bottom: 2px !important;
  }
  .cart-item-meta {
    font-size: 0.8rem !important;
    margin-bottom: 4px !important;
  }
  .cart-item-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin-top: 6px !important;
    flex-wrap: wrap !important;
  }
  .qty-control {
    transform: scale(0.9) !important;
    transform-origin: left center !important;
  }
  .btn-remove-item {
    font-size: 0.8rem !important;
    padding: 2px 6px !important;
    border: 1px solid #fee2e2 !important;
    background: #fef2f2 !important;
    border-radius: 6px !important;
  }
  .cart-item-total-price {
    text-align: left !important;
    margin-top: 6px !important;
    font-size: 0.95rem !important;
    color: var(--primary) !important;
    font-weight: 800 !important;
  }
}

/* 19. MOBILE MENU SCROLL LOCK & OVERLAP RESOLUTIONS */
body.drawer-open {
  overflow: hidden !important;
  height: 100vh !important;
}

/* 20. 3D AND PREMIUM INTERACTION EFFECTS */
.tilt-card-3d {
  transform-style: preserve-3d;
  will-change: transform;
}
.tilt-card-3d .product-img-wrapper {
  transform: translateZ(20px);
}
.tilt-card-3d .product-details {
  transform: translateZ(10px);
}

.fade-slide-up {
  opacity: 0;
  animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.nav-drawer {
  background-color: #ffffff !important;
  height: 100% !important;
  height: 100vh !important;
  height: -webkit-fill-available !important; /* Mobile browser dynamic viewport size support */
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.2) !important;
}

/* 21. SITE-WIDE BOXES, BUTTONS, AND IMAGES STYLING OVERHAUL */

/* Modernized Buttons with glowing gradients */
.btn {
  background: linear-gradient(135deg, var(--marigold, #d97706) 0%, #f59e0b 100%) !important;
  color: var(--primary) !important;
  font-weight: 700 !important;
  border-radius: 50px !important;
  border: none !important;
  padding: 0.8rem 2rem !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.2) !important;
  position: relative;
  overflow: hidden;
}
.btn:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.35) !important;
}
.btn:active {
  transform: translateY(-1px) scale(0.98) !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light, #312e81) 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(30, 27, 75, 0.25) !important;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light, #312e81) 0%, var(--primary) 100%) !important;
  box-shadow: 0 8px 24px rgba(30, 27, 75, 0.4) !important;
  color: #ffffff !important;
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light, #dc2626) 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.2) !important;
}
.btn-accent:hover {
  background: linear-gradient(135deg, var(--accent-light, #dc2626) 0%, var(--accent) 100%) !important;
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.35) !important;
  color: #ffffff !important;
}

/* Premium Glassmorphism & Soft Border Shadows on all Cards and Boxes */
.product-card, .account-card, .cart-container, .billing-card, .about-grid > div, .checkout-summary-card {
  background: #ffffff !important;
  border: 1px solid rgba(228, 228, 231, 0.7) !important;
  border-radius: 16px !important; /* Slightly more rounded for modern, softer look */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02), 0 1px 3px rgba(0, 0, 0, 0.01) !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.product-card:hover {
  transform: translateY(-8px) !important;
  border-color: rgba(30, 27, 75, 0.15) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}

/* Category cards premium hover and vignette */
.category-card {
  border-radius: 16px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
  border: 1px solid rgba(228, 228, 231, 0.5) !important;
}
.category-card img {
  filter: brightness(0.95);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease !important;
}
.category-card:hover img {
  transform: scale(1.06) !important;
  filter: brightness(1.02);
}

/* Image wrappers styling */
.product-img-wrapper {
  background: radial-gradient(circle, #fcfcfc 0%, #f8fafc 100%) !important;
  border-bottom: 1px solid rgba(228, 228, 231, 0.5) !important;
}
.product-img-wrapper img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.product-card:hover .product-img-wrapper img {
  transform: scale(1.04) !important;
}

/* Input Fields Premium Enhancements */
.form-input, input[type="text"], input[type="email"], input[type="password"], input[type="tel"], textarea, select {
  border: 1px solid rgba(228, 228, 231, 1) !important;
  border-radius: 8px !important;
  padding: 0.75rem 1rem !important;
  background-color: #fafafa !important;
  transition: all 0.3s ease !important;
}
.form-input:focus, input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, input[type="tel"]:focus, textarea:focus, select:focus {
  background-color: #ffffff !important;
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 4px rgba(30, 27, 75, 0.08) !important;
  outline: none !important;
}

/* 22. MOBILE 2X2 CATEGORIES GRID MATRIX */
@media (max-width: 768px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }
  .category-card {
    height: 180px !important; /* Shorter height so it forms a beautiful 2x2 compact block */
  }
  .category-card-overlay {
    padding: 1rem !important;
  }
  .category-card-overlay h3 {
    font-size: 1.1rem !important;
  }
  .category-card-overlay span {
    font-size: 0.7rem !important;
  }
}

/* 23. ELEGANT LOGO TYPOGRAPHY & NO-WRAP MOBILE FIXES */
.logo, .footer-logo {
  white-space: nowrap !important;
  display: flex !important;
  align-items: center !important;
  font-size: 1.45rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.5px !important;
  font-family: 'Outfit', sans-serif !important;
  text-transform: capitalize !important;
}

.logo-accent {
  color: var(--marigold) !important;
  font-style: italic !important;
  font-weight: 400 !important;
  font-family: Georgia, serif !important;
  font-size: 1.25rem !important;
  margin: 0 4px !important;
  text-transform: lowercase !important;
}

@media (max-width: 576px) {
  .logo {
    font-size: 1.15rem !important; /* Shrunk size on mobile to prevent wrapping and overlaps */
  }
  .logo-accent {
    font-size: 0.95rem !important;
    margin: 0 2px !important;
  }
}

/* ==========================================================================
   11. HERO SLIDER SPLIT LAYOUT (NO-CROP PHOTO DISPLAY)
   ========================================================================== */

.hero-slide-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 3rem;
  height: 100%;
  width: 100%;
  position: relative;
  z-index: 3;
}

.slide-image-frame {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 85%;
  overflow: hidden;
}

.hero-slide-img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
  object-fit: contain;
  border: 3px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide:hover .hero-slide-img {
  transform: scale(1.04) rotate(0.5deg);
}

/* Mobile Responsive overrides for split hero layout */
@media (max-width: 768px) {
  .hero-slide-grid {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.8rem !important;
    padding: 1.5rem 1rem !important;
  }
  .slide-content {
    order: 1 !important;
  }
  .slide-image-frame {
    display: flex !important; /* Show image container on mobile! */
    order: 2 !important;
    justify-content: center !important;
    align-items: center !important;
    max-height: 140px !important;
    width: 100% !important;
  }
  .hero-slide-img {
    max-height: 130px !important;
    max-width: 100% !important;
    width: auto !important;
    object-fit: contain !important;
  }
  .slide-content h1 {
    font-size: 1.6rem !important;
    margin-bottom: 0.4rem !important;
    line-height: 1.2 !important;
  }
  .slide-content p {
    font-size: 0.85rem !important;
    margin-bottom: 0.8rem !important;
  }
  .slide-content .btn {
    padding: 0.45rem 1.2rem !important;
    font-size: 0.82rem !important;
  }
  .thumbnail-list {
    flex-wrap: wrap !important;
    gap: 0.6rem !important;
    justify-content: center !important;
    margin-top: 1rem !important;
  }
}
