body {
    font-family: Arial, sans-serif;
}

.carousel-item img {
    object-fit: cover;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card {
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn-dark {
    background-color: #000;
    border: none;
}

header h3 {
    margin: 0;
}

:root {
  --primary-color: #4CAF50;
  --secondary-color: #2E7D32;
  --dark-color: #212121;
  --light-color: #f8f9fa;
  --accent-color: #FF9800;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark-color);
}

/* Header and Navigation */
/* Navbar override styles */
.navbar {
  background-color: black !important;

}

.navbar .nav-link {
  color: white !important;
  font-weight: 500;
  padding: 10px 15px;
  transition: color 0.3s ease;
}

/* Hover effect */
.navbar .nav-link:hover {
  color: var(--primary-color) !important;
}

/* Active (selected) nav link */
.navbar .nav-link.active,
.navbar .nav-item.active .nav-link {
  color: var(--primary-color) !important;
}


.search-box {
  position: relative;
  width: 100%;
}

.search-box input {
  border-radius: 30px;
  padding-left: 15px;
  padding-right: 40px;
  border: 1px solid #ddd;
}

.search-box button {
  position: absolute;
  right: 0;
  top: 0;
  border-radius: 0 30px 30px 0;
  background-color: var(--primary-color);
  border: none;
  height: 100%;
  width: 40px;
}

/* Hero Slider */
.hero-slider {
  overflow: hidden;
  position: relative;
}

.slider-content {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 500px;
  display: flex;
  align-items: center;
}

.slider-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.0);
  z-index: 1;
}

.slider-text {
  position: relative;
  z-index: 2;
  padding: 20px;
}

.slider-heading {
  line-height: 1.1;
}

.product-showcase {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
}

.product-frames {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  transform: perspective(800px) rotateY(-10deg);
}

.product-frame {
  width: 150px;
  height: 150px;
  background-color: white;
  border-radius: 3px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  overflow: hidden;
  transform: rotate(45deg);
}

.product-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: rotate(-45deg) scale(1.4);
}

/* Category Bar */
.category-bar {
  background-color: var(--light-color);
  border-top: 1px solid #e9e9e9;
  border-bottom: 1px solid #e9e9e9;
}

.category-bar .btn-link {
  font-weight: 600;
  text-transform: uppercase;
  padding: 10px 15px;
}

.category-bar .btn-link:hover {
  color: var(--primary-color) !important;
}

/* Product Cards */
.product-card {
  border: 1px solid #eee;
  transition: all 0.3s ease;
  height: 100%;
  background-color: white;
}

.product-card:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}

.product-img-container {
  position: relative;
  overflow: hidden;
  background-color: #f9f9f9;
}

.product-title {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 10px;
  height: 40px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.regular-price {
  color: #999;
  font-size: 0.9rem;
}

.offer-price {
  color: var(--primary-color);
  font-size: 1.1rem;
}

.product-card .btn {
  border-radius: 0;
  background-color: var(--dark-color);
  color: white;
  padding: 8px 15px;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.product-card .btn:hover {
  background-color: var(--primary-color);
}

/* Section Headings */
section h2 {
  position: relative;
  font-weight: 700;
  padding-bottom: 15px;
  margin-bottom: 30px;
  text-transform: uppercase;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

/* Footer Styles */
/* Main Footer Styles */
.footer {
    width: 100%;
    color: #fff;
    font-family: Arial, sans-serif;
    padding: 0;
    margin: 0;
}

.main-footer {
    background-color: #111;
    padding: 50px 0;
}

/* Override any global container padding */
.footer .container {
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
    margin: 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    padding: 0 50px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-title {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 15px;
}

.footer-separator {
    width: 50px;
    height: 2px;
    background-color: #ff0000;
    margin-bottom: 25px;
}

/* About Us Column */
.contact-info p {
    margin: 8px 0;
    font-size: 14px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.facebook {
    background-color: #3b5998;
}

.twitter {
    background-color: #1da1f2;
}

.youtube {
    background-color: #ff0000;
}

.payment-methods {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.payment-methods img {
    height: 30px;
    border-radius: 6px;
    background-color: #fff;
    padding: 5px;
}

.tagline {
    font-size: 14px;
    margin-top: 20px;
}

/* Links Column */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    display: block;
}

.footer-links a:hover {
    color: #ccc;
}

/* Category Column */
.category-column .footer-links a {
    font-weight: 500;
}

/* Bottom Footer */
.bottom-footer {
    background-color: #000;
    padding: 15px 0;
}

.bottom-footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 50px;
}

.copyright {
    font-size: 14px;
}

.wegrapps-link {
    color: #3b82f6;
    text-decoration: none;
}

/* Fixed Contact Button */
.fixed-contact-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.contact-us-btn {
    background-color: #3b82f6;
    color: #fff;
    padding: 8px 18px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
    display: inline-block;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.contact-us-btn:hover {
    background-color: #2563eb;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .footer-content {
        flex-direction: column;
        gap: 40px;
        padding: 0 30px;
    }
    
    .footer-column {
        width: 100%;
    }
    
    .bottom-footer-content {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding: 40px 0;
    }
    
    .footer-content {
        padding: 0 20px;
    }
    
    .bottom-footer-content {
        text-align: center;
        padding: 0 20px;
    }
    
    .fixed-contact-btn {
        bottom: 15px;
        right: 15px;
    }
}

/* For chat widget icon */
.chat-widget {
    position: fixed;
    bottom: 80px; /* Position above the contact button */
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #6a5af9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 1000;
}
.fixed-contact-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

.scroll-top-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: white; /* White circle */
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Soft shadow */
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.scroll-top-btn i {
  color: var(--primary-color);
  font-size: 18px;
}

/* Optional hover effect */
.scroll-top-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}


/* Resize main product image */
.main-img {
    width: 300px;
    height: 300px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    object-fit: cover;

}

/* Uniform thumbnail sizing */
.thumb-img {
    width: 80px;
    height: 80px;
}


.cart-badge {
    background-color: #007bff; /* Blue background */
    font-size: 0.85rem; /* Larger text */
    padding: 4px 8px; /* More padding */
}

.place-order-btn:disabled {
    background-color: #cccccc; /* Grayed-out background */
    cursor: not-allowed; /* Indicate the button is disabled */
    opacity: 0.6; /* Slightly faded */
}