
.loading-button {
  width: 30px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 4px solid ;
  animation:
    l20-1 0.8s infinite linear alternate,
    l20-2 1.6s infinite linear;
}
@keyframes l20-1{
   0%    {clip-path: polygon(50% 50%,0       0,  50%   0%,  50%    0%, 50%    0%, 50%    0%, 50%    0% )}
   12.5% {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100%   0%, 100%   0%, 100%   0% )}
   25%   {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100% 100%, 100% 100%, 100% 100% )}
   50%   {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100% 100%, 50%  100%, 0%   100% )}
   62.5% {clip-path: polygon(50% 50%,100%    0, 100%   0%,  100%   0%, 100% 100%, 50%  100%, 0%   100% )}
   75%   {clip-path: polygon(50% 50%,100% 100%, 100% 100%,  100% 100%, 100% 100%, 50%  100%, 0%   100% )}
   100%  {clip-path: polygon(50% 50%,50%  100%,  50% 100%,   50% 100%,  50% 100%, 50%  100%, 0%   100% )}
}
@keyframes l20-2{
  0%    {transform:scaleY(1)  rotate(0deg)}
  49.99%{transform:scaleY(1)  rotate(135deg)}
  50%   {transform:scaleY(-1) rotate(0deg)}
  100%  {transform:scaleY(-1) rotate(-135deg)}
}



.form {
  background-color: #ffffff;
  padding: 30px;
  -webkit-box-shadow: 0px 5px 4px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 5px 4px 0px rgba(0, 0, 0, 0.1); }
  .form label {
    display: block;
    font-size: 14px;
    margin-bottom: 12px;
    font-weight: 500;
    text-transform: capitalize; }
  .form .nice-select {
    width: 100%;
    background-color: transparent;
    border: 1px solid #999999;
    border-radius: 0;
    line-height: 23px;
    padding: 10px 20px;
    font-size: 14px;
    height: 45px;
    color: #7a7a7a;
    margin-bottom: 15px; }
    .form .nice-select::after {
      width: 6px;
      height: 6px;
      border-width: 1px;
      right: 20px;
      border-color: #7a7a7a; }
    .form .nice-select .current {
      color: #7a7a7a;
      display: block;
      line-height: 23px; }
    .form .nice-select .list {
      width: 100%; }
  .form input {
    width: 100%;
    background-color: transparent;
    border: 1px solid #999999;
    border-radius: 0;
    line-height: 23px;
    padding: 10px 20px;
    font-size: 14px;
    color: #7a7a7a;
    margin-bottom: 15px; }
    .form input[type="checkbox"] {
      width: auto; }
  .form .check-box {
    float: left;
    margin-right: 70px; }
    .form .check-box:last-child {
      margin-right: 0; }
    .form .check-box input[type="checkbox"] {
      display: none; }
      .form .check-box input[type="checkbox"] + label {
        position: relative;
        padding-left: 30px;
        line-height: 20px;
        font-size: 14px;
        font-weight: 400;
        color: #363f4d;
        margin: 0; }
        .form .check-box input[type="checkbox"] + label::before {
          position: absolute;
          left: 0;
          top: 0;
          width: 20px;
          height: 20px;
          display: block;
          border: 2px solid #999999;
          content: "";
          -webkit-transition: all 0.3s ease 0s;
          -o-transition: all 0.3s ease 0s;
          transition: all 0.3s ease 0s; }
        .form .check-box input[type="checkbox"] + label::after {
          position: absolute;
          left: 0;
          top: 0;
          display: block;
          content: "\f00c";
          font-family: Fontawesome;
          font-size: 12px;
          line-height: 20px;
          opacity: 0;
          color: #363f4d;
          width: 20px;
          text-align: center;
          -webkit-transition: all 0.3s ease 0s;
          -o-transition: all 0.3s ease 0s;
          transition: all 0.3s ease 0s; }
      .form .check-box input[type="checkbox"]:checked + label::before {
        border: 2px solid #363f4d; }
      .form .check-box input[type="checkbox"]:checked + label::after {
        opacity: 1; }



.brand-logo-small {
    width: 40px;
    height: 40px;
    border: 2px solid #ccc;
    border-radius: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand-logo-small:hover {
    transform: scale(0.9);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-color: #888;
}



.styled-category-filter ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.styled-category-filter li {
    margin-bottom: 12px;
    position: relative;
}

.styled-category-filter input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.styled-category-filter label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 15px;
    color: #333;
    padding-left: 28px;
    line-height: 1.2;
    position: relative;
}

.styled-category-filter label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 50%;
    background: white;
    transition: border-color 0.2s;
}

.styled-category-filter input[type="radio"]:hover + label::before {
    border-color: #ffcc00;
}

.styled-category-filter input[type="radio"]:checked + label::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ffcc00;
}

.custom-btn {
    background: #fed700;
    color: black
}


.brand-logo-big {
    width: 40px;
    height: 40px;
    border: 2px solid #ccc;
    border-radius: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}



.gap-2 {
  gap: 0.5rem; /* 8px */
}


.mb-6 {
margin-bottom: 1.5rem;
}


textarea#feedback {
    border: 2px solid grey;
    border-radius: 6px;
    outline: none;
}


.your-opinion {
    display: flex;
    align-items: center;
    gap: 10px; /* optional spacing between label and select */
}


  .red-heart {
    color: red;
  }

a.wishlisted i.fa-heart {
  color: hotpink;
}


.mb-7 {
margin-bottom: 10.75rem;
}


 @media (max-width: 991px) {
    .single-product-wrap .add-actions {
	bottom: 0;
	opacity: 1;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}


.single-product-wrap {
  margin: 0 0 -75px;
  padding: 0 0 75px;
  z-index: 9;
}
.single-product-wrap.mt-40 {
  margin: 40px 0 -85px;
}

.add-actions-link {
  gap: 10px; /* adjust spacing as needed */
}
.product_desc_info  {
margin-bottom: 10px
}


.single-product-wrap:before{
  opacity: 1;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  visibility: visible;
}
 }



.old-price {
    text-decoration: line-through
}


/* Sidebar now comes in from the RIGHT */
.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -250px;     /* start hidden off-screen to the right */
  width: 250px;
  height: 100vh;
  background: white;
  box-shadow: -2px 0 10px rgba(0,0,0,0.1);
  overflow-y: auto;
  z-index: 10000;
  padding: 30px 20px;
  padding-bottom: 100px;
  transition: right 0.3s ease-in-out;
}

/* When active, slide it fully into view */
.mobile-sidebar.active {
  right: 0;
}

/* Overlay: hidden by default */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.4);  /* glassy white */
  backdrop-filter: blur(4px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s;
}

/* When active, show overlay */
.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Tweak the toggle button if needed */
#sidebarToggle {
  font-size: 24px;
  border: none;
  background: none;
  margin-left: auto;  /* if inside a flex container */
}



/* make the right‐side container a flex row */
.header-middle-right {
  display: flex;
  align-items: center;  /* vertically center the items */
}

/* ensure the menu list itself is in a row */
.header-middle-right .hm-menu {
  display: flex;
}

/* push the toggle to the far right */
#sidebarToggle {
  margin-left: auto;
}

/* Increase spacing between list items */
.mobile-sidebar ul li {
  margin-bottom: 18px;   /* was 15px, now more space */
}

/* Bigger font and line‑height for the links */
.mobile-sidebar ul li a {
  font-size: 1.2rem;     /* adjust up or down as needed */
  line-height: 1.6;      /* ensures good vertical rhythm */
  color: black
}


#sidebarToggle i {
  color: black;
}




/*** Spinner ***/

#spinner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 9999;
}

#spinner.show {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
}

.loader {
  width: 45px;
  aspect-ratio: 1;
  --c: no-repeat linear-gradient(var(--loader-color, #ffc107) 0 0);
  background:
    var(--c) 0%   50%,
    var(--c) 50%  50%,
    var(--c) 100% 50%;
  background-size: 20% 100%;
  animation: l1 1s infinite linear;
}

@keyframes l1 {
  0%   { background-size: 20% 100%, 20% 100%, 20% 100%; }
  33%  { background-size: 20% 10% , 20% 100%, 20% 100%; }
  50%  { background-size: 20% 100%, 20% 10% , 20% 100%; }
  66%  { background-size: 20% 100%, 20% 100%, 20% 10% ; }
  100% { background-size: 20% 100%, 20% 100%, 20% 100%; }
}



@media (max-width: 478px) {
  .hide-on-mobile {
    display: none !important;
  }
}


.show-on-mobile {
  display: none; /* hide by default */
}

@media (max-width: 478px) {
  .show-on-mobile {
    display: block !important; /* or flex/grid depending on layout */
  }
}



/* Hide carousel on desktop */
.carouselMobile-container {
  display: none;
}

/* Mobile view only */
@media (max-width: 478px) {
  .carouselMobile-container {
    display: block;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;  /* IE/Edge */
    scrollbar-width: none;     /* Firefox */
    padding: 8px;
    background: #fff;
  }

  /* Hide scrollbar for WebKit */
  .carouselMobile-container::-webkit-scrollbar {
    display: none;
  }

  .carouselMobile-wrapper {
    display: flex;
    gap: 12px;
  }

.carouselMobile-item {
  flex: 0 0 45%; /* Slightly smaller so a third peeks in */
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  overflow: hidden;
}

  /* Product image - keep natural height */
.carouselMobile-item .product-image {
  position: relative;
  width: 100%;
  height: 150px; /* balanced height */
  overflow: hidden;
  background: #f9f9f9;
}

.carouselMobile-item .product-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

  /* "New" sticker */
  .carouselMobile-item .sticker {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #ff4d4d;
    color: #fff;
    font-size: 12px;
    padding: 3px 6px;
    border-radius: 4px;
  }

  /* Product details */
  .carouselMobile-item .product_desc {
    padding: 8px;
  }
  .carouselMobile-item .product_desc_info {
    margin-bottom: 6px;
  }

  /* Brand name */
  .carouselMobile-item .manufacturer a {
    font-size: 11px;
    color: #777;
    text-decoration: none;
  }

  /* Product title */
  .carouselMobile-item .product_name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    display: block;
    margin: 4px 0;
  }

  /* Price styling */
  .carouselMobile-item .price-box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
  }
  .carouselMobile-item .new-price {
    font-size: 14px;
    font-weight: 700;
    color: #e60023;
  }
  .carouselMobile-item .old-price {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
  }
  .carouselMobile-item .discount-percentage {
    font-size: 11px;
    color: white !important;
    background: #28a745;
    padding: 2px 5px;
    border-radius: 4px;
  }

  /* Actions (cart, wishlist, quick view) */
  .carouselMobile-item .add-actions {
    margin-top: 6px;
  }
  .carouselMobile-item .add-actions-link {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .carouselMobile-item .add-actions-link li a {
    font-size: 12px;
    color: #333;
    text-decoration: none;
  }
}
