/* 
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;
  }
}
