/* Glassmorphism Header for Mobile */
@media (max-width: 1023px) {
  .site-header {
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(195, 161, 103, 0.15) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 9980 !important;
  }
  .header-actions {
    display: flex !important;
    align-items: center;
    gap: 16px;
  }
}

/* ==========================================================================
   MISS REZANNA - COMPREHENSIVE MOBILE RESPONSIVE RULES
   ========================================================================== */

/* Prevent horizontal page overflow on small screens */
html, body {
  max-width: 100% !important;
  overflow-x: hidden !important;
  -webkit-tap-highlight-color: transparent;
}

/* Touch-friendly tap targets */
button, a, input, select, textarea, .nav-item, .btn, .btn-action {
  min-height: 44px;
  touch-action: manipulation;
}

/* Responsive media scaling */
img, video, iframe {
  max-width: 100%;
  height: auto;
}

/* TABLETS (< 991px) */
@media (max-width: 991px) {
  .site-header {
    padding: 12px 20px !important;
  }
  .hero-title {
    font-size: 34px !important;
  }
  .cart-container {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .cart-summary-card {
    position: static !important;
    width: 100% !important;
  }
}

/* SMARTPHONES (< 768px) */
@media (max-width: 767px) {
  .header-inner {
    padding: 10px 16px !important;
  }
  .logo-text {
    font-size: 18px !important;
    letter-spacing: 0.12em !important;
  }

  /* 2-Column Responsive Product Grid on Mobile */
  .grid-4, .product-grid, .arrivals-grid, .collection-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
    padding: 0 12px !important;
  }

  .product-card {
    border-radius: 10px !important;
    overflow: hidden !important;
    position: relative !important;
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  }
  .product-card:active {
    transform: scale(0.98) !important;
  }

  .product-card-img {
    aspect-ratio: 4/5 !important;
    object-fit: cover !important;
    width: 100% !important;
  }

  .product-card-info {
    padding: 12px 10px !important;
  }
  .product-card-title {
    font-size: 13px !important;
    line-height: 1.35 !important;
    font-weight: 500 !important;
    color: #111111 !important;
    margin-bottom: 4px !important;
  }
  .product-card-price {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #C3A167 !important;
  }

  /* Floating Quick-Add & Wishlist Buttons on Mobile */
  .mobile-card-actions {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 10;
  }
  .mobile-card-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    cursor: pointer;
  }
  .mobile-card-btn svg, .mobile-card-btn i {
    width: 16px;
    height: 16px;
  }

  /* Shopping Cart & Checkout Modal Responsive */
  .cart-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
  .cart-item-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }
  .cart-item-img {
    width: 70px !important;
    height: 90px !important;
  }

  /* Razorpay & Payment Modals */
  #razorpay-ui-modal > div, .modal-dialog {
    width: 95% !important;
    margin: 10px auto !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    border-radius: 12px !important;
  }

  /* Footer Links Stack */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    text-align: center !important;
  }
  .footer-socials {
    justify-content: center !important;
  }

  /* MOBILE-ONLY BRAND LOGO & HEADER COMPACTNESS */
  .brand-logo img {
    height: 52px !important;
    max-height: 52px !important;
    width: auto !important;
  }

  .site-header {
    padding: 6px 0 !important;
  }

  .hero-image-col {
    height: 46vh !important;
  }

  .hero-content-col {
    padding: 24px 20px !important;
  }

  .hero-title {
    font-size: 28px !important;
    line-height: 1.25 !important;
  }

  .hero-label {
    font-size: 11px !important;
    margin-bottom: 12px !important;
  }

  .craft-features {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .complete-look-card {
    padding: 20px 16px !important;
  }

  .footer-brand {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .footer-brand-desc {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  .footer-social {
    justify-content: center !important;
    margin-top: 16px !important;
    margin-bottom: 24px !important;
  }
}

/* EXTRA SMALL SMARTPHONES (< 480px) */
@media (max-width: 480px) {
  .logo-text {
    font-size: 16px !important;
  }
  .product-card-title {
    font-size: 12px !important;
  }
  .btn-primary, .btn-secondary {
    padding: 12px 18px !important;
    font-size: 11px !important;
    width: 100% !important;
  }
}

/* ==========================================================================
   LUXURY SLIDE BAR NAVIGATION DRAWER
   ========================================================================== */

.hamburger-toggle-btn {
  background: transparent !important;
  border: none !important;
  color: #111111 !important;
  cursor: pointer;
  padding: 8px 12px;
  margin-right: 14px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, color 0.2s ease;
  z-index: 10002 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.hamburger-toggle-btn:hover {
  color: #c3a167 !important;
  transform: scale(1.08);
}

.hamburger-lines {
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  width: 26px !important;
  height: 18px !important;
}

.hamburger-lines span {
  display: block !important;
  width: 100% !important;
  height: 2.5px !important;
  background-color: currentColor !important;
  border-radius: 2px;
  opacity: 1 !important;
}

.slide-bar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
}

.slide-bar-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.slide-bar-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: #111111;
  color: #ffffff;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.5);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.slide-bar-drawer.active {
  transform: translateX(0);
}

.slide-bar-header {
  padding: 28px 24px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.slide-bar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
}

.slide-bar-subbrand {
  font-size: 9px;
  color: #c3a167;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 3px;
}

.slide-bar-close-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
  padding: 6px;
  line-height: 1;
  transition: color 0.2s, transform 0.2s;
}

.slide-bar-close-btn:hover {
  color: #c3a167;
  transform: rotate(90deg);
}

.slide-bar-menu {
  list-style: none;
  padding: 20px 0;
  margin: 0;
  flex: 1;
}

.slide-bar-item {
  margin: 0;
}

.slide-bar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 28px;
  color: #e0e0e0;
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  letter-spacing: 0.08em;
  transition: all 0.25s ease;
  border-left: 3px solid transparent;
}

.slide-bar-link:hover, .slide-bar-link.active {
  color: #ffffff;
  background: rgba(195, 161, 103, 0.08);
  border-left-color: #c3a167;
  padding-left: 34px;
}

.slide-bar-link .item-icon {
  width: 18px;
  height: 18px;
  opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
}

.slide-bar-link:hover .item-icon {
  opacity: 1;
  color: #c3a167;
}

.slide-bar-footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #0a0a0a;
}

.slide-bar-cta-btn {
  display: block;
  width: 100%;
  padding: 14px;
  text-align: center;
  background: #c3a167;
  color: #111111;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s;
}

.slide-bar-cta-btn:hover {
  background: #d4b57e;
}

