/* Font Faces */
@font-face { font-family: 'Narnoor'; src: url('/core/static/fonts/Aptos.ttf') format('truetype'); font-weight: normal; font-style: normal; }
@font-face { font-family: 'Narnoor'; src: url('/core/static/fonts/Aptos-ExtraBold.ttf') format('truetype'); font-weight: bold; font-style: normal; }
@font-face { font-family: 'Narnoor'; src: url('/core/static/fonts/Aptos-ExtraBold.ttf') format('truetype'); font-weight: 800; font-style: normal; }
@font-face { font-family: 'Narnoor'; src: url('/core/static/fonts/Aptos-Bold.ttf') format('truetype'); font-weight: 500; font-style: normal; }
@font-face { font-family: 'Narnoor'; src: url('/core/static/fonts/Aptos-SemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; }

/* Base Styles */
html, body { height: 100%; margin: 0; padding: 0; }
*, *::before, *::after { box-sizing: inherit; }
body { margin: 0; font-family: Arial, sans-serif; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.page-container { padding: 0 5%; box-sizing: border-box; }

/* Header */
header { position: sticky; width: 100%; top: 0; left: 0; z-index: 100; background: #fff; border-bottom: 1px solid #ccc; }
.top-bar.container { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; max-width: 100%; margin: auto; }
.logo a { font-size: 24px; font-weight: bold; color: #000; text-decoration: none; }
.main-nav ul { list-style: none; display: flex; gap: 10px; padding: 0; margin: 0; font-size: 2vw; font-weight: 500; align-items: flex-start; }
.main-nav > ul > li:not(:last-child)::after { content: " |"; color: #333; margin-left: 10px; }
.main-nav a { text-decoration: none; font-family: 'Narnoor', sans-serif; font-weight: 500; color: #333; }
.header-actions { display: flex; align-items: center; gap: 16px; padding-top: 1%;}
.header-actions .icon-link img { width: 22px; height: 22px; }
.header-actions .icon { width: 24px; margin-left: 15px; }
.header-actions a.text-link { font-family: 'Narnoor', sans-serif; font-weight: 500; font-size: 16px; color: #000; text-decoration: none; }
.header-actions a.text-link:not(:last-of-type)::after { content: " |"; color: #000; margin: 0 10px; }

/* Popup Menus */a
.has-popup { position: relative; }
.has-popup .popup-menu { display: none; position: absolute; top: 100%; left: 0; width: 500px; background: #fff; border: 1px solid #ccc; box-shadow: 0 2px 8px rgba(0,0,0,0.1); padding: 20px; z-index: 200; }
.has-popup:hover .popup-menu { display: block; }
.popup-menu .popup-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-around; }
.popup-menu .popup-item { width: 100px; text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: 10px; }
.popup-menu .popup-item:last-child { margin-bottom: 0; }
.popup-menu .popup-item a { display: block; text-decoration: none; color: #333; font-family: 'Narnoor', sans-serif; font-size: 14px; text-align: center; }
.popup-menu .popup-item img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto 8px auto; }

/* FIRST BANNER (carousel-container) - Remains 80% width */
.carousel-container { 
  position: relative; 
  width: 80vw; /* Remains 80vw */
  height: 500px; 
  overflow: hidden; 
  margin: 20px auto; 
  margin-left: calc(-40vw + 50%); /* Remains same for 80vw */
  margin-right: calc(-40vw + 50%); /* Remains same for 80vw */
}

/* SECOND BANNER (promo-carousel) - Decreased by another 0.5% from 89.5% to 89% */
.promo-carousel { 
  position: relative; 
  width: 89vw; /* Decreased from 89.5vw to 89vw (another 0.5% decrease) */
  height: 360px; /* Height remains increased by 20% */
  overflow: hidden; 
  margin: 20px auto; 
  margin-left: calc(-44.5vw + 50%); /* Adjusted calculation for 89vw */
  margin-right: calc(-44.5vw + 50%); /* Adjusted calculation for 89vw */
}

/* THIRD BANNER (trend-carousel) - Decreased by another 0.5% from 89.5% to 89% */
.trend-carousel { 
  position: relative; 
  width: 89vw; /* Decreased from 89.5vw to 89vw (another 0.5% decrease) */
  height: 360px; /* Height remains same as promo-carousel */
  overflow: hidden; 
  margin: 20px auto; 
  margin-left: calc(-44.5vw + 50%); /* Adjusted calculation for 89vw */
  margin-right: calc(-44.5vw + 50%); /* Adjusted calculation for 89vw */
}

.hero-slide, .promo-slide, .trend-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; display: none; }
.hero-slide { height: 500px; }

/* ADJUSTED HEIGHT FOR HERO SLIDES */
/* Font Faces */
@font-face { font-family: 'Narnoor'; src: url('/core/static/fonts/Narnoor-Regular.ttf') format('truetype'); font-weight: normal; font-style: normal; }
@font-face { font-family: 'Narnoor'; src: url('/core/static/fonts/Narnoor-Bold.ttf') format('truetype'); font-weight: bold; font-style: normal; }
@font-face { font-family: 'Narnoor'; src: url('/core/static/fonts/Narnoor-ExtraBold.ttf') format('truetype'); font-weight: 800; font-style: normal; }
@font-face { font-family: 'Narnoor'; src: url('/core/static/fonts/Narnoor-Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; }
@font-face { font-family: 'Narnoor'; src: url('/core/static/fonts/Narnoor-SemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; }

/* Base Styles */
html, body { height: 100%; margin: 0; padding: 0; }
*, *::before, *::after { box-sizing: inherit; }
body { margin: 0; font-family: Arial, sans-serif; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.page-container { padding: 0 2%; box-sizing: border-box; }

/* Header - Enhanced Sticky Navbar */
header {
  position: fixed;
  opacity: 0.9;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #ccc;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.top-bar.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  max-width: 100%;
  margin: auto;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10%);
}
.logo a { font-size: 24px; font-weight: bold; color: #000; text-decoration: none; }
.main-nav ul { list-style: none; display: flex; gap: 10px; padding: 0; margin: 0; font-size: 2vw; font-weight: 500; align-items: flex-start; }
.main-nav > ul > li:not(:last-child)::after { content: " |"; color: #333; margin-left: 10px; }
.main-nav a { text-decoration: none; font-family: 'Narnoor', sans-serif; font-weight: 500; color: #333; }
.header-actions { display: flex; align-items: center; gap: 16px; padding-top: 1%;}
.header-actions .icon-link img { width: 22px; height: 22px; }
.header-actions .icon { width: 24px; margin-left: 15px; }
.header-actions a.text-link { font-family: 'Narnoor', sans-serif; font-weight: 500; font-size: 16px; color: #000; text-decoration: none; }
.header-actions a.text-link:not(:last-of-type)::after { content: " |"; color: #000; margin: 0 10px; }

/* Popup Menus */a
.has-popup { position: relative; }
.has-popup .popup-menu { display: none; position: absolute; top: 100%; left: 0; width: 500px; background: #fff; border: 1px solid #ccc; box-shadow: 0 2px 8px rgba(0,0,0,0.1); padding: 20px; z-index: 200; }
.has-popup:hover .popup-menu { display: block; }
.popup-menu .popup-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-around; }
.popup-menu .popup-item { width: 100px; text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: 10px; }
.popup-menu .popup-item:last-child { margin-bottom: 0; }
.popup-menu .popup-item a { display: block; text-decoration: none; color: #333; font-family: 'Narnoor', sans-serif; font-size: 14px; text-align: center; }
.popup-menu .popup-item img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto 8px auto; }

/* FIRST BANNER (carousel-container) - Remains 80% width */
.carousel-container { 
  position: relative; 
  width: 80vw; /* Remains 80vw */
  height: 500px; 
  overflow: hidden; 
  margin: 20px auto; 
  margin-left: calc(-40vw + 50%); /* Remains same for 80vw */
  margin-right: calc(-40vw + 50%); /* Remains same for 80vw */
}

/* SECOND BANNER (promo-carousel) - Decreased by another 0.5% from 89.5% to 89% */
.promo-carousel { 
  position: relative; 
  width: 89vw; /* Decreased from 89.5vw to 89vw (another 0.5% decrease) */
  height: 360px; /* Height remains increased by 20% */
  overflow: hidden; 
  margin: 20px auto; 
  margin-left: calc(-44.5vw + 50%); /* Adjusted calculation for 89vw */
  margin-right: calc(-44.5vw + 50%); /* Adjusted calculation for 89vw */
}

/* THIRD BANNER (trend-carousel) - Decreased by another 0.5% from 89.5% to 89% */
.trend-carousel { 
  position: relative; 
  width: 89vw; /* Decreased from 89.5vw to 89vw (another 0.5% decrease) */
  height: 360px; /* Height remains same as promo-carousel */
  overflow: hidden; 
  margin: 20px auto; 
  margin-left: calc(-44.5vw + 50%); /* Adjusted calculation for 89vw */
  margin-right: calc(-44.5vw + 50%); /* Adjusted calculation for 89vw */
}

/* NEW BANNER AFTER MEN'S PRODUCTS */
.men-promo-banner {
  position: relative;
  width: 89vw;
  height: 300px;
  overflow: hidden;
  margin: 40px auto;
  margin-left: calc(-44.5vw + 50%);
  margin-right: calc(-44.5vw + 50%);
  background-color: #f5f5f5;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.men-promo-banner .banner-content {
  position: absolute;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
}

.men-promo-banner .banner-text {
  width: 50%;
  padding: 20px;
}

.men-promo-banner .banner-text h2 {
  font-family: 'Narnoor', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 15px;
}

.men-promo-banner .banner-text p {
  font-family: 'Narnoor', sans-serif;
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 20px;
}

.men-promo-banner .banner-text .promo-button {
  display: inline-block;
  padding: 12px 25px;
  background: #2EBB77;
  color: #fff;
  font-family: 'Narnoor', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.men-promo-banner .banner-text .promo-button:hover {
  background: #259c63;
}

.men-promo-banner .banner-image {
  width: 45%;
  height: 100%;
  overflow: hidden;
}

.men-promo-banner .banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* NEW BANNER AFTER WOMEN'S PRODUCTS */
.women-promo-banner {
  position: relative;
  width: 89vw;
  height: 300px;
  overflow: hidden;
  margin: 40px auto;
  margin-left: calc(-44.5vw + 50%);
  margin-right: calc(-44.5vw + 50%);
  background-color: #fdf2f7;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.women-promo-banner .banner-content {
  position: absolute;
  display: flex;
  flex-direction: row-reverse;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
}

.women-promo-banner .banner-text {
  width: 50%;
  padding: 20px;
  text-align: right;
}

.women-promo-banner .banner-text h2 {
  font-family: 'Narnoor', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 15px;
}

.women-promo-banner .banner-text p {
  font-family: 'Narnoor', sans-serif;
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 20px;
}

.women-promo-banner .banner-text .promo-button {
  display: inline-block;
  padding: 12px 25px;
  background: #FF6B6B;
  color: #fff;
  font-family: 'Narnoor', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.women-promo-banner .banner-text .promo-button:hover {
  background: #ff4f4f;
}

.women-promo-banner .banner-image {
  width: 45%;
  height: 100%;
  overflow: hidden;
}

.women-promo-banner .banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide, .promo-slide, .trend-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; display: none; }
.hero-slide { height: 500px; }

/* ADJUSTED HEIGHT FOR PROMO SLIDES */
.promo-slide { 
  height: 360px; /* Increased from 300px to 360px (20% increase) */
}

.hero-slide.current, .promo-slide.current { display: block; }
.trend-slide { opacity: 0; transition: opacity 1s ease-in-out; }
.trend-slide.current {
  display: block;
  opacity: 1;
}
.hero-slide img, .promo-slide img, .trend-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Hero Text Overlay */
.hero-text-overlay { color: #000; padding: 30px; max-width: 500px; border-radius: 10px; position: absolute; left: 5%; bottom: 20%; font-family: 'Narnoor', sans-serif; font-weight: 500; z-index: 2; }
.hero-text-overlay h1 { font-size: 36px; margin: 0 0 15px 0; }
.hero-text-overlay p { font-size: 18px; margin: 0 0 20px 0; }
.hero-text-overlay .btn { background: #2EBB77; color: #fff; padding: 10px 20px; text-decoration: none; font-weight: bold; border-radius: 5px; }

/* Promo Text Overlay */
.promo-text-overlay { background: rgba(0, 0, 0, 0.5); color: #fff; padding: 15px; border-radius: 5px; position: absolute; bottom: 20px; left: 20px; }

/* Carousel Arrows */
.carousel-arrow, .promo-arrow, .trend-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: transparent; color: transparent; font-size: 30px; border: none; padding: 10px; cursor: pointer; z-index: 10; }
.carousel-arrow.prev, .promo-arrow.prev, .trend-arrow.prev { left: 10px; }
.carousel-arrow.next, .promo-arrow.next, .trend-arrow.next { right: 10px; }
.carousel-arrow:hover, .promo-arrow:hover, .trend-arrow:hover { color: rgba(0, 0, 0, 0.6); }

/* Static Images & Category Cards */
.static-image-set { display: flex; justify-content: center; align-items: center; gap: 20px; margin: 20px 0; }
.static-image-item { flex: 1; text-align: center; }
.static-image-item img { width: 100%; max-width: 300px; border-radius: 5px; }
.category-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; padding: 20px; }
.category-card { background: #fff3cd; padding: 15px; text-align: center; border-radius: 8px; }

/* Products Section */
.products { padding: 60px 20px; }
.products .container { margin: 0 auto; padding: 0 20px; }
.products-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.products-header h2 { font-family: 'Narnoor', sans-serif; font-weight: 600; font-size: 2.5rem; color: #333; margin: 0; }
.see-all-link { display: inline-block; padding: 0; margin: 0; border: none; background: none; cursor: pointer; }
.see-all-img { display: block; height: 30px; width: auto; }
.see-all-icon { width: 16px; height: 16px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.product-card-link { display: block; text-decoration: none; color: inherit; }
.product-card { 
  position: relative; 
  background: #fff; 
  border: none; 
  border-radius: 10px; 
  overflow: hidden; 
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 555px; /* Increased by another 15% from 483px */
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); }
.product-image { 
  height: 397px; /* Increased by another 15% from 345px */
  width: 100%;
  overflow: hidden;
  flex-shrink: 0;
}
.product-image img { 
  width: 100%; 
  height: 100%; 
  display: block; 
  object-fit: cover; 
}
.product-info { 
  padding: 0; 
  text-align: center; 
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.info-header { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  height: 80px; /* Increased from 70px */
}
.info-header h4, .info-header .price { margin: 0; padding: 15px; }
.product-info h4 { 
  font-size: 1.2rem; 
  margin-bottom: 0; 
  color: #333; 
  font-family: 'Narnoor', sans-serif; 
  line-height: 1.2;
}
.product-rating { 
  display: flex; 
  justify-content: left; 
  margin-left: 15px; 
  margin-bottom: 20px; /* Increased from 15px */
  height: 30px; /* Increased from 25px */
  align-items: center;
}
.star { font-size: 16px; color: #ccc; margin-right: 2px; }
.star.filled, .star.half { color: #f1c40f; }
.price { 
  font-size: 1rem; 
  margin-bottom: 0; 
  padding: 0; 
  color: #555; 
  font-family: 'Narnoor', sans-serif; 
  white-space: nowrap;
}
.blue-arrow { position: absolute; bottom: 5px; right: 5px; }
.blue-arrow img { width: 5px; height: auto; }
.product-card .btn { display: inline-block; margin-top: 10px; padding: 10px 20px; background: #ff6f61; color: #fff; text-decoration: none; border-radius: 5px; transition: background 0.3s ease; }
.product-card .btn:hover { background: #ff3b2e; }

.promo-row { display: grid; width: 100%; gap: 1.5rem; }
.promo-row.row-3 { grid-template-columns: repeat(3, 1fr); }
.promo-row.row-2 { grid-template-columns: repeat(2, 1fr); }
.promo-cell { aspect-ratio: 1 / 1; position: relative; overflow: hidden; }
.promo-banner.overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-size: contain; background-repeat: no-repeat; background-position: center; display: flex; align-items: center; justify-content: flex-start; color: white; }
.promo-overlay-content { display: flex; flex-direction: column; align-items: center; gap: 0.8rem; }
.promo-download-arrow { display: flex; flex-direction: column; align-items: center; margin: 0.4rem 0; }
.promo-downward-arrow .arrow-icon { position: relative; width: 6px; height: 40px; background-color: #000; }
.promo-banner.left .promo-overlay-content { margin-left: 2rem; margin-right: auto; text-align: left; }
.promo-banner.right .promo-overlay-content { margin-right: 2rem; margin-left: auto; text-align: right; }
.promo-title { font-size: 48px; font-weight: bold; color: #fff; margin: 0; }
.promo-subtitle { font-size: 52px; font-weight: bold; color: #ffffff; margin: 0; }
.promo-description { font-size: 20px; color: #000000; margin: 0; }
.promo-discount { font-size: 32px; font-weight: bold; color: #000000; }
.promo-button { display: inline-block; padding: 10px 20px; background: transparent; color: #000; text-decoration: none; font-weight: 600; font-size: 1rem; cursor: pointer; border: 2px solid #000; border-radius: 10px; border-bottom-width: 6px; border-bottom-style: double; }

/* Footer */
footer { background: #111; color: white; padding: 20px; font-size: 14px; }
.footer-content { position: sticky; display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-around; }
.footer-column ul { list-style: none; padding: 0; }
.footer-column ul li a { color: #fff; text-decoration: none; }
.footer-bottom { text-align: center; margin-top: 20px; border-top: 1px solid #444; padding-top: 10px; }

/* Container fixed to top-right */
#toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 1050;
}

/* Individual toast */
.toast {
  min-width: 200px;
  max-width: 300px;
  padding: 0.75rem 1rem;
  border-radius: 0.25rem;
  color: #fff;
  font-size: 0.9rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(-20px);
  animation: slideDown 0.3s forwards;
}

/* Colors by Django message tag */
.toast.success { background-color: #28a745; }
.toast.error   { background-color: #dc3545; }
.toast.warning { background-color: #ffc107; color: #212529; }
.toast.info    { background-color: #17a2b8; }

/* Slide-down animation */
@keyframes slideDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade-out animation */
@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

/* Responsive Design - UPDATED FOR ADJUSTED BANNER WIDTHS */
@media (min-width: 1200px) { 
  .container { max-width: 1400px; } 
  .main-nav ul { font-size: 18px; } 
  .products-header h2 { font-size: 3rem; } 
  .product-grid { grid-template-columns: repeat(4, 1fr); gap: 40px; } 
}

@media (max-width: 1199px) and (min-width: 992px) { 
  .container { max-width: 960px; } 
  .main-nav ul { font-size: 16px; } 
  .hero-text-overlay { max-width: 450px; } 
  .hero-text-overlay h1 { font-size: 32px; } 
  .products-header h2 { font-size: 2.2rem; } 
  .promo-title { font-size: 42px; } 
  .promo-subtitle { font-size: 46px; } 
  .men-promo-banner .banner-text h2,
  .women-promo-banner .banner-text h2 { font-size: 2.2rem; }
}

@media (max-width: 991px) and (min-width: 768px) { 
  .container { max-width: 720px; padding: 0 15px; } 
  .top-bar.container { padding: 10px 15px; } 
  .main-nav ul { font-size: 14px; gap: 8px; } 
  .header-actions { gap: 12px; } 
  .header-actions .icon-link img { width: 20px; height: 20px; } 
  .header-actions .icon { width: 22px; } 
  .header-actions a.text-link { font-size: 14px; } 
  .has-popup .popup-menu { width: 400px; padding: 15px; } 
  .popup-menu .popup-item { width: 80px; } 
  .popup-menu .popup-item img { width: 60px; height: 60px; } 
  .carousel-container, .hero-slide { height: 400px; } 
  .hero-text-overlay { padding: 25px; max-width: 400px; } 
  .hero-text-overlay h1 { font-size: 28px; } 
  .hero-text-overlay p { font-size: 16px; } 
  .promo-carousel, .promo-slide, .trend-carousel { height: 300px; } /* Adjusted for tablet */
  .men-promo-banner, .women-promo-banner { height: 250px; }
  .men-promo-banner .banner-text h2,
  .women-promo-banner .banner-text h2 { font-size: 2rem; }
  .men-promo-banner .banner-text p,
  .women-promo-banner .banner-text p { font-size: 1rem; }
  .products { padding: 50px 15px; } 
  .products-header h2 { font-size: 2rem; } 
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 25px; } 
  .product-card { height: 503px; } /* Increased by another 15% from 437px */
  .product-image { height: 344px; } /* Increased by another 15% from 299px */
  .promo-row.row-3 { grid-template-columns: repeat(2, 1fr); } 
  .promo-title { font-size: 36px; } 
  .promo-subtitle { font-size: 40px; } 
  .promo-description { font-size: 18px; } 
  .promo-discount { font-size: 28px; } 
  .category-cards { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 15px; padding: 15px; } 
}

@media (max-width: 767px) and (min-width: 576px) { 
  .container { max-width: 540px; padding: 0 15px; } 
  .top-bar.container { flex-direction: column; align-items: flex-start; padding: 15px; } 
  .logo a { font-size: 22px; margin-bottom: 10px; } 
  .main-nav ul { font-size: 16px; flex-wrap: wrap; gap: 15px; } 
  .main-nav > ul > li:not(:last-child)::after { margin-left: 8px; } 
  .header-actions { margin-top: 10px; gap: 10px; } 
  .header-actions a.text-link { font-size: 14px; } 
  .has-popup .popup-menu { display: none !important; } 
  .carousel-container, .hero-slide { height: 300px; } 
  .hero-text-overlay { padding: 20px; max-width: 90%; left: 5%; bottom: 10%; } 
  .hero-text-overlay h1 { font-size: 24px; } 
  .hero-text-overlay p { font-size: 14px; } 
  .hero-text-overlay .btn { padding: 8px 16px; font-size: 14px; } 
  .promo-carousel, .promo-slide, .trend-carousel { height: 240px; } /* Adjusted for mobile */
  .men-promo-banner, .women-promo-banner { 
    height: 400px; 
  }
  .men-promo-banner .banner-content,
  .women-promo-banner .banner-content {
    flex-direction: column;
    padding: 20px;
  }
  .men-promo-banner .banner-text,
  .women-promo-banner .banner-text {
    width: 100%;
    text-align: center;
    padding: 0 0 20px 0;
  }
  .men-promo-banner .banner-image,
  .women-promo-banner .banner-image {
    width: 100%;
    height: 200px;
  }
  .men-promo-banner .banner-text h2,
  .women-promo-banner .banner-text h2 { font-size: 1.8rem; }
  .men-promo-banner .banner-text p,
  .women-promo-banner .banner-text p { font-size: 1rem; }
  .promo-text-overlay { padding: 10px; font-size: 14px; } 
  .static-image-set { flex-direction: column; gap: 15px; } 
  .products { padding: 40px 15px; } 
  .products-header { flex-direction: column; align-items: flex-start; gap: 15px; margin-bottom: 30px; } 
  .products-header h2 { font-size: 1.8rem; } 
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; } 
  .product-card { height: 462px; } /* Increased by another 15% from 402px */
  .product-image { height: 291px; } /* Increased by another 15% from 253px */
  .promo-grid { gap: 1.5rem; padding: 0.8rem; } 
  .promo-row { grid-template-columns: 1fr; gap: 1rem; } 
  .promo-banner.overlay { justify-content: center; text-align: center; } 
  .promo-overlay-content { margin: 1rem auto; max-width: 90%; } 
  .promo-title { font-size: 28px; } 
  .promo-subtitle { font-size: 32px; } 
  .promo-description { font-size: 16px; } 
  .promo-discount { font-size: 24px; } 
  .category-cards { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; padding: 12px; } 
  .footer-content { flex-direction: column; gap: 15px; } 
}

@media (max-width: 575px) { 
  .container { padding: 0 10px; } 
  .page-container { padding-left: 3%; padding-right: 3%; } 
  .top-bar.container { flex-direction: column; align-items: flex-start; padding: 12px 10px; } 
  .logo a { font-size: 20px; margin-bottom: 8px; } 
  .main-nav ul { font-size: 14px; flex-wrap: wrap; gap: 10px; } 
  .main-nav > ul > li:not(:last-child)::after { margin-left: 6px; } 
  .header-actions { margin-top: 8px; gap: 8px; flex-wrap: wrap; } 
  .header-actions .icon-link img { width: 18px; height: 18px; } 
  .header-actions .icon { width: 20px; margin-left: 10px; } 
  .header-actions a.text-link { font-size: 12px; } 
  .header-actions a.text-link:not(:last-of-type)::after { margin: 0 6px; } 
  .has-popup .popup-menu { display: none !important; } 
  main { padding-top: 60px; } 
  .carousel-container, .hero-slide { height: 250px; } 
  .hero-text-overlay { padding: 15px; max-width: 95%; left: 2.5%; bottom: 5%; } 
  .hero-text-overlay h1 { font-size: 20px; margin-bottom: 10px; } 
  .hero-text-overlay p { font-size: 12px; margin-bottom: 15px; } 
  .hero-text-overlay .btn { padding: 6px 12px; font-size: 12px; } 
  .promo-carousel, .promo-slide, .trend-carousel, .trend-slide {
    width: 98vw !important;
    margin-left: 1vw !important;
    margin-right: 1vw !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .promo-slide img, .trend-slide img {
    object-fit: contain !important;
    width: 100%;
    height: 100%;
    display: block;
    background: #fff;
  }
  .men-promo-banner, .women-promo-banner { 
    height: 350px; 
  }
  .men-promo-banner .banner-content,
  .women-promo-banner .banner-content {
    flex-direction: column;
    padding: 15px;
  }
  .men-promo-banner .banner-text,
  .women-promo-banner .banner-text {
    width: 100%;
    text-align: center;
    padding: 0 0 15px 0;
  }
  .men-promo-banner .banner-image,
  .women-promo-banner .banner-image {
    width: 100%;
    height: 180px;
  }
  .men-promo-banner .banner-text h2,
  .women-promo-banner .banner-text h2 { font-size: 1.5rem; }
  .men-promo-banner .banner-text p,
  .women-promo-banner .banner-text p { font-size: 0.9rem; }
  .men-promo-banner .banner-text .promo-button,
  .women-promo-banner .banner-text .promo-button {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
  .promo-text-overlay { padding: 8px; font-size: 12px; bottom: 10px; left: 10px; } 
  .carousel-arrow, .promo-arrow, .trend-arrow { font-size: 24px; padding: 8px; } 
  .carousel-arrow.prev, .promo-arrow.prev, .trend-arrow.prev { left: 5px; } 
  .carousel-arrow.next, .promo-arrow.next, .trend-arrow.next { right: 5px; } 
  .static-image-set { flex-direction: column; gap: 10px; margin: 15px 0; } 
  .products { padding: 30px 10px; } 
  .products .container { padding: 0 10px; } 
  .products-header { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 25px; } 
  .products-header h2 { font-size: 1.5rem; } 
  .see-all-img { height: 25px; } 
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; } 
  .product-card { height: 423px; } /* Increased by another 15% from 368px */
  .product-image { height: 265px; } /* Increased by another 15% from 230px */
  .product-info h4 { font-size: 1rem; } 
  .info-header h4, .info-header .price { padding: 10px; } 
  .product-rating { margin-left: 10px; margin-bottom: 8px; } 
  .star { font-size: 14px; } 
  .price { font-size: 0.9rem; } 
  .product-card .btn { padding: 8px 15px; font-size: 12px; } 
  .promo-grid { gap: 1rem; padding: 0.5rem; } 
  .promo-row { gap: 0.8rem; } 
  .promo-banner.left .promo-overlay-content, .promo-banner.right .promo-overlay-content { margin: 0.8rem auto; text-align: center; } 
  .promo-title { font-size: 22px; } 
  .promo-subtitle { font-size: 26px; } 
  .promo-description { font-size: 14px; } 
  .promo-discount { font-size: 20px; } 
  .promo-button { padding: 8px 15px; font-size: 0.9rem; } 
  .category-cards { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; padding: 10px; } 
  .category-card { padding: 12px; } 
  .footer-content { flex-direction: column; gap: 12px; text-align: center; } 
  footer { padding: 15px; font-size: 12px; } 
  .footer-bottom { margin-top: 15px; padding-top: 8px; } 
}

@media (max-width: 375px) { 
  .logo a { font-size: 18px; } 
  .main-nav ul { font-size: 12px; } 
  .header-actions a.text-link { font-size: 11px; } 
  .carousel-container, .hero-slide { height: 200px; } 
  .hero-text-overlay h1 { font-size: 18px; } 
  .hero-text-overlay p { font-size: 11px; } 
  .products-header h2 { font-size: 1.3rem; } 
  .product-grid { grid-template-columns: repeat(1, 1fr); gap: 12px; } 
  .product-card { height: 397px; } /* Increased by another 15% from 345px */
  .product-image { height: 238px; } /* Increased by another 15% from 207px */
  .men-promo-banner, .women-promo-banner { height: 320px; }
  .men-promo-banner .banner-text h2,
  .women-promo-banner .banner-text h2 { font-size: 1.3rem; }
  .men-promo-banner .banner-image,
  .women-promo-banner .banner-image { height: 160px; }
  .promo-title { font-size: 18px; } 
  .promo-subtitle { font-size: 22px; } 
  .promo-description { font-size: 12px; } 
  .promo-discount { font-size: 18px; } 
  .category-cards { grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); } 
}

@media print { 
  .carousel-arrow, .promo-arrow, .trend-arrow, .header-actions, .popup-menu { display: none !important; } 
  .hero-text-overlay, .promo-text-overlay { position: static; background: transparent; color: #000; } 
  .product-card { box-shadow: none; border: 1px solid #ccc; } 
}

/* User Dropdown */
.user-dropdown {
  position: relative;
  display: inline-block;
}

.user-dropdown .dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: #fff;
  min-width: 160px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  border-radius: 6px;
  padding: 10px 0;
}

.user-dropdown .dropdown-content a {
  display: block;
  padding: 8px 16px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
}

.user-dropdown .dropdown-content a:hover {
  background-color: #f3f3f3;
}

.user-dropdown:hover .dropdown-content {
  display: block;
}

.user-name::after {
  content: " ▾";
  font-size: 10px;
}

@media (max-width: 991px) {
  .hamburger {
  display: flex;
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 1201;
    width: 20px !important;
    height: 20px !important;
  padding: 0; 
  }
  .hamburger span {
    width: 20px !important;
    height: 3px;
    margin: 3px 0;
  }
  .top-bar.container {
    position: relative;
    justify-content: center;
  }
  .logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1200;
  }
  .main-nav {
    display: none !important;
  }
  .header-actions .text-link {
    display: none !important;
  }
  .header-actions {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 1000px;
    z-index: 1201;
  }
}