/* Top red strip */
.top-strip {
  background-color: #d32f2f;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 5px 0;
  z-index: 1100;
  position: sticky;
  top: 0;
}

.custom-navbar {
  background-color: #ffffff;
  padding: 10px 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 1090;
  position: sticky;
  top: 30px; 
}
.logo {
  height: 45px;
}

/* Search bar */
.search-form input {
  min-width: 200px;
}
.search-form button {
  background-color: #ffcc00;
  border: none;
  font-weight: bold;
  color: black;
}

.nav-link {
  color: #000 !important;
  font-size: 16px;
  font-weight: 500;
}
.nav-link:hover {
  color: #ff8000 !important;
}

.btn-outline-dark {
  border: 1px solid #000;
  color: #000;
}
.btn-outline-dark:hover {
  background-color: #000;
  color: #fff;
}
.btn-warning {
  background-color: #ff8000;
  border: none;
  font-weight: bold;
  color: #fff;
}
.btn-warning:hover {
  background-color: #e67300;
}

.second-row {
  background-color: #f8f9fa;
  padding: 8px 15px;
  border-top: 1px solid #ddd;
}
.welcome-text {
  font-weight: 600;
  color: #333;
}
.contact-info span {
  font-size: 14px;
}

/* ✅ Offcanvas Fix */
.offcanvas {
  z-index: 1200 !important; 
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;             
}

.section-heading::before,
.section-heading::after {
  content: "";
  flex: 1;                 
  height: 2px;
  background: #ddd;       
}

.section-heading span {
  font-weight: 700;       
  font-size: 22px;
  color: #222;
  white-space: nowrap;     
}

/* Horizontal row */
#shop-by-category .container {
  padding-left: 5px;
  padding-right: 5px;
  max-width: 100%; 
}

.category-row {
  display: flex;
  gap: 15px;            
  overflow-x: auto;
  padding: 10px 5px;     
  scrollbar-width: thin;
}
.category-row::-webkit-scrollbar {
  height: 8px;
}
.category-row::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 4px;
}


.category-card {
  flex: 0 0 180px;    
  background: #fff;
  border-radius: 10px;
  padding: 15px 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}


.cat-img {
  width: 159px;           
  height: 200px;         
  object-fit: contain;
  margin-bottom: 8px;
}

.cat-name {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 992px) {
  .category-card {
    flex: 0 0 150px;
  }
  .cat-img {
    height: 120px;
  }
}

@media (max-width: 576px) {
  .category-card {
    flex: 0 0 120px;
  }
  .cat-img {
    height: 100px;
  }
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.section-heading::before,
.section-heading::after {
  content: "";
  flex: 1;
  height: 2px;
  background: #ddd;
}
.section-heading span {
  font-weight: 700;
  font-size: 22px;
  color: #222;
  white-space: nowrap;
}

.product-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 12px;
  min-height: 220px;   
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .2s, box-shadow .2s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.product-img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  margin-bottom: 8px;
}

.product-name {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.product-price {
  font-size: 14px;
  font-weight: 500;
  color: #d32f2f;
}
@media (min-width: 992px) {
  .col-lg-2-4 {
    flex: 0 0 20%;
    max-width: 20%;
  }
}
.product-card {
  background: #fff;
  border-radius: 8px;
  padding: 15px;
  min-height: 280px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.product-img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  margin-bottom: 10px;
}
.product-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}
.product-price {
  font-weight: bold;
  color: #333;
}
@media (min-width: 992px) {
  .col-lg-2-4 {
    flex: 0 0 20%;
    max-width: 20%;
  }
}
.product-card {
  background: #fff;
  border-radius: 8px;
  padding: 15px;
  min-height: 280px;  
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.product-img {
  width: 100%;
  height: 150px; 
  object-fit: contain;
  margin-bottom: 10px;
}
.product-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}
.product-price {
  font-weight: bold;
  color: #333;
}
@media (min-width: 992px) {
  .col-lg-2-4 {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

.product-card {
  background: #fff;
  border-radius: 8px;
  padding: 15px;
  min-height: 280px;  
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.product-img {
  width: 100%;
  height: 150px; 
  object-fit: contain;
  margin-bottom: 10px;
}
.product-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}
.product-price {
  font-weight: bold;
  color: #333;
}
@media (min-width: 992px) {
  .col-lg-2-4 {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

.product-card {
  background: #fff;
  border-radius: 8px;
  padding: 15px;
  min-height: 280px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.product-img {
  width: 100%;
  height: 150px; 
  object-fit: contain;
  margin-bottom: 10px;
}
.product-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}
.product-price {
  font-weight: bold;
  color: #333;
}
@media (min-width: 992px) {
  .col-lg-2-4 {
    flex: 0 0 20%;
    max-width: 20%;
  }
}
.product-card {
  background: #fff;
  border-radius: 8px;
  padding: 15px;
  min-height: 280px;  
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.product-img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  margin-bottom: 10px;
}
.product-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}
.product-price {
  font-weight: bold;
  color: #333;
}

@media (min-width: 992px) {
  .col-lg-2-4 {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}
.section-heading::before,
.section-heading::after {
  content: "";
  flex: 1;
  height: 2px;
  background: #ddd;
}
.section-heading span {
  font-weight: 700;
  font-size: 22px;
  color: #222;
  white-space: nowrap;
}

section .container {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

/* Banner full width */
section img.img-fluid {
  border-radius: 0;
  width: 100%;
  height: auto;
}

/* Product Grid */
.row.g-3 {
  margin-left: 0;
  margin-right: 0;
}

/* Product Card */
.product-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 15px;
  transition: transform .2s, box-shadow .2s;
  height: 100%;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* Product Image */
.product-img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 10px;
}

/* Product Name */
.product-name {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
  min-height: 40px;
}
.product-price {
  font-size: 14px;
  font-weight: bold;
  color: #d32f2f;
}

.col-lg-2-4 {
  flex: 0 0 20%;
  max-width: 20%;
}
@media (max-width: 992px) {
  .col-lg-2-4 {
    flex: 0 0 33.33%;
    max-width: 33.33%;
  }
}
@media (max-width: 576px) {
  .col-lg-2-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
/* Text Banner */
.text-banner {
  width: 100%;
  background: #f8f9fa; 
}

.text-banner p {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  max-width: 900px;     
  margin: 0;
  line-height: 1.6;
  text-align: left;      
}
/* Footer */
.footer {
  background-color: #f8f9fa;
  padding: 30px 15px;
  border-top: 2px solid #ddd;
}

.footer-logo {
  max-width: 180px;
}

.footer-heading {
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.footer p {
  font-size: 14px;
  color: #555;
  margin: 0 0 5px;
}

.footer .social-links a {
  text-decoration: none;
  font-size: 14px;
  color: #007bff;
}

.footer .social-links a:hover {
  text-decoration: underline;
}

.footer-link {
  text-decoration: none;
  font-size: 14px;
  color: #007bff;
}

.footer-link:hover {
  text-decoration: underline;
}
