/* =============================================================
   TEMPLATE 2 PRODUCT SECTION - t2-products.css
   All classes prefixed with "t2-" to avoid conflicts
   HIGH SPECIFICITY VERSION - Overrides style.css
   ============================================================= */

/* ===== FIX: Push Navbar to Right ===== */
/* .header .navbar .container {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

#mainNavigation {
  flex-grow: 0 !important;
}

#mainNavigation .navbar-nav {
  margin-left: auto !important;
} */

/* --- Section Container --- */
section.t2-products-section,
.t2-products-section {
  padding: 80px 0 60px !important;
  background-color: #f8f9fa !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* ══════════════════════════════════════
   ★★★ LAYOUT: Sidebar LEFT + Main RIGHT ★★★
   ══════════════════════════════════════ */
.t2-products-layout {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 30px !important;
  align-items: flex-start !important;
  padding: 60px 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* ══════════════════════════════════════
   ★★★ SIDEBAR - FIXED LEFT POSITION ★★★
   ══════════════════════════════════════ */
.t2-sidebar,
aside.t2-sidebar,
div.t2-sidebar {
  width: 280px !important;
  min-width: 280px !important;
  max-width: 280px !important;
  flex: 0 0 280px !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  position: sticky !important;
  top: 100px !important;
  max-height: calc(100vh - 120px) !important;
  order: 1 !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.t2-sidebar-widget,
.t2-sidebar .t2-sidebar-widget {
  background: #fff !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06) !important;
  margin-bottom: 24px !important;
  border: 1px solid rgba(0, 0, 0, 0.04) !important;
  display: flex !important;
  flex-direction: column !important;
  max-height: calc(100vh - 140px) !important;
  position: relative !important;
  overflow: hidden !important;
}

.t2-sidebar-title-bar,
.t2-sidebar .t2-sidebar-title-bar {
  background: linear-gradient(135deg, #0f2027, #2c5364) !important;
  padding: 18px 22px !important;
  flex-shrink: 0 !important;
  position: relative !important;
  z-index: 3 !important;
}

.t2-sidebar-title,
.t2-sidebar .t2-sidebar-title {
  color: #fff !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  margin: 0 !important;
  letter-spacing: 0.5px !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
}

/* ══════════════════════════════════════
   CATEGORY LIST
   ══════════════════════════════════════ */
.t2-category-list,
ul.t2-category-list,
.t2-sidebar .t2-category-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 1 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scroll-behavior: smooth !important;
  scrollbar-width: thin !important;
  scrollbar-color: #0072ff #f0f0f0 !important;
}

.t2-category-list ul,
.t2-sidebar .t2-category-list ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Custom scrollbar */
.t2-category-list::-webkit-scrollbar {
  width: 6px !important;
}

.t2-category-list::-webkit-scrollbar-track {
  background: #f0f0f0 !important;
  border-radius: 3px !important;
}

.t2-category-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00c6ff, #0072ff) !important;
  border-radius: 3px !important;
}

.t2-category-list::-webkit-scrollbar-thumb:hover {
  background: #0072ff !important;
}

.t2-cat-item,
.t2-category-list .t2-cat-item,
li.t2-cat-item {
  position: relative !important;
  border-bottom: 1px solid #f0f2f5 !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.t2-cat-item:last-child {
  border-bottom: none !important;
}

.t2-cat-item>a,
.t2-category-list .t2-cat-item>a {
  display: block !important;
  padding: 13px 22px !important;
  color: #333 !important;
  font-weight: 600 !important;
  font-size: 0.92rem !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  line-height: 1.4 !important;
  background: transparent !important;
  border: none !important;
}

.t2-cat-item>a:hover,
.t2-cat-item.active>a {
  color: #0072ff !important;
  background: rgba(0, 114, 255, 0.04) !important;
  padding-left: 28px !important;
}

.t2-cat-item.active>a::before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 4px !important;
  background: linear-gradient(180deg, #00c6ff, #0072ff) !important;
  border-radius: 0 4px 4px 0 !important;
}

.t2-cat-item.t2-cat-active>a,
.t2-cat-item.t2-cat-current>a {
  color: #0072ff !important;
  font-weight: 600 !important;
  background: rgba(0, 114, 255, 0.04) !important;
}

/* Arrow Toggle */
.t2-cat-arrow,
.t2-cat-item .t2-cat-arrow {
  position: absolute !important;
  right: 16px !important;
  top: 12px !important;
  width: 28px !important;
  height: 28px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 6px !important;
  z-index: 2 !important;
  transition: background 0.3s ease !important;
  background: transparent !important;
  border: none !important;
}

.t2-cat-arrow:hover {
  background: rgba(0, 114, 255, 0.08) !important;
}

.t2-cat-arrow::after {
  content: '\f107' !important;
  font-family: 'Font Awesome 5 Free' !important;
  font-weight: 900 !important;
  font-size: 0.8rem !important;
  color: #666 !important;
  transition: transform 0.3s ease !important;
}

.t2-cat-toggle:checked~.t2-cat-arrow::after {
  transform: rotate(180deg) !important;
  color: #0072ff !important;
}

/* Submenu */
.t2-has-children {
  position: relative !important;
}

.t2-cat-submenu,
ul.t2-cat-submenu,
.t2-cat-item .t2-cat-submenu {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  transition: max-height 0.4s ease !important;
  background: #fafbfd !important;
}

.t2-cat-toggle:checked~.t2-cat-submenu {
  max-height: 1000px !important;
}

.t2-cat-submenu>li {
  position: relative !important;
  border-bottom: 1px solid #eee !important;
  list-style: none !important;
}

.t2-cat-submenu>li:last-child {
  border-bottom: none !important;
}

.t2-cat-submenu li a {
  display: block !important;
  padding: 10px 22px 10px 38px !important;
  color: #555 !important;
  font-size: 0.87rem !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  position: relative !important;
}

.t2-cat-submenu li a::before {
  content: '' !important;
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #ccc !important;
  position: absolute !important;
  left: 22px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  transition: background 0.3s ease !important;
}

.t2-cat-submenu li a:hover {
  color: #0072ff !important;
  background: rgba(0, 114, 255, 0.03) !important;
}

.t2-cat-submenu li a:hover::before {
  background: #0072ff !important;
}

.t2-cat-submenu>li.t2-cat-active>a,
.t2-cat-submenu>li.t2-cat-current>a {
  color: #0072ff !important;
  font-weight: 600 !important;
}

/* Deeper nesting */
.t2-cat-submenu .t2-cat-submenu li a {
  padding-left: 52px !important;
}

.t2-cat-submenu .t2-cat-submenu li a::before {
  left: 38px !important;
  border-radius: 2px !important;
  width: 8px !important;
  height: 2px !important;
}

.t2-cat-submenu .t2-has-children>.t2-cat-arrow {
  height: 40px !important;
}

/* :has() support */
.t2-cat-item:has(.t2-cat-toggle:checked)>a {
  color: #0072ff !important;
  font-weight: 600 !important;
}

.t2-cat-submenu .t2-has-children:has(.t2-cat-toggle:checked)>a {
  color: #0072ff !important;
  font-weight: 500 !important;
}

/* Count Badge */
.t2-cat-count {
  float: right !important;
  font-size: 11px !important;
  color: #999 !important;
  background: #f0f0f0 !important;
  padding: 1px 8px !important;
  border-radius: 10px !important;
  margin-right: 5px !important;
  line-height: 1.6 !important;
}

/* ══════════════════════════════════════
   FEATURED PRODUCTS
   ══════════════════════════════════════ */
.t2-featured-products {
  padding: 16px 22px 22px !important;
}

.t2-featured-item {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid #f0f2f5 !important;
}

.t2-featured-item:last-child {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.t2-featured-img {
  display: block !important;
  width: 60px !important;
  min-width: 60px !important;
  height: 60px !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  background: #f5f7fb !important;
  border: 1px solid #eee !important;
}

.t2-featured-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.3s ease !important;
}

.t2-featured-img:hover img {
  transform: scale(1.08) !important;
}

.t2-featured-name {
  margin: 0 !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
}

.t2-featured-name a {
  color: #333 !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}

.t2-featured-name a:hover {
  color: #0072ff !important;
}

/* Sidebar Banners */
.t2-sidebar-banner {
  margin-bottom: 20px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
}

.t2-sidebar-banner img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  transition: transform 0.3s ease !important;
}

.t2-sidebar-banner:hover img {
  transform: scale(1.03) !important;
}

/* ══════════════════════════════════════
   ★★★ MAIN CONTENT - FULL WIDTH RIGHT ★★★
   ══════════════════════════════════════ */
.t2-main-content,
div.t2-main-content,
main.t2-main-content {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: calc(100% - 310px) !important;
  max-width: none !important;
  order: 2 !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.t2-page-header,
.t2-main-content .t2-page-header {
  margin-bottom: 32px !important;
  padding-bottom: 20px !important;
  border-bottom: 2px solid #f0f2f5 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
}

.t2-page-title,
.t2-main-content .t2-page-title,
h1.t2-page-title,
h2.t2-page-title {
  font-size: 1.8rem !important;
  font-weight: 800 !important;
  color: #1a1a2e !important;
  margin: 0 !important;
  position: relative !important;
  padding: 0 0 0 18px !important;
  border: none !important;
  background: none !important;
}

.t2-page-title::before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  top: 4px !important;
  bottom: 4px !important;
  width: 5px !important;
  border-radius: 3px !important;
  background: linear-gradient(180deg, #00c6ff, #0072ff) !important;
}

.t2-result-count {
  color: #6c757d !important;
  font-size: 0.9rem !important;
}

/* ══════════════════════════════════════
   PRODUCT GRID
   ══════════════════════════════════════ */
.t2-product-grid,
.t2-main-content .t2-product-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  width: 100% !important;
}

.t2-product-card {
  background: #fff !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.t2-product-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12) !important;
}

.t2-product-figure {
  margin: 0 !important;
}

.t2-product-img-wrap {
  position: relative !important;
  overflow: hidden !important;
  aspect-ratio: 1 / 1 !important;
  background: #f5f5f5 !important;
}

.t2-product-img-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.4s ease !important;
}

.t2-product-card:hover .t2-product-img-wrap img {
  transform: scale(1.08) !important;
}

.t2-product-info {
  padding: 16px !important;
}

.t2-product-name {
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  margin: 0 0 8px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 40px !important;
}

.t2-product-name a {
  color: #333 !important;
  text-decoration: none !important;
  transition: color 0.25s ease !important;
}

.t2-product-name a:hover {
  color: #0072ff !important;
}

.t2-product-desc {
  font-size: 13px !important;
  color: #777 !important;
  line-height: 1.5 !important;
  margin: 0 0 14px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 58px !important;
}

.t2-product-actions {
  display: flex !important;
  gap: 8px !important;
}

.t2-btn-inquiry,
.t2-btn-detail {
  flex: 1 !important;
  display: inline-block !important;
  padding: 8px 12px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-align: center !important;
  text-decoration: none !important;
  border-radius: 5px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease !important;
}

.t2-btn-inquiry {
  background: #47a145 !important;
  color: #fff !important;
}

.t2-btn-inquiry:hover {
  background: #3d8b3b !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
}

.t2-btn-detail {
  background: #f0f0f0 !important;
  color: #333 !important;
}

.t2-btn-detail:hover {
  background: #e0e0e0 !important;
  color: #111 !important;
  transform: translateY(-1px) !important;
}

/* ══════════════════════════════════════
   PAGINATION
   ══════════════════════════════════════ */
.t2-pagination {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin-top: 40px !important;
  padding: 20px 0 !important;
  width: 100% !important;
}

.t2-page-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 38px !important;
  height: 38px !important;
  padding: 0 12px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #555 !important;
  background: #fff !important;
  border: 1px solid #ddd !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
}

.t2-page-link:hover {
  background: #47a145 !important;
  color: #fff !important;
  border-color: #47a145 !important;
}

.t2-page-active {
  background: #47a145 !important;
  color: #fff !important;
  border-color: #47a145 !important;
  pointer-events: none !important;
}

.t2-page-info {
  font-size: 14px !important;
  color: #888 !important;
  margin-left: 10px !important;
}

/* ══════════════════════════════════════
   PAGE TITLE MODERN (Hero Banner)
   ══════════════════════════════════════ */
.page-title-modern {
  background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%) !important;
  position: relative !important;
  overflow: hidden !important;
  padding: 100px 0 !important;
}

.page-title-modern::before {
  content: '' !important;
  position: absolute !important;
  top: -50% !important;
  left: -50% !important;
  width: 200% !important;
  height: 200% !important;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px) !important;
  background-size: 30px 30px !important;
  animation: floatDots 20s linear infinite !important;
}

@keyframes floatDots {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(30px, 30px);
  }
}

.page-title-modern h2 {
  color: #fff !important;
  font-size: 3rem !important;
  font-weight: 800 !important;
  letter-spacing: 1px !important;
  position: relative !important;
  display: inline-block !important;
}

.page-title-modern h2::after {
  content: '' !important;
  display: block !important;
  width: 60px !important;
  height: 4px !important;
  border-radius: 2px !important;
  background: linear-gradient(90deg, #00c6ff, #0072ff) !important;
  margin: 14px auto 0 !important;
}

.page-title-modern .breadcrumb-text {
  color: rgba(255, 255, 255, 0.65) !important;
  font-size: 1rem !important;
  margin-top: 10px !important;
  position: relative !important;
}

/* ══════════════════════════════════════════════════════
   ★★★ FULL-WIDTH PRODUCT LIST ITEMS ★★★
   ══════════════════════════════════════════════════════ */
.t2-product-list,
.t2-main-content .t2-product-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 28px !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

.t2-product-item-wrapper,
.t2-product-list .t2-product-item-wrapper {
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.06) !important;
  border: 1px solid rgba(0, 0, 0, 0.04) !important;
  transition: transform 0.35s ease, box-shadow 0.35s ease !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.t2-product-item-wrapper:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.1) !important;
}

.t2-product-item-wrapper[id] {
  scroll-margin-top: 120px !important;
}

/* ══════════════════════════════════════════════════════
   ★★★ PRODUCT ROW CARD - HORIZONTAL LAYOUT ★★★
   ══════════════════════════════════════════════════════ */
.t2-product-item,
.t2-product-item-wrapper .t2-product-item,
article.t2-product-item,
div.t2-product-item {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  background: #fff !important;
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.t2-product-item::before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 4px !important;
  background: linear-gradient(180deg, #00c6ff, #0072ff) !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
  z-index: 2 !important;
}

.t2-product-item-wrapper:hover .t2-product-item::before {
  opacity: 1 !important;
}

/* ══════════════════════════════════════════════════════
   ★★★ PRODUCT IMAGE — FIXED WIDTH LEFT SIDE ★★★
   ══════════════════════════════════════════════════════ */
.t2-product-img,
.t2-product-item .t2-product-img,
div.t2-product-img {
  position: relative !important;
  overflow: hidden !important;
  background: #ffffff !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  box-sizing: border-box !important;
}


/* ★ Image fills container */
.t2-product-img>img,
.t2-product-img img {
  /* position: absolute !important; */
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  border: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: transform 0.5s ease !important;
  background: #ffffff !important;
}

.t2-product-item-wrapper:hover .t2-product-img>img,
.t2-product-item-wrapper:hover .t2-product-img img {
  transform: scale(1.06) !important;
}

/* Badge */
.t2-product-badge {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  background: linear-gradient(135deg, #0072ff, #00c6ff) !important;
  color: #fff !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  padding: 5px 14px !important;
  border-radius: 20px !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  z-index: 5 !important;
}

.t2-product-badge.badge-green {
  background: linear-gradient(135deg, #43e97b, #38f9d7) !important;
}

.t2-product-badge.badge-orange {
  background: linear-gradient(135deg, #f7971e, #ffd200) !important;
}

.t2-product-badge.badge-red {
  background: linear-gradient(135deg, #f857a6, #ff5858) !important;
}

/* ══════════════════════════════════════════════════════
   IMAGE ZOOM TRIGGER OVERLAY
   ══════════════════════════════════════════════════════ */
.t2-img-zoom-trigger {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(0, 0, 0, 0) !important;
  color: rgba(255, 255, 255, 0) !important;
  font-size: 32px !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  z-index: 4 !important;
}

.t2-product-img:hover .t2-img-zoom-trigger {
  background: rgba(0, 0, 0, 0.4) !important;
  color: rgba(255, 255, 255, 1) !important;
}

.t2-img-zoom-trigger i {
  transform: scale(0.5) !important;
  transition: transform 0.3s ease !important;
}

.t2-product-img:hover .t2-img-zoom-trigger i {
  transform: scale(1) !important;
}

/* ══════════════════════════════════════════════════════
   ★★★ PRODUCT DETAILS - FULL WIDTH RIGHT SIDE ★★★
   ══════════════════════════════════════════════════════ */
.t2-product-details,
.t2-product-item .t2-product-details,
div.t2-product-details {
  flex: 1 1 auto !important;
  padding: 28px 36px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: none !important;
  box-sizing: border-box !important;
}

.t2-product-category {
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.2px !important;
  color: #0072ff !important;
 /* color: #002161 !important; */
  margin-bottom: 6px !important;
}

.t2-product-heading,
h3.t2-product-heading,
h2.t2-product-heading {
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  color: #1a1a2e !important;
  margin: 0 0 12px !important;
  line-height: 1.3 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
}

.t2-product-heading a {
  color: inherit !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}

.t2-product-heading a:hover {
  color: #0072ff !important;
}

.t2-product-description,
.t2-product-details .t2-product-description,
p.t2-product-description {
  color: #6c757d !important;
  font-size: 0.95rem !important;
  line-height: 1.7 !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* Spec Row */
.t2-spec-row,
.t2-product-details .t2-spec-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px 28px !important;
  margin-bottom: 18px !important;
  width: 100% !important;
  padding: 0 !important;
}

.t2-spec-item {
  display: inline-flex !important;
  align-items: flex-start !important;
  gap: 7px !important;
  font-size: 0.85rem !important;
  color: #495057 !important;
  line-height: 1.4 !important;
}

.t2-spec-item i {
  color: #0072ff !important;
  font-size: 0.72rem !important;
  margin-top: 3px !important;
  flex-shrink: 0 !important;
}

.t2-spec-item strong {
  color: #1a1a2e !important;
  font-weight: 700 !important;
  margin-right: 3px !important;
}

/* Meta Tags */
.t2-product-meta {
  display: flex !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  margin-bottom: 20px !important;
}

.t2-meta-tag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #f0f4ff !important;
  color: #0072ff !important;
  font-size: 0.76rem !important;
  font-weight: 600 !important;
  padding: 5px 12px !important;
  border-radius: 8px !important;
}

.t2-meta-tag i {
  font-size: 0.7rem !important;
}

/* Action Buttons */
.t2-product-actions-row {
  display: flex !important;
  gap: 14px !important;
  align-items: center !important;
  flex-wrap: wrap !important;
}

.t2-btn-view,
a.t2-btn-view {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: linear-gradient(135deg, #0072ff, #00c6ff) !important;
  color: #fff !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  padding: 12px 28px !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  border: none !important;
}

.t2-btn-view:hover,
a.t2-btn-view:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(0, 114, 255, 0.3) !important;
  color: #fff !important;
}

.t2-btn-inquiry-outline,
a.t2-btn-inquiry-outline {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: transparent !important;
  color: #0072ff !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  padding: 11px 28px !important;
  border-radius: 10px !important;
  border: 2px solid #0072ff !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
}

.t2-btn-inquiry-outline:hover,
a.t2-btn-inquiry-outline:hover {
  background: #0072ff !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
}

.t2-btn-inquiry-full,
a.t2-btn-inquiry-full {
  display: block !important;
  width: 100% !important;
  padding: 10px 20px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-align: center !important;
  text-decoration: none !important;
  border-radius: 5px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  background: #47a145 !important;
  color: #fff !important;
  border: 2px solid #47a145 !important;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease !important;
}

.t2-btn-inquiry-full:hover,
a.t2-btn-inquiry-full:hover {
  background: #fff !important;
  color: #47a145 !important;
  transform: translateY(-1px) !important;
}

.t2-btn-inquiry-full i {
  margin-right: 6px !important;
}

/* ══════════════════════════════════════════════════════
   CSS-ONLY LIGHTBOX
   ══════════════════════════════════════════════════════ */
.t2-lightbox {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0, 0, 0, 0.85) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 9999 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

.t2-lightbox:target {
  opacity: 1 !important;
  visibility: visible !important;
}

.t2-lightbox-close {
  position: absolute !important;
  top: 20px !important;
  right: 30px !important;
  font-size: 48px !important;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 300 !important;
  line-height: 1 !important;
  z-index: 10000 !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
}

.t2-lightbox-close:hover {
  color: #47a145 !important;
  transform: scale(1.2) !important;
}

.t2-lightbox-content {
  max-width: 80vw !important;
  max-height: 80vh !important;
  text-align: center !important;
  animation: t2-lightbox-zoom 0.3s ease !important;
}

.t2-lightbox-content img {
  max-width: 100% !important;
  max-height: 75vh !important;
  object-fit: contain !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5) !important;
}

.t2-lightbox-caption {
  color: #ccc !important;
  font-size: 14px !important;
  margin-top: 12px !important;
  font-weight: 400 !important;
}

@keyframes t2-lightbox-zoom {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ══════════════════════════════════════════════════════
   SIDEBAR SCROLL SPY HIGHLIGHT
   ══════════════════════════════════════════════════════ */
.t2-cat-submenu li a.t2-scroll-active {
  color: #fff !important;
  background: #47a145 !important;
  border-radius: 4px !important;
  padding-left: 12px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.t2-cat-submenu li a.t2-scroll-active::before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 3px !important;
  height: 70% !important;
  background: #ffc107 !important;
  border-radius: 2px !important;
}

.t2-cat-submenu>li.t2-has-children.t2-parent-active>a {
  color: #0056b3 !important;
  font-weight: 700 !important;
}

/* ══════════════════════════════════════════════════════
   SMOOTH SCROLL
   ══════════════════════════════════════════════════════ */
html {
  scroll-behavior: smooth !important;
}

/* ══════════════════════════════════════════════════════
   HOVER SCROLL ARROWS FOR SIDEBAR
   ══════════════════════════════════════════════════════ */
.t2-sidebar-scroll-up,
.t2-sidebar-scroll-down {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 45px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92)) !important;
  cursor: pointer !important;
  z-index: 10 !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease, background 0.2s ease !important;
  pointer-events: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.t2-sidebar-scroll-up {
  top: 60px !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.t2-sidebar-scroll-down {
  bottom: 0 !important;
  border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92)) !important;
}

.t2-sidebar-widget:hover .t2-sidebar-scroll-up,
.t2-sidebar-widget:hover .t2-sidebar-scroll-down {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.t2-category-list.t2-scroll-at-top~.t2-sidebar-scroll-up {
  opacity: 0 !important;
  pointer-events: none !important;
}

.t2-category-list.t2-scroll-at-bottom~.t2-sidebar-scroll-down {
  opacity: 0 !important;
  pointer-events: none !important;
}

.t2-sidebar-scroll-up:hover,
.t2-sidebar-scroll-down:hover {
  background: linear-gradient(180deg, #e8f4ff, #dceeff) !important;
}

.t2-sidebar-scroll-up i,
.t2-sidebar-scroll-down i {
  color: #0072ff !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  animation: t2-pulse 1.5s ease-in-out infinite !important;
}

.t2-sidebar-scroll-down i {
  animation: t2-pulse-down 1.5s ease-in-out infinite !important;
}

@keyframes t2-pulse {

  0%,
  100% {
    transform: translateY(0);
    opacity: 0.7;
  }

  50% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

@keyframes t2-pulse-down {

  0%,
  100% {
    transform: translateY(0);
    opacity: 0.7;
  }

  50% {
    transform: translateY(3px);
    opacity: 1;
  }
}

.t2-sidebar-scroll-up:active,
.t2-sidebar-scroll-down:active {
  background: linear-gradient(180deg, #d0e7ff, #c0dcff) !important;
}

.t2-sidebar-scroll-up:active i,
.t2-sidebar-scroll-down:active i {
  transform: scale(0.95) !important;
}

/* ══════════════════════════════════════════════════════
   ★★★ RESPONSIVE — FULLY CONSOLIDATED ★★★
   ══════════════════════════════════════════════════════ */

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {

  .t2-product-img,
  .t2-product-item .t2-product-img {
    width: 380px !important;
    min-width: 380px !important;
    max-width: 380px !important;
    flex: 0 0 380px !important;
    min-height: 320px !important;
    background: #ffffff !important;
  }

  .t2-product-details {
    padding: 32px 48px !important;
  }

  .t2-product-heading {
    font-size: 1.5rem !important;
  }

  .t2-main-content {
    width: calc(100% - 330px) !important;
  }
}

/* Desktop */
@media (max-width: 1399px) and (min-width: 1200px) {
  .t2-sidebar {
    width: 260px !important;
    min-width: 260px !important;
    max-width: 260px !important;
    flex: 0 0 260px !important;
  }

  .t2-product-img,
  .t2-product-item .t2-product-img {
    width: 300px !important;
    min-width: 300px !important;
    max-width: 300px !important;
    flex: 0 0 300px !important;
    background: #ffffff !important;
  }

  .t2-main-content {
    width: calc(100% - 290px) !important;
  }
}

/* Tablet Landscape */
@media (max-width: 1199px) {
  .t2-sidebar {
    width: 250px !important;
    min-width: 250px !important;
    max-width: 250px !important;
    flex: 0 0 250px !important;
  }

  .t2-product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  .t2-product-img,
  .t2-product-item .t2-product-img {
    width: 260px !important;
    min-width: 260px !important;
    max-width: 260px !important;
    flex: 0 0 260px !important;
    min-height: 240px !important;
    background: #ffffff !important;
  }

  .t2-product-details {
    padding: 24px 28px !important;
  }

  .t2-product-heading {
    font-size: 1.2rem !important;
  }

  .t2-products-layout {
    gap: 24px !important;
  }

  .t2-main-content {
    width: calc(100% - 274px) !important;
  }
}

/* Tablet Portrait */
@media (max-width: 991px) {
  .t2-products-section {
    padding: 60px 0 40px !important;
  }

  .t2-products-layout {
    flex-direction: column !important;
    gap: 30px !important;
  }

  /* Sidebar goes to top on tablet/mobile */
  .t2-sidebar,
  aside.t2-sidebar,
  div.t2-sidebar {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    position: relative !important;
    top: 0 !important;
    order: 1 !important;
    max-height: none !important;
  }

  .t2-sidebar-widget {
    max-height: none !important;
  }

  .t2-main-content {
    order: 2 !important;
    width: 100% !important;
  }

  .t2-product-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 18px !important;
  }

  .t2-category-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .t2-cat-item {
    border-right: 1px solid #f0f0f0 !important;
  }

  .t2-cat-item:nth-child(2n) {
    border-right: none !important;
  }

  /* Product item still horizontal but smaller image */
  .t2-product-img,
  .t2-product-item .t2-product-img {
    width: 260px !important;
    min-width: 260px !important;
    max-width: 260px !important;
    flex: 0 0 260px !important;
    min-height: 240px !important;
    background: #ffffff !important;
  }

  .t2-product-details {
    padding: 22px 24px !important;
  }

  /* Hide scroll arrows on mobile */
  .t2-sidebar-scroll-up,
  .t2-sidebar-scroll-down {
    display: none !important;
  }
}

/* Mobile Landscape */
@media (max-width: 767px) {
  .t2-products-section {
    padding: 40px 0 30px !important;
  }

  .t2-products-layout {
    gap: 20px !important;
    padding: 30px 0 !important;
  }

  .t2-product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }

  .t2-page-title {
    font-size: 1.4rem !important;
  }

  .t2-page-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .page-title-modern h2 {
    font-size: 2.2rem !important;
  }

  .t2-product-desc {
    display: none !important;
  }

  .t2-product-info {
    padding: 12px !important;
  }

  .t2-product-name {
    font-size: 13px !important;
    min-height: auto !important;
  }

  .t2-btn-inquiry,
  .t2-btn-detail {
    padding: 6px 8px !important;
    font-size: 11px !important;
  }

  .t2-category-list {
    grid-template-columns: 1fr !important;
  }

  .t2-cat-item {
    border-right: none !important;
  }

  /* ★ Stack product card vertically on mobile */
  .t2-product-item,
  .t2-product-item-wrapper .t2-product-item {
    flex-direction: column !important;
  }

  .t2-product-img,
  .t2-product-item .t2-product-img {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    height: 280px !important;
    min-height: 280px !important;
    background: #ffffff !important;
  }

  .t2-product-details {
    padding: 22px 20px !important;
  }

  .t2-product-heading {
    font-size: 1.15rem !important;
  }

  .t2-product-description {
    font-size: 0.9rem !important;
    -webkit-line-clamp: 2 !important;
  }

  .t2-spec-row {
    flex-direction: column !important;
    gap: 8px !important;
  }

  .t2-product-actions-row {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .t2-btn-view,
  .t2-btn-inquiry-outline {
    width: 100% !important;
    justify-content: center !important;
  }

  .t2-lightbox-content {
    max-width: 95vw !important;
  }

  .t2-lightbox-close {
    top: 10px !important;
    right: 15px !important;
    font-size: 36px !important;
  }

  .t2-lightbox-caption {
    font-size: 12px !important;
  }
}

/* Mobile Portrait */
@media (max-width: 479px) {
  .t2-products-layout {
    padding: 20px 0 !important;
  }

  .t2-product-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .t2-product-card {
    display: flex !important;
    flex-direction: row !important;
  }

  .t2-product-img-wrap {
    width: 120px !important;
    min-width: 120px !important;
    aspect-ratio: 1 / 1 !important;
  }

  .t2-product-figure {
    display: flex !important;
    width: 100% !important;
  }

  .t2-product-info {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 10px 12px !important;
  }

  .t2-product-name {
    -webkit-line-clamp: 3 !important;
    min-height: auto !important;
    margin-bottom: 10px !important;
  }

  .t2-product-actions {
    flex-direction: column !important;
    gap: 5px !important;
  }

  .t2-pagination {
    gap: 4px !important;
  }

  .t2-page-link {
    min-width: 32px !important;
    height: 32px !important;
    font-size: 12px !important;
    padding: 0 8px !important;
  }

  .t2-featured-img {
    width: 55px !important;
    min-width: 55px !important;
    height: 55px !important;
  }

  .t2-product-img,
  .t2-product-item .t2-product-img {
    height: 220px !important;
    min-height: 220px !important;
    background: #ffffff !important;
  }

  .t2-product-details {
    padding: 18px 16px !important;
  }

  .t2-product-heading {
    font-size: 1.05rem !important;
    margin-bottom: 8px !important;
  }

  .t2-product-category {
    font-size: 0.7rem !important;
  }

  .t2-spec-item {
    font-size: 0.8rem !important;
  }

  .t2-btn-view,
  .t2-btn-inquiry-outline {
    padding: 10px 20px !important;
    font-size: 0.82rem !important;
  }

  .t2-meta-tag {
    font-size: 0.7rem !important;
    padding: 4px 10px !important;
  }

  .page-title-modern {
    padding: 60px 0 !important;
  }

  .page-title-modern h2 {
    font-size: 1.8rem !important;
  }
}

/* Extra Small */
@media (max-width: 359px) {

  .t2-product-img,
  .t2-product-item .t2-product-img {
    height: 180px !important;
    min-height: 180px !important;
    background: #ffffff !important;
  }

  .t2-product-details {
    padding: 14px 12px !important;
  }

  .t2-product-heading {
    font-size: 0.95rem !important;
  }

  .t2-sidebar-title {
    font-size: 0.9rem !important;
  }

  .t2-cat-item>a {
    padding: 11px 18px !important;
    font-size: 0.85rem !important;
  }
}

/* ══════════════════════════════════════════════════════
   ★★★ RESET OVERRIDES - KILL CONFLICTING STYLES ★★★
   ══════════════════════════════════════════════════════ */

/* Reset any floats from style.css */
.t2-products-layout *,
.t2-sidebar *,
.t2-main-content * {
  float: none !important;
}

/* Ensure flexbox works */
.t2-products-layout,
.t2-product-item,
.t2-product-details,
.t2-product-actions-row {
  display: flex !important;
}

/* Remove any max-width restrictions */
.t2-main-content,
.t2-product-list,
.t2-product-item-wrapper,
.t2-product-item,
.t2-product-details {
  max-width: none !important;
}

/* Force box model */
.t2-products-layout,
.t2-products-layout *,
.t2-sidebar,
.t2-sidebar *,
.t2-main-content,
.t2-main-content * {
  box-sizing: border-box !important;
}











/* FULL WIDTH LAYOUT */
.t2-products-section .container {
  max-width: 100% !important;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
}

/* SIDEBAR + CONTENT LAYOUT */
.t2-products-layout {
  display: flex;
  gap: 20px;
  width: 100%;
}

/* SIDEBAR WIDTH */
.t2-sidebar {
  width: 280px;
  flex-shrink: 0;
}

/* RIGHT CONTENT FULL WIDTH */
.t2-main-content {
  flex: 1;
  width: 100%;
}

/* PRODUCT CARD FULL WIDTH */
.t2-product-item {
  width: 100%;
}

/* OPTIONAL: REMOVE LIMITS FROM PRODUCT LIST */
.t2-product-list {
  width: 100%;
}