/* === Global Reset & Base Styles === */
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #444;
}

legend {
  padding: 7px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
}

label {
  font-size: 12px;
  font-weight: normal;
}

/* Remove Chrome focus outline for buttons */
button:focus {
  outline: none !important;
}
/* === Container & Layout === */
#container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#content,
#column-left,
#column-right {
  padding-bottom: 60px;
}

@media (min-width: 576px) {
  #content,
  #column-left,
  #column-right {
    padding-bottom: 60px;
  }
}

/* === Main Tag Cleanup and Spacing Fix === */
main {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  overflow: auto;
}

main > *:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
/* === Header Custom Styles === */
.header-sticky {
  z-index: 1030;
}

.logo-img {
  max-height: 60px;
}

.header-spacer {
  width: 40px;
}

/* === Logo === */
#logo {
  text-align: center;
  margin: 7px 0;
}

#logo img {
  max-width: 200px;
}

@media (min-width: 768px) {
  #logo {
    text-align: left;
  }
}

/* === Top Bar === */
#top {
  background-color: var(--bs-tertiary-bg);
  border-bottom: 1px solid var(--bs-border-color);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 5px;
}

#top ul.list-inline {
  margin-bottom: 0;
}

#top .list-inline-item > a,
#top .list-inline-item .dropdown > a {
  font-size: 1.1em;
  color: var(--bs-gray-600);
  line-height: 40px;
  vertical-align: middle;
  padding: 10px 0 5px 0;
}
/* === Search === */
#search {
  margin-bottom: 10px;
}

#search .form-control-lg {
  height: 40px;
  font-size: 12px;
  line-height: 20px;
  padding: 0 10px;
}

#search .btn-lg {
  font-size: 15px;
  line-height: 18px;
  padding: 0.57rem 35px;
  text-shadow: 0 1px 0 #fff;
}

/* === Cart === */
#cart {
  margin-bottom: 10px;
}

#cart .img-thumbnail {
  min-width: 100px;
}

#cart .btn-lg {
  font-size: 15px;
  line-height: 18px;
  padding: 14px 35px;
}

#cart .dropdown-menu {
  background: #eee;
}

#cart .dropdown-menu li {
  min-width: 300px;
}

@media (max-width: 768px) {
  #cart .dropdown-menu li {
    min-width: 100%;
  }
}
/*
=== Menu (desktop + mobile) ===
*/

#menu {
  background-color: #229ac8;
  background-image: linear-gradient(to bottom, #23a1d1, #1f90bb);
  border: 1px solid #1f90bb;
  border-color: #1f90bb #1f90bb #145e7a;
  min-height: 40px;
  border-radius: 4px;
  padding: 0 16px;
  margin-bottom: 20px;
}

#menu .navbar-nav > li > a {
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  padding: 10px 15px;
  background-color: transparent;
}

#menu .navbar-nav > li > a:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

#menu .dropdown-menu {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

#menu .dropdown-inner {
  display: flex;
  flex-direction: column;
}

#menu .dropdown-inner ul {
  width: 100%;
  min-width: 200px;
}

@media (min-width: 960px) {
  #menu .dropdown:hover .dropdown-menu {
    display: block;
  }
  #menu .dropdown-inner {
    flex-direction: row;
  }
  #menu .nav-item + .nav-item + .nav-item .dropdown-column-3 {
    left: -200px;
  }
  #menu .nav-item + .nav-item + .nav-item .dropdown-column-4 {
    left: -400px;
  }
  #menu .nav-item + .nav-item + .nav-item + .nav-item .dropdown-column-2 {
    left: -200px;
  }
  #menu .nav-item + .nav-item + .nav-item + .nav-item .dropdown-column-3 {
    left: -400px;
  }
  #menu .nav-item + .nav-item + .nav-item + .nav-item .dropdown-column-4 {
    left: -600px;
  }
}

/* Category text inside Menu area */
#category {
  float: left;
  font-size: 16px;
  font-weight: 700;
  line-height: 40px;
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

/* === Offcanvas Mobile Menu === */
.offcanvas.w-80 {
  width: 95% !important;
}

.offcanvas-header {
  padding: 8px 16px 4px 16px;
  margin-bottom: 30px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.offcanvas-header .btn-close {
  margin: 0;
  background: none;
  font-size: 28px;
  color: #000;
  opacity: 1;
  text-shadow: 0 0 1px #000;
  padding: 0;
}

.offcanvas-header .btn-close::before {
  content: "×";
  font-size: 28px;
  color: #000;
  line-height: 1;
  vertical-align: middle;
}

.offcanvas-body {
  padding-top: 0;
}

.offcanvas-body .nav-link {
  padding-top: 2px;
  padding-bottom: 2px;
  font-size: 14px;
  margin: 0;
}

.offcanvas-body .collapse .nav-link {
  padding-left: 16px;
  font-size: 16px;
}

.offcanvas-backdrop.show {
  background-color: rgba(0, 0, 0, 0.7) !important;
}

/* === Mobile adjustments === */
@media (max-width: 767px) {
  .offcanvas.w-80 .nav-link {
    font-size: 15px !important;
  }
  .offcanvas.w-80 .collapse .nav-link {
    font-size: 15px !important;
  }
}

/* === Menu ENDS === */

/* === Alert Modal === */
#alert {
  z-index: 9999;
  position: fixed;
  top: 30%;
  left: 50%;
  width: 400px;
  margin-left: -200px;
}

@media (min-width: 992px) {
  #alert {
    width: 600px;
    margin-left: -300px;
  }
}

#alert .alert {
  margin-bottom: 15px;
}

#alert .alert-primary {
  box-shadow: 0 0 0 5px rgb(var(--bs-primary-rgb), 0.1);
}
#alert .alert-secondary {
  box-shadow: 0 0 0 5px rgb(var(--bs-secondary-rgb), 0.1);
}
#alert .alert-success {
  box-shadow: 0 0 0 5px rgb(var(--bs-success-rgb), 0.1);
}
#alert .alert-warning {
  box-shadow: 0 0 0 5px rgb(var(--bs-warning-rgb), 0.1);
}
#alert .alert-danger {
  box-shadow: 0 0 0 5px rgb(var(--bs-danger-rgb), 0.1);
}
#alert .alert-info {
  box-shadow: 0 0 0 5px rgb(var(--bs-info-rgb), 0.1);
}
#alert .alert-light {
  box-shadow: 0 0 0 5px rgb(var(--bs-light-rgb), 0.1);
}
#alert .alert-dark {
  box-shadow: 0 0 0 5px rgb(var(--bs-dark-rgb), 0.1);
}

/* === Offcanvas Navigation Styles === */
.offcanvas-body .nav-link {
  font-size: 18px;
  color: #000;
  padding: 10px 15px;
}

.offcanvas-body .nav .nav .nav-link {
  font-size: 15px;
  padding-left: 25px;
}

.offcanvas-body .nav-item:not(:last-child) {
  border-bottom: 1px solid #e0e0e0;
}

.offcanvas-body ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.offcanvas-body .nav-link:hover {
  background-color: #f8f9fa;
  text-decoration: none;
}

.offcanvas-header .btn-close {
  transform: scale(1.2);
}

.nav-link[aria-expanded="true"] i.fa-plus {
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.nav-link[data-bs-toggle="collapse"] {
  cursor: pointer;
}

.nav-link[aria-expanded="true"] {
  background-color: #f0f0f0;
  font-weight: 600;
  border-left: 3px solid #007bff;
}

.nav-link:hover {
  background-color: #f8f9fa;
  text-decoration: none;
}
/* === Breadcrumb === */
.breadcrumb {
  margin: 0 0 20px 0;
  padding: 8px 0;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  background-color: var(--bs-tertiary-bg);
}

.breadcrumb i {
  font-size: 15px;
}

.breadcrumb > li.breadcrumb-item {
  text-shadow: 0 1px 0 #fff;
  padding: 0 20px;
  position: relative;
  white-space: nowrap;
}

.breadcrumb > li.breadcrumb-item > a {
  text-decoration: none;
}

.breadcrumb > li.breadcrumb-item:after {
  content: "";
  display: block;
  position: absolute;
  top: -3px;
  right: -5px;
  width: 29px;
  height: 29px;
  border-right: 1px solid var(--bs-border-color);
  border-bottom: 1px solid var(--bs-border-color);
  transform: rotate(-45deg);
}

.breadcrumb > li.breadcrumb-item + li:before {
  content: "";
  padding: 0;
}

/* === Product Thumbnails === */
.product-thumb {
  border: 1px solid #ddd;
  position: relative;
  height: 100%;
}

.product-thumb .image {
  text-align: center;
}

.product-thumb .image a:hover {
  opacity: 0.8;
}

.product-thumb .description {
  padding: 15px;
  margin-bottom: 45px;
}

.product-thumb .description h4 {
  font-weight: bold;
}

.product-thumb .button {
  display: flex;
  position: absolute;
  width: 100%;
  bottom: 0;
}

.product-thumb .button button {
  width: 33.33%;
  border: none;
  border-top: 1px solid var(--bs-border-color);
  background-color: var(--bs-tertiary-bg);
  color: var(--bs-gray-600);
  line-height: 38px;
  text-align: center;
}

.product-thumb .button button:hover {
  color: var(--bs-gray-600);
  background-color: #ddd;
  cursor: pointer;
}

.product-thumb .button button + button {
  border-left: 1px solid var(--bs-border-color);
}

@media (min-width: 960px) {
  .product-list .product-thumb {
    display: flex;
  }

  .product-list .product-thumb .image {
    flex-direction: column;
    margin-bottom: 0;
  }

  .product-list .product-thumb .content {
    flex-direction: column;
    flex: 75%;
    position: relative;
  }

  .product-list .product-thumb .button {
    border-left: 1px solid #ddd;
    width: calc(100% - 15px);
    margin-left: 15px;
  }
}

/* === Rating Stars === */
.rating .fa-stack {
  width: 20px;
}

.rating .fa-star {
  color: #fc0;
  font-size: 15px;
}

.rating .fa-star + .fa-star {
  color: #e69500;
}

/* === Price Styling === */
.price {
  color: #444;
}

.price-new {
  font-weight: 600;
}

.price-old {
  color: #dc512c;
  text-decoration: line-through;
}

.price-tax {
  color: #999;
  font-size: 12px;
  display: block;
}

/* === Blog Thumbnails === */
.blog-thumb {
  border: 1px solid #ddd;
  margin-bottom: 15px;
}

.blog-thumb h4 {
  font-weight: bold;
}

.blog-thumb .image {
  text-align: center;
  margin-bottom: 15px;
}

.blog-thumb .image a:hover {
  opacity: 0.8;
}

.blog-thumb .description {
  padding: 15px;
}
/* === Site Footer Container === */
.site-footer {
  margin-top: 10px !important;
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: #303030;
  color: #e2e2e2;
  display: block;
}

/* === Footer Styles === */
footer {
  width: 100%;
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: #303030;
  border-top: 1px solid #ddd;
  color: #e2e2e2;
  flex-shrink: 0;
}

footer hr {
  border-top: none;
  border-bottom: 1px solid #666;
}

footer a {
  color: #ccc;
  text-decoration: none;
}

footer a:hover {
  color: #fff;
}

footer h5 {
  font-family: "Open Sans", sans-serif;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  margin: 10px 0;
}

.site-footer .footer-link {
  font-size: 20px !important;
}
/* === Footer Responsive Typography - Mobile === */
@media (max-width: 768px) {
  .site-footer .footer-title {
    font-size: 18px !important;
  }

  .site-footer .footer-link {
    font-size: 16px !important;
  }

  .site-footer .footer-copy p {
    font-size: 14px !important;
  }

  .footer-link {
    display: block;
    margin-bottom: 15px;
  }
}

/* === Footer Social Icons - Desktop (Default styles) === */
.footer-social {
  margin: 20px 0;
  text-align: center;
}

.footer-social a {
  display: inline-block;
  margin: 0 15px;
  font-size: 40px; /* Desktop icon size */
  color: #fff; /* White icons for black footer */
  transition: color 0.3s ease;
}

.footer-social a i {
  font-size: 40px !important;
  color: #fff !important;
  display: inline-block !important;
}

.footer-social a:hover {
  color: #007bff;
}

/* === Footer WhatsApp Button - Keep separate and intact === */
.footer-whatsapp {
  display: block;
  width: 100%;
  background-color: #25d366;
  color: white;
  text-align: center;
  padding: 15px 0;
  font-size: 20px;
  font-weight: bold;
  border-radius: 8px;
  margin: 20px 0;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.footer-whatsapp:hover {
  background-color: #1ebe5d;
  color: white;
}

/* === Footer Social Icons - Mobile Adjustments === */
@media (max-width: 768px) {
  .footer-social a {
    margin: 0 30px !important; /* Increase horizontal spacing between icons */
    font-size: 60px !important; /* Make icons bigger on mobile, adjust size here */
  }

  .footer-social a i {
    font-size: 60px !important; /* Ensure icon inside <i> is same size */
  }

  /* WhatsApp button font size for mobile */
  .footer-whatsapp {
    font-size: 18px !important;
  }
}
/* Social Media Heading Above Icons */
.social-invite {
  font-size: 30px;
  color: #fff;
  margin-bottom: 10px;
  font-weight: 600;
}
/* Mobile */
@media (max-width: 768px) {
  .social-invite {
    font-size: 20px !important;
  }
}

/* === Cookie Banner === */
#cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  z-index: 9999;
  opacity: 0.95;
  color: #ecf0f1;
  background: #343a40;
}

#cookie div {
  font-size: 16px;
  color: #fff;
}
/* Make brand links bigger */
#product-manufacturer .col-sm-3 a {
  font-size: 20px;
  font-weight: bold;
}

/* Make Brand Index letters (E, S) bigger */
#product-manufacturer p a {
  font-size: 18px;
  font-weight: bold;
}
.whatsapp-icon i.fab.fa-whatsapp {
  font-size: 32px;
}
/* === Category Grid Style ===
   Text moved to bottom inside images
   Full width with padding to prevent cut-off on mobile
   Responsive font size for mobile devices
*/

.choose-cat-grid .category-label {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 8px 6px;
  background-color: rgba(0, 0, 0, 0.5); /* semi-transparent black */
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  white-space: normal;
  box-sizing: border-box;
  pointer-events: none; /* clicks go to the link */
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}

.choose-cat-grid a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 6px;
}

.choose-cat-grid img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

/* Optional subtle zoom on hover */
.choose-cat-grid a:hover img {
  transform: scale(1.05);
}

/* Smaller font on small screens */
@media (max-width: 767px) {
  .choose-cat-grid .category-label {
    font-size: 14px;
    padding: 6px 4px;
  }
}

/* === Category Grid Style Ends Here === */

