/* --- ROOT & GLOBALS --- */
:root {
  --primary: #ff4757;
  --secondary: #111112;
  --light: #ffffff;
  --dark: #1e272e;
  --success: #2ed573;
  --text: #2f3542;
  --text-light: #747d8c;
}


/* --- HEADER --- */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 4vw 12px 4vw;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 2rem;
  font-weight: 800;
  color: #e74c3c;
  letter-spacing: 2px;
}

.search-bar {
  flex: 1;
  margin: 0 2vw;
}

.search-bar form {
  display: flex;
  background: #f5f5f5;
  border-radius: 30px;
  overflow: hidden;
}

.search-bar input[type="text"] {
  flex: 1;
  border: none;
  padding: 10px 18px;
  background: transparent;
  font-size: 1rem;
  outline: none;
}

.search-bar button {
  background: #e74c3c;
  color: #fff;
  border: none;
  padding: 0 18px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.search-bar button:hover {
  background: #c0392b;
}

.header-icons {
  display: flex;
  gap: 18px;
}

.header-icons a {
  position: relative;
  color: #333;
  font-size: 1.3rem;
  transition: color 0.2s;
}

.header-icons a:hover {
  color: #e74c3c;
}

.wishlist-count,
.cart-count {
  position: absolute;
  top: -7px;
  right: -10px;
  background: #e74c3c;
  color: #fff;
  font-size: 0.8rem;
  border-radius: 50%;
  padding: 2px 6px;
  font-weight: 600;
}

/* --- GENDER FILTER --- */
.gender-filter {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 18px 0 10px 0;
  padding: 0 10px;
}

.gender-btn {
  border-color: #000;
  border-radius: 20px;
  padding: 8px 28px;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  width: 100%;
  background: transparent;
}


/* --- CATEGORY & BRAND SLIDERS --- */
.categories-section {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 28px 0 28px 30px;
  margin-left: 50px;
  scroll-snap-type: x mandatory;
}

.category-card {
  position: relative;
  min-width: 300px;
  height: 400px;
  background-color: #f7f7f7;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.3s ease;
  scroll-snap-align: start;
}

.category-card:hover {
  transform: translateY(-3px) scale(1.04);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.category-label {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: white;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  padding: 12px 0;
  box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
}

.brand-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  overflow-x: auto;
  padding: 20px 0;
  padding-left: 16px; 
  scroll-snap-type: x mandatory;
  scroll-padding-left: 16px;
  -webkit-overflow-scrolling: touch;
}

.brand-slider::-webkit-scrollbar {
  display: none;
}
.brand-slider {
  -ms-overflow-style: none;  
  scrollbar-width: none;     
}

/* Each Slide */
.brand-slide {
  flex: 0 0 auto;
  width: 100px;
  height: 100px;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Image inside Slide */
.brand-slide img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  padding: 5px;
  border-radius: 50%;
  background: white;
  box-shadow: 1px 1px 20px #ccc;
}



/* --- SECTION TITLES --- */
.sectiontitle {

  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  margin: 36px 0 16px 0px;
  color: #222;
  letter-spacing: 1px;
}

.sectiontitle span {
  font-size: 2rem;
}

.big-deals-title {
  font-size: 2.2rem;
  margin-left: 32px;
}

.big-deals-subtitle {
  font-size: 1.2rem;
  margin-left: 32px;
  margin-bottom: 18px;

}

/* --- BANNER STYLES --- */
.slider-container {
  position: relative;
  width: 100%;
  margin-bottom: 18px;

  overflow: hidden;
  box-shadow: 0 4px 24px rgba(255, 255, 255, 0.07);
  margin-left: auto;
  margin-right: auto;
}

.banner-slider {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
  min-height: 220px;
}

.banner-slide {
  min-width: 100%;
  position: relative;
}

.banner-slide img {
  width: 100%;
  display: block;
  max-height: 340px;
  object-fit: cover;
}

.banner-content {
  position: absolute;
  top: 50%;
  left: 60px;
  transform: translateY(-50%);
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  max-width: 420px;
  padding: 32px 40px;

  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
}

.banner-content h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: 500;
}

.banner-content h1 {
  font-size: 2.4rem;
  margin-bottom: 18px;
  font-weight: 700;
}

.banner-btn {
  font-size: 1.1rem;
  padding: 12px 32px;
  border-radius: 24px;
  font-weight: 700;
  background: #2563eb;
  color: #fff;
  border: none;
  transition: background 0.2s;
  cursor: pointer;
}

.banner-btn:hover {
  background: #1d4ed8;
}

.banner-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  z-index: 10;
}

.banner-nav-btn {
  background: rgba(255, 255, 255, 0.7);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  color: #e74c3c;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  transition: background 0.2s;
}

.banner-nav-btn:hover {
  background: #e74c3c;
  color: #fff;
}

.banner-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.banner-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.banner-dot.active {
  background: #fff;
}

/* --- BIG DEALS SECTION --- */
.bigdeal-main {
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #F87618 0%, #F8AF42 100%);
  ;
  padding: 32px 0 40px 0;
  box-sizing: border-box;
}

.big-deals-title {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  color: #000;
  margin-bottom: 4px;
  letter-spacing: 1px;
}

.big-deals-subtitle {
  text-align: center;
  color: #333;
  font-size: 1rem;
  margin-bottom: 24px;
}

.deals-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 950px;
  margin: 0 auto;
  align-items: center;
  width: 100%;
  margin-bottom: 50px;
}

.deal-card {
  background: #fff7e6;
  border: 2px solid #ffe0a3;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(255, 180, 71, 0.13);
  padding: 12px 12px 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  min-width: 200px;
  min-height: 270px;
}

.deal-card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin-bottom: 4px;
}


.more-brands {
  margin-left: auto;
  font-size: 0.95em;
  color: #b97c00;
  font-weight: 600;
}

.deal-img {
  width: 100%;
  height: 110px;
  object-fit: contain;
  margin: 8px 0 10px 0;
  background: #fff;
  border-radius: 7px;
}

.deal-badge {
  position: absolute;
  right: 12px;
  bottom: 54px;
  background: #ff9100;
  color: #fff;
  font-weight: bold;
  font-size: 1.1em;
  padding: 6px 14px 4px 14px;
  border-radius: 7px;
  box-shadow: 0 2px 8px 0 rgba(255, 145, 0, 0.13);
  text-align: center;
  z-index: 2;
}

.deal-badge .strike {
  text-decoration: line-through;
  font-size: 0.95em;
  color: #ffe0a3;
  margin-right: 2px;
}

.deal-label {
  margin-top: 24px;
  text-align: center;
  font-size: 1.05em;
  color: #b97c00;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Responsive for mobile/tablet */

@media (max-width: 600px) {
  .bigdeal-main {
    padding: 18px 0 24px 0;
  }


  .deal-card {
    min-width: 0;
    min-height: 200px;
    padding: 10px 8px 12px 8px;
  }

  .deal-img {
    height: 80px;
  }

  .deal-badge {
    right: 8px;
    bottom: 38px;
    font-size: 1em;
    padding: 4px 10px 2px 10px;
  }

  .deal-label {
    margin-top: 14px;
    font-size: 1em;
  }
}


/* Desktop Styles */
.pdt-container {
  width: 100%;
  margin: 40px auto;
  padding: 0 20px;
  display: flex;
  gap: 20px;
}

.pdt-card {
  display: flex;
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  padding: 40px;
  position: relative;
}

.pdt-left {
  flex: 1;
  padding-right: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pdt-heading {
  font-size: 32px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.pdt-heading::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 60px;
  height: 3px;
  background: #e74c3c;
  border-radius: 2px;
}

.desc {
  color: #e74c3c;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.pdt-name {
  font-size: 24px;
  color: #34495e;
  margin-bottom: 10px;
  line-height: 1.4;
}

.pdt-price {
  font-size: 36px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 25px;
  position: relative;
}

.pdt-left a {
  display: inline;
  background: none;
  color: var(--primary);
  padding: 0;
  border-radius: 0;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.2s;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: auto;
  box-shadow: none;
}

.pdt-left a:hover {
  background: none;
  transform: none;
}

.time {
  display: flex;
  gap: 20px;
  margin-top: auto;
}

.time-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  min-width: 80px;
}

.time-number {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin-bottom: 5px;
}

.time-label {
  font-size: 12px;
  color: #7f8c8d;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pdt-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.pdt-right img {
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}

@media (max-width: 480px) {
  .pdt-container{
    display: none;
  }
}

@media (min-width: 480px) {
  .pdt-container{
    display: flex;
  }
  .bigdeal-main{
    display: none;
  }
}

@media (min-width: 768px){
  .brand-slide{
    width: 200px;
    height: 200px;
  }

  .brand-slide img {
    width: 150px;              
    height: 150px; 
  }
}


/* --- PRODUCTS GRID --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* 4 cards on desktop */
  gap: 20px;
  padding: 28px 6vw 48px 6vw;
}

/* Section Title */
.sectiontitle {
  font-size: 2rem;
  font-weight: 800;
  margin: 36px 6vw 24px 6vw;
  letter-spacing: 1px;
  color: #333;
}

/* Tablet Styles */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    /* 3 cards on tablet */
    gap: 16px;
    padding: 20px 4vw 32px 4vw;
  }

  .sectiontitle {
    font-size: 1.6rem;
    margin: 28px 4vw 20px 4vw;
  }

  .product-info {
    padding: 10px;
  }

  .product-name {
    font-size: 13px;
  }

  .brand-logo {
    height: 18px;
  }

  .cart-btn {
    font-size: 11px;
    padding: 5px 10px;
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    /* 2 cards on mobile */
    gap: 12px;
    padding: 16px 3vw 24px 3vw;
  }

  .sectiontitle {
    font-size: 1.4rem;
    margin: 20px 3vw 16px 3vw;
  }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
  .product-grid {
    gap: 10px;
    padding: 12px 2vw 20px 2vw;
  }

  .sectiontitle {
    font-size: 1.2rem;
    margin: 16px 2vw 12px 2vw;
  }
}



/* Category Scroll Card Styles */
.categories-scroll-card {
  width: 100%;
  display: flex;
  margin: 24px auto 0 auto;
  background: #fff;
  justify-content: center;
  padding: 18px 0 10px 0;
  overflow-x: auto;
}

.categories-scroll {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  padding: 0 24px;
  scrollbar-width: none;
}

.categories-scroll::-webkit-scrollbar {
  display: none;
}

.category-icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
  margin-bottom: 6px;
  text-decoration: none;
}

.category-icon-bg {
  background: #f3f4f6;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.03);
}

.category-icon-bg img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.category-icon-label {
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  text-align: center;
  margin-top: 2px;
  letter-spacing: 0.01em;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .categories-scroll-card {
    max-width: 98vw;
    border-radius: 16px;
    padding: 12px 0 8px 0;
  }

  .categories-scroll {
    gap: 18px;
    padding: 0 10px;
  }

  .category-icon-bg {
    width: 100px;
    height: 100px;
  }

  .category-icon-bg img {
    width: 80px;
    height: 80px;
  }

  .category-icon-label {
    font-size: 0.93rem;
  }
}

@media (max-width: 600px) {
  .categories-scroll-card {
    border-radius: 10px;
    padding: 8px 0 4px 0;
  }

  .categories-scroll {
    gap: 10px;
    padding: 0 4px;
  }

  .category-icon-card {
    min-width: 60px;
  }

  .category-icon-bg {
    width: 100px;
    height: 100px;
  }

  .category-icon-bg img {
    width: 80px;
    height: 80px;
  }

  .category-icon-label {
    font-size: 0.85rem;
  }
}

.promo-banner {
  width: 100%;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.promo-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  z-index: 1;
}

.promo-banner>* {
  position: relative;
  z-index: 2;
}

.product-left,
.product-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-image-trending {
  width: 400px;
  height: 300px;
  object-fit: cover;
  border-radius: 15px;
}

.content-center {
  flex: 2;
  text-align: center;
  color: white;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.timer-circle {
  background: var(--primary);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.number {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
}

.label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-top: 2px;
}

.main-title {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 10px;
  color: #000;
}

.subtitle {
  font-size: 16px;
  margin-bottom: 30px;
  letter-spacing: 1px;
  color: #000;
  font-weight: 500;
  opacity: 0.8;
}

.shop-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 1px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.shop-btn:hover {
  transform: translateY(-1px);
}

.shop-btn:active {
  transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .promo-banner {
    flex-direction: column;
    padding: 30px 20px;
    text-align: center;
  }

  .product-left,
  .product-right {
    margin: 20px 0;
  }

  .product-image-trending {
    width: 200px;
    height: 120px;
  }

  .countdown-timer {
    gap: 15px;
    flex-wrap: wrap;
  }

  .timer-circle {
    width: 60px;
    height: 60px;
  }

  .number {
    font-size: 18px;
  }

  .label {
    font-size: 8px;
  }

  .main-title {
    font-size: 28px;
  }

  .subtitle {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .countdown-timer {
    gap: 10px;
  }

  .timer-circle {
    width: 50px;
    height: 50px;
  }

  .number {
    font-size: 16px;
  }

  .label {
    font-size: 7px;
  }

  .main-title {
    font-size: 24px;
  }
}


.category-header {
  padding: 0 15px 15px 15px;
}

.category-header h2 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
}

.category-products {
  width: 100%;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%);
}

.product-scroll {
  display: flex;
  overflow-x: auto;
  padding: 0 20px;
  gap: 15px;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
  margin-top: 40px;
}

.product-scroll::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari and Opera */
}

.product-item {
  flex: 0 0 auto;
  width: 85px;
}


.product-price {
  font-size: 11px;
  color: #666;
  text-decoration: line-through;
  position: absolute;
  left: 5px;
  bottom: 10px;
}

.product-price span {
  color: #1a1a1a;
  font-weight: 600;
  text-decoration: none;
  margin-left: 3px;
}

.view-all-btn {
  background-color: #6743e3;
  color: white;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  padding: 12px;
  width: 90%;
  margin: 0 auto;
  border-radius: 5px;
  cursor: pointer;
}

.bigdeal-flex-wrap {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 40px;

}

.bigdeal-images-row{
  display: flex;
  gap: 20px;
}

.bigdeal-timer-large {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 220px;
  background: none;
  margin-right: 24px;
  height: 100%;
  padding: 0;
}

.bigdeal-offer-timer {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  color: #fff;
  font-size: 2.8rem;
  font-weight: 900;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
  background: transparent;
  border: none;
  margin: 0;
  padding: 0;
  height: 25%;
}

.bigdeal-offer-timer:first-child {
  margin-top: 0;
}

.bigdeal-offer-timer:not(:last-child) {
  margin-bottom: 0;
}

.bigdeal-timer-large {
  min-width: 320px;
  max-width: fit-content;
  height: 370px;
  text-wrap: nowrap;
  margin-top: 0;
  margin-bottom: 0;
  margin-right: 30px;
}

.bigdeal-offer-timer {

  font-size: 2.7rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-align: center;
  background: none;
  border: none;
  box-shadow: none;
  margin: 0;
  padding: 0;
  height: 25%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bigdeal-offer-timer span {
  font-size: 3.2rem;
  font-weight: 900;
}

.bigdeal-timer-large .bigdeal-offer-timer {
  height: 100%;
  flex: 1 1 0;
}

.bigdeal-timer-large .bigdeal-offer-timer:not(:first-child) {
  display: none;
}

.bigdeal-timer-large .bigdeal-offer-timer:first-child {
  display: flex;
}

@media (max-width: 900px) {
  .bigdeal-flex-wrap {
    flex-direction: column;
    align-items: center;
  }

  .bigdeal-timer-large {
    min-width: 100%;
    max-width: 100%;
    width: 100%;
    height: auto;
    margin: 0 0 18px 0;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.10);
    padding: 18px 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 18px;

  }

  .bigdeal-timer-large .bigdeal-offer-timer {
    display: flex;
    height: auto;
    font-size: 1.5rem;
    padding: 0 10px;
    margin: 0;
  }

  .bigdeal-timer-large .bigdeal-offer-timer:not(:first-child) {
    display: flex;
  }
}

@media (max-width: 600px) {
  .bigdeal-offer-timer {
    font-size: 1.1rem !important;
    padding: 0 4px !important;
  }

  .bigdeal-timer-large {
    min-width: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 12px !important;
    padding: 10px 0 !important;
  }

  .bigdeal-offer-timer span {
    font-size: 1.3rem !important;
  }
}