:root {
    --primary-blue: #0d47a1;
    --secondary-blue: #1565c0;
    --text-dark: #212529;
    --text-light: #5f6368;
    --background-light: #ffffff;
    --border-color: #dee2e6;
}

/* Brand color overrides */
/* Links */
a { color: var(--primary-blue); }
a:hover, a:focus { color: var(--secondary-blue); }

/* Headings */
h1, h2, h3, h4, h5, h6 { color: var(--text-dark); }

/* Primary buttons */
.btn-primary, .btn.btn-primary {
    background: linear-gradient(90deg, var(--secondary-blue), var(--primary-blue));
    border-color: transparent;
    color: var(--background-light);
}
.btn-primary:hover, .btn.btn-primary:hover,
.btn-primary:focus, .btn.btn-primary:focus {
    background: linear-gradient(90deg, var(--secondary-blue), var(--primary-blue));
    color: var(--background-light);
}

/* Outline/secondary buttons */
.btn-outline-primary, .btn.btn-outline-primary {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
    background-color: transparent;
}
.btn-outline-primary:hover, .btn.btn-outline-primary:hover,
.btn-outline-primary:focus, .btn.btn-outline-primary:focus {
    background: linear-gradient(90deg, var(--secondary-blue), var(--primary-blue));
    border-color: transparent;
    color: var(--background-light);
}

/* Icons (decorative) */
.feature i, .icon, .icons i { color: var(--primary-blue); }

/* Borders & dividers */
hr { border-color: var(--border-color); }
.card, .panel, .box, .rTable, .rTableCell, .rTableHead, .rTableFoot, .rTableHeading {
    border-color: var(--border-color);
}

/* ===== Brand color normalization overrides ===== */
/* Buttons/CTAs across sections */
.welcome p.button a,
.home-blog .text p.button a,
.cart-buttons li input[type="submit"],
.cart-buttons li a,
.cform input[type="submit"],
.blog p.button a,
.blog .pagination ul li a,
.widget-search button,
.scrollup i,
.btn-theme,
.btn,
.button,
button,
input[type="submit"],
input[type="button"] {
    background: linear-gradient(90deg, var(--secondary-blue), var(--primary-blue));
    color: var(--background-light);
    border-color: transparent;
}

.welcome p.button a:hover,
.home-blog .text p.button a:hover,
.cart-buttons li input[type="submit"]:hover,
.cart-buttons li a:hover,
.cform input[type="submit"]:hover,
.blog p.button a:hover,
.blog .pagination ul li a:hover,
.widget-search button:hover,
.btn:hover,
.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
    background: linear-gradient(90deg, var(--secondary-blue), var(--primary-blue));
    color: var(--background-light);
    border-color: transparent;
}

/* Links in content areas */
.blog h3 a,
.widget ul li a,
.footer-main .footer-col p a,
.footer-main .footer-col ul li a,
.page a {
    color: var(--primary-blue);
}
.blog h3 a:hover,
.widget ul li a:hover,
.footer-main .footer-col ul li a:hover,
.page a:hover {
    color: var(--secondary-blue);
}

/* Headings emphasized bars and accents */
.footer-main h3:after,
.page h3.special:after,
.card .nav-tabs > li > a::after {
    background: var(--primary-blue);
}

/* Product and section titles */
.product .p-title h2,
.cform address span,
.cform address a span,
.widget h4,
.widget ul li a:hover,
.widget ul li:before,
.widget ul.tag-cloud li:hover,
.widget ul.tag-cloud li:hover a,
.blog .pagination ul li a,
.blog h3 a:hover {
    color: var(--primary-blue) !important;
}

/* Text colors normalization */
.blog h3,
.blog h3 a,
.product .p-price,
.widget ul li,
.widget ul li:before,
.widget ul li a,
.card .nav-tabs > li > a,
.page h3.special,
.home-blog .text,
.footer-main .footer-col p,
.footer-main .footer-col ul li,
.footer-bottom .copyright {
    color: var(--text-dark);
}

.service .item p,
.card .nav-tabs > li > a,
.card .nav-tabs > li > a:hover,
.card .nav-tabs > li > a:focus,
.footer-main .footer-col p a,
.footer-main .footer-col p span {
    color: var(--text-light);
}

/* Borders normalization */
.footer-main h3,
.page h3.special,
.card .nav-tabs,
.card .nav-tabs > li.active > a,
.widget-search input,
.widget ul.tag-cloud li,
.rTable, .rTableCell, .rTableHead, .rTableFoot, .rTableHeading {
    border-color: var(--border-color);
}

/* Icon chips and small backgrounds */
.footer-main .footer-col .contact-item .icon i {
    background: var(--border-color);
    color: var(--text-dark);
}

/* Section icon circles */
.service .icon i {
    background: linear-gradient(90deg, var(--secondary-blue), var(--primary-blue));
    color: var(--background-light);
}

/* Hero/Welcome sections */
.welcome { background: var(--primary-blue); }
.welcome .overlay { background: var(--primary-blue); }
.welcome h2, .welcome p, .welcome p.button { color: var(--background-light); }
.welcome p.button a { background: linear-gradient(90deg, var(--secondary-blue), var(--primary-blue)); color: var(--background-light); }
.welcome p.button a:hover { background: var(--background-light); color: var(--primary-blue); }

/* Service cards and backgrounds */
.service { background: var(--background-light); }
.service .item { background: var(--background-light); }

/* Carousel controls */
.product .owl-controls .owl-prev,
.product .owl-controls .owl-next { background: var(--primary-blue); }

/* Home blog */
.home-blog .text { background: var(--background-light); }
.home-blog .text p.button a { background: linear-gradient(90deg, var(--secondary-blue), var(--primary-blue)); color: var(--background-light); }
.home-blog .text p.button a:hover { background: var(--primary-blue); }

/* Footer */
.footer-main { background: var(--primary-blue); }
.footer-main h3 { color: var(--background-light); border-bottom-color: var(--border-color); }
.footer-main .footer-col p,
.footer-main .footer-col ul li,
.footer-main .footer-col p a,
.footer-main .footer-col ul li a,
.footer-main .footer-col ul li:before { color: var(--text-light); }
.footer-main .footer-col ul li a:hover { color: var(--background-light); }
.footer-main h3:after { background: var(--primary-blue); }
.footer-main .footer-col .contact-item .icon i { background: var(--border-color); color: var(--text-dark); }
.footer-bottom { background: var(--primary-blue); }
.footer-bottom .copyright { color: var(--background-light); }

/* Blog date ribbons */
.blog .image-holder .day { background: var(--primary-blue); color: var(--background-light); }
.blog .image-holder .day:before { color: var(--primary-blue); }
.blog .image-holder .month { background: var(--primary-blue); color: var(--background-light); }

/* Widget/search and tabs */
.widget-search input { border-color: var(--border-color); }
.widget-search button { background: linear-gradient(90deg, var(--secondary-blue), var(--primary-blue)); color: var(--background-light); border-color: transparent; }
.widget-search button:hover { background: linear-gradient(90deg, var(--secondary-blue), var(--primary-blue)); color: var(--background-light); border-color: transparent; }
.card .nav-tabs { border-bottom-color: var(--border-color); background: var(--background-light); }
.card .nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover { color: var(--primary-blue) !important; }
.card .nav-tabs > li > a { color: var(--text-light); }
.card .nav-tabs > li.active > a,
.card .nav-tabs > li > a:hover { color: var(--primary-blue) !important; }

/* Product price neutrals */
.product .p-price { color: var(--text-dark); }
.product .p-price del { color: var(--text-light); }

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #2c3e50;
  background-color: #f8fafc;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: #1e293b;
}

a {
  text-decoration: none;
}

.clear {
  clear: both;
}

.ovh {
  overflow: hidden;
}

.error {
  color: red;
}

.success {
  color: green;
}

a:hover {
  text-decoration: none;
}

.headline {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.headline h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 15px;
  margin-top: 0;
  position: relative;
  display: inline-block;
}

.headline h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  border-radius: 2px;
}

.headline h3 {
  font-size: 1.125rem;
  color: #64748b;
  margin-top: 0;
  font-weight: 400;
}

.headline-white {
  color: #fff;
}

.bg-gray {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
}

.bg-white {
  background: #ffffff !important;
}

.top {
  width: 100%;
  height: 40px;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.top .left {
  float: left;
}

.top .left ul {
  padding-top: 8px;
}

.top .left ul li {
  list-style-type: none;
  float: left;
  margin-right: 14px;
  /* color: #0d1452; */
  color: white;
}

.top .left ul li i {
  /* color: #0d1452; */
  color: white;
}

.top .right {
  float: right;
}

.top .right ul {
  padding-top: 8px;
}

.top .right ul li {
  list-style-type: none;
  float: left;
  margin-left: 5px;
}

.top .right ul li a {
  /* color: #0d1452; */
  color: white;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  border-radius: 50%;
  display: block;
  transition: all 0.4s ease;
}

.top .right ul li a:hover {
  background: #1c257e;
  color: #fff;
}

.header {
  width: 100%;
  height: auto;
  background: #fff;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #e2e8f0;
}

.header .inner {
  height: auto;
  display: table;
}

.header .logo {
  
  float: none;
  display: table-cell;
  vertical-align: middle;
}

.header .logo img {
  max-width: 100%;
  height: 80px;
}

.header .navbar-form .form-control {
  width: auto;
}

.header .search-area {
  float: none;
  display: table-cell;
  vertical-align: middle;
}

.header .search-area .form-group {
  width: calc(100% - 84px);
}

.header .search-area button {
  width: 80px;
}

.header .search-area form {
  width: 60vh;
}

.header .right {
  float: none;
  display: table-cell;
  vertical-align: middle;
  padding-right: 0;
}

.header .right ul {
  float: right;
  margin-bottom: 0;
}

.header .right ul li {
  list-style-type: none;
  float: left;
  margin-left: 14px;
  color: #0d1452;
}

.header .right ul li a {
  color: #0d1452;
}

.header .navbar-form .search-top {
  width: 100%;
}

.nav {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  position: relative;
  width: device-width;
  height: 60px;
  overflow: visible;
  z-index: 1000;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.menu-container {
  width: auto;
  margin: 0 none;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  position: relative;
  overflow: visible;
  height: 60px;
  z-index: 1000;
}

.menu {
  
  position: relative;
  overflow-x: auto; /* Allow horizontal scrolling for menu items */
  overflow-y: visible; /* Allow dropdowns to show */
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
  height: 60px; /* Fixed height */
}

.menu::-webkit-scrollbar {
  display: none;
}

.menu > ul {
  align-items: center;
  display: inline-flex;
  transition: transform 0.3s ease;
  white-space: nowrap;
  margin: 0;
  padding: 0;
  height: 60px; /* Match container height */
  align-items: center; /* Center items vertically */
}

.nav-scroll-buttons {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgb(255, 255, 255);
  border: none;
  color: rgba(13, 110, 220, 0.947);
  font-size: 20px;
  cursor: pointer;
  z-index: 2147483647 !important; /* Maximum z-index */
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.nav-scroll-buttons:hover {
  background: rgba(0, 0, 0, 0.8);
}

.nav-scroll-left {
  left: 0;
}

.nav-scroll-right {
  right: 0;
}

/* Position the container relative for absolute positioned buttons */
.col-md-12.pl_0.pr_0 {
  position: relative;
}


.menu-mobile {
  display: none;
  padding: 20px;
  color: #fff;
}

.menu-mobile:hover {
  color: #fff;
}

.menu-mobile:after {
  content: "\f067";
  font-family: "FontAwesome";
  font-size: 2.5rem;
  padding: 0;
  float: right;
  position: relative;
  top: 50%;
  -webkit-transform: translateY(-25%);
  -ms-transform: translateY(-25%);
  transform: translateY(-25%);
}

.menu-dropdown-icon:before {
  content: "\f067";
  font-family: "FontAwesome";
  display: none;
  cursor: pointer;
  float: right;
  padding: 1.5em 2em;
  background: #fff;
  color: #333;
}

.menu > ul {
  margin: 0 auto;
  width: 60px;
  list-style: none;
  padding: 0;
  position: relative;
  /* IF .menu position=relative -> ul = container width, ELSE ul = 100% width */
  box-sizing: border-box;
}

.menu > ul:before,
.menu > ul:after {
  content: "";
  display: table;
}

.menu > ul:after {
  clear: both;
}

.menu > ul > li {
  float: left;
  /*background: #76767e;*/
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 100000; /* Above dropdowns but below scroll buttons */
}

.menu > ul > li a {
  text-decoration: none;
  padding: 1.5em 20px;
  display: block;
  color: #fff;
  line-height: 1.2; /* Better line height for fixed height */
}

.menu > ul > li:hover {
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.menu > ul > li > ul {
  display: none;
  width: 70%; /* 70% of viewport width */
  background: #f0f0f0;
  padding: 20px;
  position: fixed; /* Fixed positioning relative to viewport */
  z-index: 1; /* Much lower than navbar */
  left: 50% !important; /* Center horizontally */
  transform: translateX(-50%) !important; /* Center the dropdown */
  top: 105px; /* Position below the navbar (60px height) + 55px margin */
  margin: 0;
  list-style: none;
  box-sizing: border-box;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.menu > ul > li > ul:before,
.menu > ul > li > ul:after {
  content: "";
  display: table;
}

.menu > ul > li > ul:after {
  clear: both;
}

.menu > ul > li > ul > li {
  margin: 0;
  padding-bottom: 0;
  list-style: none;
  width: 25%;
  background: none;
  float: left;
}

.menu > ul > li > ul > li a {
  color: #777;
  padding: 0.2em 0;
  width: 95%;
  display: block;
  border-bottom: 1px solid #ccc;
  font-size: 14px;
  color: #333;
}

.menu > ul > li > ul > li > ul {
  display: block;
  padding: 0;
  margin: 10px 0 0;
  list-style: none;
  box-sizing: border-box;
  position: static; /* Keep nested dropdowns in normal flow */
}

.menu > ul > li > ul > li > ul:before,
.menu > ul > li > ul > li > ul:after {
  content: "";
  display: table;
}

.menu > ul > li > ul > li > ul:after {
  clear: both;
}

.menu > ul > li > ul > li > ul > li {
  float: left;
  width: 100%;
  padding: 10px 0;
  margin: 0;
  font-size: 0.8em;
}

.menu > ul > li > ul > li > ul > li a {
  border: 0;
}

.menu > ul > li > ul.normal-sub {
  width: 220px;
  left: auto;
  padding: 10px 20px;
}

.menu > ul > li > ul.normal-sub > li {
  width: 100%;
}

.menu > ul > li > ul.normal-sub > li a {
  border: 0;
  padding: 1em 0;
}

/* ––––––––––––––––––––––––––––––––––––––––––––––––––
Mobile style's
–––––––––––––––––––––––––––––––––––––––––––––––––– */

@media only screen and (max-width: 300px) {
  .nav {
    background: white; /* White background for mobile */
    z-index: 999999; /* Bring mobile nav to front */
  }

  .header .search-area form {
    width: 40vh;
  }

  .menu-container {
    width: 100%;
    background: white; /* White background for mobile */
    z-index: 999999; /* Bring mobile nav to front */
  }
  .menu-mobile {
    display: block;
  }
  .menu-dropdown-icon:before {
    display: block;
  }
  .menu > ul {
    display: none;
  }
  .menu > ul > li {
    width: 100%;
    float: none;
    display: block;
    z-index: 999999; /* Bring mobile menu items to front */
  }
  .menu > ul > li a {
    padding: 1.5em;
    width: 100%;
    display: block;
  }
  .menu > ul > li > ul {
    position: relative;
  }
  .menu > ul > li > ul.normal-sub {
    width: 100%;
  }
  .menu > ul > li > ul > li {
    float: none;
    width: 100%;
    margin-top: 20px;
  }
  .menu > ul > li > ul > li:first-child {
    margin: 0;
  }
  .menu > ul > li > ul > li > ul {
    position: relative;
  }
  .menu > ul > li > ul > li > ul > li {
    float: none;
  }
  .menu .show-on-mobile {
    display: block;
    z-index: 999999; /* Bring mobile menu to front */
    position: relative;
  }
}

.bx-wrapper {
  position: relative;
  box-shadow: none;
  border: 0;
  margin-bottom: 0;
}

.bx-controls {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 9999;
}

.welcome {
  width: 100%;
  height: auto;
  overflow: hidden;
  background: #333;
  text-align: center;
  padding: 70px 0;
  background-repeat: no-repeat;
  background-position: top center;
  background-attachment: fixed;
  -webkit-background-size: cover;
  background-size: cover;
  position: relative;
}

.welcome .overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
  background: #333;
}

.welcome h2 {
  color: #fff;
  margin-bottom: 25px;
}

.welcome p {
  color: #fff;
}

.welcome p.button {
  color: #fff;
  margin-top: 35px;
}

.welcome p.button a {
  background: #0d1452;
  color: #fff;
  padding: 10px 14px;
  transition: all 0.4s ease;
  text-decoration: none;
}

.welcome p.button a:hover {
  background: #fff;
  color: #0d1452;
}

.service {
  width: 100%;
  height: auto;
  overflow: hidden;
  padding: 80px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.service .item {
  text-align: center;
  padding: 30px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.service .item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.service .icon {
  text-align: center;
}

.service .icon i {
  width: 80px;
  height: 80px;
  line-height: 80px;
  text-align: center;
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  color: #fff;
  font-size: 38px;
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.service .item h3 {
  color: #1e293b;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.service .item p {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.6;
}

.product .product-carousel {
  position: relative;
}

.product .owl-controls {
  position: absolute;
  top: -60px;
  right: 0;
}

.product .owl-controls .owl-prev,
.product .owl-controls .owl-next {
  background: #353535;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  padding-left: 13px;
  padding-right: 13px;
}

.product .owl-controls .owl-prev i,
.product .owl-controls .owl-next i {
  font-size: 14px;
}

.product .owl-controls .owl-prev:hover,
.product .owl-controls .owl-next:hover {
  background: #0d1452;
}

.product .item:not(.modern-product-card) {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.product .item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.product .text {
  background: #fff;
  padding: 20px;
  overflow: hidden;
}

.product .text del {
  color: #9d9d9d;
}

.product .text h3 {
  font-weight: 600;
  text-align: center;
  color: #1e293b;
  font-size: 1.125rem;
  margin-bottom: 8px;
  margin-top: 0;
  line-height: 1.4;
}

.product .text h3 a {
  color: #1e293b;
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.product .text h3 a:hover {
  text-decoration: none;
  color: #1e40af;
}

.product .text h4 {
  color: #1e40af;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.product .text p {
  text-align: center;
  font-size: 14px;
  margin-top: 20px;
  margin-bottom: 14px;
}

.product .text p a {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product .text p a:hover {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}
.product .out-of-stock {
  width: 100%;
  text-align: center;
}

.product .out-of-stock .inner {
  display: inline-block;
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: line-through;
}

.product .text .rating {
  text-align: center;
}

.product .text p a:hover {
  background: #333;
}

.product .item .thumb {
  position: relative;
  overflow: hidden;
}

.product .item .thumb .photo {
  width: 100%;
  height: 280px;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.product .item .thumb .overlay {
  width: 100%;
  height: 100%;
  opacity: 0;
  filter: alpha(opacity=0);
  position: absolute;
  top: 0;
  left: 0;
  -webkit-transform: scale(0.2);
  -ms-transform: scale(0.2);
  -o-transform: scale(0.2);
  transform: scale(0.2);
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
  background: rgba(255, 255, 255, 0.6);
}

.product .item:hover .thumb .overlay {
  opacity: 1;
  filter: alpha(opacity=1);
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}

.product-cat {
  padding-top: 0 !important;
  background: transparent !important;
}

.product-cat .item {
  margin-bottom: 30px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.product .item-product-cat {
  border: 0;
}
.product .item-product-cat .inner {
  border: none;
  background: transparent;
  box-shadow: none;
}

.product .item-search-result {
  border: 0;
}
.product .item-search-result .inner {
  border: none;
  background: transparent;
  box-shadow: none;
}
.product .item-search-result:nth-of-type(4n + 1) {
  clear: both;
}
.product .item-product-cat:nth-of-type(3n + 1) {
  clear: both;
}

.testimonial-v1 {
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

.testimonial-v1 .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #353535;
  opacity: 0.7;
}

.testimonial-v1 .container {
  position: relative;
  z-index: 9999;
}

.testimonial-v1 .heading {
  margin-bottom: 50px;
}

.testimonial-v1 .heading h2 {
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
}

.testimonial-v1 .heading p {
  font-size: 14px;
  text-align: center;
  color: #fff;
}

.testimonial-v1 .testimonial-carousel {
  text-align: center;
  position: relative;
  width: 70%;
  margin: 0 auto;
}

.testimonial-v1 .content .comment {
  color: #fff;
  padding: 14px 50px;
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  position: relative;
}

.testimonial-v1 .content .comment p {
  margin: 0 auto;
  color: #fff;
  font-size: 14px;
}

.testimonial-v1 .author {
  width: 100%;
  text-align: center;
  margin-top: 20px;
}

.testimonial-v1 .photo {
  display: inline-block;
  margin-right: -4px;
  vertical-align: top;
}

.testimonial-v1 .photo img {
  width: 80px;
  height: 80px;
  float: right;
  margin-right: 25px;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
}

.testimonial-v1 .text {
  display: inline-block;
  vertical-align: top;
}

.testimonial-v1 .text h3 {
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  text-align: left;
  margin-top: 10px;
}

.testimonial-v1 .text h4 {
  font-size: 13px;
  color: #fff;
  text-align: left;
}

.testimonial-v1 .owl-nav {
  margin-top: 20px;
}

.testimonial-v1 .owl-nav i {
  width: 18px;
  height: 18px;
  line-height: 18px;
  font-size: 20px;
  text-align: center;
}

.testimonial-v1 .owl-nav .owl-prev,
.testimonial-v1 .owl-nav .owl-next {
  color: #fff;
  background: none;
  position: absolute;
  top: 14%;
}

.testimonial-v1 .owl-nav .owl-prev i,
.testimonial-v1 .owl-nav .owl-next i {
  font-size: 30px;
  font-weight: bold;
}

.testimonial-v1 .owl-nav .owl-prev {
  left: -80px;
}

.testimonial-v1 .owl-nav .owl-next {
  right: -80px;
}

.testimonial-v1 .owl-nav .owl-prev:hover,
.testimonial-v1 .owl-nav .owl-next:hover {
  background: none;
}

.home-blog {
  width: 100%;
  height: auto;
  padding: 70px 0;
  overflow: hidden;
}

.home-blog .item {
  margin-bottom: 30px;
  overflow: hidden;
}

.home-blog .item .photo {
  width: 100%;
  height: 300px;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.home-blog .text {
  padding: 14px;
  background: #f2f3f3;
}

.home-blog .text h3 {
  margin-top: 0;
  font-size: 18px;
  font-weight: 700;
}

.home-blog .text p.button {
  margin-top: 25px;
}

.home-blog .text p.button a {
  background: #0d1452;
  color: #fff;
  font-size: 14px;
  padding: 6px 10px;
  transition: all 0.4s ease;
}

.home-blog .text p.button a:hover {
  background: #333;
}

.footer-main {
  width: 100%;
  height: auto;
  padding: 50px 0;
  background: #2a2a2a;
}
.footer-main h3 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 25px;
  border-bottom: 1px solid #525252;
}
.footer-main h3:after {
  content: "";
  position: absolute;
  width: 50px;
  background: #0d1452;
  left: 0;
  bottom: -2px;
  height: 4px;
}
.footer-main .footer-col p {
  color: #a3a3a3;
  font-size: 14px;
  line-height: 22px;
}
.footer-main .footer-col p a {
  color: #a3a3a3;
}
.footer-main .footer-col p span {
  display: block;
  color: #a3a3a3;
}
.footer-main .footer-col ul li {
  color: #a3a3a3;
  font-size: 14px;
  line-height: 22px;
  -webkit-transition: all 0.4s ease 0s;
  -moz-transition: all 0.4s ease 0s;
  -o-transition: all 0.4s ease 0s;
  transition: all 0.4s ease 0s;
  list-style-type: none;
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}
.footer-main .footer-col ul li a {
  color: #a3a3a3;
  font-size: 14px;
  line-height: 22px;
  -webkit-transition: all 0.4s ease 0s;
  -moz-transition: all 0.4s ease 0s;
  -o-transition: all 0.4s ease 0s;
  transition: all 0.4s ease 0s;
}
.footer-main .footer-col ul li a:hover {
  color: #fff;
}
.footer-main .footer-col ul li:before {
  color: #a3a3a3;
  content: "\f0a4";
  font-family: "FontAwesome";
  left: 0;
  position: absolute;
  top: 0;
}
.footer-main .footer-col .contact-item {
  color: #a3a3a3;
  font-size: 14px;
  overflow: hidden;
  margin-bottom: 10px;
  display: table;
}
.footer-main .footer-col .contact-item .icon {
  width: 35px;
  display: table-cell;
  vertical-align: top;
  font-size: 14px;
  margin-right: 10px;
}
.footer-main .footer-col .contact-item .icon i {
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  background: #dedede;
  color: #2a2a2a;
  border-radius: 50%;
}
.footer-main .footer-col .contact-item .text {
  display: block;
  line-height: 22px;
}
.footer-main .footer-col p.social {
  margin-bottom: 10px;
}

.footer-bottom {
  width: 100%;
  height: auto;
  background: #141314;
  padding: 14px 0;
}
.footer-bottom .copyright {
  font-size: 13px;
  color: #a3a3a3;
  text-align: center;
}

.scrollup {
  position: fixed;
  z-index: 99999;
  bottom: 20px;
  right: 20px;
  display: none;
}
.scrollup i {
  width: 50px;
  height: 50px;
  line-height: 40px;
  border-radius: 50%;
  background: #0d1452;
  color: #fff;
  border: 4px solid #0d1452;
  text-align: center;
  font-size: 26px;
  opacity: 0.5;
  filter: alpha(opacity=50);
}
.scrollup i:hover {
  opacity: 1;
  filter: alpha(opacity=1);
}

ul.prod-slider li {
  height: 450px;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: top center;
  position: relative;
}
ul.prod-slider li a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 99999999;
}
.bx-controls {
  display: none;
}
.prod-pager-thumb {
  width: 80px;
  height: 80px;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: top center;
}
#prod-pager {
  margin-top: 20px;
}

#prod-pager a {
  float: left;
  margin-right: 3px;
}

ul.nav-tabs {
  margin-top: 50px;
}
.product .p-title h2 {
  color: #0d1452;
  margin-top: 0;
  font-size: 24px;
  font-weight: 700;
}

.product .p-status {
  margin-bottom: 10px;
}

.product .p-review {
  margin-bottom: 10px;
}

.product .p-price {
  line-height: 30px;
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

.product .p-price span {
  font-size: 30px;
}

.product .p-price del {
  color: #c7c7c7;
}

.product .p-short-des {
  margin-bottom: 30px;
}

.product .p-quantity {
  font-weight: 700;
  line-height: 30px;
  margin-bottom: 35px;
  font-size: 14px;
}

.product .p-quantity input[type="number"] {
  height: 30px;
  width: 100px;
  border: 2px solid #c7c7c7;
}

.product .btn-cart {
  margin-bottom: 30px;
}

.product .btn-cart a {
  padding: 10px 14px;
  /* background: #0d1452; */
  background: #f19000;
  color: #fff;
}

.product .btn-cart1 input[type="submit"] {
  border: 0;
  padding: 10px 14px;
  /* background: #0d1452; */
  background: #f19000;
  color: #fff;
}

.product .share {
  line-height: 30px;
  font-weight: 700;
}

.product .nav {
  background: transparent;
}

.product .nav-tabs li a {
  font-weight: 700;
  color: #333;
}

.product .tab-content > .tab-pane {
  padding-top: 20px;
}

.review-form h2 {
  font-size: 24px;
  font-weight: 700;
}
.review-form .btn-default {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border-radius: 8px;
  border: 0;
  padding: 10px 14px;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}
.rating-section {
  margin-bottom: 14px;
}

.page-banner {
  width: 100%;
  height: auto;
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-background-size: cover;
  background-size: cover;
  position: relative;
  /* padding-top: 80px;
  padding-bottom: 80px; */
  padding-top: 15px;
  padding-bottom: 15px;
  overflow: hidden;
}

.page-banner .overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  /* background: #333; */
  background: #131921;
}

.page-banner h1 {
  color: #fff;
  text-align: center;
  z-index: 999;
  position: relative;
}

.page {
  width: 100%;
  height: auto;
  padding-top: 50px;
  padding-bottom: 50px;
  overflow: visible;
  position: relative;
  z-index: 1;
}

.page h3.special {
  font-size: 22px;
  font-weight: 600;
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 25px;
  border-bottom: 1px solid #b9b9b9;
  position: relative;
}

.page h3.special:after {
  content: "";
  position: absolute;
  width: 50px;
  background: #0d1452;
  left: 0;
  bottom: -2px;
  height: 4px;
}

.cart {
  width: 100%;
  height: auto;
}

.cart table img {
  width: 100px;
}

.cart table tr td {
  vertical-align: middle;
}

.cart input[type="number"] {
  height: 30px;
  width: 70px;
  border: 2px solid #c7c7c7;
  padding-left: 10px;
  padding-right: 10px;
}

.cart table tr td .trash {
  color: #0d1452;
  font-size: 18px;
}

.cart table tr td.total-text,
.cart table tr th.total-text {
  text-align: right;
  font-size: 14px;
}

.cart table tr td.total-amount,
.cart table tr th.total-amount {
  text-align: right;
  font-size: 14px;
}

.cart-buttons {
  width: 100%;
  float: right;
  margin-top: 40px;
}

.cart-buttons ul {
  float: right;
}

.cart-buttons li {
  float: left;
  list-style-type: none;
  margin-left: 14px;
}

.cart-buttons li input[type="submit"],
.cart-buttons li a {
  background: #0d1452;
  border: 0;
  border-radius: 0;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  font-size: 18px;
  padding: 10px 20px;
  color: #fff;
}

.cart-buttons li input[type="submit"]:hover,
.cart-buttons li a:hover {
  background: #333;
  color: #fff;
}

.cform input[type="submit"] {
  background: #0d1452;
  border: 0;
}

.cform address span,
.cform address a span {
  color: #0d1452;
}

.page iframe {
  width: 100%;
}

.gal-container {
  padding: 12px;
}
.gal-item {
  overflow: hidden;
  padding: 3px;
}
.gal-item .box {
  height: 350px;
  overflow: hidden;
}
.box img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  -o-object-fit: cover;
}
.gal-item a:focus {
  outline: none;
}
.gal-item a:after {
  content: "\e003";
  font-family: "Glyphicons Halflings";
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.75);
  position: absolute;
  right: 3px;
  left: 3px;
  top: 3px;
  bottom: 3px;
  text-align: center;
  line-height: 350px;
  font-size: 30px;
  color: #fff;
  -webkit-transition: all 0.5s ease-in-out 0s;
  -moz-transition: all 0.5s ease-in-out 0s;
  transition: all 0.5s ease-in-out 0s;
}
.gal-item a:hover:after {
  opacity: 1;
}
.modal-open .gal-container .modal {
  background-color: rgba(0, 0, 0, 0.4);
}
.modal-open .gal-item .modal-body {
  padding: 0px;
}
.modal-open .gal-item button.close {
  position: absolute;
  width: 25px;
  height: 25px;
  background-color: #000;
  opacity: 1;
  color: #fff;
  z-index: 999;
  right: -12px;
  top: -12px;
  border-radius: 50%;
  font-size: 14px;
  border: 2px solid #fff;
  line-height: 25px;
  -webkit-box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.35);
  box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.35);
}
.modal-open .gal-item button.close:focus {
  outline: none;
}
.modal-open .gal-item button.close span {
  position: relative;
  top: -3px;
  font-weight: lighter;
  text-shadow: none;
}
.gal-container .modal-dialogue {
  width: 80%;
}
.gal-container .description {
  position: relative;
  height: 40px;
  top: -40px;
  padding: 10px 25px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  text-align: left;
}
.gal-container .description h4 {
  margin: 0px;
  font-size: 14px;
  font-weight: 300;
  line-height: 20px;
}
.gal-container .modal.fade .modal-dialog {
  -webkit-transform: scale(0.1);
  -moz-transform: scale(0.1);
  -ms-transform: scale(0.1);
  transform: scale(0.1);
  top: 100px;
  opacity: 0;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.gal-container .modal.fade.in .modal-dialog {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  -webkit-transform: translate3d(0, -100px, 0);
  transform: translate3d(0, -100px, 0);
  opacity: 1;
}
@media (min-width: 768px) {
  .gal-container .modal-dialog {
    width: 55%;
    margin: 50 auto;
  }
}
@media (max-width: 768px) {
  .gal-container .modal-content {
    height: 250px;
  }
}
/* Footer Style */
i.red {
  color: #bc0213;
}
.gal-container {
  padding-top: 0px;
  padding-bottom: 75px;
}

.videos {
  padding-top: 30px;
  padding-bottom: 10px;
  text-align: center;
}
.videos .adv img {
  width: 100%;
  height: auto;
}
.videos .prop-4-col:nth-of-type(4n + 1) {
  clear: both;
}
.videos .prop-3-col:nth-of-type(3n + 1) {
  clear: both;
}
.videos h2 {
  color: #464646;
  font-family: "Open Sans", serif;
  font-size: 26px;
  font-weight: 800;
  position: relative;
  text-transform: uppercase;
}
.videos h3 {
  color: #464646;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 40px;
  margin-top: 20px;
}
.single-room {
  position: relative;
  margin-bottom: 30px;
  background: #fff;
  overflow: hidden;
  -webkit-box-shadow: 0px 0px 14px -2px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 0px 14px -2px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 0px 14px -2px rgba(0, 0, 0, 0.75);
}
.single-room .photo-col2 {
  width: 100%;
  height: 360px;
  -webkit-background-size: cover;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
.single-room .photo-col3 {
  width: 100%;
  height: 150px;
  -webkit-background-size: cover;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
.single-room-text {
  width: 100%;
  height: auto;
  overflow: hidden;
}
.single-room-text h2 {
  background: #fff;
  font-size: 13px;
  line-height: 1.4;
  text-transform: none;
  margin-bottom: 0;
}
.single-room-text h2 a {
  color: #333;
  padding: 8px !important;
  font-weight: 600;
  display: block;
}

table.bill-address tr td:nth-of-type(1) {
  font-weight: bold;
  width: 200px;
}

.user-sidebar ul {
  text-align: center;
}

.user-sidebar ul li {
  list-style-type: none;
  border-bottom: 1px solid #fff;
  display: inline-block;
}

.user-sidebar ul li a {
  padding: 7px 20px;
  min-height: 40px;
  line-height: 40px;
  background: #444;
  color: #fff;
}

.user-content h3 {
  margin-bottom: 20px;
}

.blog {
  background: #fff;
}

.blog .post-item {
  margin-bottom: 30px;
  overflow: hidden;
}

.blog .image-holder {
  width: 285px;
  float: left;
  position: relative;
  margin-right: 15px;
}

.blog .image-holder-single {
  width: 100%;
  float: none;
  position: relative;
}

.blog .image-holder-single img {
  width: 100%;
  height: auto;
}

.blog .image-holder .date {
  position: absolute;
  right: 10px;
  bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  z-index: 999;
  display: block;
}

.blog .image-holder .day {
  width: 60px;
  height: 40px;
  line-height: 40px;
  background: #0d1452;
  color: #fff;
  text-align: center;
  position: relative;
  font-size: 16px;
}

.blog .image-holder .day:before {
  position: absolute;
  top: 22px;
  left: 24px;
  color: #0d1452;
  font-family: "FontAwesome";
  content: "\f0d7";
  font-size: 24px;
}

.blog .image-holder .month {
  width: 60px;
  height: 40px;
  line-height: 40px;
  background: #333;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  font-size: 16px;
}

.blog .text {
  width: calc(100% - 300px);
  float: left;
}

.blog .text-single {
  width: 100%;
  float: none;
}

.blog .text-single h3 {
  font-family: "Roboto", sans-serif;
  margin-top: 20px;
}

.blog .text .inner {
  padding: 0 20px 20px 20px;
}

.blog h3 {
  font-family: "Roboto", sans-serif;
  text-align: left;
  color: #333;
  font-weight: 700;
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.5;
  text-transform: uppercase;
}

.blog h3 a {
  font-family: "Roboto", sans-serif;
  color: #333;
}

.blog h3 a:hover {
  color: #0d1452;
}

.blog .text ul.status {
  overflow: hidden;
  margin-bottom: 15px;
}

.blog .text ul.status li {
  text-align: left;
  margin-bottom: 15px;
  color: #0d1452;
  font-size: 14px;
  float: left;
  list-style-type: none;
  margin-right: 15px;
  line-height: 18px;
  margin-bottom: 5px;
  padding-left: 0;
}

.blog .text ul.status li a {
  color: #0d1452;
}

.blog .text ul.status li i {
  margin-right: 8px;
}

.blog ul.status li:before {
  content: "";
}

.blog ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  list-style-type: none;
}

.blog ul li:before {
  position: absolute;
  top: 0;
  left: 0;
  font-family: "FontAwesome";
  content: "\f044";
  color: #333;
}

.blog h1 {
  font-size: 24px;
  color: #0d1452;
  font-weight: bold;
}

.blog h2 {
  font-size: 20px;
  color: #0d1452;
  font-weight: bold;
}

.blog h3 {
  font-size: 18px;
  color: #333;
  font-weight: bold;
}

.blog h4 {
  font-size: 16px;
  color: #0d1452;
  font-weight: bold;
}

.blog h5 {
  font-size: 14px;
  color: #0d1452;
  font-weight: bold;
}

.blog h6 {
  font-size: 12px;
  color: #0d1452;
  font-weight: bold;
}

.blog p {
  margin-bottom: 15px;
  font-size: 14px;
}

.blog p.button {
  margin-top: 20px;
}

.blog p.button a {
  font-family: "Roboto", sans-serif;
  background: #0d1452;
  color: #fff;
  padding: 10px 14px;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.blog p.button a:hover {
  background: #444;
}

.blog .pagination {
  margin-top: 20px;
}

.blog .pagination ul {
  width: 100%;
  height: auto;
  text-align: center;
}

.blog .pagination ul li {
  display: inline-block;
  color: #333;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  margin-right: 10px;
  padding-left: 0;
}

.blog .pagination ul li:before {
  content: "";
}

.blog .pagination ul li a {
  background: #0d1452;
  color: #fff;
  display: block;
  font-size: 16px;
}

.blog .pagination ul li a i {
  margin-right: 0;
}

.blog .pagination ul li a:hover {
  background: #333;
}

.blog .pagination ul li a.active {
  background: #333;
}

.blog .gallery-carousel {
  position: relative;
  z-index: 999;
}

.blog .owl-controls {
  position: absolute;
  top: 0px;
  right: 0;
  z-index: 999;
}

.blog .owl-controls .owl-prev,
.blog .owl-controls .owl-next {
  background: #333;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  padding-left: 13px;
  padding-right: 13px;
}

.blog .owl-controls .owl-prev i,
.blog .owl-controls .owl-next i {
  font-size: 16px;
}

.blog .owl-controls .owl-prev:hover,
.blog .owl-controls .owl-next:hover {
  background: #0d1452;
}

.blog .video {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  height: 0;
}
.blog .video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.blog .audio {
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

/**
 * ---------------------------------------------------
 * Sidebar Style
 * ---------------------------------------------------
 */
.sidebar {
  width: 100%;
}

.widget {
  overflow: hidden;
  margin-bottom: 30px;
}

.widget-search input {
  height: 36px;
  border: 2px solid #afafaf;
  float: left;
  padding-left: 6px;
  padding-right: 6px;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
}

.widget-search input:focus {
  border: 2px solid #0d1452;
}

.widget-search button {
  width: 42px;
  height: 36px;
  float: left;
  border: 2px solid #0d1452;
  background: #0d1452;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  margin-left: 5px;
  color: #fff;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.widget-search button:hover {
  background: #333;
  color: #fff;
  border-color: #333;
}

.widget h4 {
  font-family: "Roboto", sans-serif;
  font-size: 22px;
  font-weight: 700;
  padding-bottom: 6px;
  margin-bottom: 15px;
  border-bottom: 2px solid #0d1452;
}

.widget ul li {
  display: block;
  float: none;
  color: #333;
  position: relative;
  padding-left: 15px;
  margin-bottom: 10px;
}

.widget ul li:before {
  content: "\f105";
  font-family: "FontAwesome";
  position: absolute;
  color: #333;
  top: 1px;
  left: 3px;
}

.widget ul li a {
  color: #333;
  font-size: 14px;
}

.widget ul li a:hover {
  color: #0d1452;
}

.widget ul.tag-cloud li {
  display: inline-block;
  padding-left: 0;
  padding: 4px 10px;
  border: 2px solid #afafaf;
  font-size: 12px;
  margin-right: 5px;
}

.widget ul.tag-cloud li:before {
  content: "";
}

.widget ul.tag-cloud li:hover {
  background: #0d1452;
  border: 2px solid #0d1452;
}

.widget ul.tag-cloud li:hover a {
  color: #fff;
}

.card .nav-tabs {
  border-bottom: 2px solid #ddd;
  background: #fff;
}
.card .nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover {
  color: #1e40af !important;
  background: transparent;
}
.card .nav-tabs > li > a {
  border: none;
  color: #666;
}
.card .nav-tabs > li.active > a,
.card .nav-tabs > li > a:hover {
  border: none;
  color: #0d1452 !important;
  background: transparent;
}
.card .nav-tabs > li > a::after {
  content: "";
  background: #0d1452;
  height: 2px;
  position: absolute;
  width: 100%;
  left: 0px;
  bottom: -1px;
  transition: all 250ms ease 0s;
  transform: scale(0);
}
.card .nav-tabs > li.active > a::after,
.nav-tabs > li:hover > a::after {
  transform: scale(1);
}
.tab-nav > li > a::after {
  background: #21527d none repeat scroll 0% 0%;
  color: #fff;
}
.tab-pane {
  padding: 14px 0;
}
.tab-content {
  padding: 20px;
}

.card {
  background: #fff none repeat scroll 0% 0%;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
  margin-bottom: 30px;
}

.vid iframe {
  width: 100%;
  height: 250px;
}

div.pagination {
  padding: 3px;
  margin: 3px;
  z-index: 1000;
  font-size: 14px;
  margin-bottom: 20px;
}

div.pagination a {
  padding: 5px 7px;
  margin: 2px;
  border: 1px solid #cf0d42;
  text-decoration: none; /* no underline */
  background-color: #0d1452;
  color: #fff;
  font-weight: bold;
}

div.pagination a:hover,
div.pagination a:active {
  border: 1px solid #cf0d42;
  color: #fff;
  background-color: #b20b39;
}

div.pagination span.current {
  padding: 5px 7px;
  margin: 2px;
  border: 1px solid #cf0d42;
  font-weight: bold;
  background-color: #b20b39;
  color: #fff;
  font-weight: bold;
}

div.pagination span.disabled {
  padding: 5px 7px;
  margin: 2px;
  border: 1px solid #929693;
  color: #929693;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  z-index: 999999;
}

#status {
  width: 200px;
  height: 200px;
  position: absolute;
  left: 50%;
  top: 50%;
  background: url(../img/1.gif);
  background-repeat: no-repeat;
  background-position: center;
  margin: -100px 0 0 -100px;
}

.ad-section img {
  width: 100% !important;
  height: auto !important;
}

.breadcrumb {
  background: #fff;
  margin-top: -40px;
}

.breadcrumb ul li {
  float: left;
  list-style-type: none;
  margin-right: 10px;
  color: #0d1452;
}
.breadcrumb ul li:last-child {
  color: #333;
}

.breadcrumb ul li a {
  color: #0d1452;
}

.bs-slider {
  flex: 1; /* Fill remaining vertical space */
  position: relative;
  overflow: hidden;
}



.bs-slider .item {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
}

.bs-slider .item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(51, 65, 85, 0.5) 100%);
  z-index: 1;
}

.slide-text {
  position: relative;
  z-index: 2;
  color: #fff;
}

.slide-text h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.slide-text p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  line-height: 1.6;
}

.slide-text .btn {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  border: none;
  padding: 15px 30px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
  transition: all 0.3s ease;
}

.slide-text .btn:hover {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 64, 175, 0.4);
}

/* Login Modal Styling */
.modal-content {
  border: none;
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.modal-header {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  color: white;
  border-radius: 12px 12px 0 0;
  border: none;
  padding: 20px 30px;
}

.modal-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
}

.modal-body {
  padding: 30px;
}

.modal-body .form-control {
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.modal-body .form-control:focus {
  border-color: #1e40af;
  box-shadow: 0 0 0 0.2rem rgba(30, 64, 175, 0.25);
}

.modal-body .btn-primary {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  border: none;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  width: 100%;
}

.modal-body .btn-primary:hover {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 64, 175, 0.4);
}

.alert-success {
  background-color: #d1fae5;
  border-color: #a7f3d0;
  color: #065f46;
}

.alert-danger {
  background-color: #fee2e2;
  border-color: #fecaca;
  color: #991b1b;
}

/* Dropdown Menu Fixes */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  min-width: 200px;
  padding: 20px;
  margin: 0;
  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.dropdown-menu.show {
  display: block;
}

.dropdown-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown-menu p {
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 10px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dropdown-menu li {
  margin-bottom: 8px;
}

.dropdown-menu li a {
  display: block;
  padding: 8px 12px;
  color: #64748b;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-size: 14px;
}

.dropdown-menu li a:hover {
  background-color: #f1f5f9;
  color: #1e40af;
  transform: translateX(4px);
}

.dropdown-menu li a i {
  margin-right: 8px;
  width: 16px;
  text-align: center;
}

/* Modern Dropdown Styling */
.header .right ul li.dropdown {
  position: relative;
}

.header .right ul li.dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  min-width: 250px;
  background: #ffffff;
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  padding: 15px 0;
  margin-top: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.header .right ul li.dropdown .dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header .right ul li.dropdown .dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  right: 20px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #ffffff;
  filter: drop-shadow(0 -2px 4px rgba(0, 0, 0, 0.1));
}

.header .right ul li.dropdown .dropdown-menu li {
  margin: 0;
  padding: 0;
}

.header .right ul li.dropdown .dropdown-menu li a {
  display: block;
  padding: 12px 20px;
  color: #374151;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  position: relative;
}

.header .right ul li.dropdown .dropdown-menu li a:hover {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  color: #1e3a8a;
  border-left-color: #1e3a8a;
  transform: translateX(5px);
}

.header .right ul li.dropdown .dropdown-menu li a i {
  margin-right: 10px;
  width: 16px;
  text-align: center;
  color: #6b7280;
  transition: color 0.3s ease;
}

.header .right ul li.dropdown .dropdown-menu li a:hover i {
  color: #1e3a8a;
}

/* Dropdown divider */
.header .right ul li.dropdown .dropdown-menu .divider {
  height: 1px;
  background: #e5e7eb;
  margin: 8px 0;
}

/* Dropdown header */
.header .right ul li.dropdown .dropdown-menu .dropdown-header {
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}

/* Modal Z-Index Fixes - Updated */
.modal {
  z-index: 1050 !important;
}

.modal-backdrop {
  z-index: 1040 !important;
}

.modal-dialog {
  z-index: 1050 !important;
}

.modal-content {
  z-index: 1050 !important;
}

/* Modern Lightbox gets highest priority */
.modern-lightbox {
  z-index: 99999999 !important;
}

.modern-lightbox .modal-dialog {
  z-index: 99999999 !important;
}

.modern-lightbox .modal-content {
  z-index: 99999999 !important;
}

.modern-lightbox + .modal-backdrop {
  z-index: 99999998 !important;
}

.home-newsletter {
  padding: 80px 0;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

/* Modern Product Category Page Styling */
.modern-banner {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(51, 65, 85, 0.6) 100%);
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  padding: 60px 0;
}

.breadcrumb-modern {
  margin-bottom: 20px;
}

.breadcrumb-modern .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
  justify-content: center;
}

.breadcrumb-modern .breadcrumb-item {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-modern .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-modern .breadcrumb-item a:hover {
  color: white;
}

.breadcrumb-modern .breadcrumb-item.active {
  color: white;
}

.breadcrumb-modern .breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: rgba(255, 255, 255, 0.6);
  font-size: 18px;
}

.banner-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-title .highlight {
  color: #60a5fa;
  position: relative;
}

.banner-title .highlight::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  border-radius: 2px;
}

.banner-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* Category Header */
.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding: 30px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.category-info {
  flex: 1;
}

.category-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.category-title .category-name {
  color: #1e40af;
  position: relative;
}

.category-description {
  color: #64748b;
  font-size: 1rem;
  margin: 0;
}

.category-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.search-filter {
  flex: 1;
  min-width: 250px;
}

.search-box {
  position: relative;
  max-width: 300px;
}

.product-search {
  padding: 10px 40px 10px 15px;
  border: 2px solid #e2e8f0;
  border-radius: 25px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: white;
}

.product-search:focus {
  border-color: #1e40af;
  box-shadow: 0 0 0 0.2rem rgba(30, 64, 175, 0.25);
  outline: none;
}

.search-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  cursor: pointer;
  transition: color 0.3s ease;
}

.search-icon:hover {
  color: #1e40af;
}

.view-options {
  display: flex;
  background: white;
  border-radius: 8px;
  padding: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.view-btn {
  background: transparent;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  color: #64748b;
  transition: all 0.3s ease;
  cursor: pointer;
}

.view-btn.active,
.view-btn:hover {
  background: #1e40af;
  color: white;
}

.sort-options {
  min-width: 200px;
}

.sort-select {
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.sort-select:focus {
  border-color: #1e40af;
  box-shadow: 0 0 0 0.2rem rgba(30, 64, 175, 0.25);
}

/* Modern Product Grid */
.modern-grid {
  background: transparent !important;
  overflow: visible;
  position: relative;
  z-index: 1;
}

.modern-grid .row {
  margin: 0 -15px;
  background: transparent !important;
  overflow: visible;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

/* Override old styles for modern product cards */
.modern-product-card .inner {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.modern-product-card {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  position: relative;
  z-index: 1;
  padding: 0 15px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  height: auto;
  transition: all 0.3s ease;
}

.product-card {
  background: white;
  border-radius: 16px;
  overflow: visible;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  margin-bottom: 8px;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  z-index: 9999;
  position: relative;
}

.product-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.product-image .photo {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image .photo {
  transform: scale(1.05);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 41, 59, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.overlay-buttons {
  display: flex;
  gap: 10px;
}

.overlay-buttons .btn {
  border-radius: 8px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 12px;
}

.discount-badge {
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4), 0 0 0 2px rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transform: none;
  animation: discountPulse 2s ease-in-out infinite alternate;
  z-index: 10;
  margin-left: 15px;
  vertical-align: middle;
}

.discount-badge::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 50%, #1e3a8a 100%);
  border-radius: 27px;
  z-index: -1;
  opacity: 0.7;
  animation: discountGlow 2s ease-in-out infinite alternate;
}

.discount-badge::after {
  content: '🔥';
  position: absolute;
  top: -8px;
  right: -8px;
  font-size: 16px;
  animation: discountFire 1.5s ease-in-out infinite;
}

@keyframes discountPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4), 0 0 0 2px rgba(255, 255, 255, 0.2);
  }
  100% {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(30, 58, 138, 0.6), 0 0 0 3px rgba(255, 255, 255, 0.3);
  }
}

@keyframes discountGlow {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1.02);
  }
}

@keyframes discountFire {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.2) rotate(10deg);
  }
}

/* Cool discount badge variants */
.discount-badge.hot {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 50%, #f87171 100%);
  animation: discountHot 1.5s ease-in-out infinite alternate;
}

.discount-badge.sale {
  background: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%);
  animation: discountSale 2s ease-in-out infinite alternate;
}

.discount-badge.limited {
  background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 50%, #a78bfa 100%);
  animation: discountLimited 2.5s ease-in-out infinite alternate;
}

@keyframes discountHot {
  0% {
    transform: scale(1);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.5), 0 0 0 2px rgba(255, 255, 255, 0.3);
  }
  100% {
    transform: scale(1.08);
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.7), 0 0 0 4px rgba(255, 255, 255, 0.4);
  }
}

@keyframes discountSale {
  0% {
    transform: scale(1);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.4), 0 0 0 2px rgba(255, 255, 255, 0.2);
  }
  100% {
    transform: scale(1.06);
    box-shadow: 0 12px 35px rgba(5, 150, 105, 0.6), 0 0 0 3px rgba(255, 255, 255, 0.3);
  }
}

@keyframes discountLimited {
  0% {
    transform: scale(1);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4), 0 0 0 2px rgba(255, 255, 255, 0.2);
  }
  100% {
    transform: scale(1.04);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.6), 0 0 0 3px rgba(255, 255, 255, 0.3);
  }
}

/* Hover effects for discount badges */
.discount-badge:hover {
  transform: scale(1.1);
  animation-play-state: paused;
  box-shadow: 0 15px 45px rgba(30, 58, 138, 0.8), 0 0 0 4px rgba(255, 255, 255, 0.5);
}

/* Discount badge for product cards (absolute positioning) */
.product-card .discount-badge,
.modern-product-card .discount-badge,
.related-product-card .discount-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  margin-left: 0;
  z-index: 20;
}

/* Mobile responsive discount badges */
@media (max-width: 768px) {
  .discount-badge {
    padding: 6px 12px;
    font-size: 11px;
    transform: none;
  }
  
  .product-card .discount-badge,
  .modern-product-card .discount-badge,
  .related-product-card .discount-badge {
    top: 10px;
    right: 10px;
  }
  
  .discount-badge::after {
    font-size: 14px;
    top: -6px;
    right: -6px;
  }
}

.product-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  margin-bottom: 10px;
}

.product-title a {
  color: #1e293b;
  text-decoration: none;
  font-size: 1.875rem;
  font-weight: 900;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.product-title a:hover {
  color: #1e40af;
}

.product-price {
  margin-bottom: 15px;
}

.current-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e40af;
}

.old-price {
  font-size: 1rem;
  color: #9ca3af;
  text-decoration: line-through;
  margin-left: 8px;
}

.product-rating {
  margin-bottom: 15px;
}

.product-rating i {
  color: #fbbf24;
  font-size: 14px;
}

.product-actions {
  margin-top: auto;
}

.add-to-cart-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
  .category-header {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .category-controls {
    flex-direction: column;
    width: 100%;
    gap: 15px;
  }
  
  .search-filter {
    width: 100%;
    min-width: auto;
  }
  
  .search-box {
    max-width: 100%;
  }
  
  .sort-options {
    width: 100%;
  }
  
  .banner-title {
    font-size: 2rem;
  }
  
  .modern-product-card {
    margin-bottom: 20px;
  }
}

/* Modern Sidebar Styling */
.modern-sidebar {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 30px;
}

.sidebar-header {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  padding: 20px;
  color: white;
}

.sidebar-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-title i {
  font-size: 1.125rem;
}

.sidebar-content {
  padding: 0;
}

.modern-category-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-item {
  border-bottom: 1px solid #f1f5f9;
}

.category-item:last-child {
  border-bottom: none;
}

.category-link {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  color: #1e293b;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.category-link:hover {
  background: #f8fafc;
  color: #1e40af;
  text-decoration: none;
}

.category-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  color: #1e40af;
}

.category-name {
  flex: 1;
  font-weight: 500;
  font-size: 14px;
}

.category-toggle {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: transform 0.3s ease;
}

.category-item.active .category-toggle {
  transform: rotate(180deg);
}

.children {
  background: #f8fafc;
  margin: 0;
  padding: 0;
  list-style: none;
}

.subcategory-item {
  border-bottom: 1px solid #e2e8f0;
}

.subcategory-item:last-child {
  border-bottom: none;
}

.subcategory-link {
  display: flex;
  align-items: center;
  padding: 12px 20px 12px 50px;
  color: #64748b;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 13px;
}

.subcategory-link:hover {
  background: #f1f5f9;
  color: #1e40af;
  text-decoration: none;
}

.subcategory-icon {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  color: #64748b;
}

.subcategory-name {
  flex: 1;
  font-weight: 400;
}

.subcategory-toggle {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  transition: transform 0.3s ease;
}

.subcategory-item.active .subcategory-toggle {
  transform: rotate(180deg);
}

.endcategory-item {
  border-bottom: 1px solid #e2e8f0;
}

.endcategory-item:last-child {
  border-bottom: none;
}

.endcategory-link {
  display: flex;
  align-items: center;
  padding: 10px 20px 10px 70px;
  color: #9ca3af;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 12px;
}

.endcategory-link:hover {
  background: #f1f5f9;
  color: #1e40af;
  text-decoration: none;
}

.endcategory-icon {
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  color: #9ca3af;
}

.endcategory-name {
  flex: 1;
  font-weight: 400;
}

/* List View Styles */
.list-view .modern-product-card {
  margin-bottom: 20px;
}

.list-card {
  flex-direction: row !important;
  height: auto !important;
}

.list-card .product-image {
  width: 200px;
  height: 150px;
  flex-shrink: 0;
}

.list-card .product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

.list-card .product-title {
  margin-bottom: 8px;
}

.list-card .product-title a {
  font-size: 2rem;
  font-weight: 900;
}

.list-card .product-price {
  margin-bottom: 10px;
}

.list-card .current-price {
  font-size: 1.5rem;
}

.list-card .product-rating {
  margin-bottom: 10px;
}

.list-card .product-actions {
  margin-top: 0;
  align-self: flex-start;
}

.list-card .add-to-cart-btn {
  padding: 10px 20px;
  font-size: 14px;
}

/* Wishlist Button Styles */
.wishlist-btn {
  background: transparent;
  border: 2px solid #e2e8f0;
  color: #64748b;
  transition: all 0.3s ease;
}

.wishlist-btn:hover {
  background: #f8fafc;
  border-color: #1e40af;
  color: #1e40af;
}

.wishlist-btn.active {
  background: #dc2626;
  border-color: #dc2626;
  color: white;
}

.wishlist-btn.active:hover {
  background: #b91c1c;
  border-color: #b91c1c;
}

/* Sorting Animation */
.sort-select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Product Grid Animation */
.modern-grid .row {
  transition: opacity 0.3s ease;
}

/* Enhanced Hover Effects */
.product-card:hover .product-image .photo {
  transform: scale(1.05);
}

.product-card:hover .product-overlay {
  opacity: 1;
}

/* Container height adjustment for animations */
.modern-grid {
  min-height: 0;
  transition: min-height 0.3s ease;
}

.modern-grid .row {
  min-height: 0;
  transition: min-height 0.3s ease;
}

/* Ensure smooth height transitions */
.modern-product-card {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              z-index 0.3s ease;
}

/* Prevent layout shift during hover */
.modern-grid .row::after {
  content: '';
  display: block;
  height: 8px;
  width: 100%;
  flex: 1;
}

/* Smooth container height transitions */
.modern-grid .row {
  transition: padding-bottom 0.3s ease;
}

/* Enhanced hover state */
.product-card.hovered {
  z-index: 9999;
  position: relative;
}

/* Ensure smooth height adjustment */
.modern-grid {
  transition: min-height 0.3s ease;
}

/* ========================================
   MODERN PRODUCT PAGE STYLES
======================================== */

/* Modern Breadcrumb */
.modern-breadcrumb {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 20px 0;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.modern-breadcrumb .breadcrumb {
  background: transparent;
  margin: 0;
  padding: 0;
  font-size: 14px;
}

.modern-breadcrumb .breadcrumb-item {
  color: #6c757d;
}

.modern-breadcrumb .breadcrumb-item a {
  color: #1e3a8a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.modern-breadcrumb .breadcrumb-item a:hover {
  color: #1e40af;
}

.modern-breadcrumb .breadcrumb-item.active {
  color: #374151;
  font-weight: 600;
}

.modern-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: #9ca3af;
  font-size: 16px;
}

/* Modern Product Gallery */
.modern-product-gallery {
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

.main-image-container {
  position: relative;
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  background: #f8f9fa;
}

.main-image {
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  transition: transform 0.3s ease;
}

.main-image:hover {
  transform: scale(1.02);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.main-image:hover .image-overlay {
  opacity: 1;
}

.zoom-btn {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e3a8a;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.zoom-btn:hover {
  background: #1e3a8a;
  color: white;
  transform: scale(1.1);
}

.image-actions {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.action-btn {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.action-btn:hover {
  background: #1e3a8a;
  color: white;
  transform: scale(1.1);
}

.action-btn.active {
  background: #ef4444;
  color: white;
}

.thumbnail-gallery {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 0;
}

.thumbnail {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail.active {
  border-color: #1e3a8a;
  box-shadow: 0 0 0 2px rgba(30, 58, 138, 0.2);
}

.thumbnail:hover {
  transform: scale(1.05);
}

/* Modern Product Info */
.modern-product-info {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

.product-header {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.product-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 15px;
  line-height: 1.2;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 5px;
}

.product-rating .fa-star {
  color: #fbbf24;
  font-size: 16px;
}

.product-rating .fa-star-o {
  color: #d1d5db;
  font-size: 16px;
}

.rating-count {
  color: #6b7280;
  font-size: 14px;
  margin-left: 5px;
}

.product-description {
  margin-bottom: 25px;
  font-size: 16px;
  line-height: 1.6;
  color: #4b5563;
}

.product-price-section {
  margin-bottom: 30px;
  padding: 20px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.price-display {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.current-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: #e74c3c;
  text-shadow: 0 1px 2px rgba(231, 76, 60, 0.2);
  position: relative;
}

.old-price {
  font-size: 1.4rem;
  color: #95a5a6;
  text-decoration: line-through;
  font-weight: 500;
}

.discount-badge {
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4), 0 0 0 2px rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transform: none;
  animation: discountPulse 2s ease-in-out infinite alternate;
  z-index: 10;
  margin-left: 15px;
  vertical-align: middle;
}

/* Modern Product Form */
.modern-product-form {
  margin-top: 30px;
}

.product-options {
  margin-bottom: 30px;
}

.option-group {
  margin-bottom: 20px;
}

.option-label {
  display: block;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modern-select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  background: white;
  font-size: 14px;
  color: #374151;
  transition: all 0.3s ease;
}

.modern-select:focus {
  outline: none;
  border-color: #1e3a8a;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.quantity-group {
  margin-bottom: 30px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 0;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  width: fit-content;
}

.qty-btn {
  background: #f8fafc;
  border: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #6b7280;
  font-size: 18px;
  font-weight: 600;
}

.qty-btn:hover {
  background: #1e3a8a;
  color: white;
}

.qty-input {
  width: 80px;
  height: 40px;
  border: none;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #374151;
  background: white;
}

.qty-input:focus {
  outline: none;
}

.product-actions {
  margin-top: 30px;
}

.add-to-cart-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.add-to-cart-btn:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

/* Modern Product Tabs */
.modern-product-tabs {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  margin-bottom: 30px;
  border: 1px solid rgba(102, 126, 234, 0.1);
  position: relative;
}

.modern-product-tabs::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  z-index: 1;
}

.modern-tabs {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border: none;
  margin: 0;
  padding: 0;
  display: flex;
  position: relative;
  z-index: 2;
}

.modern-tabs li {
  flex: 1;
  text-align: center;
  position: relative;
}

.modern-tabs li a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 15px;
  color: #64748b;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative;
  border: none;
  background: transparent;
}

.modern-tabs li a i {
  margin-right: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.modern-tabs li.active a,
.modern-tabs li a:hover {
  color: #667eea;
  background: rgba(102, 126, 234, 0.1);
  transform: translateY(-2px);
}

.modern-tabs li.active a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 3px 3px 0 0;
}

.modern-tabs li a:hover i {
  transform: scale(1.1);
  color: #667eea;
}

.modern-tabs li {
  margin: 0;
}

/* Modern Tab Content */
.modern-tab-content {
  background: #fff;
  border-radius: 0 0 20px 20px;
  overflow: hidden;
}

.tab-content-wrapper {
  padding: 30px;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-radius: 0 0 20px 20px;
  position: relative;
}

.tab-content-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 30px;
  right: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.tab-content-wrapper h4 {
  color: #1f2937;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 40px;
}

.tab-content-wrapper h4 i {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #667eea;
  font-size: 18px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 8px;
}

.content-text {
  color: #4b5563;
  font-size: 15px;
  line-height: 1.7;
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
}

.content-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px 12px 0 0;
}

.content-text p {
  margin-bottom: 15px;
}

.content-text p:last-child {
  margin-bottom: 0;
}

.content-text ul,
.content-text ol {
  padding-left: 20px;
  margin-bottom: 15px;
}

.content-text li {
  margin-bottom: 8px;
  color: #4b5563;
}

.content-text strong {
  color: #1f2937;
  font-weight: 600;
}

.modern-tabs li a {
  border: none;
  border-radius: 0;
  padding: 20px 25px;
  color: #6b7280;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative;
}

.modern-tabs li a:hover {
  background: transparent;
  color: #1e3a8a;
}

.modern-tabs li.active a {
  background: white;
  color: #1e3a8a;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.modern-tabs li a i {
  margin-right: 8px;
  font-size: 16px;
}

.modern-tab-content {
  padding: 0;
}

.tab-content-wrapper {
  padding: 30px;
}

.tab-content-wrapper h4 {
  color: #1f2937;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tab-content-wrapper h4 i {
  color: #1e3a8a;
}

.content-text {
  font-size: 16px;
  line-height: 1.7;
  color: #4b5563;
}

/* Modern Related Products */
.modern-related-products {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 60px 0;
  margin-top: 50px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.section-title i {
  color: #ef4444;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #6b7280;
  margin: 0;
}

.modern-product-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.modern-related-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

.modern-related-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.card-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.modern-related-card:hover .card-image img {
  transform: scale(1.1);
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modern-related-card:hover .card-overlay {
  opacity: 1;
}

.view-btn, .wishlist-btn {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e3a8a;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
}

.view-btn:hover, .wishlist-btn:hover {
  background: #1e3a8a;
  color: white;
  transform: scale(1.1);
}

.wishlist-btn.active {
  background: #ef4444;
  color: white;
}

.discount-badge {
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4), 0 0 0 2px rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transform: none;
  animation: discountPulse 2s ease-in-out infinite alternate;
  z-index: 10;
  margin-left: 15px;
  vertical-align: middle;
}

.card-content {
  padding: 25px;
}

.card-title {
  margin-bottom: 15px;
}

.card-title a {
  color: #1f2937;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.card-title a:hover {
  color: #1e3a8a;
}

.card-price {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.current-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1e3a8a;
}

.old-price {
  font-size: 1rem;
  color: #9ca3af;
  text-decoration: line-through;
}

.card-rating {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.card-rating .fa-star {
  color: #fbbf24;
  font-size: 14px;
}

.card-rating .fa-star-o {
  color: #d1d5db;
  font-size: 14px;
}

.card-actions {
  margin-top: 20px;
}

.card-actions .btn {
  width: 100%;
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  border: none;
  padding: 12px 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.card-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .product-title a {
    font-size: 1.5rem;
  }
  
  .list-card .product-title a {
    font-size: 1.75rem;
  }
  
  .current-price {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .product-title a {
    font-size: 1.375rem;
  }
  
  .list-card .product-title a {
    font-size: 1.5rem;
  }
  
  .modern-product-gallery {
    padding: 15px;
  }
  
  .main-image {
    height: 300px;
  }
  
  .thumbnail {
    width: 60px;
    height: 60px;
  }
  
  .modern-product-info {
    padding: 20px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .modern-product-carousel {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  
  .modern-tabs li a {
    padding: 15px 20px;
    font-size: 12px;
  }
  
  .tab-content-wrapper {
    padding: 20px;
  }
  
  /* Mobile Product Options Fix */
  .product-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .product-options .row {
    margin: 0;
    display: flex;
    flex-direction: column;
  }
  
  .product-options .col-md-6 {
    padding: 0;
    margin-bottom: 15px;
    width: 100%;
    flex: 1;
  }
  
  .product-options .form-group {
    margin-bottom: 15px;
  }
  
  .product-options label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
  }
  
  .product-options .form-control {
    width: 100%;
    padding: 12px 15px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
  }
  
  .product-options .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  }
  
  /* Mobile Product Form - 4 Options */
  .modern-product-form {
    margin-top: 20px;
  }
  
  .modern-product-form .row {
    margin: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .modern-product-form .col-md-6 {
    padding: 0;
    margin-bottom: 15px;
    width: calc(50% - 5px);
    flex: 0 0 calc(50% - 5px);
  }
  
  .modern-product-form .form-group {
    margin-bottom: 15px;
  }
  
  .modern-product-form label {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
    color: #333;
  }
  
  .modern-product-form .form-control {
    width: 100%;
    padding: 10px 12px;
    font-size: 13px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
  }
  
  .modern-product-form .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
  }
  
  .modern-product-form select.form-control {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 10px center;
    background-repeat: no-repeat;
    background-size: 14px;
    padding-right: 35px;
  }
  
  /* Mobile Product Actions */
  .product-actions {
    margin-top: 20px;
  }
  
  .add-to-cart-btn {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    margin-bottom: 15px;
  }
  
  /* Mobile Product Tabs */
  .modern-product-tabs .modern-tabs,
  .modern-product-tabs .nav-tabs {
    padding: 0 !important;
    flex-wrap: nowrap !important;
    display: flex !important;
    width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: thin;
    scrollbar-color: #667eea #f1f5f9;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    position: relative;
    margin: 0 !important;
    border: none !important;
    gap: 0 !important;
  }
  
  .modern-product-tabs .modern-tabs::-webkit-scrollbar,
  .modern-product-tabs .nav-tabs::-webkit-scrollbar {
    height: 4px;
  }
  
  .modern-product-tabs .modern-tabs::-webkit-scrollbar-track,
  .modern-product-tabs .nav-tabs::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 2px;
  }
  
  .modern-product-tabs .modern-tabs::-webkit-scrollbar-thumb,
  .modern-product-tabs .nav-tabs::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 2px;
  }
  
  .modern-product-tabs .modern-tabs::-webkit-scrollbar-thumb:hover,
  .modern-product-tabs .nav-tabs::-webkit-scrollbar-thumb:hover {
    background: #764ba2;
  }
  
  .modern-product-tabs .modern-tabs li,
  .modern-product-tabs .nav-tabs li {
    flex: 0 0 auto !important;
    text-align: center;
    min-width: 100px !important;
    max-width: 100px !important;
    float: none !important;
    margin: 0 !important;
  }
  
  .modern-product-tabs .modern-tabs li a,
  .modern-product-tabs .nav-tabs li a {
    padding: 12px 6px !important;
    font-size: 11px !important;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-direction: column !important;
    gap: 3px;
    width: 100% !important;
    box-sizing: border-box;
    position: relative;
    border: none !important;
    margin: 0 !important;
  }
  
  /* Add scroll indicators */
  .modern-product-tabs .modern-tabs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.1), transparent);
    pointer-events: none;
    z-index: 1;
  }
  
  .modern-product-tabs .modern-tabs::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(270deg, rgba(102, 126, 234, 0.1), transparent);
    pointer-events: none;
    z-index: 1;
  }
  
  .modern-product-tabs .modern-tabs li a i,
  .modern-product-tabs .nav-tabs li a i {
    margin-right: 0 !important;
    font-size: 12px !important;
  }
  
  .tab-content-wrapper {
    padding: 20px;
  }
  
  .tab-content-wrapper h4 {
    font-size: 18px;
    padding-left: 35px;
  }
  
  .tab-content-wrapper h4 i {
    width: 25px;
    height: 25px;
    font-size: 14px;
  }
  
  .content-text {
    padding: 20px;
    font-size: 14px;
  }
  
  /* Mobile Tab Content */
  .tab-content {
    padding: 15px;
  }
  
  .tab-content h3 {
    font-size: 18px;
    margin-bottom: 15px;
  }
  
  .tab-content p {
    font-size: 14px;
    line-height: 1.6;
  }
}

/* Extra Small Mobile (480px and below) */
@media (max-width: 480px) {
  /* Mobile Product Options - Extra Small */
  .product-options {
    gap: 10px;
  }
  
  .product-options .col-md-6 {
    margin-bottom: 10px;
  }
  
  .product-options .form-group {
    margin-bottom: 10px;
  }
  
  .product-options label {
    font-size: 13px;
    margin-bottom: 6px;
  }
  
  .product-options .form-control {
    padding: 10px 12px;
    font-size: 13px;
  }
  
  /* Mobile Product Form - 4 Options - Extra Small */
  .modern-product-form .row {
    gap: 8px;
  }
  
  .modern-product-form .col-md-6 {
    margin-bottom: 12px;
    width: calc(50% - 4px);
    flex: 0 0 calc(50% - 4px);
  }
  
  .modern-product-form .form-group {
    margin-bottom: 12px;
  }
  
  .modern-product-form label {
    font-size: 11px;
    margin-bottom: 4px;
  }
  
  .modern-product-form .form-control {
    padding: 8px 10px;
    font-size: 12px;
  }
  
  .modern-product-form select.form-control {
    padding-right: 30px;
    background-size: 12px;
    background-position: right 8px center;
  }
  
  /* Mobile Product Actions - Extra Small */
  .add-to-cart-btn {
    padding: 12px 15px;
    font-size: 14px;
    margin-bottom: 10px;
  }
  
  /* Mobile Product Tabs - Extra Small */
  .modern-product-tabs .modern-tabs li,
  .modern-product-tabs .nav-tabs li {
    min-width: 90px !important;
    max-width: 90px !important;
    margin: 0 !important;
  }
  
  .modern-product-tabs .modern-tabs li a,
  .modern-product-tabs .nav-tabs li a {
    padding: 10px 4px !important;
    font-size: 10px !important;
    flex-direction: column !important;
    gap: 2px;
    width: 100% !important;
    box-sizing: border-box;
  }
  
  .modern-product-tabs .modern-tabs li a i,
  .modern-product-tabs .nav-tabs li a i {
    font-size: 11px !important;
  }
  
  /* Ultra Modern Tabs Container */
  .ultra-modern-tabs-container {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 30px 0;
    position: relative;
    z-index: 1;
  }
  
  /* Tab Navigation */
  .ultra-tab-navigation {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 0;
    position: relative;
  }
  
  .tab-nav-wrapper {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .tab-nav-wrapper::-webkit-scrollbar {
    display: none;
  }
  
  .ultra-tab-btn {
    flex: 1;
    min-width: 120px;
    background: transparent !important;
    border: none !important;
    padding: 20px 15px !important;
    cursor: pointer !important;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    outline: none !important;
    text-decoration: none !important;
  }
  
  .ultra-tab-btn:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-2px);
  }
  
  .ultra-tab-btn.active {
    color: white !important;
    background: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-2px);
  }
  
  .ultra-tab-btn.active .tab-indicator {
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
  }
  
  /* Ensure buttons are clickable and styled properly */
  .ultra-tab-btn:focus {
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3) !important;
  }
  
  .ultra-tab-btn:active {
    transform: translateY(0) !important;
  }
  
  /* Override any conflicting styles */
  .ultra-modern-tabs-container .ultra-tab-btn {
    all: unset;
    flex: 1;
    min-width: 120px;
    background: transparent !important;
    border: none !important;
    padding: 20px 15px !important;
    cursor: pointer !important;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    outline: none !important;
    text-decoration: none !important;
    box-sizing: border-box;
  }
  
  .tab-icon {
    font-size: 18px;
    transition: all 0.3s ease;
  }
  
  .ultra-tab-btn:hover .tab-icon {
    transform: scale(1.1);
  }
  
  .tab-label {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
  }
  
  .tab-indicator {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    border-radius: 2px;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  /* Tab Content */
  .ultra-tab-content {
    position: relative;
  }
  
  .ultra-tab-pane {
    display: none !important;
    animation: fadeInUp 0.5s ease-out;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
  }
  
  .ultra-tab-pane.active {
    display: block !important;
    opacity: 1;
    transform: translateY(0);
  }
  
  .tab-content-card {
    padding: 30px;
    background: #fff;
  }
  
  .content-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
  }
  
  .header-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  }
  
  .header-icon i {
    color: white;
    font-size: 20px;
  }
  
  .header-text h3 {
    margin: 0 0 5px 0;
    color: #1f2937;
    font-size: 24px;
    font-weight: 700;
  }
  
  .header-text p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
  }
  
  .content-body {
    color: #4b5563;
    line-height: 1.7;
  }
  
  .no-content {
    text-align: center;
    padding: 40px 20px;
    color: #9ca3af;
    background: #f9fafb;
    border-radius: 12px;
    border: 2px dashed #d1d5db;
  }
  
  .no-content i {
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
  }
  
  /* Reviews Section */
  .reviews-summary {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    border: 1px solid #e5e7eb;
  }
  
  .rating-overview {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  .rating-stars {
    font-size: 24px;
    color: #fbbf24;
  }
  
  .rating-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  
  .rating-number {
    font-size: 32px;
    font-weight: 800;
    color: #1f2937;
  }
  
  .rating-count {
    font-size: 14px;
    color: #6b7280;
  }
  
  .reviews-list {
    margin-bottom: 30px;
  }
  
  .review-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
  }
  
  .reviewer-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  
  .reviewer-avatar i {
    color: white;
    font-size: 16px;
  }
  
  .review-details {
    flex: 1;
  }
  
  .reviewer-name {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 5px;
  }
  
  .review-rating {
    color: #fbbf24;
    margin-bottom: 5px;
  }
  
  .review-date {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 10px;
  }
  
  .review-comment {
    color: #4b5563;
    line-height: 1.6;
  }
  
  .no-reviews {
    text-align: center;
    padding: 40px 20px;
    color: #9ca3af;
    background: #f9fafb;
    border-radius: 12px;
    border: 2px dashed #d1d5db;
  }
  
  .no-reviews i {
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
  }
  
  /* Review Form */
  .review-form-section {
    background: #f8fafc;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #e5e7eb;
  }
  
  .form-header {
    margin-bottom: 20px;
  }
  
  .form-header h4 {
    margin: 0 0 5px 0;
    color: #1f2937;
    font-size: 18px;
    font-weight: 600;
  }
  
  .form-header p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
  }
  
  .ultra-review-form .form-group {
    margin-bottom: 20px;
  }
  
  .ultra-review-form label {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-weight: 600;
    font-size: 14px;
  }
  
  .rating-input {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
  }
  
  .rating-input input[type="radio"] {
    display: none;
  }
  
  .rating-input label {
    cursor: pointer;
    font-size: 24px;
    color: #d1d5db;
    transition: color 0.2s ease;
    margin: 0;
  }
  
  .rating-input label:hover,
  .rating-input input:checked ~ label {
    color: #fbbf24;
  }
  
  .ultra-review-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    resize: vertical;
  }
  
  .ultra-review-form textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  }
  
  .ultra-submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  
  .ultra-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
  }
  
  .login-required {
    text-align: center;
    padding: 40px 20px;
  }
  
  .login-prompt {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 12px;
    padding: 30px;
  }
  
  .login-prompt i {
    font-size: 32px;
    color: #f59e0b;
    margin-bottom: 15px;
    display: block;
  }
  
  .login-prompt h4 {
    margin: 0 0 10px 0;
    color: #92400e;
    font-size: 18px;
  }
  
  .login-prompt p {
    margin: 0;
    color: #92400e;
  }
  
  .login-prompt a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
  }
  
  .login-prompt a:hover {
    text-decoration: underline;
  }
  
  /* Animations */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Desktop specific styles */
  @media (min-width: 769px) {
    .ultra-tab-btn {
      min-width: 140px;
      padding: 25px 20px;
      font-size: 15px;
    }
    
    .tab-icon {
      font-size: 20px;
    }
    
    .tab-label {
      font-size: 13px;
    }
    
    .ultra-tab-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
  }
  
  /* Mobile Responsive */
  @media (max-width: 768px) {
    .ultra-tab-btn {
      min-width: 100px;
      padding: 15px 10px;
      font-size: 12px;
    }
    
    .tab-icon {
      font-size: 16px;
    }
    
    .tab-label {
      font-size: 11px;
    }
    
    .tab-content-card {
      padding: 20px;
    }
    
    .content-header {
      flex-direction: column;
      text-align: center;
      gap: 15px;
    }
    
    .header-icon {
      margin-right: 0;
    }
    
    .rating-overview {
      flex-direction: column;
      text-align: center;
      gap: 15px;
    }
    
    .review-item {
      flex-direction: column;
      gap: 10px;
    }
    
    .reviewer-avatar {
      align-self: center;
    }
  }
  
  @media (max-width: 480px) {
    .ultra-tab-btn {
      min-width: 80px;
      padding: 12px 8px;
    }
    
    .tab-content-card {
      padding: 15px;
    }
    
    .header-text h3 {
      font-size: 20px;
    }
  }
  
  .tab-content-wrapper {
    padding: 15px;
  }
  
  .tab-content-wrapper h4 {
    font-size: 16px;
    padding-left: 30px;
  }
  
  .tab-content-wrapper h4 i {
    width: 20px;
    height: 20px;
    font-size: 12px;
  }
  
  .content-text {
    padding: 15px;
    font-size: 13px;
  }
  
  /* Mobile Tab Content - Extra Small */
  .tab-content {
    padding: 10px;
  }
  
  .tab-content h3 {
    font-size: 16px;
    margin-bottom: 10px;
  }
  
  .tab-content p {
    font-size: 13px;
    line-height: 1.5;
  }
  
  /* Mobile Product Info - Extra Small */
  .modern-product-info {
    padding: 15px;
  }
  
  .product-title {
    font-size: 1.8rem;
  }
  
  .current-price {
    font-size: 1.5rem;
  }
  
  .old-price {
    font-size: 1.1rem;
  }
}

/* Very Small Mobile (360px and below) - Stack vertically */
@media (max-width: 360px) {
  .modern-product-form .row {
    flex-direction: column;
    gap: 0;
  }
  
  .modern-product-form .col-md-6 {
    width: 100%;
    flex: 1;
    margin-bottom: 15px;
  }
  
  .modern-product-form label {
    font-size: 12px;
  }
  
  .modern-product-form .form-control {
    padding: 10px 12px;
    font-size: 13px;
  }
}

/* Prevent content jumping */
.modern-product-card {
  will-change: transform;
}

/* ========================================
   MODERN LIGHTBOX MODAL STYLES
======================================== */

/* Modern Lightbox Modal */
.modern-lightbox {
  z-index: 99999999 !important;
}

.modern-lightbox .modal-dialog {
  z-index: 99999999 !important;
  max-width: 90vw;
  max-height: 90vh;
  margin: 5vh auto;
  transition: all 0.3s ease;
}

.modern-lightbox .modal-dialog.fullscreen {
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
}

.modern-lightbox .modal-content {
  z-index: 99999999 !important;
  background: #1a1a1a;
  border: none;
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  height: 90vh;
  display: flex;
  flex-direction: column;
}

.modern-lightbox .modal-dialog.fullscreen .modal-content {
  height: 100vh;
  border-radius: 0;
}

.modern-lightbox-header {
  background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
  border-bottom: 1px solid #4a5568;
  padding: 15px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.modern-lightbox-header .modal-title {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modern-lightbox-header .modal-title i {
  color: #63b3ed;
}

.modern-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.modern-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.modern-lightbox-body {
  flex: 1;
  padding: 0;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
}

.lightbox-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  padding: 20px;
  min-height: 400px;
}

.lightbox-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.2s ease-out;
  cursor: grab;
  user-select: none;
  transform-origin: center center;
  display: block;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.lightbox-image:active {
  cursor: grabbing;
}

.lightbox-image-container::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.lightbox-image-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.lightbox-image-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.lightbox-image-container::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

.lightbox-controls {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10;
}

.lightbox-btn {
  background: rgba(0, 0, 0, 0.7);
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.lightbox-btn:hover {
  background: rgba(30, 58, 138, 0.8);
  transform: scale(1.1);
  border-color: rgba(30, 58, 138, 0.5);
}

.lightbox-btn:active {
  transform: scale(0.95);
}

.modern-lightbox-footer {
  background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
  border-top: 1px solid #4a5568;
  padding: 15px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.lightbox-info {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
}

.zoom-level {
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.lightbox-actions .btn {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  border: none;
  border-radius: 25px;
  padding: 10px 20px;
  font-weight: 600;
  color: #ffffff;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lightbox-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.4);
}

/* Lightbox Backdrop */
.modern-lightbox + .modal-backdrop {
  z-index: 99999998 !important;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

/* Responsive Lightbox */
@media (max-width: 768px) {
  .modern-lightbox .modal-dialog {
    max-width: 95vw;
    max-height: 95vh;
    margin: 2.5vh auto;
  }
  
  .modern-lightbox .modal-content {
    height: 95vh;
  }
  
  .lightbox-controls {
    top: 10px;
    right: 10px;
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .lightbox-btn {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
  
  .modern-lightbox-header,
  .modern-lightbox-footer {
    padding: 10px 15px;
  }
  
  .modern-lightbox-header .modal-title {
    font-size: 1rem;
  }
}

/* Keyboard Navigation */
.modern-lightbox:focus {
  outline: none;
}

/* Animation for modal appearance */
.modern-lightbox.fade .modal-dialog {
  transform: scale(0.8) translateY(-50px);
  opacity: 0;
  transition: all 0.3s ease;
}

.modern-lightbox.show .modal-dialog {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Image drag functionality */
.lightbox-image-container.dragging {
  cursor: grabbing;
}

.lightbox-image-container.dragging .lightbox-image {
  cursor: grabbing;
}

/* Enhanced lightbox image scaling for zoom */
.lightbox-image.zoomed {
  max-width: none !important;
  max-height: none !important;
  width: auto !important;
  height: auto !important;
  min-width: 100px;
  min-height: 100px;
}

/* Prevent text selection during drag */
.lightbox-image-container.dragging * {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* Zoom level indicator styling */
.zoom-level {
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  min-width: 50px;
  text-align: center;
}

/* Ensure proper image display in lightbox */
#lightboxImage {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Fix for zoomed state */
#lightboxImage.zoomed {
  position: relative;
  z-index: 2;
  cursor: grab;
}

#lightboxImage.zoomed:active {
  cursor: grabbing;
}

/* Ensure container can handle zoomed content */
.lightbox-image-container {
  position: relative;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

/* Smooth transitions for all zoom operations */
.lightbox-image {
  transition: transform 0.2s ease-out, max-width 0.2s ease-out, max-height 0.2s ease-out;
}

/* Simple lightbox image styling */
#lightboxImage {
  transition: transform 0.3s ease;
  transform-origin: center center;
  cursor: grab;
}

#lightboxImage:active {
  cursor: grabbing;
}

/* GLASSY TRANSPARENT MODAL - NO BORDERS */
#imageLightbox {
  z-index: 2147483647 !important; /* Maximum z-index value */
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(20px) !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#imageLightbox .modal-dialog {
  z-index: 2147483647 !important;
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

#imageLightbox .modal-content {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: auto !important;
  height: auto !important;
}

#imageLightbox + .modal-backdrop {
  z-index: 2147483646 !important;
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(20px) !important;
}

/* FORCE ALL NAVIGATION BELOW MODAL */
.nav, .menu-container, .header, .navbar, .menu, .menu > ul, .menu > ul > li {
  z-index: 1 !important;
}

/* OVERRIDE ALL BOOTSTRAP MODAL STYLES */
.modal {
  z-index: 2147483647 !important;
}

.modal-backdrop {
  z-index: 2147483646 !important;
}

/* FORCE MODAL VISIBILITY */
#imageLightbox.modal.show {
  z-index: 2147483647 !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* OVERRIDE ANY CONFLICTING STYLES */
* {
  z-index: auto !important;
}

#imageLightbox, #imageLightbox * {
  z-index: 2147483647 !important;
}

#imageLightbox + .modal-backdrop {
  z-index: 2147483646 !important;
}

/* Ultra Modern Lightbox Button Hover Effects */
#imageLightbox .btn:hover {
  transform: scale(1.15) translateY(-2px) !important;
  box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#imageLightbox .btn:active {
  transform: scale(1.05) translateY(0px) !important;
  transition: all 0.1s ease !important;
}

/* Modal Animation Effects */
#imageLightbox.modal.fade .modal-dialog {
  transform: translate(-50%, -50%) scale(0.8) !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#imageLightbox.modal.show .modal-dialog {
  transform: translate(-50%, -50%) scale(1) !important;
}

/* Close Button Hover Effect */
#imageLightbox .close:hover {
  background: rgba(239, 68, 68, 0.2) !important;
  border-color: rgba(239, 68, 68, 0.4) !important;
  transform: scale(1.1) !important;
  color: #fca5a5 !important;
}

/* Image Container Hover Effects */
#imageLightbox .modal-body > div:first-child:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  transition: all 0.3s ease !important;
}

/* Floating Elements Animation */
#imageLightbox .modal-body > div[style*="position: absolute"] {
  animation: fadeInUp 0.6s ease-out !important;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Modal Content Glow Effect */
#imageLightbox .modal-content {
  animation: modalGlow 2s ease-in-out infinite alternate !important;
}

@keyframes modalGlow {
  from {
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
  }
  to {
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(59, 130, 246, 0.1) !important;
  }
}

/* Scrollbar Styling for Image Container */
#imageLightbox .modal-body > div:first-child::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

#imageLightbox .modal-body > div:first-child::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

#imageLightbox .modal-body > div:first-child::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  border-radius: 4px;
}

#imageLightbox .modal-body > div:first-child::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
  #imageLightbox .modal-dialog {
    width: 98vw !important;
    height: 98vh !important;
  }
  
  #imageLightbox .modal-body > div[style*="position: absolute"] {
    position: relative !important;
    margin: 10px !important;
  }
  
  #imageLightbox .modal-body > div[style*="top: 30px; right: 30px"] {
    position: fixed !important;
    top: 10px !important;
    right: 10px !important;
    flex-direction: row !important;
    gap: 10px !important;
  }
  
  #imageLightbox .modal-body > div[style*="bottom: 30px"] {
    position: fixed !important;
    bottom: 10px !important;
    left: 10px !important;
    right: 10px !important;
    text-align: center !important;
  }
}

/* Fixed 50vh 50vw Lightbox image container */
#imageLightbox .modal-dialog > div:first-child {
  width: 50vw !important;
  height: 80vh !important;
  overflow: hidden !important;
  border-radius: 20px;
  padding: 0 !important;
}

#imageLightbox .modal-dialog > div:first-child > div {
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

#imageLightbox .modal-dialog > div:first-child img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* Force fit image - no scrolling needed */

/* Ensure containers don't clip hovered cards */
.container {
  overflow: visible !important;
}

.col-md-9, .col-md-12 {
  overflow: visible !important;
}

/* High z-index for hovered cards to appear above everything */
.product-card:hover,
.product-card.hovered {
  z-index: 99999 !important;
  position: relative !important;
}

/* Loading State */
.loading {
  position: relative;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #1e40af;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive List View */
@media (max-width: 768px) {
  .list-card {
    flex-direction: column !important;
  }
  
  .list-card .product-image {
    width: 100%;
    height: 200px;
  }
  
  .list-card .product-info {
    padding: 15px;
  }
}

/* Modern Search Results Page Styling */
.modern-search-banner {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.search-banner-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  padding: 60px 0;
}

.search-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.search-title i {
  color: #60a5fa;
}

.search-term-highlight {
  margin-bottom: 20px;
}

.search-label {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-right: 10px;
}

.search-term {
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 1.125rem;
  box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
}

.search-stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.results-count {
  font-weight: 600;
  color: #60a5fa;
}

.search-time {
  font-style: italic;
}

/* Search Controls */
.search-controls {
  background: white;
  border-radius: 16px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.search-filters {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-group label {
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  white-space: nowrap;
}

.filter-group .form-control {
  min-width: 150px;
}

/* Search Results Grid */
.modern-search-grid .row {
  margin: 0 -15px;
}

.modern-search-card {
  padding: 0 15px;
  margin-bottom: 30px;
}

.search-product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.search-product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* No Results Styling */
.no-results {
  text-align: center;
  padding: 80px 20px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  margin: 40px 0;
}

.no-results-icon {
  font-size: 4rem;
  color: #e2e8f0;
  margin-bottom: 20px;
}

.no-results h3 {
  font-size: 1.5rem;
  color: #1e293b;
  margin-bottom: 15px;
}

.no-results p {
  color: #64748b;
  font-size: 1.125rem;
  margin-bottom: 30px;
}

.no-results-suggestions {
  background: #f8fafc;
  border-radius: 12px;
  padding: 25px;
  margin: 30px 0;
  text-align: left;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.no-results-suggestions h4 {
  color: #1e293b;
  font-size: 1.125rem;
  margin-bottom: 15px;
  text-align: center;
}

.no-results-suggestions ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.no-results-suggestions li {
  color: #64748b;
  padding: 8px 0;
  position: relative;
  padding-left: 20px;
}

.no-results-suggestions li::before {
  content: "•";
  color: #1e40af;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Modern Pagination */
.modern-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  border-radius: 12px;
  padding: 20px 30px;
  margin-top: 40px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.pagination-info {
  display: flex;
  gap: 20px;
  color: #64748b;
  font-size: 0.9rem;
}

.pagination-controls {
  display: flex;
  align-items: center;
}

.pagination {
  display: flex;
  gap: 5px;
  margin: 0;
  padding: 0;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.pagination a {
  color: #64748b;
  background: #f8fafc;
  border-color: #e2e8f0;
}

.pagination a:hover {
  color: #1e40af;
  background: #eff6ff;
  border-color: #1e40af;
  transform: translateY(-2px);
}

.pagination .current {
  color: white;
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  border-color: #1e40af;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.pagination .disabled {
  color: #9ca3af;
  background: #f1f5f9;
  border-color: #e2e8f0;
  cursor: not-allowed;
}

/* Responsive Search Results */
@media (max-width: 768px) {
  .search-filters {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
  
  .filter-group {
    justify-content: space-between;
  }
  
  .modern-pagination {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .pagination-info {
    flex-direction: column;
    gap: 10px;
  }
  
  .search-title {
    font-size: 2rem;
    flex-direction: column;
    gap: 10px;
  }
  
  .search-stats {
    flex-direction: column;
    gap: 10px;
  }
}

.home-newsletter .single {
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.home-newsletter .single h2 {
  font-size: 22px;
  color: white;
  text-transform: uppercase;
  margin-bottom: 40px;
  margin-top: 0;
}
.home-newsletter .single .form-control {
  height: 50px;
  border-color: #333;
  outline: none;
}
.home-newsletter .single .btn {
  min-height: 50px;
  background: #333;
  color: #fff;
  padding-left: 15px;
  padding-right: 15px;
}
