/*
  Pepe Mart - Modern E-Commerce Mall Stylesheet
  Primary Brand Color: Deep Red (#D32F2F)
  Secondary Brand Color: Deep Black (#111111)
*/

:root {
  --pepe-red: #D32F2F;
  --pepe-red-dark: #B71C1C;
  --pepe-red-light: #FFEBEE;
  --pepe-black: #111111;
  --pepe-black-muted: #222222;
  --pepe-gray-bg: #F8F9FA;
  --pepe-border: #E0E0E0;
  --pepe-gold: #FFB300;
  --pepe-green: #25D366;
  --pepe-font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --pepe-shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --pepe-shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --pepe-shadow-lg: 0 16px 36px rgba(0,0,0,0.12);
  --pepe-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  font-family: var(--pepe-font);
  background-color: var(--pepe-gray-bg);
  color: #333333;
  line-height: 1.6;
}

/* Typography Overrides */
h1, h2, h3, h4, h5, h6 {
  color: var(--pepe-black);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text-pepe-red { color: var(--pepe-red) !important; }
.bg-pepe-red { background-color: var(--pepe-red) !important; }
.bg-pepe-black { background-color: var(--pepe-black) !important; }

/* Top Announcement Bar */
.top-bar {
  background-color: var(--pepe-black);
  color: #ffffff;
  font-size: 15px;
  padding: 10px 0;
}
.top-bar a {
  color: #e0e0e0;
  text-decoration: none;
  transition: var(--pepe-transition);
}
.top-bar a:hover {
  color: #ffffff;
}

/* Header & Sticky Navigation */
.pepe-navbar {
  background-color: #ffffff;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  transition: var(--pepe-transition);
}
.pepe-navbar.sticky-top {
  z-index: 1030;
}

.brand-logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--pepe-black);
  letter-spacing: 0.5px;
}
.brand-text span {
  color: var(--pepe-red);
}

.nav-link {
  font-weight: 600;
  color: #2c2c2c !important;
  padding: 10px 16px !important;
  transition: var(--pepe-transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--pepe-red) !important;
}

/* Buttons */
.btn-pepe-primary {
  background-color: var(--pepe-red);
  color: #ffffff;
  font-weight: 600;
  border-radius: 8px;
  padding: 10px 22px;
  border: none;
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.25);
  transition: var(--pepe-transition);
}
.btn-pepe-primary:hover {
  background-color: var(--pepe-red-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(211, 47, 47, 0.35);
}

.btn-pepe-outline {
  border: 2px solid var(--pepe-red);
  color: var(--pepe-red);
  font-weight: 600;
  border-radius: 8px;
  padding: 8px 20px;
  background: transparent;
  transition: var(--pepe-transition);
}
.btn-pepe-outline:hover {
  background-color: var(--pepe-red);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: var(--pepe-green);
  color: #ffffff !important;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  transition: var(--pepe-transition);
}
.btn-whatsapp:hover {
  background-color: #1eb954;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

/* Hero Banner Section */
.hero-banner {
  background: linear-gradient(135deg, rgba(17, 17, 17, 0.85) 0%, rgba(183, 28, 28, 0.75) 100%),
              url('../images/silding.png') center/cover no-repeat;
  color: #ffffff;
  padding: 90px 0 100px;
  border-radius: 0 0 24px 24px;
}
.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
}
.hero-badge {
  background-color: var(--pepe-red);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 50px;
  display: inline-block;
}

/* Hero Banner Image Slider (replaces the static right-side hero image) */
.hero-slider-wrapper {
  width: 100%;
  max-width: 420px;
}
.hero-image-slider {
  width: 100%;
  height: 260px;
  overflow: hidden;
}
.hero-image-slider .carousel-inner,
.hero-image-slider .carousel-item {
  height: 100%;
}
.hero-image-slider .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-image-slider .carousel-control-prev,
.hero-image-slider .carousel-control-next {
  width: 38px;
  height: 38px;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  background-color: rgba(17, 17, 17, 0.45);
  border-radius: 50%;
  opacity: 0.85;
  transition: var(--pepe-transition);
}
.hero-image-slider .carousel-control-prev { left: 10px; }
.hero-image-slider .carousel-control-next { right: 10px; }
.hero-image-slider .carousel-control-prev:hover,
.hero-image-slider .carousel-control-next:hover {
  background-color: var(--pepe-red);
  opacity: 1;
}
.hero-image-slider .carousel-control-prev-icon,
.hero-image-slider .carousel-control-next-icon {
  width: 16px;
  height: 16px;
}
.hero-slider-dots {
  margin-bottom: 10px;
}
.hero-slider-dots [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ffffff;
  border: none;
  opacity: 0.6;
  margin: 0 4px;
  transition: var(--pepe-transition);
}
.hero-slider-dots [data-bs-target].active {
  opacity: 1;
  background-color: var(--pepe-red);
  transform: scale(1.2);
}

/* Product Cards */
.product-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--pepe-shadow-sm);
  overflow: hidden;
  transition: var(--pepe-transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--pepe-shadow-md);
  border-color: rgba(211, 47, 47, 0.2);
}

.product-img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 75%; /* 4:3 Aspect Ratio */
  overflow: hidden;
  background-color: #f1f3f5;
}
.product-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img-wrapper img {
  transform: scale(1.06);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--pepe-red);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.product-category-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: #777777;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--pepe-black);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.7em;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--pepe-red);
}
.product-original-price {
  font-size: 0.9rem;
  color: #999999;
  text-decoration: line-through;
  margin-left: 6px;
}

/* Category Grid Card */
.category-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  border: 1px solid var(--pepe-border);
  box-shadow: var(--pepe-shadow-sm);
  transition: var(--pepe-transition);
  text-decoration: none;
  color: var(--pepe-black);
  display: block;
}
.category-card:hover {
  transform: translateY(-5px);
  border-color: var(--pepe-red);
  box-shadow: var(--pepe-shadow-md);
  color: var(--pepe-red);
}
.category-icon-box {
  width: 60px;
  height: 60px;
  background-color: var(--pepe-red-light);
  color: var(--pepe-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 14px;
  transition: var(--pepe-transition);
}
.category-card:hover .category-icon-box {
  background-color: var(--pepe-red);
  color: #ffffff;
  transform: scale(1.1);
}

/* Feature Badges / Why Choose Us */
.feature-box {
  background: #ffffff;
  padding: 30px 24px;
  border-radius: 16px;
  box-shadow: var(--pepe-shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
  transition: var(--pepe-transition);
  height: 100%;
}
.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--pepe-shadow-md);
}
.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--pepe-red) 0%, var(--pepe-red-dark) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 18px;
}

/* Floating WhatsApp Widget */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--pepe-green);
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 1050;
  text-decoration: none;
  transition: var(--pepe-transition);
}
.whatsapp-float:hover {
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
}
.whatsapp-float::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--pepe-green);
  opacity: 0.5;
  animation: pulse-ring 2s infinite;
  z-index: -1;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* Footer */
.footer-section {
  background-color: var(--pepe-black);
  color: #d1d1d1;
  padding-top: 60px;
  padding-bottom: 30px;
  border-top: 4px solid var(--pepe-red);
}
.footer-heading {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--pepe-red);
  border-radius: 2px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: #b0b0b0;
  text-decoration: none;
  transition: var(--pepe-transition);
}
.footer-links a:hover {
  color: var(--pepe-red);
  padding-left: 6px;
}

.copyright-bar {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  margin-top: 40px;
  font-size: 0.9rem;
}

/* Filter pills on Products page */
.category-filter-btn {
  border: 1px solid var(--pepe-border);
  background-color: #ffffff;
  color: var(--pepe-black);
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--pepe-transition);
  margin-right: 8px;
  margin-bottom: 10px;
}
.category-filter-btn:hover, .category-filter-btn.active {
  background-color: var(--pepe-red);
  color: #ffffff;
  border-color: var(--pepe-red);
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.25);
}

/* Media Queries */

/* Tablets */
@media (max-width: 991.98px) {
  .hero-banner {
    padding: 70px 0 80px;
  }
  .hero-slider-wrapper {
    max-width: 360px;
    margin: 0 auto;
  }
}

/* Small tablets / large phones */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  .brand-logo-img {
    height: 38px;
  }
  .hero-banner {
    padding: 60px 0 70px;
    border-radius: 0 0 16px 16px;
  }
  .hero-slider-wrapper {
    max-width: 320px;
  }
  .hero-image-slider {
    height: 220px;
  }
  .whatsapp-float {
    width: 52px;
    height: 52px;
    font-size: 1.6rem;
    bottom: 16px;
    right: 16px;
  }
}

/* Mobile phones */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.65rem;
  }
  .hero-badge {
    font-size: 0.75rem;
  }
  .hero-slider-wrapper {
    max-width: 280px;
  }
  .hero-image-slider {
    height: 190px;
  }
  .top-bar {
    font-size: 0.75rem;
  }
  .feature-box,
  .category-card {
    padding: 18px 12px;
  }
}
.text-muted {
    --bs-text-opacity: 1;
    color: rgba(8, 8, 8, 0.75) !important;
}
.text-mutednew {
    --bs-text-opacity: 1;
    color: rgba(255, 255, 255, 0.75) !important;
}
.small, small {
    font-size: 16px;
}
.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x));
    justify-content: center;
}
img.brand-logo-imgf.bg-white.p-1.rounded.me-2 {
    
    height: 133px !important;
    width: 201px !important;
}
