:root {
  --primary-color: #2c3e50;
  --secondary-color: #654321;
  --accent-color: #f39c12;
  --success-color: #27ae60;
  --warning-color: #f1c40f;
  --error-color: #e74c3c;
  --text-color: #2c3e50;
  --text-light: #7f8c8d;
  --bg-color: #ffffff;
  --surface-color: #f8f9fa;
  --border-color: #e9ecef;
  --shadow-light: 0 2px 4px rgba(0, 0, 0, 0.101);
  --shadow-medium: 0 4px 8px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 8px 16px rgba(0, 0, 0, 0.2);
  --border-radius: 1px;
  --transition: all 0.3s ease;
  --navbar-height: 70px;
  --bottom-nav-height: 60px;
}

[data-theme="dark"] {

  --primary-color: #000000;
  --secondary-color: #000000;
  --text-color: #000000;
  --text-light: #e3e4e5;
  --bg-color: #000000;
  --surface-color: #00000;
  --border-color: #ffffff;
  --shadow-light: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-medium: 0 4px 8px rgba(0, 0, 0, 0.4);
  --shadow-heavy: 0 8px 16px rgba(0, 0, 0, 0.5);

  .whats-new {

    background: #000000ed;
    border: 1px solid rgba(255, 254, 254, 0.216);
  }

  .whats-new h2 {
    color: #ffffff;
  }

  .featured-products {
    color: #ffffff;
    background: black;
  }

  .featured-products h2 {
    color: #ffffff;
  }

  .products-grid {
    background: #000000ed;
  }

  .product-card {
    border: 1px solid rgba(255, 255, 255, 0.372);
    ;
    background-color: #000;
  }

  .product-info h3 {
    color: #ffffffcf;
  }

  .new-price {
    color: rgba(255, 255, 255, 0.865);
  }

  .product-badge {
    background: rgba(243, 240, 240, 0.734);
    color: black;
  }

  .go-back {
    background: rgba(255, 255, 255, 0.711);
    color: black;
  }

  .product-actions button {
    border: 1px solid white;
    color: rgb(255, 255, 255);
  }

  .show-more-btn {
    background: black;
    color: rgb(255, 255, 255);
    border: 1px solid white;
  }

  .product-detail {
    background: black;
  }

  .product-details h1 {
    background: linear-gradient(90deg, #fff, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .about-hero h1 {
    color: white;
  }

  #servicesPage,
  #servicesPage h1,
  .service-card {
    color: white;
    background: black;
  }

  .service-card {
    border: 1px solid rgba(255, 255, 255, 0.372);
  }

  #servicesPage h3,
  #servicesPage p {
    color: rgba(255, 255, 255, 0.684);
  }

  #servicesPage h2 {
    color: white;
  }

  .showcase-item {
    background-color: #000;
    border: 1px solid rgba(255, 255, 255, 0.499);
  }

  .trust-box {
    background-color: #000;
    border: 1px solid rgba(255, 255, 255, 0.372);
  }

  .faq-item {
    background: black;
    border: 1px solid rgba(255, 255, 255, 0.372);
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins';
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: var(--transition);
  overflow-x: hidden;
}

.settings-btn1 {
  margin-left: 50%;
  display: none;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at center, #5c3317, #2b1b0e 90%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

/* ===== FULL SCREEN WOODEN DOOR ===== */
.wooden-door {
  position: relative;
  width: 100vw;
  /* full width */
  height: 100vh;
  /* full height */
  perspective: 2500px;
  overflow: hidden;
}

.door-left,
.door-right {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;

  background:
    linear-gradient(to right, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.3)),
    repeating-linear-gradient(90deg,
      #6b3f1d,
      #6b3f1d 20px,
      #7a4a21 20px,
      #7a4a21 40px);

  border: 6px solid #2b1a12;

  box-shadow:
    inset -20px 0 30px rgba(0, 0, 0, 0.7),
    inset 0 0 60px rgba(0, 0, 0, 0.6),
    0 50px 80px rgba(0, 0, 0, 0.8);

  transition: transform 2s cubic-bezier(.19, 1, .22, 1);
  backface-visibility: hidden;
}

/* Light from inside */
.wooden-door::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center,
      rgba(255, 215, 0, 0.9),
      rgba(255, 140, 0, 0.6),
      transparent 60%);
  opacity: 0;
  transition: opacity 1.5s ease;
  z-index: -1;
}

.wooden-door.open::before {
  opacity: 1;
}

.wooden-door.open .door-left {
  transform: rotateY(-160deg);
}

.wooden-door.open .door-right {
  transform: rotateY(160deg);
}

/* Left door */
.door-left {
  left: 0;
  transform-origin: left center;
}

.door-left::before {
  left: 0;
}

/* Right door */
.door-right {
  right: 0;
  transform-origin: right center;
  box-shadow:
    inset 10px 0 18px rgba(0, 0, 0, 0.6),
    inset 0 0 30px rgba(0, 0, 0, 0.4),
    0 30px 50px rgba(0, 0, 0, 0.7);
}

.door-right::before {
  right: 0;
}

/* ===== Door Handles (Metallic) ===== */
.door-handle {
  position: absolute;
  top: 50%;
  width: 22px;
  height: 22px;
  background:
    radial-gradient(circle at 30% 30%, #fff3b0, #c9a227, #8a6d1d);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow:
    inset -2px -2px 4px rgba(0, 0, 0, 0.5),
    0 0 14px rgba(255, 215, 0, 0.7);
}

.door-left .door-handle {
  right: 18px;
}

.door-right .door-handle {
  left: 18px;
}

/* ===== OPEN ANIMATION ===== */
.wooden-door.open .door-left {
  transform: rotateY(-135deg);
}

.wooden-door.open .door-right {
  transform: rotateY(135deg);
}

/* ===== Shadow on ground ===== */
.wooden-door::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: 10%;
  width: 80%;
  height: 30px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.6), transparent 70%);
  filter: blur(10px);
}

.loading-text {
  
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: 6px;
  color: #fff;
  text-align: center;
  z-index: 10;

  text-shadow:
    0 0 20px rgba(255, 215, 0, 0.9),
    0 0 40px rgba(255, 140, 0, 0.7);

  opacity: 0;
  transition: opacity 1.5s ease;
}


/* Show text when door opens */
.wooden-door.open+.loading-text {
  opacity: 1;
  animation: glowPulse 2.8s infinite;
}

/* ===== Glow Animation ===== */
@keyframes glowPulse {

  0%,
  100% {
    opacity: 1;
    text-shadow:
      0 4px 10px rgba(255, 255, 255, 0.6),
      0 0 24px rgba(255, 215, 0, 0.8);
  }

  50% {
    opacity: 0.75;
    text-shadow:
      0 2px 6px rgba(0, 0, 0, 0.8),
      0 0 10px rgba(255, 255, 255, 0.4);
  }
}


/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--navbar-height);
  background: rgb(0, 0, 0);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid black;
  z-index: 1000;
  transition: var(--transition);
}

[data-theme="dark"] .navbar {
  background: rgba(0, 0, 0, 0.95);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 20px;
}

.nav-logo {
  font-family: 'Times New Roman', Times, serif;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--primary-color);
  text-decoration: none;
}


.logo-img {
  position: absolute;
  width: 75px;
  height: 60px;
  border-radius: 1px;
  object-fit: cover;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1px;
}

.nav-link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.972);
  font-weight: 800;
  transition: var(--transition);
  position: relative;
  font-family: 'Times New Roman', Times, serif;
  font-size: 11px;
  padding: 10px 15px;
  /* spacing idhar do */
  display: inline-block;
}


.nav-link:hover,
.nav-link.active {
  color: goldenrod;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: rgb(160, 120, 18);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* ================================
   SEARCH CONTAINER
================================ */
.search-container {
  position: relative;
  display: flex;
  align-items: center;
}

/* Search Icon */
.search-icon {
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  transition: 0.3s ease;
}

.search-icon:hover {
  color: goldenrod;
}

/* ================================
   FULL WIDTH SEARCH PANEL
================================ */
.search-panel {
  position: fixed;
  /* 🔥 Fixed full width */
  top: 70px;
  /* Navbar height ke hisaab se adjust karo */
  right: 30px;
  width: 50%;
  background: #fff;
  padding: 10px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: none;
  z-index: 9999;
  animation: slideDown 0.3s ease;
  border-radius: 4px;
}

/* Active state */
.search-panel.active {
  display: block;
}

/* Inner wrapper (centered content) */
.search-panel-inner {
  max-width: 900px;
  margin: auto;
  position: relative;
}

/* ================================
   SEARCH INPUT
================================ */
.search-input {
  width: 100%;
  padding: 5px 22px ;
  font-size: 14px;
  border-radius: 4px;
  border: 2px solid #eee;
  outline: none;
  transition: 0.3s ease;
}

.search-input:focus {
  border-color: goldenrod;
  box-shadow: 0 0 0 4px rgba(218, 165, 32, 0.15);
}

.search-suggestions {
  position: absolute;
  top: 105%;
  left: 0;
  width: 100%;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);

  max-height: 300px;
  overflow-y: auto;

  display: none;

  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 10px;
}

.search-suggestion-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  cursor: pointer;
  font-size: 14px;
  border: 1px solid #eee;
  border-radius: 8px;
}

.search-suggestion-item:hover {
  background: #f7f7f7;
}

.search-suggestion-item img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
}

.search-suggestion-item span {
  font-weight: 800;
  color: #333;
  line-height: 1.3;
}
/* product info container */
.search-product-info{
  display:flex;
  flex-direction:column;
  gap:3px;
}

/* title */
.search-product-title{
  font-weight:700;
  color:#333;
  font-size:14px;
}

.search-product-desc{
  font-size:12px;
  color:#777;
  line-height:1.3;

  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* price */
.search-product-price{
  font-size:13px;
  font-weight:700;
  color:#000;
}
/* ================================
   Animation
================================ */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================================
   MOBILE
================================ */
@media (max-width: 600px) {
  .search-panel {
    top: 70px;
    padding: 6px 0;
  }

  .search-input {
    font-size: 12px;
    padding: 7px 9px;
  }
}


.settings-btn,
.cart-btn {
  background: none;
  border: none;
  color: whitesmoke;
  font-size: 18px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: var(--border-radius);
  transition: var(--transition);
  position: relative;
}

.settings-btn {
  display: none;
}

.settings-btn:hover,
.cart-btn:hover,
.login-btn:hover {
  background: black;
  color: rgb(193, 170, 111);
}

.login-btn {
  font-size: 17px;
  background: none;
  border: none;
  color: whitesmoke;
  cursor: pointer;

  padding: clamp(6px, 1vw, 10px) clamp(10px, 2vw, 14px);
  border-radius: var(--border-radius);
  transition:
    background-color 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease,
    color 0.25s ease;

  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;

  /* performance */
  will-change: transform;
}

/* Hover animation */
.login-btn:hover {
  background-color: rgba(0, 0, 0, 0.06);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* Active (click / tap) */
.login-btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

/* Focus (keyboard accessibility) */
.login-btn:focus-visible {
  outline: 2px solid var(--accent-color, #4f46e5);
  outline-offset: 3px;
}

/* Optional icon / avatar animation */
.login-btn img,
.login-btn svg {
  width: clamp(36px, 5vw, 48px);
  height: clamp(36px, 5vw, 48px);
  border-radius: 50%;
  transition: transform 0.25s ease;
}

.login-btn:hover img,
.login-btn:hover svg {
  transform: scale(1.1);
}

/* Text styling */
.login-btn span {
  font-size: clamp(12px, 1.5vw, 14px);
  font-weight: 500;
  line-height: 1;
}

/* Mobile-friendly hover fallback */
@media (hover: none) {
  .login-btn:hover {
    transform: none;
    box-shadow: none;
  }
}


.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.829);
  color: white;
  font-size: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Hamburger */
.hamburger{
  display:none;
  width:26px;
  height:20px;
  position:relative;
  cursor:pointer;
  z-index:1500;
}

/* Lines */
.hamburger span{
  position:absolute;
  left:0;
  height:2px;
  background:#fff;
  border-radius:3px;
  transition:all 0.3s ease;
}

/* 🔥 Top line (full) */
.hamburger span:nth-child(1){
  top:0;
  width:100%;
}

/* 🔥 Middle line (half & centered) */
.hamburger span:nth-child(2){
  top:9px;
  width:50%;
  left:25%;   /* center align */
}

/* 🔥 Bottom line (full) */
.hamburger span:nth-child(3){
  top:18px;
  width:100%;
}

/* ========================= */
/* 🔥 ACTIVE → CROSS */
/* ========================= */

.hamburger.active span:nth-child(1){
  transform:translateY(9px) rotate(45deg);
  width:100%;
}

.hamburger.active span:nth-child(2){
  opacity:0;
}

.hamburger.active span:nth-child(3){
  transform:translateY(-9px) rotate(-45deg);
  width:100%;
}
/* Settings Panel */
.settings-panel {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-medium);
  padding: 20px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);

}

.settings-panel.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.settings-panel h3 {
  margin-bottom: 15px;
  color: var(--text-color);
}

.setting-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.theme-toggle {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
}

.theme-toggle:hover {
  background: var(--secondary-color);
}

/* Main Content */
.main-content {
  margin-top: var(--navbar-height);
  min-height: calc(100vh - var(--navbar-height));
}

.page {
  display: none;
  animation: fadeIn 0.5s ease;
}

.page.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero {
  height: 100vh;
  width: 100%;
  perspective: 1400px;
  overflow: hidden;
  position: relative;
}

/* TOP POLICY SLIDER */
.top-slider {
  position: absolute;
  top: 0;
  width: 100%;
  background: black;
  color: white;
  z-index: 10;
  overflow: hidden;
}

.slider-viewport {
  width: 100%;
  overflow: hidden;
}

.slider-track {
  display: flex;
  gap: 50px;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}

.slider-track span {
  font-size: 14px;
}

/* HERO SLIDER */
.hero-slider {
  height: 100%;
  width: 100%;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.25) rotateY(35deg);
  transition: transform 1.5s ease, opacity 1.5s ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1) rotateY(0);
  z-index: 3;
}

.slide.prev {
  opacity: 0.35;
  transform: translateX(-45%) scale(0.9) rotateY(30deg);
}

.slide.next {
  opacity: 0.35;
  transform: translateX(45%) scale(0.9) rotateY(-30deg);
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .4), rgba(0, 0, 0, .6));
}

.slide-content {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%) translateZ(80px);
  text-align: center;
  color: #fff;
  z-index: 2;
}

.slide-content h1 {
  font-size: 2.2rem;
}

.slide-content p {
  font-size: 1.3rem;
  margin: 15px 0 30px;
}

.cta-btn {
  border: 1px solid rgba(255, 255, 255, 0.417);
  position: relative;
  overflow: hidden;

  padding: 12px 22px;
  border-radius: 4px;

  background:transparent;
  color: rgb(255, 255, 255);
  font-weight: 600;
  cursor: pointer;

  transition: color 0.4s ease;
  z-index: 1;
}

/* Swipe layer */
.cta-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fffffff2;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.6s ease;

  z-index: -1;
}

/* Hover */
.cta-btn:hover::before {
  transform: scaleX(1);
}

.cta-btn:hover {
  color: #070707;
}


.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .15);
  border: none;
  color: white;
  font-size: 40px;
  padding: 10px 16px;
  cursor: pointer;
  z-index: 6;
}

.slider-btn.prev {
  left: 20px;
}

.slider-btn.next {
  right: 20px;
}

@keyframes marquee {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(-100%);
  }
}


@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(22, 21, 23, 0.189);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition);
  z-index: 3;
  color: white;
}

.slider-btn:hover {
  color: black;
  background: white;
  box-shadow: var(--shadow-medium);
}



/* Categories */
.categories {
  padding: 80px 10px;
  max-width: 1400px;
  margin: 0 auto;
}

.categories h2 {
  font-weight: 900;
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.5rem;
  color: rgba(0, 0, 0, 0.917);
}

.category-subtext {
  font-size: 16px;
  color: #666;
  max-width: 600px;
  width: 90%;
  /* small screens pe adjust hoga */
  margin: 0 auto 40px auto;
  line-height: 1.6;
  text-align: center;
  /* text bhi center */
}

/* Mobile responsive */
@media (max-width: 600px) {
  .category-subtext {
    font-size: 14px;
    max-width: 100%;
  }
}

.category-subtitle {
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  color: #555;
  margin-top: 8px;
  margin-bottom: 30px;
  letter-spacing: 0.5px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 70px;
}

.category-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-light);
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-heavy);
}

.category-card img {
  border-radius: 4px;
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: var(--transition);
}

.category-card:hover img {
  transform: scale(1.1);
}

.category-card h3 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.153);
  color: white;
  text-align: center;
  padding: 20px;
  margin: 0;
  font-size: 1.3rem;
}

/* Products */
.featured-products {
  background: white;
}

.featured-products h2 {
  margin-top: 3%;
  font-weight: 900;
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.5rem;
  color: rgba(0, 0, 0, 0.898);
}

.products-header {
  padding: 2px;
  max-width: 1750px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.products-header h1 {
  font-size: 2.5rem;
}


.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
  max-width: 1650px;
  margin: 0 auto;
  padding: 0 5px;
}

.product-card {
  background: var(--bg-color);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.product-card.out-of-stock {
  opacity: 0.6;
  filter: grayscale(50%);
}

.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(17, 16, 16, 0.486);
  color: white;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
}

.product-badge.out-of-stock {
  background: var(--text-light);
}


.product-title {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-color);
}

.product-price {
  font-size: 0.8rem;
  font-weight: 200;
  color: rgb(58, 57, 57);
  margin-bottom: 10px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}



.product-rating {
  display: none;
  align-items: center;
  gap: 5px;
  margin-bottom: 15px;
}

.stars {
  color: var(--accent-color);
}

.rating-text {
  font-size: 14px;
  color: var(--text-light);
}

.product-actions {
  display: flex;
  gap: 10px;
}


.buy-now-btn {
  background: var(--secondary-color);
  color: white;
  display: none;
}

.buy-now-btn:hover {
  background: var(--accent-color);
}

/* ================= PRODUCT DETAIL ================= */
.product-detail {
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 15px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  background: linear-gradient(180deg, white, white);
}



.main-image {
  width: 100%;
  height: 620px;
  object-fit: cover;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  cursor: zoom-in;
  box-shadow: 0 25px 50px rgba(0, 0, 0, .12);
  transition: transform .4s ease, box-shadow .4s ease;
}

.main-image:hover {
  transform: scale(1.02);
  box-shadow: 0 35px 70px rgba(0, 0, 0, .18);
}

.thumbnail-images {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.image-zoom-container {
  overflow: hidden;
  touch-action: none; /* IMPORTANT for touch zoom */
}

.main-image {
  width: 100%;
  transition: transform 0.1s ease;
}

/* Hover zoom */
.image-zoom-container:hover .main-image {
  transform: scale(1.5);
}
.thumbnail {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: .75;
  transition: var(--transition);
}

.thumbnail:hover,
.thumbnail.active {
  border-color: var(--secondary-color);
  opacity: 1;
  transform: translateY(-3px);
}

/* ================= DETAILS ================= */
#productDetail {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  padding-bottom: 120px;
  /* sticky bar space */
}

/* Layout */
.product-images,
.product-details {
  width: 100%;
}

@media (min-width: 768px) {
  #productDetail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
  }

  .description-section,
  .reviews-section {
    grid-column: 1 / -1;
    /* full width */
  }
}


.product-details h1 {
  font-size: 2.1rem;
  font-weight: 900;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #111, #555);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.product-details .price {
  font-size: 1.5rem;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.813);
  margin-bottom: 25px;
  position: relative;
}

.product-details .price::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 70px;
  height: 4px;
  background: goldenrod;
  border-radius: 10px;
}

.product-description {
  font-family: 'Times New Roman', serif;
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 35px;
  color: var(--text-light);
}

/* ================= OPTIONS ================= */
.product-options {
  margin-bottom: 35px;
}

.option-group {
  margin-bottom: 25px;
}

.option-group label {
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}

.size-options,
.color-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.size-btn,
.color-btn {
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--surface-color);
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 5px 12px rgba(0, 0, 0, .06);
  transition: var(--transition);
}

.size-btn:hover,
.size-btn.active {
  background: rgba(0, 0, 0, 0.952);
  color: #fff;
  border-color: var(--secondary-color);
  box-shadow: 0 10px 20px rgba(0, 0, 0, .18);
}

.color-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  padding: 0;
}

.color-btn.active {
  box-shadow:
    0 0 0 3px rgba(212, 132, 3, 0.891),
    0 0 20px rgba(201, 139, 5, 0.867);
}

/* Stock text styling */
#pd_stock{
    display: block;
    margin: 25px 0 8px 0;
    font-size: 14px;
    font-weight: 600;
}

/* Quantity section spacing */
.quantity-selector{
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    flex-wrap: wrap;
}

/* Stock info inside quantity */
.quantity-selector .stock-info{
    margin-left: 10px;
    font-size: 13px;
    color: #666;
}

.quantity-btn {
  width: 42px;
  height: 42px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  background: #f7f7f7;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
}

.quantity-btn:hover {
  background: var(--primary-color);
  color: #fff;
}

.quantity-input {
  width: 65px;
  height: 42px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  text-align: center;
  font-weight: 700;
}

/* ================= ACTION BUTTONS ================= */
/* ================= ACTION BUTTONS ================= */
.action-buttons {
  position: sticky;
  /* scroll ke sath stick rahe */
  bottom: 60px;
  /* 👈 yahan value change karke UP / DOWN karo */

  display: flex;
  justify-content: center;
  /* center align */
  gap: 15px;

  width: 100%;
  z-index: 1000;
}





.buy-now-btn {
  background: linear-gradient(135deg,
      var(--secondary-color),
      #ff7b7b);
  color: #fff;
  border: none;
}

/* ================= IMAGE ZOOM ================= */
.zoom-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.zoom-modal.active {
  opacity: 1;
  visibility: visible;
}

.zoom-modal img {
  max-width: 90%;
  max-height: 90%;
  animation: zoomIn .35s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(.85);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.zoom-close {
  position: absolute;
  top: 25px;
  right: 25px;
  font-size: 32px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  opacity: .85;
}

.zoom-close:hover {
  opacity: 1;
  transform: scale(1.2);
}

/* Cart */
.cart-container {
  max-width: 1200px;
  margin: auto;
  padding: 50px 20px;
}

.cart-container h1 {

  color: #000;
  font-weight: 900;
  font-size: 2.4rem;
  margin-bottom: 35px;
  letter-spacing: 0.5px;
}

/* Cart Item */
.cart-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 26px;
  background: var(--surface-color);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.cart-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

/* Image */
.cart-item img {
  width: 95px;
  height: 95px;
  border-radius: 14px;
  object-fit: cover;
}

/* Details */
.cart-item-details {
  flex: 1;
}

.cart-item-title {
  color: rgba(0, 0, 0, 0.906);
  font-family: poppins, sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.cart-item-options {
  font-size: 14px;
  color: var(--text-light);
}

.cart-item-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-top: 10px;
}

/* Quantity */
.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Remove Button */
.remove-btn {
  background: #fee2e2;
  color: var(--error-color);
  border: 1px solid #fecaca;
  padding: 9px 16px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.remove-btn i {
  font-size: 16px;
}

.remove-btn:hover {
  background: var(--error-color);
  color: #fff;
  transform: scale(1.05);
}

/* ===============================
   CART SUMMARY - AESTHETIC STYLE
================================ */

.cart-summary {
  background: #ffffff;
  padding: 42px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  margin-top: 60px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.04),
    0 4px 12px rgba(0, 0, 0, 0.03);
  backdrop-filter: blur(8px);
  transition: 0.3s ease;
}

/* Soft hover lift */
.cart-summary:hover {
  transform: translateY(-4px);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.06),
    0 8px 20px rgba(0, 0, 0, 0.04);
}


/* ===============================
   SUMMARY ROWS
================================ */

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  font-size: 1rem;
  color: #555;
  position: relative;
}

/* Soft divider */
.summary-row:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right,
      transparent,
      rgba(0, 0, 0, 0.08),
      transparent);
}

/* Total Row */
.summary-row:last-child {
  margin-top: 12px;
  padding-top: 20px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}


/* ===============================
   CHECKOUT BUTTON - PREMIUM
================================ */

.checkout-btn {
  width: 100%;
  margin-top: 35px;
  padding: 18px;
  border: none;
  border-radius: 4px;
  background: linear-gradient(135deg,
      var(--primary-color),
      var(--accent-color));
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Smooth hover */
.checkout-btn:hover {
  transform: translateY(-4px);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.25);
}

/* Click press effect */
.checkout-btn:active {
  transform: scale(0.98);
}

/* Empty Cart */
.empty-cart {
  text-align: center;
  padding: 100px 20px;
}

.empty-cart h2 {
  font-size: 1.7rem;
  color: rgba(0, 0, 0, 0.74);
  margin-bottom: 30px;
}

/* Shop Button */
.shop-now-btn {
  margin-top: 12px;
  padding: 12px 20px;
  background: white;
  color: #000000;
  border: 1px solid rgba(0, 0, 0, 0.452);
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.shop-now-btn:hover {
  background: rgba(0, 0, 0, 0.717);
  transform: translateY(-3px);
  color: white;
}

/* Authentication */
.auth-container {
  max-width: 500px;
  margin: 40px auto;
  padding: 0 20px;
}

.auth-tabs {
  display: flex;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
}

.auth-tab {
  flex: 1;
  background: none;
  border: none;
  padding: 15px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-light);
  border-bottom: 3px solid transparent;
  transition: var(--transition);
}

.auth-tab.active,
.auth-tab:hover {
  color: var(--secondary-color);
  border-bottom-color: var(--secondary-color);
}

.auth-form {
  display: none;
  background: var(--surface-color);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
}

.auth-form.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.auth-form h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-color);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background: var(--bg-color);
  color: var(--text-color);
  font-size: 16px;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.auth-btn,
.google-btn {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: var(--border-radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 15px;
}

.auth-btn {
  display: none;
  background: var(--secondary-color);
  color: white;
}

.auth-btn:hover {
  background: var(--accent-color);
}

.google-btn {
  background: #4285f4;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.google-btn:hover {
  background: #3367d6;
}

/* Profile */
.profile-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
  padding: 30px;
  background: var(--surface-color);
  border-radius: var(--border-radius);
  margin-top: 100px;
}

.profile-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--secondary-color);
}

.profile-info h1 {
  margin-bottom: 10px;
  color: var(--text-color);
}

.profile-info p {
  color: var(--text-light);
  margin-bottom: 15px;
}

.edit-profile-btn {
  background: var(--secondary-color);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
}

.edit-profile-btn:hover {
  background: var(--accent-color);
}

.profile-sections {
  display: grid;
  gap: 30px;
}

.profile-section {
  background: var(--surface-color);
  padding: 30px;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
}

.profile-section h3 {
  margin-bottom: 20px;
  color: var(--text-color);
}

/* ===============================
   CHECKOUT CONTAINER
================================ */

.checkout-container {
  max-width: 820px;
  margin: 60px auto;
  padding: 0 24px;
}

.checkout-container h1 {
  margin-bottom: 40px;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-color);
}


/* ===============================
   SECTIONS (Glass Soft Card)
================================ */

.checkout-section,
.order-summary {
  background: #ffffff;
  padding: 36px;
  border-radius: 4px;
  margin-bottom: 35px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.04),
    0 4px 12px rgba(0, 0, 0, 0.03);
  transition: 0.3s ease;
}

.checkout-section:hover,
.order-summary:hover {
  transform: translateY(-4px);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.06),
    0 8px 20px rgba(0, 0, 0, 0.04);
}

.checkout-section h3 {
  margin-bottom: 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-color);
}


/* ===============================
   PAYMENT OPTIONS
================================ */

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.payment-options label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 16px 18px;
  background: #fafafa;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 4px;
  transition: all 0.25s ease;
  font-weight: 500;
}

/* Hover effect */
.payment-options label:hover {
  background: #ffffff;
  border-color: var(--primary-color);
  transform: translateX(4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

/* Radio input styling */
.payment-options input[type="radio"] {
  accent-color: var(--primary-color);
  transform: scale(1.1);
}


/* ===============================
   ORDER SUMMARY
================================ */

.order-summary {
  font-size: 1rem;
  color: #555;
}

.place-order-btn {
  width: 100%;
  background: var(--success-color);
  color: white;
  border: none;
  padding: 18px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.3s ease;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.place-order-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-loader {
  width: 18px;
  height: 18px;
  border: 3px solid white;
  border-top: 3px solid transparent;
  border-radius: 50%;
  display: none;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


/* Click press */
.place-order-btn:active {
  transform: scale(0.98);
}

.reviews {
  padding: 100px 20px;
  max-width: 1200px;
  margin: auto;
}

.reviews h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: rgba(0, 0, 0, 0.88);
  letter-spacing: 2px;
}

/* Grid */
.reviews-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
}

/* Card */
.review-card {
  background: linear-gradient(145deg, #f9f9f9, #ffffff);
  border-radius: 18px;
  padding: 35px;
  box-shadow: 0 20px 40px var(--shadow);
  transform-style: preserve-3d;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  position: relative;
  overflow: hidden;
}

.review-card::before {
  content: "“";
  position: absolute;
  top: -15px;
  left: 25px;
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.2;
}

.review-card:hover {
  transform: translateY(-15px) rotateX(6deg) rotateY(-6deg);
  box-shadow: 0 30px 70px rgba(212, 175, 55, 0.45);
}

/* Header */
.review-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.review-date {
  font-size: 12px;
  color: #888;
}

.review-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

.review-info h4 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--white);
}

.review-rating {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
}

/* Text */
.review-text {
  font-style: italic;
  color: var(--gray);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Animation */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cart-btn1 {
  display: none;
}

.nav-logo p {
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {

  .category-grid {
    gap: 12px;
  }


  
/* Overlay (blur background) */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(5px);

  opacity: 0;
  visibility: hidden;

  transition: 0.4s;
  z-index: 1100;
}

.menu-overlay.active{
  opacity:1;
  visibility:visible;
}


/* Nav menu */
.nav-menu {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;
  height: auto;

  background: #000000ec;

  display: flex;
  flex-direction: column;

  padding: 4px 18px;

  transform: translateY(-100%);
  transition: transform 0.45s ease-in-out;

  z-index: 1200;
}

/* Show menu */
.nav-menu.active {
  margin-top: 70px;
  transform: translateY(0);
}


/* Nav items */
.nav-item {
  list-style: none;
  width: 100%;
  margin: 10px 0;
}

/* Nav links */
.nav-link {
  display: block;
  width: 100%;

  padding: 2px 0;

  font-size: 11px;
  letter-spacing: 1px;

  color: #f0f0f0;
  text-decoration: none;

  border-bottom: 1px solid #ffffff40;

  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

/* Animate links */
.nav-menu.active .nav-link {
  opacity: 1;
  transform: translateY(0);
}

  /* Animate links */
  .nav-menu.active .nav-link {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-menu.active .nav-item:nth-child(1) .nav-link {
    transition-delay: 0.1s;
  }

  .nav-menu.active .nav-item:nth-child(2) .nav-link {
    transition-delay: 0.2s;
  }

  .nav-menu.active .nav-item:nth-child(3) .nav-link {
    transition-delay: 0.3s;
  }

  .nav-menu.active .nav-item:nth-child(4) .nav-link {
    transition-delay: 0.4s;
  }


  /* Hover effect */
  .nav-link:hover,
  .nav-link.active {
    color: goldenrod;
    border-bottom: 1px solid goldenrod;
  }

  .fa-cog:before {
    color: rgba(47, 46, 46, 0.87);
  }

  .settings-btn1 {
    position: absolute;
    top: 20px;
    left: 20px;

    background: transparent;
    border: none;

    color: #000;
    font-size: 1.8rem;

    cursor: pointer;
    transition: transform 0.4s ease;
  }

  .settings-btn1:hover {
    transform: rotate(90deg);
  }


  .product-details h1 {
    font-size: 1.8rem;
  }

  .product-details .price {
    font-size: 1.5rem;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-item {
    margin: 15px 0;
  }

  .rating-text {
    display: none;
  }


  .login-btn {
    display: none;
  }

  .buy-now-btn {
    display: none;
  }

  .setting-btn1 {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 16px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    margin-right: 50%;
  }

  .settings-btn1:hover {
    background: var(--surface-color);
    color: var(--secondary-color);
  }

  .settings-btn {
    display: none;
  }

  .hamburger {
    margin-left: -16px;
    display: block;
  }



  .main-content {
    margin-bottom: var(--bottom-nav-height);
  }

  .search-container {
    width: 100%;
    margin: 20px 0;
    margin-left: 25%;
  }

  .search-input {
    width: 100%;

  }

  .search-icon {
    color: var(--text-light);
    cursor: pointer;
    font-size: 18px;
    margin-right: 55px;
  }

  .hero {
    height: 60vh;
  }



  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .product-card {
    min-height: 270px;
  }





  .product-title {
    font-size: 0.9rem;
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .main-image {
    height: 490px;
  }


.cart-item{
  flex-direction: row;   /* column hata diya */
  align-items: center;
  gap: 12px;
  padding: 14px;
}

/* Image smaller */

.cart-item img{
  width: 65px;
  height: 65px;
  border-radius: 10px;
}

/* Details */

.cart-item-details{
  flex: 1;
}

/* Title smaller */

.cart-item-title{
  font-size: 0.95rem;
  margin-bottom: 4px;
}

/* Options */

.cart-item-options{
  font-size: 12px;
}

/* Price */

.cart-item-price{
  font-size: 0.9rem;
  margin-top: 4px;
}

/* Quantity */

.cart-item-quantity{
  gap: 8px;
}

/* Remove button */

.remove-btn{
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 8px;
}

.remove-btn i{
  font-size: 12px;
}


  .profile-header {
    flex-direction: column;
    text-align: center;
  }


  .filters {
    flex-direction: column;
    width: 100%;
  }

  .filters select {
    width: 100%;
  }

  .products-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .cart-btn {
    display: none;
  }

  .cart-btn1 {
    display: block;
    background: none;
    background: none;
    border: none;
    color: whitesmoke;
    font-size: 18px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    left: 40%;
  }

  .cart-count1 {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    color: rgb(0, 0, 0);
    font-size: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .logo-img {
    width: 75px;
    height: 60px;
    border-radius: 1px;
    object-fit: cover;
    justify-content: center;
    left: 42%;
  }


  .nav-logo p {
    display: block;
    color: rgb(255, 255, 255);
    font-size: 7px;
    margin-top: -38px;
    margin-left: -125px;
    padding: 3px;
    letter-spacing: 1px;
  }

  .scroll-top-btn {
    padding: 2px;
  }

  .categories h2 {
    font-size: 2rem;
  }

  .featured-products h2 {
    font-size: 2rem;
  }

  .category-card h3 {
    font-size: 1.2rem;
  }

  .reviews h2 {
    font-size: 2rem;
  }

  .go-back {
    width: 25px;
    height: 25px;
  }

  .slide img {
    width: 100%;
    height: 74%;
    object-fit: contain;
  }

  .fa-basket-shopping:before,
  .fa-shopping-basket:before {
    color: white;
  }

  .fa-magnifying-glass:before,
  .fa-search:before {
    color: white;
    font-size: 20px;
  }

  .fa-basket-shopping:before,
  .fa-shopping-basket:before {
    color: white;
  }

}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .product-details h1 {
    font-size: 1.5rem;
  }

  .product-details .price {
    font-size: 1rem;
  }

  .product-card {
    min-height: 180px;
  }


  .product-description {
    line-height: 1.5;
  }

  .product-title {
    font-size: 0.75rem;
    margin-bottom: 5px;
  }

  .cart-btn1 {
    left: 46%;
  }


  .cta-btn {
    padding: 6px 8px;
    font-size: 12px;
  }

  .hero {
    height: 50vh;
  }

  .main-image {
    height: 420px;
  }

  .thumbnail {
    width: 60px;
    height: 60px;
  }

  .stars {
    display: none;
  }

  .logo-img {
    width: 70px;
    height: 56px;
    border-radius: 1px;
    object-fit: cover;
  }

  .product-badge {
    font-size: 9px;
  }

  .scroll-top-btn {
    height: 12px;
    width: 12px;
  }

  .slider-btn {
    width: 30px;
    height: 30px;
  }

  .categories h2 {
    font-size: 1.5rem;
  }

  .featured-products h2 {
    font-size: 1.5rem;
  }

  .reviews h2 {
    font-size: 1.5rem;
  }
  
.cart-item{
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 12px;
}

/* Image smaller */

.cart-item img{
  width: 55px;
  height: 55px;
  border-radius: 8px;
}

/* Details */

.cart-item-details{
  flex: 1;
  min-width: 0;
}

/* Title */

.cart-item-title{
  font-size: 0.85rem;
  margin-bottom: 2px;
}

/* Options */

.cart-item-options{
  font-size: 11px;
}

/* Price */

.cart-item-price{
  font-size: 0.8rem;
  margin-top: 2px;
}

/* Quantity */

.cart-item-quantity{
  gap: 6px;
}

/* Remove button */

.remove-btn{
  padding: 5px 8px;
  font-size: 11px;
  border-radius: 6px;
}

.remove-btn i{
  font-size: 10px;
}
.quantity-btn{
  font-size: 11px;
  width: 30px;
  height: 30px;
}
}


@media (max-width: 360px) {
  .nav-container {
    padding: 0 20px;
  }

  .product-details h1 {
    font-size: 1.2rem;
  }

  .hero {
    height: 40vh;
  }

  .slide-content h1 {
    font-size: 1.2rem;
  }

  .slide-content p {
    font-size: 0.9rem;
  }

  .categories,
  .featured-products,
  .reviews {
    padding: 0px 0px;
  }

  .product-card {
    min-height: 160px;
  }


  .product-title {
    font-size: 0.69rem;
  }

  .stars {
    padding: 2px;
  }

  .logo-img {
    width: 68px;
    height: 54px;
    border-radius: 1px;
    object-fit: cover;
  }

  .product-badge {
    font-size: 7px;
  }

  .slider-btn {
    width: 20px;
    height: 20px;
    font-size: 16px;
  }

  .category-card h3 {
    font-size: 1rem;
  }

  .slide img {
    width: 100%;
    height: 40%;
    object-fit: contain;
  }

}

@media (min-width: 2000px) {

  .nav-container,
  .products-grid,
  .categories,
  .featured-products {
    max-width: 2000px;
  }

  .products-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .hero {
    height: 90vh;
  }

  .slide-content h1 {
    font-size: 4rem;
  }

  .slide-content p {
    font-size: 1.5rem;
  }

}






/* Animations */
@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

.bounce {
  animation: bounce 2s infinite;
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  75% {
    transform: translateX(5px);
  }
}

.shake {
  animation: shake 0.5s ease-in-out;
}

@keyframes slideInFromLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.slide-in-left {
  animation: slideInFromLeft 0.5s ease-out;
}

@keyframes slideInFromRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.slide-in-right {
  animation: slideInFromRight 0.5s ease-out;
}

@keyframes rotateIn {
  0% {
    transform: rotate(-180deg) scale(0.5);
    opacity: 0;
  }

  100% {
    transform: rotate(0deg) scale(1);
    opacity: 1;
  }
}

.rotate-in {
  animation: rotateIn 0.6s ease-out;
}

/* Loading States */
.loading {
  position: relative;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top-color: var(--secondary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Enhanced Success/Error Messages */
.message {
  position: fixed;
  top: 70px;
  /* Pehle 20px tha – ab thora neeche */
  right: 20px;
  padding: 15px 25px;
  border-radius: 12px;
  color: #fff;
  font-weight: 600;
  z-index: 9999;

  /* Glass Effect */
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);

  transform: translateX(120%);
  transition: all 0.4s ease;
}

.message.show {
  transform: translateX(0);
}

.message.success {
  background: rgba(40, 167, 69, 0.85);
  /* Transparent Green */
}

.message.error {
  background: rgba(220, 53, 69, 0.85);
  /* Transparent Red */
}

.message.warning {
  background: rgba(255, 193, 7, 0.85);
  /* Transparent Yellow */
  color: #000;
  /* Yellow ke liye better readability */
}


/* Tooltips */
.tooltip {
  position: relative;
  cursor: help;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-color);
  color: var(--bg-color);
  padding: 8px 12px;
  border-radius: var(--border-radius);
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 9999;
}

.tooltip:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-5px);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--surface-color);
}

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-light);
}

/* Print Styles */
@media print {

  .navbar,
  .bottom-nav,
  .hamburger,
  .settings-panel {
    display: none !important;
  }

  .main-content {
    margin-top: 0;
  }

  .page {
    display: block !important;
  }

  body {
    color: black;
    background: white;
  }
}

.filters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    width: fit-content;
    margin: 20px auto;
}
.filters select {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s ease;
}

.filters select:hover {
    border-color: #f39c12;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.view-btn.icon-only {
  width: 42px;
  height: 42px;

  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.275);

  background: #ffffff;
  color: #000000;

  font-size: 18px;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.3s ease;
}

.view-btn.icon-only:hover {
  background: #ffffff;
  transform: rotate(90deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Mobile */
@media (max-width: 768px) {
  .view-btn.icon-only {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
}

.site-footer {
  background: linear-gradient(to top, #020202 0%, #050404 100%);
  color: #8d8d8d;
  position: relative;
  padding: 5rem 0 2rem;
  overflow: hidden;
}


/* Content layout */
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* Section headings */
.footer-section h3 {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: #fffffff3;
  margin-bottom: 25px;
  font-size: 1.3rem;
  position: relative;
  padding-bottom: 15px;
  font-weight: 900;
  letter-spacing: 1px;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: linear-gradient(to right, #eaeaea, #f4b23f);
  transition: width 0.5s ease;
}

.footer-section:hover h3::after {
  width: 100px;
}

/* Links */
.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 15px;
  transform: translateX(0);
  transition: transform 0.3s ease;
}

.footer-section ul li:hover {
  transform: translateX(10px);
}

.footer-section ul li a {
  color: #c3c3c3;
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  padding: 5px 0;
  position: relative;
}

.footer-section ul li a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(to right, #d4af37, #f4d03f);
  transition: width 0.3s ease;
}

.footer-section ul li a:hover {
  color: #d4af37;
}

.footer-section ul li a:hover::before {
  width: 100%;
}

/* Logo */
.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 100px;
  margin-right: 15px;
  filter: drop-shadow(0 0 10px rgba(180, 124, 50, 0.693));
}

.footer-logo .logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(45deg, #d4af37, #f4d03f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Social Icons */
.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.social-icon {
  text-decoration: none;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 18px;
  color: #fff;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* ===== Brand Colors ===== */

/* Facebook */
.footer-social a:nth-child(1) {
  background: #1877F2;
}

/* Instagram */
.footer-social a:nth-child(2) {
  background: linear-gradient(45deg,
      #f09433,
      #e6683c,
      #dc2743,
      #cc2366,
      #bc1888);
}

/* TikTok */
.footer-social a:nth-child(3) {
  background: #000;
}

/* YouTube */
.footer-social a:nth-child(4) {
  background: #FF0000;
}

/* ===== Hover Effect ===== */
.social-icon:hover {
  transform: translateY(-6px) scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Soft Glow on Hover */
.footer-social a:nth-child(1):hover {
  box-shadow: 0 0 20px rgba(24, 119, 242, 0.7);
}

.footer-social a:nth-child(2):hover {
  box-shadow: 0 0 20px rgba(225, 48, 108, 0.7);
}

.footer-social a:nth-child(3):hover {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.footer-social a:nth-child(4):hover {
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.7);
}

/* Newsletter */
.newsletter-form input {
  padding: 14px 20px;
  border: 1px solid rgba(254, 254, 254, 0.608);
  border-radius: 5px;
  background: #000000;
  color: #fcf1f1;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
}

.newsletter-form input:focus {
  outline: none;
  border-color: #f0f0ed;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.newsletter-form input::placeholder {
  color: #d6d2d2;
}

.newsletter-form button {
  margin-top: 8%;
  padding: 14px 20px;
  border: 1px solid rgba(254, 254, 254, 0.608);
  border-radius: 4px;
  background: linear-gradient(45deg, #000000, #000000);
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s ease;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 1px;
}

.newsletter-form button:hover {
  background: white;
  color: black;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.4);
}

/* Creator Profile */
.creator-profile {
  width: 120%;
  display: flex;
  align-items: center;
  background: rgba(212, 175, 55, 0.05);
  border-radius: 15px;
  padding: 25px;
  margin-top: 30px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.creator-profile:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.creator-avatar {
  width: 120px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 20px;
  border: 2px solid #3e3821;
}

.creator-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.creator-profile:hover .creator-avatar img {
  transform: scale(1.1);
}

.creator-info h4 {
  color: #785a07;
}

.creator-info p {
  color: #666;
}

/* Social Icons */
.creator-social {
  display: flex;
  gap: 12px;
}

.creator-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  transition: 0.3s ease;
}

/* Instagram */
.creator-social a:nth-child(1) {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

/* Facebook */
.creator-social a:nth-child(2) {
  background: #1877F2;
}

/* Hover */
.creator-social a:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  padding: 25px 20px 50px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 50px;
  position: relative;
  z-index: 2;
  color: #555;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: linear-gradient(to right, #c8a635, #f4d03f);
}

.payment-methods {
  display: flex;
  gap: 15px;
  font-size: 1.8rem;
  color: #888;
}

.payment-methods i:hover {
  color: #d4af37;
  transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }

  .creator-profile {
    flex-direction: column;
    text-align: center;
    margin-left: -10%;
  }

  .creator-avatar {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

.go-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /* space between arrow and text */
  background: linear-gradient(135deg, #ffffff, #ffffff);
  color: #000000;
  text-decoration: none;
  padding: 2px 0px;
  border-radius: 18vh;
  font-size: 18px;
  transition: all 0.3s ease;
  border: none;
  margin-top: 2px;
  margin-left: 12px;
}

.go-back::before {
  content: "←";
  font-size: 22px;
}

.go-back:hover {
  transform: translateX(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.go-back i {
  font-size: 12px;
}

/* Scroll to Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 135px;
  right: 15px;
  background: #181c20;
  color: #fff7f7;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(8, 7, 7, 0.701);
  transition: all 0.3s ease;
  z-index: 1000;
  display: none;
  /* Hidden by default */
}

.scroll-top-btn:hover {
  background: #e74c3c;
  transform: translateY(-3px);
}

/* WhatsApp Floating Button */
.whatsapp-btn {
  top: 70%;
  text-decoration: none;
  position: fixed;
  bottom: 100px;
  left: 16px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
}

.whatsapp-btn:hover {
  background: #1ebe5c;
  transform: scale(1.1);
}

.settings-btn2 {
  position: absolute;
  margin-left: 70%;
  margin-top: -2%;
  border: none;
}

.settings-btn2 i {
  color: #110d0d;
  background-color: rgb(255, 255, 255);
  font-size: 20px;
  transition: transform 0.3s ease;
  padding: 2px;
}

/* Hover effect */
.settings-btn2:hover {
  background: linear-gradient(135deg, #fc913a, #ea0b0b);
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.settings-btn2:hover i {
  transform: rotate(90deg);
}

/* Click (active) effect */
.settings-btn2:active {
  transform: scale(0.95);
}
.whats-new {
  margin-top: 6%;
  padding: 40px 20px;
  background: #ffffff;
  overflow: hidden;
  position: relative;
}

.whats-new-header {
  margin-top: 2%;
  display: flex;
  align-items: center;
  justify-content: center; /* center heading */
  margin-bottom: 30px;
}

.whats-new h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #000;
  text-align: center; /* center text */
  margin: 0;
}

/* Slider */
.whats-new-slider {
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}
.whats-new-track{
  display:flex;
  gap:32px;
  overflow-x:auto;
  scroll-behavior:auto;   /* smooth hata diya */
  white-space: nowrap;
  -webkit-overflow-scrolling: touch; /* mobile smooth swipe */
}

.whats-new-track::-webkit-scrollbar{
  display:none;
}

/* Product Card (BIGGER) */
.product-item5 {
  position: relative;
  height: 260px;      /* height increase */
  min-width: 230px;   /* width increase */
  max-width: 230px;
  flex: 0 0 auto;

  background: #fff;
  border-radius: 4px;
  overflow: hidden;

  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.product-item5:hover {
  transform: scale(1.07);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

/* Image */
.product-item5 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/* Animation */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .whats-new-track {
    gap: 18px;
    animation-duration: 14s;
  }

/* Product Card (BIGGER) */
.product-item5 {
  position: relative;
  height: 200px;      /* height increase */
  min-width: 180px;   /* width increase */
  max-width: 180px;
  flex: 0 0 auto;

  background: #fff;
  border-radius: 4px;
  overflow: hidden;

  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
}


.product-offers {
  margin: 15px 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
  color: #333;
}

.product-offers li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.product-offers li::before {
  content: "✔";
  color: green;
  position: absolute;
  left: 0;
}

.related-heading {
  margin-top: 50px;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
}

.toggle-slider {
  display: none;
  margin: 10px 0;
  padding: 6px 12px;
  border: none;
  background: #000;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
}

.toggle-slider:hover {
  background: #e63946;
}

.related-slider {
  overflow: hidden;
  position: relative;
  width: 90%;
  /* container width */
  margin: 20px auto;
  /* 🔥 center */
}


.related-track{
  display:flex;
  gap:15px;
  will-change: transform; /* smooth GPU animation */
}
.related-item {
  height: 295px;
  min-width: 250px;
  background: #fff;
  padding: 10px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.related-item img {
  height: 220px;
  width: 100%;
}

.related-item h3 {
  font-size: 1rem;
  margin: 10px 0 5px;
}

.related-item p {
  color: #e63946;
  font-weight: bold;
  display: none;
}

.related-item button {
  display: none;
  margin-top: 8px;
  padding: 6px 12px;
  border: none;
  background: #000;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
}

.related-item button:hover {
  background: #e63946;
}

/* Delivery Info */
.delivery-info {
  font-size: 0.9rem;
  color: #28a745;
}

.delivery-express {
  font-size: 0.85rem;
  color: #e67e22;
  font-weight: 600;
}

.delivery-timer {
  font-size: 0.85rem;
  color: #0077b6;
  font-weight: 500;
}

/* Bus Animation */
.bus-track {
  margin: 15px 0;
  overflow: hidden;
  height: 40px;
  position: relative;
  background: #f0f9ff;
  border-radius: 10px;
}

.bus {
  position: absolute;
  font-size: 1.8rem;
  animation: moveBus 5s linear infinite;
}

@keyframes moveBus {
  from {
    left: -50px;
  }

  to {
    left: 100%;
  }
}

/* Services */
.cart-services {
  margin: 12px 0;
  padding: 10px;
  background: #f9f9f9;
  border-radius: 8px;
}

.cart-services p {
  margin: 5px 0;
  font-size: 0.9rem;
  color: #444;
}

/* Checkout Button */
.checkout-btn {
  margin-left: 25%;
  width: 50%;
  padding: 12px;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  margin-top: 10px;
  transition: 0.3s;
}

.checkout-btn:hover {
  background: #1d8cd4;
}

/* Form Container */
.auth-form {
  max-width: 400px;
  margin: 50px auto;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  font-family: 'Arial', sans-serif;
}

/* Form Heading */
.auth-form h2 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 1.8rem;
  color: #333;
}

/* Input Fields */
.auth-form .form-group {
  margin-bottom: 20ypx;
}

.auth-form input {
  display: none;
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  outline: none;
  transition: 0.3s;
}

.auth-form input:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

/* Primary Login Button */
.auth-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: #007bff;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  margin-bottom: 15px;
  transition: 0.3s;
}

.auth-btn:hover {
  background: #0056b3;
}

/* Social Buttons */
.google-btn,
.facebook-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
  transition: 0.3s;
}

/* Google Button */
.google-btn {
  background: #db4437;
}

.google-btn:hover {
  background: #c1351d;
}

/* Facebook Button */
.facebook-btn {
  background: #4267B2;
}

.facebook-btn:hover {
  background: #2d4a9b;
}

/* Icons */
.google-btn i,
.facebook-btn i {
  font-size: 1.2rem;
}

/* Profile Header */
.profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 25px;
}

/* Profile Image */
.profile-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #007bff;
}

/* Profile Info */
.profile-info h1 {
  margin: 0;
  font-size: 1.8rem;
  color: #333;
}

.profile-info p {
  margin: 5px 0 15px;
  color: #666;
  font-size: 1rem;
}

/* Buttons */
.edit-profile-btn,
.logout-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  cursor: pointer;
  margin-right: 10px;
  transition: 0.3s;
}

.edit-profile-btn {
  background: #007bff;
  color: #fff;
}

.edit-profile-btn:hover {
  background: #0000008b;
  color: white;
}

.logout-btn {
  background: #dc3545;
  color: #fff;
}

.logout-btn:hover {
  background: #a71d2a;
}

/* ===============================
   PROFILE SECTIONS
================================ */
.profile-sections {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.profile-section {
  background: #ffffff;
  padding: 16px 18px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.profile-section h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #222;
}

.profile-section p {
  margin: 0;
  font-size: 14px;
  color: #666;
}

/* ===============================
   MODAL OVERLAY
================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px;
  z-index: 9999;
  animation: overlayFadeIn 0.35s ease;
}

@keyframes overlayFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ===============================
   MODAL CARD
================================ */
.modal-card {
  width: 100%;
  max-width: 650px;
  background: #fff;
  border-radius: 4px;
  padding: 22px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  animation: modalBounceIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-height: 92vh;
  overflow-y: auto;
}

/* Scrollbar */
.modal-card::-webkit-scrollbar {
  width: 6px;
}

.modal-card::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

@keyframes modalBounceIn {
  0% {
    opacity: 0;
    transform: translateY(70px) scale(0.85);
  }

  60% {
    transform: translateY(-6px) scale(1.03);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ===============================
   TITLE
================================ */

.modal-card h2 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 18px;
  color: #111;
}

/* ===============================
   FORM GRID
================================ */
.profile-edit-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.profile-edit-form textarea,
.profile-edit-form label,
#urlFields,
#np_preview,
.modal-actions {
  grid-column: span 2;
}

/* ===============================
   INPUTS
================================ */
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 14px;
  outline: none;
  transition: all 0.25s ease;
}

.form-group textarea {
  resize: vertical;
}

.form-group input:hover,
.form-group textarea:hover {
  border-color: #c7d2fe;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.18);
}

/* ===============================
   URL INPUTS
================================ */
#urlFields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.url-input {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px dashed #bbb;
  font-size: 13px;
}

/* ===============================
   IMAGE PREVIEW
================================ */
#np_preview {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

#np_preview img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #eee;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#np_preview img:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

/* ===============================
   ACTION BUTTONS
================================ */
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 10px;
}

/* Buttons */
.btn {
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
}

.btn:active {
  transform: scale(0.96);
}

.save-btn {
  border-radius: 4px;
  background: linear-gradient(135deg, #0e0e0f, #151920);
  color: #fff;
}

.save-btn:hover {
  box-shadow: 0 8px 22px rgba(79, 70, 229, 0.45);
}

.cancel-btn {
  border-radius: 4px;
  background: #f3f4f6;
  color: #333;
}

.cancel-btn:hover {
  background: #e5e7eb;
}

/* ===============================
   SMALL PHONES (≤360px)
================================ */
@media (max-width: 360px) {
  .modal-overlay {
    align-items: flex-start;
    padding: 8px;
  }

  .modal-card {
    padding: 14px;
    border-radius: 14px;
    margin-top: 18px;
    ;
  }

  .modal-card h2 {
    font-size: 18px;
  }

  .profile-edit-form {
    grid-template-columns: 1fr;
  }

  .profile-edit-form textarea,
  .profile-edit-form label,
  #urlFields,
  #np_preview,
  .modal-actions {
    grid-column: span 1;
  }

  .form-group input,
  .form-group textarea {
    font-size: 13px;
    padding: 10px;
  }

  #np_preview img {
    width: 70px;
    height: 70px;
  }

  .modal-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

/* ===============================
   SMALL MOBILES (≤ 480px)
================================ */
@media (max-width: 480px) {
  .modal-overlay {
    align-items: flex-start;
  }

  .modal-card {
    margin-top: 14px;
    padding: 16px;
    border-radius: 14px;
  }

  .modal-card h2 {
    font-size: 18px;
  }

  .modal-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

/* ===============================
   SHORT HEIGHT (Keyboard Open)
================================ */
@media (max-height: 500px) {
  .modal-overlay {
    align-items: flex-start;
  }

  .modal-card {
    margin-top: 10px;
    max-height: 85dvh;
  }
}

/* ===============================
   TABLETS (768px – 1024px)
================================ */
@media (min-width: 768px) {
  .modal-card {
    max-width: 720px;
  }

  .modal-card h2 {
    font-size: 22px;
  }
}

.settings-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease-in-out;
}

.settings-content.active {
  max-height: 500px;
  opacity: 1;
}

.setting-item {
  margin: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.setting-item.danger button {
  background: #e74c3c;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 5px;
}


.slider-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: 0.3s ease;
}

.slider-dot.active {
  width: 28px;
  border-radius: 20px;
  background: #fff;
}


@media (max-width: 360px) {

  .hero {
    perspective: none;
  }

  .slide {
    transform: scale(1.1);
  }

  .slide.prev,
  .slide.next {
    opacity: 0;
    transform: scale(0.9);
  }

  .slide-content h1 {
    font-size: 1rem;
  }

  .slide-content p {
    font-size: 0.9rem;
  }

  .cta-btn {
    padding: 10px 20px;
    font-size: 0.8rem;
  }

  .slider-btn {
    font-size: 28px;
    padding: 6px 10px;
  }

  .slider-track span {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .hero {
    perspective: 800px;
  }

  .slide.prev,
  .slide.next {
    opacity: 0;
  }

  .slide-content h1 {
    font-size: 1.1rem;
  }

  .slide-content p {
    font-size: 0.8rem;
  }

  .slider-btn {
    font-size: 12px;
  }
}

@media (max-width: 767px) {
  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero {
    perspective: 1000px;
  }


  .slide.prev {
    transform: translateX(-25%) scale(0.9);
  }

  .slide.next {
    transform: translateX(25%) scale(0.9);
  }
}

#pullRefreshIndicator{
position:fixed;
top:-80px;
left:50%;
transform:translateX(-50%);
width:120px;
height:50px;

display:flex;
align-items:center;
justify-content:center;
gap:10px;

backdrop-filter: blur(12px);
background:rgba(255,255,255,0.65);

border-radius:8px;
box-shadow:0 8px 25px rgba(0,0,0,0.12);

font-size:20px;
transition:0.35s cubic-bezier(.17,.67,.3,1.33);
z-index:9999;
}

/* show indicator */

body.pull-refresh-active #pullRefreshIndicator{
top:15px;
}

/* arrow */

.refresh-arrow{
font-size:20px;
color:#333;
transition:0.3s;
}

/* rotate arrow */

body.pull-refresh-active .refresh-arrow{
transform:rotate(180deg);
}

/* spinner */

.refresh-spinner{
width:18px;
height:18px;
border:3px solid rgba(0,0,0,0.1);
border-top:3px solid #000;
border-radius:50%;
animation:spin 0.7s linear infinite;
display:none;
}

/* loading state */

body.refresh-loading .refresh-arrow{
display:none;
}

body.refresh-loading .refresh-spinner{
display:block;
}

@keyframes spin{
0%{transform:rotate(0deg);}
100%{transform:rotate(360deg);}
}

.modal-image {
  text-align: center;
  margin-bottom: 8px;
}

.modal-image img {
  width: 80px;   /* 👈 choti image */
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
}