body{background:#f4f5f7}
.show-box{background: #5c5c66;color: #fafafa;border-radius: 10px;padding:.5rem 1rem!important;display:flex;;justify-content: space-between;align-items: center}
.filters .card{width: 95%}
.show-box .form-select{width: 190px!important;}
.show-box .left{}
.show-box .filtersLeft{display: none}
.pro-summary{padding:1.5rem  1.5rem;background: #fff;margin-bottom: 1rem}
.pro-summary h2{font-size:1.8rem;font-weight: 600}
.pro-summary-p{font-size: .9rem;color: #555;margin-bottom: 0}
.pro-show-box{background: #fff;padding:0 .5rem 2rem}
.row-bottom{margin-bottom:3rem}
.returns{font-size: .95rem}
.pro-info{font-size: .95rem;line-height: 1.8;padding:1rem 0;color: #555}



@media (max-width: 767.98px) {
  .show-box{flex-direction: column;font-size: .9rem}
  .show-box .filtersLeft{font-size:.95rem;display: block;padding-right: 10px}
  .show-box .left{width: 98%;margin:5px auto;display: flex;justify-content: space-between}
  .show-box .show-results{}
  .show-box .right{width: 98%;margin:5px auto}
  .show-box .form-select{width:90%!important;}
  .filters {
    display: none !important;
  }
  .pro-summary{padding:1rem .5rem;background: #fff;margin-bottom:0}
  .pro-summary h2{font-size:1.2rem;font-weight: 600}
  .pro-summary-p{font-size: .84rem;color: #555;margin-bottom: 0}
  .pro-show-box{background: #fff;padding:0 .5rem 2rem}
}

/* Mobile filters drawer custom styles */
.mobile-filters-offcanvas {
  width: 85% !important;
  max-width: 380px;
}
.mobile-filters-offcanvas .offcanvas-header {
  border-bottom: 1px solid #eaeaea;
}
.mobile-filters-offcanvas .offcanvas-title {
  font-size: 1.25rem;
  font-weight: 700;
}
.mobile-filters-offcanvas .filter-group-header {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  padding: 1.1rem 1rem;
  transition: background-color 0.2s ease;
}
.mobile-filters-offcanvas .filter-group-header:focus {
  box-shadow: none;
}
.mobile-filters-offcanvas .filter-group-header .toggle-chevron {
  font-size: 0.85rem;
  color: #333;
  transition: transform 0.2s ease;
}
.mobile-filters-offcanvas .filter-group-header.collapsed .toggle-chevron {
  transform: rotate(0deg);
}
.mobile-filters-offcanvas .filter-group-header:not(.collapsed) .toggle-chevron {
  transform: rotate(180deg);
}
.mobile-filters-offcanvas .form-check-input {
  width: 1.2rem;
  height: 1.2rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-top: 0.15rem;
}
.mobile-filters-offcanvas .form-check-input:checked {
  background-color: #dc3545;
  border-color: #dc3545;
}
.mobile-filters-offcanvas .form-check-label {
  font-size: 0.9rem;
  color: #495057 !important;
  margin-left: 0.35rem;
  user-select: none;
}

/* Mobile sort drawer styles */
.mobile-sort-offcanvas {
  border-top-left-radius: 20px !important;
  border-top-right-radius: 20px !important;
  overflow: hidden;
}
.mobile-sort-list .sort-option-item {
  border-bottom: 1px solid #f1f1f1;
}
.mobile-sort-list .sort-option-item:last-child {
  border-bottom: 0;
}
.mobile-sort-list .sort-option-item button {
  color: #333;
  font-size: 0.95rem;
  transition: background-color 0.15s ease;
}
.mobile-sort-list .sort-option-item button:hover,
.mobile-sort-list .sort-option-item button:active {
  background-color: #f8f9fa;
}
.mobile-sort-list .sort-option-item.active button {
  color: #dc3545;
  font-weight: 600;
}
.mobile-sort-list .sort-option-item.active .check-icon {
  display: block !important;
}

/* Selected filter tags & badge dot styling */
#mobile-filter-icon-wrapper {
  position: relative;
  display: inline-block;
}
.filter-badge-dot {
  position: absolute;
  top: -2px;
  right: -3px;
  width: 7px;
  height: 7px;
  background-color: #000;
  border-radius: 50%;
  border: 1px solid #5c5c66; /* Match container background */
}
.selected-filter-tag {
  background-color: #000 !important;
  color: #fff !important;
  font-size: 0.75rem;
  padding: 5px 10px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: opacity 0.15s ease;
  user-select: none;
  font-weight: 500;
}
.selected-filter-tag:hover {
  opacity: 0.8;
}
.selected-filter-tag i {
  font-size: 0.7rem;
  margin-right: 6px;
}

/* PC Sort dropdown custom styles (replacing blue highlights with dark grey) */
#desktop-sort-dropdown .dropdown-item:hover,
#desktop-sort-dropdown .dropdown-item:focus {
  background-color: #f1f3f5 !important;
  color: #212529 !important;
}
#desktop-sort-dropdown .dropdown-item.active,
#desktop-sort-dropdown .dropdown-item:active {
  background-color: #5c5c66 !important; /* theme dark grey */
  color: #fff !important;
}

/* Product Gallery and Detail custom styles */
.thumbnail-item {
  cursor: pointer;
  opacity: 0.6;
  border-width: 2px !important;
  transition: all 0.2s ease-in-out;
}
.thumbnail-item:hover,
.thumbnail-item.active {
  opacity: 1;
  border-color: #5c5c66 !important; /* dark grey active */
}
#product-thumbnails::-webkit-scrollbar {
  display: none; /* hide scrollbars in webkit browsers */
}

/* Custom styled selectors */
.dropdown-toggle-custom {
  transition: all 0.2s ease-in-out;
}
.dropdown-toggle-custom:hover {
  background-color: #f8f9fa !important;
  border-color: #5c5c66 !important;
}
.dropdown-toggle-custom[aria-expanded="true"] {
  border-color: #5c5c66 !important;
  box-shadow: 0 0 0 0.15rem rgba(92, 92, 102, 0.25) !important;
}

#qty-decrement, #qty-increment {
  transition: all 0.15s ease-in-out;
}
#qty-decrement:hover, #qty-increment:hover {
  background-color: #f1f3f5;
  color: #000;
}

.hover-dark-btn {
  transition: all 0.25s ease-in-out;
}
.hover-dark-btn:hover {
  background-color: #c53030 !important;
  border-color: #c53030 !important;
}

/* Dropdown active item highlight styling for detail dropdown selectors */
#version-dropdown-container .dropdown-item.active,
#version-dropdown-container .dropdown-item:active,
#size-dropdown-container .dropdown-item.active,
#size-dropdown-container .dropdown-item:active,
#lang-dropdown-container .dropdown-item.active,
#lang-dropdown-container .dropdown-item:active {
  background-color: #5c5c66 !important;
  color: #fff !important;
}
#version-dropdown-container .dropdown-item:hover,
#size-dropdown-container .dropdown-item:hover,
#lang-dropdown-container .dropdown-item:hover {
  background-color: #f1f3f5 !important;
  color: #212529 !important;
}

/* Vertical scrolling for desktop thumbnails (fits exactly 6 before scrolling) */
@media (min-width: 768px) {
  #product-thumbnails {
    max-height: 640px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    width: 80px !important;
  }
}
@media (max-width: 767.98px) {
  #product-thumbnails {
    max-height: 110px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    width: 100% !important;
  }
  .thumb-wrapper-container {
    width: 100% !important;
  }
  #thumb-scroll-up i::before {
    content: "\f053" !important; /* FontAwesome chevron-left */
  }
  #thumb-scroll-down i::before {
    content: "\f054" !important; /* FontAwesome chevron-right */
  }
}

/* PC large image styling: width exactly 550px, height proportional */
@media (min-width: 768px) {
  .detail-main-preview-wrapper {
    width: 100%!important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    flex-grow: 0 !important;
  }
  .detail-main-preview-wrapper .main-img-container {
    height: auto !important;
    max-height: none !important;
  }
  .detail-main-preview-wrapper #main-preview-img {
    max-width: 450px;
    height: auto !important;
    max-height: none !important;
  }
}

/* Custom Lightbox Modal Styles */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2050; /* overlay above everything, even sticky header */
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  animation: fadeIn 0.2s ease-in-out;
}
.lightbox-content {
  max-width: 85%;
  max-height: 85%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  animation: zoomIn 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}
.lightbox-close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 45px;
  font-weight: 300;
  cursor: pointer;
  z-index: 2060;
  transition: color 0.2s;
  line-height: 1;
}
.lightbox-close-btn:hover {
  color: #fff;
}
.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: background-color 0.2s, transform 0.2s;
  z-index: 2060;
}
.lightbox-nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.25);
}
.lightbox-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}
.lightbox-prev {
  left: 30px;
}
.lightbox-next {
  right: 30px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes zoomIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Responsive navigation buttons layout on small mobile screens */
@media (max-width: 575.98px) {
  .lightbox-prev {
    left: 10px;
  }
  .lightbox-next {
    right: 10px;
  }
  .lightbox-nav-btn {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }
  .lightbox-close-btn {
    top: 15px;
    right: 20px;
    font-size: 38px;
  }
}

/* Custom Login Page Styling */
.login-page {
  font-family: 'Open Sans', 'Outfit', sans-serif;
}

.login-image-wrapper {
  transition: transform 0.3s ease;
}
.login-image-wrapper:hover {
  transform: scale(1.01);
}

.tab-capsule {
  display: flex;
  background-color: #f1f3f5;
  border: 1px solid #dee2e6;
  border-radius: 50px;
  padding: 4px;
  width: 100%;
}

.tab-capsule .tab-btn {
  flex: 1;
  border: none;
  background: none;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 50px;
  color: #6c757d;
  transition: all 0.25s ease-in-out;
}

.tab-capsule .tab-btn.active {
  background-color: #dc3545; /* Red color matching LEWU theme */
  color: #ffffff;
  box-shadow: 0 4px 6px rgba(220, 53, 69, 0.2);
}

.custom-input {
  background-color: #f8f9fa !important;
  border: 1px solid #ced4da !important;
  border-radius: 8px !important;
  padding: 11px 16px !important;
  font-size: 0.85rem !important;
  color: #212529 !important;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out !important;
}

.custom-input:focus {
  border-color: #5c5c66 !important;
  box-shadow: 0 0 0 3px rgba(92, 92, 102, 0.15) !important;
  background-color: #ffffff !important;
}

.password-input-container {
  display: block;
}

.password-toggle-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  padding: 0;
  border: none;
  background: none;
  text-decoration: none;
  font-size: 1rem;
}

.password-toggle-btn:hover, .password-toggle-btn:focus {
  color: #212529;
  text-decoration: none;
  box-shadow: none;
}

.btn-dark-pill {
  background-color: #5c5c66;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: all 0.2s ease-in-out;
}

.btn-dark-pill:hover {
  background-color: #484850;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.fs-8 {
  font-size: 0.75rem !important;
}