/* ===========================
   GENERAL RESET
=========================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
}

body {
  background: #fafafa;
  color: #111;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header styling */
header {
  width: 100%;
  display: flex;
  justify-content: space-between; /* Logo left, nav right */
  align-items: center;
  padding: 15px 30px;
  position: fixed;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, #FFFFFF, #F5F5F5, #EDEDED);
  z-index: 1000;
  box-sizing: border-box;
}

/* Logo styling with shining effect */
.logo {
  font-size: 26px;
  font-weight: 400;
  color: #000;
  letter-spacing: 4.5px;
  font-family: 'Montserrat', sans-serif;
  padding: 5px 10px;
  position: relative;
  overflow: hidden;
  margin-right: 20px;
}

.logo .tagline {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  color: #000;
  margin-top: -2px;
  font-family: 'Montserrat', sans-serif;
  opacity: 0.8;
}

/* Shining animation */
.logo::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    140deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: shine 4s infinite;
}

@keyframes shine {
  0% { left: -75%; }
  50% { left: 125%; }
  100% { left: 125%; }
}

/* Navbar styling */
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-links a,
.nav-links a:visited,
.nav-links a:active {
  color: #000 !important;
  text-decoration: none;
  font-size: 20px;
  transition: 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: #000 !important;
 /* filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.7));*/
  transform: scale(1.2);
}


/* Responsive tweaks */
@media (max-width: 600px) {
  header {
    padding: 12px 20px;
  }

  .logo {
    font-size: 28px;
  }

  .nav-links {
    gap: 27px;
  }

  .nav-links a {
    font-size: 17px;
  }
}
/* ===== TAGLINE BELOW HEADER ===== */
#bannerText {
  position: fixed;
  top:75px; /* adjust based on your header height */
  width: 100%;
  text-align: center;
  background: white;
  font-size:0.7rem;
  letter-spacing:10px;
  font-weight: 500;
  padding: 12px 0;
  transition: all 0.6s ease;
  z-index: 998;
  opacity:70%;
}

#bannerText.hide {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}
/* ===========================
   BAG SECTION TITLE
=========================== */
.bag-section {
  padding: 130px 20px 80px;
  text-align: center;
  
}

.bag-section h2 {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 25px;
  letter-spacing:10px;
  color: #111;
  
}
.bag-section h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ff4d6d, #254053);
  margin: 10px auto 0;
  border-radius: 2px;
  transition: width 0.3s;
}

.bag-section h2:hover::after {
  width: 120px;
}

/* ===========================
   VIEW TOGGLE BUTTONS
=========================== */
.view-toggle {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.view-toggle .view-btn {
  border: none;
  background: #f1f1f1;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.view-toggle .view-btn:hover {
  background:linear-gradient(90deg, #ff4d6d, #254053);
  color: #fff;
}

/* ===========================
   PRODUCT GRID
=========================== */
.product-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-items: center;
}

/* ===========================
   PRODUCT CARD
=========================== */
.wrapper {
  width: 100%;
  max-width: 350px;
  height: 500px;
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  transition: transform 0.5s, box-shadow 0.5s;
  display: flex;
  flex-direction: column;
}

.wrapper:hover {
  transform: scale(1.02);
  box-shadow: 5px 20px 30px rgba(0,0,0,0.2);
}

.container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.top {
  width: 100%;
  height: 80%;
  overflow: hidden;
  position: relative;
}

.top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.wrapper:hover .top img {
  transform: scale(1.05);
}

/* WISHLIST BUTTON */
.wishlist-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  cursor: pointer;
  font-size: 28px;
  color: white;
  z-index: 10;
  transition: color 0.3s;
}

.wishlist-btn.active {
  color: #ff4d6d;
}

/* BOTTOM SECTION */
.bottom {
  width: 100%;
  height: 20%;
  background: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-sizing: border-box;
}

.left {
  display: flex;
  align-items:center ;
  width: 100%;
  gap: 10px;
}

/* PRODUCT DETAILS */
.left .details {
  width: 90%;
  text-align: left;
  margin-right:0;
}

.left .details h1 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  color: #000;
  
}

.left .details p {
  font-size: 30px;
  font-weight: 500;
  color: #254053;
  margin-top:-2px;
}
.left .details .mrp {
  font-size: 14px;
  font-weight: 500;
  color:	#880808;
  text-decoration: line-through; /* cross out MRP */
  margin-top:0px;
}

.left .details .mrp span {
  color:black;
}

/* BUTTONS */
.left .buy,
.left .buy-now {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40%;
  height: 60px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin:0;
}

.left .buy {
  background: #f1f1f1;
  border-left: 0px solid rgba(0,0,0,0.1);
}

.left .buy i {
  font-size: 44px;
  color: #254053;
}

.left .buy:hover {
  background: #A6CDDE;
}

.left .buy:hover i {
  color: #00394B;
  transform: translateY(3px);
}

.left .buy-now {
  background:linear-gradient(90deg, #ff4d6d, #254053);
  color: white;
  font-size: 14px;
  line-height: 1.2;
  margin:0;
  height:80px;
  text-align: center;
}

.left .buy-now:hover {
  background: #e63b5c;
  transform: scale(1.05);
}

/* ===========================
   FOOTER
=========================== */



/* ===========================
   RESPONSIVE MEDIA QUERIES
=========================== */
@media (max-width: 1024px) {
  header {
    padding: 12px 25px;
  }

  .bag-section h2 {
    font-size: 28px;
    letter-spacing:10px;
  }

  .product-container {
    gap: 25px;
  }
}

@media (max-width: 768px) {
  

  .product-container {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
  }

  .wrapper {
    height: 500px;
  }

  .top {
    height: 80%;
  }

  .bottom {
    height: 20%;
    padding: 8px;
  }

  .left .buy,
  .left .buy-now {
    height: 80px;
    font-size: 13px;
    margin:0;
  }

  .bag-section h2 {
    font-size: 24px;
    letter-spacing:10px;
  }
}

@media (max-width: 480px) {
  .product-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .wrapper {
    max-width: 100%;
  }

  .left .details h1 {
    font-size: 18px;
  }

  .left .details p {
    font-size: 28px;
  }

  .left .buy,
  .left .buy-now {
    width: 50%;
    height: 100px;
    font-size: 18px;
    margin-right:-10px;
  }
  .bag-section h2 {
    font-size: 24px;
    letter-spacing:10px;
  }
}

/* ===========================
   PRODUCT GRID VIEWS
=========================== */

/* 1 product per row */
.product-container.view-1 {
  grid-template-columns: 1fr !important;
}

/* 2 products per row */
.product-container.view-2 {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 10px;
}

/* 4 products per row (already default) */
.product-container.view-4 {
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 10px;
}

/* Responsive adjustments for 2 products per row */
@media (max-width: 1024px) {
  .product-container.view-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .product-container.view-2 {
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .product-container.view-2 {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* ===========================
   MOBILE FIX FOR 2-PRODUCT GRID
=========================== */
@media (max-width: 768px) {
  /* When 2-products-per-row view is active on mobile */
  .product-container.view-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .product-container.view-2 .wrapper {
    max-width: 100%;
    height: auto; /* let height adjust automatically */
  }

  .product-container.view-2 .top {
    height: 180px; /* fixed image height for consistency */
  }

  .product-container.view-2 .top img {
    height: 100%;
    object-fit: cover;
  }

  .product-container.view-2 .bottom {
    height: auto;
    padding: 8px;
  }

  .product-container.view-2 .left {
    flex-direction: column; /* stack details and buttons vertically */
    align-items: center;
    gap: 5px;
  }

  .product-container.view-2 .left .details {
    width: 100%;
    text-align: center;
  }

  .product-container.view-2 .left .buy,
  .product-container.view-2 .left .buy-now {
    width: 90%;
    height: 60px;
    font-size: 12px;
  }

  .product-container.view-2 .left .buy i {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  /* 2 products per row */
  .product-container.view-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 10px; /* row gap / column gap */
  }

  .product-container.view-2 .wrapper {
    height: auto; /* allow card to adjust automatically */
    display: flex;
    flex-direction: column;
  }

  /* Top image section */
  .product-container.view-2 .top {
    height: 200px; /* bigger image for better visibility */
  }

  .product-container.view-2 .top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Bottom section */
  .product-container.view-2 .bottom {
    height: auto; /* reduce bottom section height */
    padding: 6px 5px;
  }

  .product-container.view-2 .left {
    display: flex;
    flex-direction: column; /* stack details and buttons vertically */
    align-items: center;
    justify-content: center;
    gap: 4px;
  }

  /* Product details */
  .product-container.view-2 .left .details {
    width: 100%;
    text-align: center;
  }

  .product-container.view-2 .left .details h1 {
    font-size: 14px;
    line-height: 1.2;
  }

  .product-container.view-2 .left .details p {
    font-size: 16px;
  }

  .product-container.view-2 .left .details .mrp {
    font-size: 10px;
  }

  /* Buttons */
  .product-container.view-2 .left .buy,
  .product-container.view-2 .left .buy-now {
    width: 90%;
    height: 65px;
    font-size: 12px;
    margin: 0;
  }

  .product-container.view-2 .left .buy i {
    font-size: 24px;
  }

  .product-container.view-2 .left .buy-now {
    font-size: 12px;
    line-height: 1.1;
  }
}

@media (max-width: 768px) {
  /* 2 products per row */
  .product-container.view-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 10px; /* row / column gap */
  }

  .product-container.view-2 .wrapper {
    height: auto;
    display: flex;
    flex-direction: column;
  }

  /* Top image section – bigger */
  .product-container.view-2 .top {
    height: 240px; /* increased from 200px */
  }

  .product-container.view-2 .top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Bottom section – smaller to allow bigger image */
  .product-container.view-2 .bottom {
    height: auto;
    padding: 4px 5px;
  }

  .product-container.view-2 .left {
    display: flex;
    flex-direction: column; /* stack details & buttons */
    align-items: center;
    justify-content: center;
    gap: 3px;
  }

  /* Product details – smaller font to fit */
  .product-container.view-2 .left .details {
    width: 100%;
    text-align: center;
  }

  .product-container.view-2 .left .details h1 {
    font-size: 17px;
    line-height: 1.1;
  }

  .product-container.view-2 .left .details p {
    font-size: 16px;
  }

  .product-container.view-2 .left .details .mrp {
    font-size: 11px;
  }

  /* Buttons – smaller */
  .product-container.view-2 .left .buy,
  .product-container.view-2 .left .buy-now {
    width: 90%;
    height: 65px;
    font-size: 14px;
    margin: 0;
  }

  .product-container.view-2 .left .buy i {
    font-size: 22px;
  }

  .product-container.view-2 .left .buy-now {
    font-size: 11px;
    line-height: 1;
  }
}

@media (max-width: 768px) {
  /* 2 products per row */
  .product-container.view-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 10px; /* row / column gap */
  }

  .product-container.view-2 .wrapper {
    height: auto;
    display: flex;
    flex-direction: column;
  }

  /* Top image section – bigger images */
  .product-container.view-2 .top {
    height: 240px; /* bigger image */
  }

  .product-container.view-2 .top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Bottom section – compact */
  .product-container.view-2 .bottom {
    height:20px;
    padding: 6px 5px;
  }

  /* Left section: details + buttons side by side */
  .product-container.view-2 .left {
    display: flex;
    flex-direction: row; /* buttons side by side */
    justify-content: space-between; /* space between details & buttons */
    align-items: center;
    width: 100%;
    gap: 5px;
  }

  /* Product details */
  .product-container.view-2 .left .details {
    width: 60%; /* leave room for buttons */
    text-align: left;
  }

  .product-container.view-2 .left .details h1 {
    font-size: 14px;
    line-height: 1.2;
  }

  .product-container.view-2 .left .details p {
    font-size: 16px;
  }

  .product-container.view-2 .left .details .mrp {
    font-size: 11px;
  }

  /* Buttons */
  .product-container.view-2 .left .buy,
  .product-container.view-2 .left .buy-now {
    width: 28%; /* fits side by side */
    height: 75px;
    font-size: 12px;
    gap:0;
    margin-left:0;
    display: flex;
    align-items: center;
    padding-left:-10px;
    justify-content: center;
  }

  .product-container.view-2 .left .buy i {
    font-size: 22px;
  }

  .product-container.view-2 .left .buy-now {
    font-size: 12px;
    line-height: 1;
  }
}

@media (max-width: 768px) {
  /* 2 products per row */
  .product-container.view-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 10px; /* row / column gap */
  }

  .product-container.view-2 .wrapper {
    height: auto;
    display: flex;
    flex-direction: column;
  }

  /* Top image section */
  .product-container.view-2 .top {
    height: 240px; /* bigger image */
  }

  .product-container.view-2 .top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Bottom section – compact with no extra padding */
  .product-container.view-2 .bottom {
    height:70px;
    padding: 0; /* remove all padding */
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Left section: details + buttons */
  .product-container.view-2 .left {
    display: flex;
    flex-direction: row; /* side by side */
    justify-content: space-between; /* push buttons to edges if needed */
    align-items: center;
    width: 100%;
    gap: 0; /* remove gap between buttons */
  }

  /* Product details */
  .product-container.view-2 .left .details {
    width: 60%; /* leave space for buttons */
    text-align: left;
    margin: 0;
  }

  .product-container.view-2 .left .details h1 {
    font-size: 14px;
    line-height: 1.2;
    margin-left:3px;
  }

  .product-container.view-2 .left .details p {
    font-size: 16px;
    margin-left:5px;
  }

  .product-container.view-2 .left .details .mrp {
    font-size: 11px;
    margin-left:1px;
  }

  /* Buttons – completely side by side */
  .product-container.view-2 .left .buy,
  .product-container.view-2 .left .buy-now {
    width: 20%; /* adjust to fit side by side */
    height: 85px; /* fixed height */
    font-size: 12px;
    margin: 0; /* remove all margins */
    padding: 0; /* remove internal padding */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0; /* optional, keep flat edges if you want */
  }

  .product-container.view-2 .left .buy i {
    font-size: 22px;
  }

  .product-container.view-2 .left .buy-now {
    font-size: 12px;
    line-height: 1;
  }
}

/* Desktop 2-grid view (only for screens wider than 768px) */
@media (min-width: 769px) {
  .product-container.view-2 {
    grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
    gap: 10px; /* adjust spacing */
  }

  .product-container.view-2 .bottom {
    height:20%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .product-container.view-2 .left {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 0; /* no gap between buttons */
  }

  .product-container.view-2 .left .details {
    width: 60%;
    text-align: left;
    margin: 0;
  }

  .product-container.view-2 .left .details h1 {
    font-size: 23px;
    line-height: 1.2;
    margin-left:8px;
  }

  .product-container.view-2 .left .details p {
    font-size: 23px;
    margin-left:8px;
    margin-bottom:-10px;
  }

  .product-container.view-2 .left .details .mrp {
    font-size: 14px;
    margin-left:2px;
    margin-top:0px;
  }

  .product-container.view-2 .left .buy,
  .product-container.view-2 .left .buy-now {
    width: 18%;
    height:105px;
    font-size: 16px;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .product-container.view-2 .left .buy i {
    font-size: 38px;
  }

  .product-container.view-2 .left .buy-now {
    font-size: 14px;
    line-height: 1;
  }
}
/* ===========================
   DESKTOP PRODUCT CARDS
=========================== */
@media (min-width: 769px) {
  .product-container.view-2,
  .product-container.view-4 {
    gap: 20px; /* spacing between cards */
  }

  .wrapper {
    height: 500px; /* fixed card height */
    display: flex;
    flex-direction: column;
  }

  /* Top image section */
  .wrapper .top {
    height: 85%; /* increase image height */
    overflow: hidden;
  }

  .wrapper .top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
  }

  .wrapper:hover .top img {
    transform: scale(1.05);
  }

  /* Bottom section – compact */
  .wrapper .bottom {
    height: 15%; /* smaller bottom section */
    padding: 0; /* remove padding */
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .wrapper .left {
    display: flex;
    flex-direction: row; /* details + buttons side by side */
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 0; /* no gap */
    padding: 0;
  }

  /* Product details */
  .wrapper .left .details {
    width: 60%; /* leave room for buttons */
    text-align: left;
    margin: 0;
  }

  .wrapper .left .details h1 {
    font-size: 18px;
    line-height: 1.2;
    margin-left:7px;
  }

  .wrapper .left .details p {
    font-size: 19px;
    margin: 0;
    margin-left:7px;
  }

  .wrapper .left .details .mrp {
    font-size: 12px;
    margin: 0;
    margin-left:3px;
  }

  /* Buttons – flush with no margin/padding */
  .wrapper .left .buy,
  .wrapper .left .buy-now {
    width: 18%; /* adjust to fit side by side */
    height: 120px;
    font-size: 14px;
    margin: 0; /* remove margin */
    padding: 0; /* remove padding */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0; /* optional */
  }

  .wrapper .left .buy i {
    font-size: 28px;
    
  }

  .wrapper .left .buy-now {
    font-size: 14px;
    line-height: 1;
  }
  
}
