/* 
Name                 : RivoraMart – Free Multipurpose Bootstrap 5 eCommerce Template
Author               : TemplateRise
Url                  : https://www.templaterise.com/template/rivoramart-free-multipurpose-bootstrap-5-ecommerce-template
*/


:root {
  --font-family: Inter, sans-serif;
  --font-size: 16px;
  --theme-primary: #146cda;
  --theme-secondary: #171d27;
  --primary-color: #545454;
  --border-color: #f5f3f3;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size);
  line-height: 1.4;
}

a,
a:hover {
  text-decoration: none;
}

input,
select,
textarea {
  outline: none !important;
  box-shadow: none !important;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--theme-primary) !important;
}

.form-control,
.input-group-text {
  border-radius: 0 !important;
}

.mt-50 {
  margin-top: 50px;
}

.mt-60 {
  margin-top: 60px;
}

.mt-70 {
  margin-top: 70px;
}

.mt-100 {
  margin-top: 100px;
}

.top-header {
  border-bottom: 1px solid #f5f3f3;
}

.top-header-menu li a {
  color: var(--primary-color);
}

.top-header-menu li {
  border: 1px solid #f5f3f3;
  padding: 0.5rem 0.8rem;
  text-align: center;
}

.top-header-menu li {
  border-bottom: none;
  border-top: none;
}

.top-header-menu li:not(:first-child) {
  border-left: none;
}

.middle-header {
  color: var(--primary-color);
  padding: 25px 0px 6px 0px;
}

@media (max-width: 768px) {
  .middle-header {
    padding: 20px 0px 15px 0px;
  }
}

.header-search {
  padding: 0.6rem 1rem;
}

.search-container .form-select {
  max-width: 9rem;
  background-color: transparent;
  border-left: 0px;
}

.lang .nice-select,
.country .nice-select {
  background-color: transparent !important;
  border: none !important;
  height: 22px !important;
  line-height: 22px !important;
  color: #000;
  padding-left: unset !important;
}

.lang .nice-select .option,
.country .nice-select .option {
  line-height: unset !important;
  min-height: unset !important;
}

.lang .nice-select .list,
.country .nice-select .list {
  border-radius: 0px;
  margin-top: 10px;
  left: -0.94rem !important;
}

.lang .nice-select .current,
.country .nice-select .current {
  color: var(--primary-color) !important;
}

.nice-select:after {
  border-bottom: 1px solid var(--primary-color) !important;
  border-right: 1px solid var(--primary-color) !important;
}

.list-inline-item:not(:last-child) {
  margin-right: 2.2rem !important;
}

@media (max-width: 768px) {
  .me-25 {
    margin: 0px 10px !important;
  }
  .badge-count {
    top: 0px !important;
  }
}

.header-bottom {
  color: var(--primary-color) !important;
  border-bottom: 1px solid #f5f3f3;
  margin-top: 1.6rem;
}

@media (max-width: 1023px) {
  .header-bottom {
    margin-top: 0px !important;
  }
}

.offcanvas.offcanvas-start {
  width: 320px;
}

@media (min-width: 1024px) {
  .navbar-default .dropdown-menu {
    display: block;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease-in;
    visibility: hidden;
    top: 43px;
    left: 0;
  }

  .navbar-default .dropdown-menu-end {
    left: auto;
    right: 0;
  }

  .navbar-default .dropdown-menu-start {
    left: 0;
    right: auto;
  }

  .navbar-default .dropdown:hover > .dropdown-menu {
    opacity: 1;
    transform: scaleY(1);
    visibility: visible;
  }

  .navbar-default .dropdown:hover > .dropdown-toggle:after {
    transition: all 0.3s ease-in;
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
  }

  .navbar .dropdown-fullwidth {
    position: static;
  }

  .navbar .dropdown-fullwidth .dropdown-menu {
    left: 0;
    margin: 1.25rem auto;
    max-width: 1300px;
    padding: 1rem 0;
    right: 0;
    top: 22px;
    overflow-x: hidden !important;
  }
}

.navbar-default .dropdown-menu,
.navbar-default .card {
  box-shadow: 0 0 2px rgba(145, 158, 171, 0.2),
    0 12px 24px -4px rgba(145, 158, 171, 0.12);
  padding: 8px;
  border: none;
  border-radius: 0px !important;
}

.custom-dropdown {
  width: 100%;
  padding: 0px !important;
}

.custom-dropdown li a {
  padding: 0px;
}

.custom-dropdown li {
  border-bottom: 1px solid #f5f3f3;
  padding: 12px 15px;
  display: block;
  cursor: pointer;
}

.custom-dropdown li:hover {
  background-color: #f8f9fa;
}

.navbar-default .card .dropdown-item {
  padding: 5px 15px;
}

.navbar-default .card .dropdown-item:focus,
.navbar-default .card .dropdown-item:hover {
  border-radius: 4px;
}

@media (max-width: 992px) {
  .navbar .navbar-nav .nav-item .nav-link {
    border-bottom: 1px solid #ecf0ef;
  }
  .dropdown-toggle:after {
    float: right;
  }
}

.dropdown-toggle:after {
  background-repeat: no-repeat;
  background-size: 0.625rem 0.625rem;
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 800;
  vertical-align: middle;
  margin-left: 0.375rem;
  line-height: 1;
  font-size: 12px;
}

.header-bottom {
  color: #fff;
}

.nav-item:not(:first-child) {
  padding: 0 0.4rem;
}

@media (max-width: 1023px) {
  .nav-item {
    width: 100% !important;
    padding: 0px !important;
  }
}

.categories-section-lg {
  max-width: 260px;
  top: 0 !important;
}

.department-all {
  line-height: 1.8;
  padding: 7px 10px;
  border-radius: 0px;
  font-size: 14px;
  background-color: #f9f9f9;
}

.department-all:hover {
  background-color: #f9f9f9 !important;
}

.shine {
  position: relative;
  overflow: hidden;
}
.shine::before {
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 100%
  );
  content: "";
  display: block;
  height: 100%;
  left: -75%;
  position: absolute;
  top: 0;
  transform: skewX(-25deg);
  width: 50%;
  z-index: 2;
}
.shine:hover::before,
.shine:focus::before {
  -webkit-animation: shine 0.85s;
  animation: shine 0.85s;
}
@-webkit-keyframes shine {
  100% {
    left: 125%;
  }
}
@keyframes shine {
  100% {
    left: 125%;
  }
}

.banner .banner-content {
  bottom: -30px;
  left: 30px;
}

.banner-title {
  color: var(--theme-secondary);
  font-weight: 900;
  font-size: 24px;
}

.text-secondary {
  color: var(--theme-secondary);
}

.banner-content-text,
.banner-button {
  font-size: 14px;
}

.banner-button a {
  font-weight: 600;
}

.banner .owl-dots {
  position: absolute;
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
}

.owl-theme .owl-dots .owl-dot {
  background-color: transparent;
  border: 2px solid white;
  border-radius: 50%;
  margin-right: 4px;
  transition: border 0.3s ease;
  height: 20px;
  width: 20px;
}

.owl-theme .owl-dots .owl-dot span {
  background-color: white;
  display: block;
  height: 10px;
  width: 10px;
  border-radius: 50%;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: flex-center;
  align-items: center;
  margin: 0 auto !important;
}

.owl-theme .owl-dots .owl-dot.active span {
  background-color: yellow;
  border: 2px solid yellow;
  transition: background-color 0.3s ease, border 0.3s ease;
}

.category-list .category-slider .item img {
  border-radius: 50%;
  overflow: hidden;
}

.category-list .category-slider .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  overflow: hidden;
  transition: all 0.3s ease;
}

.category-list .category-slider .item img:hover {
  transform: scale(1.04);
}

.feature-item .feature-info h4 {
  margin-bottom: 5px;
  color: #111111;
  font-size: 20px;
  font-weight: 600;
}

.feature-item-8 .feature-info p {
  font-size: 14px;
  color: #111111;
}

.feature-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.feature-item .feature-icon {
  margin-right: 20px;
  font-size: 40px;
  width: 50px;
}

/* Banner Section */

.banner-item {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 600px;
  position: relative;
}

.banner-content {
  max-width: 50%;
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.banner-content h1 {
  font-size: 85px;
  text-transform: capitalize;
  font-weight: 900 !important;
}

.banner-content h2 {
  font-size: 32px;
  font-family: "Noto Sans", sans-serif !important;
}

.banner-content span {
  color: var(--theme-default);
}

@media screen and (max-width: 1100px) {
  .banner-item {
    height: 300px;
  }
  .banner-content {
    max-width: 70%;
  }
  .banner-content h1 {
    font-size: 40px;
  }
  .banner-content h2 {
    font-size: 20px;
  }
}

.hero-banner-area {
  width: 100%;
  overflow: hidden !important;
  box-sizing: border-box;
}

.hero-banner-item {
  width: 100%;
  overflow: hidden;
  position: relative !important;
}

.hero-banner-item img {
  width: 100%;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.hero-banner-item:hover img {
  transform: scale(1.1) rotate(1deg);
}

.hero-banner-item-overly {
  position: absolute;
  top: 0;
  left: 20px;
  display: flex;
  align-items: center;
  height: 100%;
}

.hero-banner-item-overly-full h4 {
  font-size: 20px;
  margin-bottom: 5px;
  text-transform: uppercase;
}
.hero-banner-item-overly-full h3 {
  font-size: 24px;
  font-weight: 900;
  color: #000;
  margin-bottom: 10px;
}
.hero-banner-item-overly-full a {
  padding: 10px 20px;
}

/* Blog Section */

.blog-section .blog-section-title {
  text-align: left;
  display: block;
  width: auto;
  margin: 0 auto 50px;
  padding: 0 0px 0px;
  color: #000000;
  position: relative;
  font-size: 28px;
  font-weight: 700;
  text-transform: capitalize;
  letter-spacing: 0.6px;
}

.blog-section .img-zoom {
  overflow: hidden;
}

.blog-wraper {
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
    rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}

.blog-section .img-zoom img {
  transition: transform 0.5s ease;
}

.blog-section .img-zoom img:hover {
  transform: scale(1.1);
}

.blog-section div.zoom {
  background-position: 50% 50%;
  border-radius: 0.5rem;
  cursor: zoom-in;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.blog-section div.zoom img:hover {
  opacity: 0;
}

.blog-section div.zoom img {
  display: block;
  transition: opacity 0.5s;
  width: 100%;
}

.blog-section .blog-date {
  background-color: #000;
  display: table;
  color: #fff;
  padding: 10px 14px;
  border-radius: 3px;
  position: absolute;
  top: -40px;
}

.blog-title a {
  font-size: 1rem;
  line-height: 1;
  font-weight: 700;
  text-decoration: none;
  color: #000;
}

.blog-title.h5 {
  line-height: 1.1 !important;
}

.blog-desc p {
  font-size: 14px;
  line-height: 21px;
  word-break: break-all;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.read-more {
  font-size: 14px;
  text-decoration: none;
  font-weight: 600;
  color: var(--theme-primary);
}

.read-more:hover {
  text-decoration: underline;
}

.sidebar-blog {
  background-color: #fff;
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px,
    rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}

.sidebar-blog a {
  text-decoration: none;
}

.latest-post-item img {
  transition: transform 0.5s ease;
}

.latest-post-item img:hover {
  transform: scale(1.05);
}

.tags a {
  background: #f5f8f9;
  display: inline-block;
  padding: 8px 23px;
  border-radius: 38px;
  margin-bottom: 10px;
  border: 1px solid #eee;
  font-size: 14px;
  text-transform: capitalize;
  text-decoration: none;
}

/* Footer Section */

footer {
  background-color: var(--theme-secondary);
  color: #fff;
  padding: 40px 0px;
}

.footer_newsletter h4 {
  font-size: 18px;
  margin-top: 24px;
  margin-bottom: 15px;
  text-transform: uppercase;
  font-weight: 600;
}

.footer_title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  margin-top: 9px;
  text-transform: uppercase;
}

.footer_menu a {
  color: #fff;
  font-size: 15px;
  display: block;
  text-decoration: none;
  line-height: 24px;
  margin-bottom: 12px;
}

.footer_contact .icn {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 17px;
}

.footer_contact p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #fff;
  position: relative;
  padding-left: 32px;
  margin-bottom: 13px;
}

.footer_icon a {
  color: #fff;
  font-size: 24px;
}

.new-arrivals-slider .owl-nav .owl-prev,
.new-arrivals-slider .owl-nav .owl-next,
.blog-slider .owl-nav .owl-prev,
.blog-slider .owl-nav .owl-next,
.product-recommended-slider .owl-nav .owl-prev,
.product-recommended-slider .owl-nav .owl-next,
.deal-slider .owl-nav .owl-prev,
.deal-slider .owl-nav .owl-next {
  background-color: #fff !important;
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px,
    rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
  position: absolute;
  top: -50px;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #ff4800;
  color: #6c757d !important;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  opacity: 1;
  border-radius: 50%;
}

.new-arrivals-slider .owl-nav .owl-prev,
.product-recommended-slider .owl-nav .owl-prev,
.blog-slider .owl-nav .owl-prev,
.deal-slider .owl-nav .owl-prev {
  right: 40px;
}

.new-arrivals-slider .owl-nav .owl-next,
.product-recommended-slider .owl-nav .owl-next,
.blog-slider .owl-nav .owl-next,
.deal-slider .owl-nav .owl-next {
  right: 0px;
}

.promo-box {
  background: #f2f6f9;
  padding: 20px;
  text-align: left;
  height: 100%;
}
.promo-box h5 {
  color: #0d6efd;
  font-size: 14px;
  font-weight: 600;
}
.promo-box h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 10px 0;
}

.price {
  font-size: 18px;
  font-weight: 700;
  color: var(--theme-primary);
}

.section-title {
  padding: 0 0 5px 0;
  border-bottom: 2px solid var(--theme-primary);
}

.deal-card {
  border: 1px solid var(--theme-primary);
  padding: 20px;
  position: relative;
}
.badge-new {
  background: #f39c12;
  font-size: 12px;
  padding: 4px 8px;
  color: #fff;
  border-radius: 3px;
  position: absolute;
  top: 10px;
  left: 10px;
}

.old-price {
  text-decoration: line-through;
  color: #999;
  font-size: 14px;
  margin-right: 5px;
}
.discount {
  background: #e74c3c;
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 5px;
}
.countdown {
  font-weight: bold;
  font-size: 14px;
  display: flex;
  gap: 10px;
  margin-top: 15px;
}
.countdown div {
  text-align: center;
}
.countdown span {
  display: block;
  font-size: 12px;
  color: #999;
}
.product-card {
  border: 1px solid #eee;
  padding: 15px;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.product-card .badge-new {
  top: 10px;
  left: 10px;
}
.rating {
  color: #f39c12;
  font-size: 14px;
}

.product-card .badge-new {
  top: 10px;
  left: 10px;
}
.rating {
  color: #f39c12;
  font-size: 14px;
}

.product-card .cart-btn {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  transition: all 0.3s ease-in-out;
  opacity: 0;
}

.product-card:hover .cart-btn {
  bottom: 15px;
  opacity: 1;
}

.product-card h6 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card a,
.deal-card a,
.promo-box a {
  color: var(--theme-secondary);
  text-decoration: none;
}

.wishlist-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #fff;
  border-radius: 50%;
  padding: 6px 8px;
  font-size: 14px;
  color: #e74c3c;
  border: 1px solid #ddd;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.wishlist-icon:hover {
  background: #e74c3c;
  color: #fff;
  border-color: #e74c3c;
}

.promo-box img {
  margin: 0 auto;
  max-height: 270px;
}

@media screen and (max-width: 768px) {
  .product-img {
    max-height: 250px;
  }
}

.btn-primary {
  background-color: var(--theme-primary);
  border-color: var(--theme-primary);
}

.btn-primary:hover {
  background-color: var(--theme-secondary);
  border-color: var(--theme-secondary);
}

.view-all {
  color: var(--theme-primary);
  font-weight: 500;
}

.view-all:hover {
  color: var(--theme-secondary);
}

.bg-primary {
  background-color: var(--theme-primary);
}

.text-primary {
  color: var(--theme-primary);
}

.pagination li a:hover {
  text-decoration: none;
}

.pagination li {
  padding: 5px 10px 5px 10px !important;
}

.blog-section h1 {
  font-size: 30px;
  font-weight: 600;
}
.blog-section .blog-desc p {
  font-size: 16px;
}
.blog-desc img {
  width: 100%;
}
.comment-section p {
  font-size: 15px;
  line-height: 24px;
}
.comment-section h2 {
  font-size: 24px;
  font-weight: 600;
}
.comment-box textarea {
  width: 100%;
  height: 150px;
  resize: none;
  padding: 15px;
}

.quote {
  font-size: 22px;
  color: #223a66;
  padding: 40px;
  font-style: italic;
  border-left: 5px solid var(--theme-primary);
  margin: 25px 0px;
  background-color: #f5f8f9;
  line-height: 25px;
}

/* cart */

.qty-container button:focus,
.qty-container input:focus {
  outline: none;
  box-shadow: none;
}
.qty-container {
  display: flex;
}
.qty-container .input-qty {
  text-align: center;
  border: none;
  border-top: 1px solid #d4d4d4;
  border-bottom: 1px solid #d4d4d4;
  max-width: 40px;
  height: 41px;
}
.qty-container .qty-btn-minus,
.qty-container .qty-btn-plus {
  font-size: 12px;
  height: 41px;
  width: 32px;
  transition: 0.3s;
  background-color: transparent;
  color: #000;
}

.qty-container .qty-btn-minus {
  border: none;
  border-top: 1px solid #d4d4d4;
  border-left: 1px solid #d4d4d4;
  border-bottom: 1px solid #d4d4d4;
  border-radius: 4px 0px 0px 4px;
}

.qty-container .qty-btn-plus {
  border: none;
  border-top: 1px solid #d4d4d4;
  border-right: 1px solid #d4d4d4;
  border-bottom: 1px solid #d4d4d4;
  border-radius: 0px 4px 4px 0px;
}

.qty-container input::-webkit-outer-spin-button,
.qty-container input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-container input[type="number"] {
  -moz-appearance: textfield;
}

.box-title {
  border-bottom: 3px solid #eee;
  position: relative;
}
.title-under-line::after {
  content: "";
  height: 2.5px;
  background-color: var(--theme-primary);
  bottom: -10px;
  left: 0;
  position: absolute;
  width: 100%;
  display: block;
}
.order-summary-item-box {
  max-height: 280px;
  overflow-y: auto;
}

.color-box {
  width: 14px;
  height: 14px;
  background-color: #c6a97e;
  border-radius: 50%;
}

.close-cart {
  width: 35px;
  height: 35px;
  top: -12px;
  right: -12px;
  padding: 2px 3px;
}

.cart-section h2 {
  font-size: 24px;
}

.cart-section ul li {
  font-size: 15px;
  margin-top: 14px;
}

.cart-section ul li:last-child {
  margin-top: 20px;
}

.apply-coupon {
  background-color: var(--theme-primary);
}

/* Checkout */

.product-checkout h5,
.cart-coupon h5 {
  background: #f8f8f8;
  padding: 1.3rem 1rem;
  text-transform: none;
  font-size: 18px;
}

.gs_input_area {
  position: relative;
}

.gs_input_area input[type="text"],
.gs_input_area input[type="password"],
.gs_input_area input[type="email"],
.gs_input_area input[type="number"],
.gs_input_area input[type="search"],
.gs_input_area select {
  background: #f8f8f8;
  font-size: 1rem;
  padding: 14px 20px;
  width: 100%;
  border: none;
}

.gs_input_area input:focus {
  outline: none;
  box-shadow: none;
}

.input-item i {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 22px;
}

.product-checkout .nice-option {
  display: block;
  width: 100%;
  height: 55px;
  line-height: 55px;
  font-weight: 500;
  background: #f8f8f8;
  color: #757575 !important;
  outline: none !important;
  border: none;
}

.gs_input_area textarea {
  background: #f8f8f8;
  padding: 14px 20px;
  width: 100%;
  outline: none !important;
  border: none;
}

.product-cart .card .card-header h1,
h2 {
  font-size: 16px;
  margin: 0;
  padding: 10px 0px;
}

.p-summary-title,
.p-summary-price {
  font-size: 16px;
}

.p-summary-total-title,
.p-summary-total-price {
  font-size: 18px;
  color: #212121;
  font-weight: 600;
}
.border-t {
  border-top: 1px solid #e5e7eb;
  padding: 14px 22px;
}

.wishlist-section img {
  border-radius: 4px 4px 0 0;
}

.wishlist-section .close-wishlist {
  right: 8px;
  top: 8px;
  padding: 2px 4px;
}

.auth-section {
  max-width: 500px;
  margin: 0 auto;
  padding: 2rem 1rem;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  border-radius: 8px;
}

.auth-section .toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

/* Hide the default checkbox input */
/* .form-check-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
} */

/* Style the custom checkbox using label::before */
/* .form-check-label::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  background-color: white;
  border: 2px solid #ddd;
  vertical-align: middle;
  transition: background-color 0.3s, border-color 0.3s;
  border-radius: 5px;
} */

/* Style the custom checkbox when checked */
/* .form-check-input:checked + .form-check-label::before {
  background-color: var(--theme-primary);
  border-color: var(--theme-primary);
} */

/* Align label text */
.form-check-label {
  position: relative;
  padding-left: 0px !important;
  cursor: pointer;
}

.product__carousel {
  display: block;
  max-width: 500px;
  margin: 1em auto 3em;
}

@media (max-width: 992px) {
  .product__carousel {
    max-width: 400px;
  }
}

.product__carousel .gallery-top {
  border: 1px solid #ebebeb;
  border-radius: 3px;
  margin-bottom: 5px;
}
.product__carousel .gallery-top .swiper-slide {
  position: relative;
  overflow: hidden;
}
.product__carousel .gallery-top .swiper-slide a {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
  height: 100%;
}
.product__carousel .gallery-top .swiper-slide a img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}
.product__carousel .gallery-top .swiper-slide .easyzoom-flyout img {
  min-width: 100%;
  min-height: 100%;
}
.product__carousel .swiper-button-next.swiper-button-white,
.product__carousel .swiper-button-prev.swiper-button-white {
  color: var(--theme-primary) !important;
  z-index: 111;
}
.product__carousel .gallery-thumbs .swiper-slide {
  position: relative;
  -webkit-transition: border 0.15s linear;
  transition: border 0.15s linear;
  border: 1px solid #ebebeb;
  border-radius: 3px;
  cursor: pointer;
  overflow: hidden;
  height: calc(100% - 40px);
}
.product__carousel .gallery-thumbs .swiper-slide.swiper-slide-thumb-active {
  border-color: var(--theme-primary);
}
.product__carousel .gallery-thumbs .swiper-slide img {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.swiper-slide {
  background-color: #ebebeb;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 25px !important;
}

.size-section p,
.color-section p {
  font-size: 16px;
}
.size-section .size-custom-radios div {
  display: inline-block;
}
.size-section .size-custom-radios input[type="radio"] {
  display: none;
}

.size-section .size-custom-radios input[type="radio"] + label span {
  cursor: pointer;
  color: #9f9f9f;
  user-select: none;
  border: 1px solid #e6e6e6;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
  height: 2.5em;
  width: 2.5em;
  line-height: 38px;
  overflow: hidden;
  display: block;
  text-align: center;
  border-radius: 6px;
  margin-right: 0.4em;
  box-shadow: 0px 0px 5px #e5e5e5;
  transition: all 120ms ease-in-out;
}

.size-section .size-custom-radios input[type="radio"]:checked + label span {
  color: var(--theme-secondary);
  border: 1.5px solid var(--theme-primary);
}

.color-section .custom-radios div {
  display: inline-block;
}
.color-section .custom-radios input[type="radio"] {
  display: none;
}
.color-section .custom-radios input[type="radio"] + label {
  color: #333;
  font-family: Arial, sans-serif;
  font-size: 14px;
}
.color-section .custom-radios input[type="radio"] + label span {
  display: inline-block;
  width: 30px;
  height: 30px;
  margin: -1px 4px 0 0;
  vertical-align: middle;
  cursor: pointer;
  border-radius: 6px;
  border: 2px solid #ffffff;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.33);
  background-repeat: no-repeat;
  background-position: center;
  text-align: center;
  line-height: 30px;
}
.color-section .custom-radios input[type="radio"] + label span img {
  opacity: 0;
  transition: all 0.3s ease;
}

.color-section .custom-radios input[type="radio"] + label span {
  background-color: var(--color);
}

.color-section .custom-radios input[type="radio"]:checked + label span img {
  opacity: 1;
  width: 14px;
}

.badge {
  font-size: 14px !important;
}

.rating-num {
  margin-top: 0px;
  font-size: 45px;
}
.progress {
  margin-bottom: 5px;
}
.progress-bar {
  text-align: left;
}
.rating-desc .col-md-3 {
  padding-right: 0px;
}
.sr-only {
  margin-left: 5px;
  overflow: visible;
  clip: auto;
}

.product-details .nav-item {
  margin-right: 2rem;
}

.nav-pills {
  border-bottom: 2px solid #dfe2e1;
}

.product-details .nav-item .nav-link.active,
.product-details .nav-item .nav-link:hover {
  background-color: transparent;
  border-bottom: 2px solid var(--theme-primary);
  color: var(--theme-primary);
}

.product-details .nav-item .nav-link {
  border-radius: 0;
  color: #5c6c75;
  font-weight: 500;
  margin-bottom: -1px;
  padding: 16px 0;
  white-space: nowrap;
  font-size: 16px;
}
.product-details .tab-content {
  font-size: 15px;
  line-height: 20px;
}

.review-section p {
  font-size: 14px;
  line-height: 20px;
}

.rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: left;
  cursor: pointer;
}

.star {
  font-size: 1.5rem;
  color: #ccc;
}

.star:hover,
.star:hover ~ .star,
.star.selected {
  color: gold;
}

/* Product Image Gallery with Magnifier */

.product-container {
  display: flex;
}

/* --- Thumbnails --- */
.thumbnail-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90px;
}

.thumbnail-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  width: auto;
  height: 320px;
  /* show 4 thumbs */
  overflow: hidden;
}

.thumbnail {
  width: 70px;
  height: 70px;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.thumbnail.active,
.thumbnail:hover {
  border-color: #2874f0;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Arrows */
.thumb-arrow {
  width: 80px;
  height: 25px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 5px 0;
  user-select: none;
  transition: all 0.2s ease;
}

.thumb-arrow:hover {
  background: #f5f5f5;
  transform: scale(1.05);
}

.thumb-arrow.disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* --- Main Image + Magnifier --- */
.image-magnifier-container {
  position: relative;
  display: flex;
  margin-left: 20px;
}

.main-image-container {
  position: relative;
  width: 400px;
  height: 400px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  cursor: crosshair;
}

#productImage {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.magnifier-lens {
  position: absolute;
  width: 100px;
  height: 100px;
  border: 2px solid #fff;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  display: none;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.magnifier-preview {
  position: absolute;
  top: 0;
  left: calc(100% + 20px);
  width: 400px;
  height: 400px;
  overflow: hidden;
  display: none;
  z-index: 10;
}

.magnifier-preview img {
  position: absolute;
  width: 1200px;
  /* 3x zoom */
  height: 1200px;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 968px) {
  .magnifier-preview {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .product-container {
    gap: 16px;
    flex-direction: column-reverse;
    align-items: center;
  }

  .thumbnail-wrapper {
    flex-direction: row;
    width: 400px;
    margin-bottom: 20px;
  }

  .thumbnail-container {
    flex-direction: row;
    height: auto;
    width: 100%;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 0;
  }

  .image-magnifier-container {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }

  .main-image-container {
    width: 100%;
    max-width: 400px;
  }

  .thumb-arrow {
    width: 30px;
    height: 60px;
  }

  #thumbUp svg,
  #thumbDown svg {
    rotate: 270deg;
  }
}

@media (max-width: 480px) {
  .thumbnail-wrapper {
    gap: 10px;
    flex-direction: row;
    width: 100%;
    margin-bottom: 20px;
  }
}

.rating-value {
  font-size: 2.5rem;
  font-weight: bold;
}
.rating-star {
  font-size: 1.5rem;
  color: black;
}
.progress {
  height: 8px;
}

.noUi-target {
  background-color: #f0f3f2;
  border: none;
  border-radius: 0.5rem;
}

.noUi-horizontal {
  height: 8px;
}

.noUi-handle {
  background: #fff;
  border: transparent;
  border-radius: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  cursor: default;
}

.noUi-handle:focus {
  outline: none;
}

.noUi-horizontal .noUi-handle {
  height: 18px;
  right: -13px;
  top: -6px;
  width: 18px;
}

.noUi-handle:after,
.noUi-handle:before {
  display: none;
}

.noUi-connects {
  border-radius: 6px;
}

.noUi-connect {
  background: var(--theme-primary);
}

.noUi-tooltip {
  background-color: transparent;
  border: none;
  color: #fff;
  height: 30px;
  line-height: 30px;
  padding: 0;
  width: 30px;
}

.filter-box-item {
  padding: 25px 20px;
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px,
    rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}
.filter-title {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 16px;
}
.filter-category ul li {
  padding: 7px 0px;
  display: flex;
  justify-content: space-between;
}
.filter-category ul li a {
  text-decoration: none;
}

.account-container {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 30px;
}

.sidebar {
  background-color: #ccd8ffcf;
  height: 100%;
}

.sidebar .profile-section {
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.2);
}

.sidebar .profile-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 15px;
}

.sidebar .nav-link {
  color: #000;
  padding: 15px 20px;
  border-left: 4px solid transparent;
  transition: all 0.3s;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
  background: rgba(0, 0, 0, 0.2);
  color: white;
  border-left: 4px solid white;
}

.sidebar .nav-link i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

.main-content {
  padding: 30px;
  background: white;
  min-height: 600px;
}

.page-content {
  display: none;
}

.page-content.active {
  display: block;
}

.stats-card {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.stats-card:hover {
  transform: translateY(-5px);
}

.stats-card .card-icon {
  font-size: 2rem;
  opacity: 0.3;
  position: absolute;
  right: 20px;
  top: 20px;
}

.order-table img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 5px;
}

.badge-status {
  padding: 8px 15px;
  border-radius: 20px;
}

.wishlist-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 5px;
}

.address-card {
  border: 1px solid #dee2e6;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
}

.address-card .default-badge {
  position: absolute;
  top: 15px;
  right: 15px;
}

.payment-method {
  border: 1px solid #dee2e6;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
}

.notification-item {
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

@media (max-width: 768px) {
  .sidebar {
    height: auto;
  }

  .stats-card {
    margin-bottom: 15px;
  }
}


.contact-adress-section {
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
  border-radius: 4px;
}


.banner-slider .banner-title-wrap .banner-title {
  font-size: 50px;
  font-family: 'Dancing Script', cursive;
  font-weight: 700;
  color: #ffcc00;
}

.banner-slider .banner-content-text p {
  font-weight: 800;
}

.banner-slider .banner-content-text p:first-child {
  font-size: 40px;
}

.banner-slider .banner-content-text p:last-child {
  font-size: 30px;
}

/* Tablets (landscape & portrait) */
@media (max-width: 992px) {
  .banner-slider .banner-title-wrap .banner-title {
    font-size: 40px;
  }

  .banner-slider .banner-content-text p:first-child {
    font-size: 32px;
  }

  .banner-slider .banner-content-text p:last-child {
    font-size: 24px;
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  .banner-slider .banner-title-wrap .banner-title {
    font-size: 32px;
  }

  .banner-slider .banner-content-text p:first-child {
    font-size: 26px;
  }

  .banner-slider .banner-content-text p:last-child {
    font-size: 20px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .banner-slider .banner-title-wrap .banner-title {
    font-size: 20px;
  }

  .banner-slider .banner-content-text p:first-child {
    font-size: 16px;
  }

  .banner-slider .banner-content-text p:last-child {
    font-size: 16px;
  }
}

/* C
ool Search Input Styles */
.search-container {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.search-input {
  border-radius: 25px !important;
  padding: 12px 55px 12px 20px !important;
  border: 2px solid #e9ecef !important;
  background: #f8f9fa;
  transition: all 0.3s ease;
  font-size: 14px;
  height: 48px;
  line-height: 1.5;
}

.search-input:focus {
  border-color: #0d6efd !important;
  background: #fff;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15) !important;
  transform: translateY(-1px);
}

.search-btn {
  position: absolute;
  right: 3px;
  top: 50%;
  transform: translateY(-50%);
  border: none !important;
  background: #0d6efd;
  color: white;
  border-radius: 50% !important;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.search-btn:hover {
  background: #0b5ed7;
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.search-btn i {
  font-size: 14px;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .search-container {
    max-width: 100%;
  }
  
  .search-input {
    font-size: 16px; /* Prevent zoom on iOS */
    height: 44px;
    padding: 10px 50px 10px 18px !important;
  }
  
  .search-btn {
    width: 34px;
    height: 34px;
    right: 5px;
  }
}

/* Additional alignment fixes */
.search-container input.search-input {
  vertical-align: middle;
  box-sizing: border-box;
}

.search-container .search-btn {
  vertical-align: middle;
  box-sizing: border-box;
}/* H
ot Deals Section - Clean Cards without Prices */
.deal-card {
  transition: all 0.3s ease;
  border: 1px solid #e9ecef !important;
  background: #aaaaaa;
}

.deal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
  border-color: #0d6efd !important;
}

.deal-image img {
  transition: transform 0.3s ease;
}

.deal-card:hover .deal-image img {
  transform: scale(1.05);
}

.deal-title a:hover {
  color: #0d6efd !important;
}

/* Adjust spacing for cleaner look */
.deal-card .btn {
  transition: all 0.3s ease;
}

.deal-card .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}
/* ===== CUSTOM CATEGORIES DROPDOWN ===== */

/* Disable Bootstrap dropdown behavior */
.custom-dropdown-trigger .nav-link[data-bs-toggle] {
  pointer-events: none;
}

/* Custom Categories Dropdown Container */
.custom-categories-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-top: 3px solid #0d6efd;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 0;
  overflow: hidden;
}

/* Show dropdown on hover */
.custom-dropdown-trigger:hover .custom-categories-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  max-height: 500px;
}

/* Keep dropdown visible when hovering over it */
.custom-categories-dropdown:hover {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  max-height: 500px;
}

/* Categories Grid Layout */
.custom-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  padding: 24px 32px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Category Items */
.custom-category-item {
  display: flex;
  align-items: center;
  padding: 16px;
  text-decoration: none;
  color: #374151;
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  transition: all 0.3s ease;
  min-height: 70px;
}

.custom-category-item:hover {
  color: #0d6efd;
  background: #f8faff;
  border-color: #0d6efd;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(13, 110, 253, 0.15);
  text-decoration: none;
}

/* Category Icons */
.custom-category-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.custom-category-item:hover .custom-category-icon {
  border-color: #0d6efd;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  transform: scale(1.1);
}

.custom-category-icon img {
  width: 24px;
  height: 24px;
  object-fit: cover;
  border-radius: 50%;
}

.custom-category-icon i {
  font-size: 18px;
  color: #0d6efd;
}

/* Category Text */
.custom-category-text {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  flex-grow: 1;
}

/* Navigation Link Styling */
.custom-dropdown-trigger {
  position: relative;
}

.custom-dropdown-trigger .nav-link {
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}

.custom-dropdown-trigger:hover .nav-link {
  color: #0d6efd !important;
}

/* Dropdown Arrow */
.custom-dropdown-arrow {
  font-size: 12px;
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.custom-dropdown-trigger:hover .custom-dropdown-arrow {
  transform: rotate(180deg);
}

/* Ensure full width on all screen sizes */
@media (min-width: 1400px) {
  .custom-categories-dropdown {
    width: 100vw;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .custom-categories-dropdown {
    position: static;
    width: 100%;
    transform: none;
    box-shadow: none;
    border-top: none;
    border-bottom: 1px solid #e5e7eb;
  }
  
  .custom-categories-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }
  
  .custom-category-item {
    padding: 14px;
    min-height: 60px;
    border-radius: 8px;
  }
  
  .custom-category-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
  }
  
  .custom-category-text {
    font-size: 14px;
  }
  
  /* Mobile: Show/hide with click instead of hover */
  .custom-dropdown-trigger:hover .custom-categories-dropdown {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
  }
  
  .custom-dropdown-trigger.mobile-open .custom-categories-dropdown {
    opacity: 1;
    visibility: visible;
    max-height: 500px;
    transform: none;
  }
}

@media (max-width: 1200px) {
  .custom-categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    padding: 20px 24px;
  }
}

@media (max-width: 992px) {
  .custom-categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
  }
  
  .custom-category-text {
    font-size: 14px;
  }
}

/* Prevent Bootstrap dropdown interference */
.custom-dropdown-trigger .dropdown-toggle::after {
  display: none;
}

/* Ensure proper z-index stacking */
.navbar {
  position: relative;
  z-index: 1040;
}

.custom-categories-dropdown {
  z-index: 1050;
}/*
 ===== FORM LABELS FIX ===== */
.form-label {
  display: block !important;
  position: static !important;
  margin-bottom: 0.5rem !important;
  font-weight: 600 !important;
  color: #212529 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  text-align: left !important;
  z-index: auto !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  float: none !important;
  clear: both !important;
}

.form-check-label {
  display: inline-block;
  margin-bottom: 0;
  font-weight: 400;
  color: #212529;
  cursor: pointer;
}

/* Enhanced form styling */
.form-control {
  display: block;
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  color: #212529;
  background-color: #fff;
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Checkout form specific styling */
.checkout-form .card {
  border: 1px solid #e9ecef;
  border-radius: 0.5rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.checkout-form .card-title {
  color: #495057;
  font-weight: 600;
  margin-bottom: 1rem;
}

.checkout-form .form-label {
  color: #495057;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.checkout-form .form-control {
  border: 1px solid #ced4da;
  padding: 0.75rem;
}

.checkout-form .form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Payment method styling */
.form-check {
  margin-bottom: 0.75rem;
}

.form-check-input {
  width: 1.25em;
  height: 1.25em;
  margin-top: 0.125em;
  vertical-align: top;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 0.25em;
}

.form-check-input:checked {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.form-check-input[type="radio"] {
  border-radius: 50%;
}

.form-check-label {
  padding-left: 0.5rem;
  cursor: pointer;
}

/* Order summary styling */
.order-summary {
  background: #f8f9fa;
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.order-summary .card-title {
  color: #495057;
  font-weight: 600;
  margin-bottom: 1rem;
}/* =
==== ADDITIONAL FORM LAYOUT FIXES ===== */
.checkout-form .mb-3 {
  margin-bottom: 1rem !important;
  position: relative !important;
  clear: both !important;
}

.checkout-form .form-group {
  margin-bottom: 1rem !important;
  position: relative !important;
}

.checkout-form .row .col-md-6 {
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
}

/* Ensure labels don't float or position absolutely */
.checkout-form label,
.checkout-form .form-label {
  position: static !important;
  display: block !important;
  float: none !important;
  margin-bottom: 0.5rem !important;
  margin-top: 0 !important;
  width: auto !important;
  height: auto !important;
}

/* Ensure form controls have proper spacing */
.checkout-form .form-control {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  position: relative !important;
  z-index: 1 !important;
}

/* Fix any potential Bootstrap conflicts */
.checkout-form .form-floating {
  position: relative !important;
}

.checkout-form .form-floating > .form-control {
  padding-top: 1.625rem !important;
  padding-bottom: 0.625rem !important;
}

.checkout-form .form-floating > label {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  height: 100% !important;
  padding: 1rem 0.75rem !important;
  pointer-events: none !important;
  border: 1px solid transparent !important;
  transform-origin: 0 0 !important;
  transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out !important;
}

/* Override any conflicting styles */
.form-label:not(.form-check-label) {
  position: static !important;
  transform: none !important;
  top: auto !important;
  left: auto !important;
}/* ===== CRI
TICAL LABEL POSITIONING FIX ===== */
/* Reset all potential label positioning issues */
label.form-label,
.form-label {
  position: static !important;
  display: block !important;
  float: none !important;
  clear: none !important;
  margin: 0 0 0.5rem 0 !important;
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  z-index: auto !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #495057 !important;
  line-height: 1.5 !important;
  text-align: left !important;
  vertical-align: baseline !important;
}

/* Ensure form groups have proper structure */
.checkout-form .mb-3,
.checkout-form .form-group {
  display: block !important;
  position: relative !important;
  margin-bottom: 1rem !important;
  overflow: visible !important;
}

/* Ensure inputs are positioned correctly after labels */
.checkout-form .form-control {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  margin-top: 0 !important;
  clear: both !important;
}

/* Remove any potential floating or absolute positioning from parent elements */
.checkout-form .card-body {
  position: relative !important;
  overflow: visible !important;
}

.checkout-form .row {
  position: relative !important;
}

.checkout-form .col-md-6 {
  position: relative !important;
}
/* ====
= CUSTOM FORM STYLING - CLEAN APPROACH ===== */
.custom-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
  color: #374151;
  line-height: 1.4;
}

.custom-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.5;
  color: #374151;
  background-color: #ffffff;
  transition: all 0.2s ease-in-out;
}

.custom-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  background-color: #ffffff;
}

.custom-input::placeholder {
  color: #9ca3af;
  font-size: 15px;
}

.checkout-form .form-group {
  position: relative;
  margin-bottom: 24px;
}

.checkout-form .row .col-md-6 {
  padding-left: 12px;
  padding-right: 12px;
}

/* Payment method custom styling */
.checkout-form .form-check {
  margin-bottom: 16px;
  padding: 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
}

.checkout-form .form-check:hover {
  border-color: #d1d5db;
  background-color: #f9fafb;
}

.checkout-form .form-check-input:checked + .form-check-label {
  color: #1f2937;
}

.checkout-form .form-check-input:checked {
  background-color: #3b82f6;
  border-color: #3b82f6;
}

/* Override any conflicting Bootstrap styles */
.checkout-form .custom-label {
  position: static !important;
  transform: none !important;
  top: auto !important;
  left: auto !important;
}

.checkout-form .custom-input.form-control {
  position: relative !important;
  z-index: 1 !important;
}/*
 ===== IMPROVED ORDER SUMMARY STYLING ===== */
.order-summary {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border: 1px solid #e9ecef;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.order-summary .card-title {
  color: #495057;
  font-weight: 700;
  margin-bottom: 1rem;
}

.order-item {
  padding: 12px 0;
  border-bottom: 1px solid #f1f3f4;
}

.order-item:last-child {
  border-bottom: none;
}

.item-details h6 {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 4px;
}

.item-details small {
  font-size: 12px;
  color: #6b7280;
}

.item-price strong {
  font-size: 14px;
  color: #059669;
}

.summary-row {
  padding: 8px 0;
  font-size: 14px;
  color: #6b7280;
}

.total-row {
  padding: 12px 0;
  border-top: 2px solid #e5e7eb;
  margin-top: 8px;
}

.total-row strong {
  color: #1f2937;
}

/* Place Order Button Enhancement */
#placeOrderBtn {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  border: none;
  border-radius: 8px;
  padding: 16px 24px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

#placeOrderBtn:hover {
  background: linear-gradient(135deg, #047857 0%, #065f46 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.3);
}

#placeOrderBtn:active {
  transform: translateY(0);
}

#placeOrderBtn.loading {
  pointer-events: none;
  opacity: 0.8;
}

#placeOrderBtn.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top: 2px solid #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Sticky Order Summary */
.sticky-top {
  position: sticky;
  top: 100px;
  z-index: 10;
}

/* Form Validation Styling */
.custom-input.is-invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.custom-input.is-valid {
  border-color: #28a745;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.invalid-feedback {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #dc3545;
}

.valid-feedback {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #28a745;
}/*
 ===== PAYMENT METHOD SELECTION STYLING ===== */
.payment-selected {
  border-color: #059669 !important;
  background-color: #ecfdf5 !important;
  box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.2) !important;
}

.payment-selected .form-check-label {
  color: #065f46 !important;
}

.payment-selected .form-check-input:checked {
  background-color: #059669;
  border-color: #059669;
}

/* Mobile responsiveness for checkout */
@media (max-width: 768px) {
  .sticky-top {
    position: relative !important;
    top: auto !important;
  }
  
  .order-summary {
    margin-top: 2rem;
  }
  
  .checkout-form .row .col-md-6 {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .custom-input {
    font-size: 16px; /* Prevent zoom on iOS */
  }
}




/*
 ===== PROFESSIONAL CATEGORIES SCROLL SECTION ===== */
.categories-scroll-container {
  position: relative;
  overflow: hidden;
  padding: 10px 0;
}

.categories-scroll-wrapper {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 5px 3px 10px 3px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.categories-scroll-wrapper::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.category-scroll-item {
  flex: 0 0 auto;
  min-width: 100px;
  max-width: 120px;
}

.category-scroll-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid #f1f3f4;
  position: relative;
  overflow: hidden;
}

.category-scroll-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border-color: #0d6efd;
}

.category-image-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 15px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.category-scroll-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.category-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.category-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13, 110, 253, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-scroll-card:hover .category-hover-overlay {
  opacity: 1;
}

.category-scroll-card:hover .category-scroll-image {
  transform: scale(1.1);
}

.category-info {
  text-align: center;
}

.category-name {
  font-size: 8px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 5px;
  line-height: 1.3;
}

.category-desc {
  color: #6c757d;
  font-size: 12px;
  line-height: 1.4;
  display: block;
}

.category-link {
  color: inherit;
  text-decoration: none;
}

.category-link:hover .category-name {
  color: #0d6efd;
}

/* Scroll Controls */
.scroll-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.scroll-btn {
  background: #ffffff;
  border: 2px solid #e9ecef;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  cursor: pointer;
  transition: all 0.3s ease;
}

.scroll-btn:hover {
  background: #0d6efd;
  border-color: #0d6efd;
  color: white;
  transform: scale(1.1);
}

.scroll-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #dee2e6;
  transition: all 0.3s ease;
  cursor: pointer;
}

.dot.active {
  background: #0d6efd;
  transform: scale(1.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .category-scroll-item {
    min-width: 160px;
    max-width: 180px;
  }
  
  .category-scroll-card {
    padding: 15px;
  }
  
  .category-image-wrapper {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
  }
  
  .category-name {
    font-size: 9px;
  }
  
  .category-desc {
    font-size: 11px;
  }
  
  .scroll-indicators {
    margin-top: 15px;
  }
  
  .scroll-btn {
    width: 35px;
    height: 35px;
  }
}

/* Animation for category cards */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.category-scroll-item {
  animation: slideInUp 0.6s ease forwards;
}

.category-scroll-item:nth-child(1) { animation-delay: 0.1s; }
.category-scroll-item:nth-child(2) { animation-delay: 0.2s; }
.category-scroll-item:nth-child(3) { animation-delay: 0.3s; }
.category-scroll-item:nth-child(4) { animation-delay: 0.4s; }
.category-scroll-item:nth-child(5) { animation-delay: 0.5s; }
.category-scroll-item:nth-child(6) { animation-delay: 0.6s; }/* ====
= SIMPLE BOOTSTRAP CATEGORIES DROPDOWN ===== */
/* Categories dropdown styling */
.category-dropdown-item {
  transition: all 0.3s ease;
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 120px;
  background: #f8f9fa;
  border: 2px solid transparent !important;
  position: relative;
  overflow: hidden;
}

.category-dropdown-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.1), transparent);
  transition: left 0.5s ease;
}

.category-dropdown-item:hover {
  background: #ffffff !important;
  border-color: #0d6efd !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(13, 110, 253, 0.15);
}

.category-dropdown-item:hover::before {
  left: 100%;
}

.category-icon-wrapper {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
}

.category-dropdown-item:hover .category-icon-wrapper {
  border-color: #0d6efd;
  background: #f0f7ff;
}

.category-dropdown-img {
  width: 24px;
  height: 24px;
  object-fit: cover;
  border-radius: 50%;
}

.category-name-wrapper {
  text-align: center;
  line-height: 1.2;
}

.category-dropdown-item small {
  color: #495057 !important;
  font-size: 12px;
}

.category-dropdown-item:hover small {
  color: #0d6efd !important;
}

/* Full Width Categories Mega Dropdown */
.categories-mega-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: #ffffff;
  border-top: 3px solid #0d6efd;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  z-index: 1050;
  display: none !important;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  visibility: hidden;
}

.categories-mega-dropdown.show {
  display: block !important;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

/* Position relative for navbar to contain the dropdown */
.navbar {
  position: relative;
}

/* Mega dropdown specific styling */
.mega-dropdown-menu {
  min-height: 300px;
}

/* Hide dropdown by default and show on hover */
.nav-item.dropdown.position-static .dropdown-menu {
  display: none !important;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.nav-item.dropdown.position-static:hover .dropdown-menu,
.nav-item.dropdown.position-static .dropdown-menu.show {
  display: block !important;
  opacity: 1;
  transform: translateY(0);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .categories-mega-dropdown {
    position: relative;
    border-top: 2px solid #0d6efd;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
  
  .category-dropdown-item {
    min-height: 80px;
  }
  
  .category-dropdown-item .category-icon-wrapper {
    width: 35px;
    height: 35px;
  }
  
  .category-dropdown-item h6 {
    font-size: 12px;

    height: 20px;
  }
/*  */
}
/* Remove old mega menu CSS conflicts */
.categories-mega-menu,
.mega-dropdown,
.category-grid-item,
.category-grid-link {
  display: none !important;
}
/*
 ===== MEGA MENU STYLES ===== */
.categories-mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-top: 3px solid var(--theme-primary);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  max-height: 0;
  overflow: hidden;
}

.categories-mega-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  max-height: 500px;
}

.categories-mega-menu.loading {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.category-grid-item {
  position: relative;
  transition: all 0.3s ease;
}

.category-grid-item.featured {
  grid-column: span 2;
}

.category-grid-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 15px;
  background: white;
  border: 2px solid #f8f9fa;
  border-radius: 12px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  height: 100%;
  min-height: 120px;
}

.category-grid-item.featured .category-grid-link {
  background: linear-gradient(135deg, var(--theme-primary), #1e7ce8);
  color: white;
  border-color: var(--theme-primary);
  box-shadow: 0 8px 25px rgba(20, 108, 218, 0.3);
}

.category-grid-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-color: var(--theme-primary);
  color: var(--theme-primary);
}

.category-grid-item.featured .category-grid-link:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(20, 108, 218, 0.4);
}

.category-grid-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #f8f9fa;
  transition: all 0.3s ease;
}

.category-grid-item.featured .category-grid-icon {
  background: rgba(255, 255, 255, 0.2);
}

.category-grid-icon i {
  font-size: 24px;
  color: var(--theme-primary);
}

.category-grid-item.featured .category-grid-icon i {
  color: white;
}

.category-grid-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.category-grid-text {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
  transition: all 0.3s ease;
}

.category-grid-link:hover .category-grid-icon {
  transform: scale(1.1);
  background: var(--theme-primary);
}

.category-grid-link:hover .category-grid-icon i {
  color: white;
}

.category-grid-item.featured .category-grid-link:hover .category-grid-icon {
  background: rgba(255, 255, 255, 0.3);
}

.category-grid-item.featured .category-grid-link:hover .category-grid-icon i {
  color: white;
}

/* Dropdown Arrow Animation */
.dropdown-arrow {
  transition: transform 0.3s ease;
}

.mega-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 20px;
  }
  
  .category-grid-item.featured {
    grid-column: span 2;
  }
  
  .category-grid-link {
    padding: 15px 10px;
    min-height: 100px;
  }
  
  .category-grid-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
  }
  
  .category-grid-icon i {
    font-size: 20px;
  }
  
  .category-grid-text {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .categories-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 15px;
  }
  
  .category-grid-item.featured {
    grid-column: span 1;
  }
}
/* ===== N
AVIGATION DEBUG STYLES ===== */
/* Ensure navigation is always visible for debugging */
.navbar-collapse {
  display: block !important;
}

.navbar-nav {
  flex-direction: row !important;
}

.nav-item {
  margin-right: 1rem;
}

/* Make sure All Categories is visible */
.mega-dropdown {
  position: relative;
}

.mega-dropdown .nav-link {
  color: #333 !important;
  font-weight: 600 !important;
  padding: 0.5rem 1rem !important;
  display: flex !important;
  align-items: center !important;
}

.mega-dropdown .nav-link:hover {
  color: var(--theme-primary) !important;
}

/* Ensure mega menu positioning */
.categories-mega-menu {
  position: fixed !important;
  top: auto !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;
}

/* Debug border for mega dropdown */
.mega-dropdown {
  border: 2px solid red !important;
  background: yellow !important;
}/* 
===== CATEGORIES DROPDOWN STYLES ===== */
.mega-menu {
  min-width: 100vw;
  left: 50% !important;
  transform: translateX(-50%) !important;
  border-radius: 0 0 15px 15px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 0;
}

.category-dropdown-item {
  transition: all 0.3s ease;
  border: 2px solid transparent;
  background: #f8f9fa;
}

.category-dropdown-item:hover {
  background: white;
  border-color: var(--theme-primary);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-icon {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hover-lift {
  transition: transform 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-2px);
}/* ==
=== FULL WIDTH CATEGORIES DROPDOWN ===== */
/* Full width mega menu specifically for categories dropdown */
.position-static .dropdown-menu.mega-menu {
  position: fixed !important;
  top: auto !important;
  left: 0 !important;
  right: 0 !important;
  width: 100vw !important;
  max-width: none !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
  z-index: 1050 !important;
  background: white !important;
  padding: 2rem 0 !important;
  transform: none !important;
}

/* Container inside mega menu */
.mega-menu .container {
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 2rem !important;
}

/* Category grid styling */
.mega-menu .row {
  margin: 0 !important;
}

.mega-menu .col-6,
.mega-menu .col-md-3 {
  padding: 0.75rem !important;
}

/* Category dropdown items */
.category-dropdown-item {
  display: block !important;
  padding: 1.5rem !important;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
  border: 2px solid #e9ecef !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  color: #333 !important;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  height: 100% !important;
  min-height: 140px !important;
  position: relative !important;
  overflow: hidden !important;
}

.category-dropdown-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(20, 108, 218, 0.1), transparent);
  transition: left 0.5s;
}

.category-dropdown-item:hover::before {
  left: 100%;
}

.category-dropdown-item:hover {
  background: white !important;
  border-color: var(--theme-primary) !important;
  box-shadow: 0 12px 40px rgba(20, 108, 218, 0.15) !important;
  transform: translateY(-4px) !important;
  color: var(--theme-primary) !important;
}

/* Category icons */
.category-icon {
  height: 70px !important;
  width: 70px !important;
  margin: 0 auto 1rem auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #f1f3f4 0%, #e8eaed 100%) !important;
  border-radius: 50% !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  overflow: hidden !important;
}

.category-dropdown-item:hover .category-icon {
  background: linear-gradient(135deg, var(--theme-primary) 0%, #1e7ce8 100%) !important;
  transform: scale(1.1) !important;
  box-shadow: 0 8px 25px rgba(20, 108, 218, 0.3) !important;
}

.category-icon i {
  font-size: 28px !important;
  color: var(--theme-primary) !important;
  transition: all 0.3s ease !important;
}

.category-dropdown-item:hover .category-icon i {
  color: white !important;
  transform: scale(1.1) !important;
}

/* Category images */
.category-icon img {
  width: 50px !important;
  height: 50px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  transition: all 0.3s ease !important;
}

.category-dropdown-item:hover .category-icon img {
  transform: scale(1.1) !important;
}

/* Category text */
.category-dropdown-item h6 {
  font-size: 14px !important;
  font-weight: 600 !important;
  margin: 0 !important;
  text-align: center !important;
  line-height: 1.3 !important;
  transition: all 0.3s ease !important;
}

.category-dropdown-item:hover h6 {
  color: var(--theme-primary) !important;
  transform: translateY(-2px) !important;
}

/* Special styling for "All Categories" item */
.category-dropdown-item:first-child {
  background: linear-gradient(135deg, var(--theme-primary) 0%, #1e7ce8 100%) !important;
  color: white !important;
  border-color: var(--theme-primary) !important;
  box-shadow: 0 8px 25px rgba(20, 108, 218, 0.3) !important;
}

.category-dropdown-item:first-child .category-icon {
  background: rgba(255, 255, 255, 0.2) !important;
}

.category-dropdown-item:first-child .category-icon i {
  color: white !important;
}

.category-dropdown-item:first-child h6 {
  color: white !important;
}

.category-dropdown-item:first-child:hover {
  background: linear-gradient(135deg, #0d5cb8 0%, #1a6fd1 100%) !important;
  transform: translateY(-6px) !important;
  box-shadow: 0 15px 45px rgba(20, 108, 218, 0.4) !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .mega-menu .container {
    padding: 0 1rem !important;
  }
  
  .mega-menu .col-6 {
    padding: 0.5rem !important;
  }
  
  .category-dropdown-item {
    padding: 1rem !important;
    min-height: 120px !important;
  }
  
  .category-icon {
    height: 50px !important;
    width: 50px !important;
    margin-bottom: 0.75rem !important;
  }
  
  .category-icon i {
    font-size: 20px !important;
  }
  
  .category-dropdown-item h6 {
    font-size: 12px !important;
  }
}

/* Animation for dropdown appearance */
.dropdown-menu.mega-menu {
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.dropdown-menu.mega-menu.show {
  opacity: 1;
  transform: translateY(0);
}/*
 ===== FULL WIDTH CATEGORIES DROPDOWN (SIMPLE VERSION) ===== */
.position-static .dropdown-menu.full-width-dropdown {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(-50vw + 50%) !important;
  border-radius: 0 !important;
  padding: 0 !important;
  z-index: 1050 !important;
}

.category-card {
  transition: all 0.3s ease !important;
  border: 1px solid #dee2e6 !important;
}

.category-card:hover {
  background: white !important;
  border-color: var(--theme-primary) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  transform: translateY(-2px) !important;
}

.category-card:hover span {
  color: var(--theme-primary) !important;
}

.category-icon-small {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .position-static .dropdown-menu.full-width-dropdown {
    margin-left: -15px !important;
    width: calc(100vw - 30px) !important;
  }
}





