/* ==================== PAGE BANNER ==================== */

.page-banner {
  position: relative;
  width: 100%;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 20px 60px;
  background-color: #000;
}

.page-banner-bg {
  position: absolute;
  inset: 0;
  background: url('img/header_bg/photo_11_2026-06-08_11-54-42.jpg') center/cover no-repeat;
  opacity: 0.3;
  z-index: 1;
}

.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8));
  z-index: 2;
}

.page-banner-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  max-width: 800px;
}

.page-banner-content h1 {
  font-size: clamp(36px, 7vw, 60px);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 15px;
  letter-spacing: 3px;
}

.page-banner-content p {
  color: #fff;
  font-size: clamp(14px, 2.5vw, 18px);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.8;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  color: #ccc;
}

.breadcrumb a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: #ccc;
}

.breadcrumb span {
  color: #fff;
  opacity: 0.7;
}

/* ==================== NAV ACTIVE ==================== */
.nav-list a.active {
  color: #ff0000;
}

.nav-list a.active::after {
  width: 100%;
}

/* ==================== CONTACT BUTTON (HEADER) — FIXED ==================== */
.nav-list li a.btn-contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 22px;
  background: #ff0000;
  border: none;
  color: #fff;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: all 0.3s ease;
  line-height: 1;
}

.nav-list li a.btn-contact-link::after {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

.nav-list li a.btn-contact-link:hover {
  background: #cc0000;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  color: #fff;
}

.nav-list li a.btn-contact-link.active {
  background: #ff0000;
  color: #fff;
}

/* ==================== TOOLBAR ==================== */
.products-toolbar-section {
  background-color: #050505;
  padding: 25px 5%;
  border-bottom: 1px solid #222;
  position: sticky;
  top: 82px;
  z-index: 100;
}

.toolbar-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 20px;
  align-items: center;
}

.search-box {
  position: relative;
  width: 100%;
}

.search-box input {
  width: 100%;
  padding: 12px 45px 12px 18px;
  background: #111;
  border: 1px solid #333;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: all 0.3s ease;
}

.search-box input:focus {
  border-color: #666;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

.search-box input::placeholder {
  color: #666;
}

.search-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  font-size: 16px;
  pointer-events: none;
}

.filter-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 22px;
  background: transparent;
  border: 1px solid #333;
  color: #ccc;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 50px;
  font-family: inherit;
}

.filter-btn:hover {
  border-color: #666;
  color: #fff;
  transform: translateY(-2px);
}

.filter-btn.active {
  background: #ff0000;
  border-color: #ff0000;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.toolbar-right {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
}

.sort-select {
  padding: 10px 15px;
  background: #111;
  border: 1px solid #333;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  outline: none;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.sort-select:hover,
.sort-select:focus {
  border-color: #666;
}

.view-toggle {
  display: flex;
  gap: 5px;
}

.view-btn {
  width: 42px;
  height: 42px;
  background: #111;
  border: 1px solid #333;
  color: #ccc;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.view-btn:hover {
  border-color: #666;
  color: #fff;
}

.view-btn.active {
  background: #222;
  border-color: #555;
  color: #fff;
}

/* ==================== CATALOG ==================== */
.products-catalog {
  padding: 40px 5% 80px;
  background: #000;
  min-height: 60vh;
}

.products-count {
  max-width: 1400px;
  margin: 0 auto 30px;
  color: #ccc;
  font-size: 14px;
}

.products-count span {
  color: #fff;
  font-weight: bold;
  font-size: 18px;
}

.products-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 28px;
}

/* ==================== PRODUCT CARD ==================== */
.product-item {
  background: #111;
  border: 1px solid #222;
  display: flex;
  flex-direction: column;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.product-item:hover {
  border-color: #444;
  transform: translateY(-8px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.5);
}

.product-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #000;
}

.main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
  cursor: pointer;
}

.product-item:hover .main-image {
  transform: scale(1.04);
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  background: #ff0000;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 3;
  border-radius: 4px;
}

.product-badge.hot {
  background: #ff6a00;
}

.product-badge.featured {
  background: #00994d;
}

.product-actions {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 3;
  opacity: 0;
  transform: translateX(16px);
  transition: all 0.35s ease;
}

.product-item:hover .product-actions {
  opacity: 1;
  transform: translateX(0);
}

.action-btn {
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid #333;
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.action-btn:hover {
  background: #222;
  border-color: #666;
  transform: scale(1.08);
}

.product-thumbnails {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.92));
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(18px);
  transition: all 0.35s ease;
  z-index: 3;
}

.product-item:hover .product-thumbnails {
  opacity: 1;
  transform: translateY(0);
}

.product-thumbnails img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  opacity: 0.65;
  background: #111;
}

.product-thumbnails img.active,
.product-thumbnails img:hover {
  border-color: #fff;
  opacity: 1;
  transform: scale(1.05);
}

.product-details {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category {
  display: inline-block;
  color: #999;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 8px;
}

.product-details h3 {
  color: #fff;
  font-size: 17px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.product-item:hover .product-details h3 {
  color: #fff;
}

.product-specs {
  margin-bottom: 16px;
  flex: 1;
}

.product-specs p {
  color: #ccc;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid #222;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.product-specs span {
  color: #fff;
  font-weight: 600;
}

.product-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid #222;
}

.btn-view-details {
  padding: 10px 18px;
  background: transparent;
  border: 1px solid #444;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 50px;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-view-details:hover {
  background: #ff0000;
  border-color: #ff0000;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
}

/* ==================== LIST VIEW ==================== */
.products-grid.list-view {
  grid-template-columns: 1fr;
  max-width: 1200px;
}

.products-grid.list-view .product-item {
  flex-direction: row;
  max-height: 320px;
}

.products-grid.list-view .product-image-wrapper {
  width: 300px;
  min-width: 300px;
  aspect-ratio: auto;
  height: 100%;
}

.products-grid.list-view .product-details {
  padding: 24px 28px;
}

.products-grid.list-view .product-details h3 {
  font-size: 22px;
}

.products-grid.list-view .product-specs {
  max-width: 480px;
}

/* ==================== NO RESULTS ==================== */
.no-results {
  text-align: center;
  padding: 80px 20px;
  color: #fff;
  max-width: 500px;
  margin: 0 auto;
}

.no-results-icon {
  font-size: 70px;
  margin-bottom: 20px;
  opacity: 0.5;
}

.no-results h3 {
  color: #fff;
  font-size: 24px;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.no-results p {
  color: #ccc;
  font-size: 15px;
}

/* ==================== LIGHTBOX ==================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.active {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  background: #222;
  border-color: #fff;
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 55px;
  height: 55px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.08);
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.lightbox-image-wrapper {
  max-width: 100%;
  max-height: 70vh;
  overflow: hidden;
  background: #000;
  border: 1px solid #333;
}

.lightbox-image-wrapper img {
  max-width: 100%;
  max-height: 70vh;
  display: block;
}

.lightbox-info {
  text-align: center;
  color: #fff;
}

.lightbox-info h3 {
  font-size: 22px;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.lightbox-info p {
  color: #ccc;
  font-size: 14px;
  font-weight: 600;
}

.lightbox-thumbs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.lightbox-thumbs img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.55;
  transition: all 0.25s ease;
}

.lightbox-thumbs img.active,
.lightbox-thumbs img:hover {
  border-color: #fff;
  opacity: 1;
  transform: scale(1.05);
}

/* ==================== QUICK VIEW ==================== */
.quick-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.quick-modal.active {
  display: flex;
}

.quick-modal-content {
  background: #111;
  border: 1px solid #333;
  max-width: 980px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
}

.quick-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 42px;
  height: 42px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid #444;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quick-modal-close:hover {
  background: #222;
  border-color: #666;
  transform: rotate(90deg);
}

.quick-modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 30px;
}

.quick-modal-gallery img#quickMainImage {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid #333;
  display: block;
  margin-bottom: 15px;
}

.quick-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.quick-thumbs img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.65;
  transition: all 0.25s ease;
}

.quick-thumbs img.active,
.quick-thumbs img:hover {
  border-color: #fff;
  opacity: 1;
}

.quick-modal-info {
  color: #fff;
}

.quick-modal-info h2 {
  font-size: 28px;
  margin: 10px 0 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.quick-description {
  color: #ccc;
  line-height: 1.7;
  margin-bottom: 20px;
}

.quick-specs {
  margin: 20px 0;
  padding: 20px;
  background: #050505;
  border-left: 3px solid #444;
}

.quick-specs p {
  color: #ccc;
  padding: 8px 0;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #222;
}

.quick-specs p:last-child {
  border-bottom: none;
}

.quick-specs span {
  color: #fff;
  font-weight: 600;
}

.quick-actions {
  display: flex;
  gap: 10px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.quick-actions a {
  flex: 1;
  min-width: 160px;
  padding: 12px 18px;
  border-radius: 50px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
}

.btn-main {
  background: #ff0000;
  border: 1px solid #ff0000;
  color: #fff;
}

.btn-main:hover {
  background: #cc0000;
  border-color: #cc0000;
}

.btn-secondary {
  background: transparent;
  border: 1px solid #444;
  color: #fff;
}

.btn-secondary:hover {
  background: #222;
  border-color: #666;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
  .toolbar-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .filter-buttons {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 5px;
  }

  .toolbar-right {
    justify-content: space-between;
  }

  .products-toolbar-section {
    position: relative;
    top: 0;
  }

  .products-grid.list-view .product-item {
    flex-direction: column;
    max-height: none;
  }

  .products-grid.list-view .product-image-wrapper {
    width: 100%;
    min-width: 100%;
    aspect-ratio: 1 / 1;
  }

  .quick-modal-body {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .page-banner {
    min-height: 30vh;
    padding: 60px 20px 40px;
  }

  .products-catalog {
    padding: 30px 5% 60px;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 12px;
  }

  .product-details {
    padding: 15px;
  }

  .product-details h3 {
    font-size: 15px;
  }

  .btn-view-details {
    padding: 8px 14px;
    font-size: 11px;
  }

  .lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 28px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-close {
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .lightbox-thumbs img {
    width: 55px;
    height: 55px;
  }

  .quick-modal-info h2 {
    font-size: 22px;
  }

  .product-thumbnails,
  .product-actions {
    opacity: 1;
    transform: none;
  }

  .nav-list li a.btn-contact-link {
    padding: 8px 18px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .toolbar-right {
    flex-wrap: wrap;
    gap: 10px;
  }

  .sort-select {
    flex: 1;
  }

  .product-thumbnails img {
    width: 34px;
    height: 34px;
  }

  .lightbox-info h3 {
    font-size: 16px;
  }

  .quick-actions a {
    min-width: 100%;
  }
}

/* ==================== HIDE SCROLLBAR ==================== */
html,
body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.quick-modal::-webkit-scrollbar,
.quick-modal-content::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.quick-modal,
.quick-modal-content {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
