/* Page Banner (Redesigned) */
.page-banner {
  background: url('/wp-content/themes/GlobalZT/assets/images/banner/product-banner.webp') no-repeat fixed center / cover;
  color: var(--white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  height: auto;
  min-height: 400px;
  display: flex;
  align-items: center;
}

/* Container for split layout */
.banner-split {
  display: flex;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 2;
}

/* Left Content */
.banner-text {
  flex: 1;
  max-width: 600px;
}

.banner-text h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

.banner-text h1 span {
    color: rgba(255, 255, 255, 0.5);
    display: block;
}

.banner-text p {
  font-size: 1.1rem;
  opacity: 0.9;
  /* margin-bottom: 40px; */
  line-height: 1.6;
}

/* Right Column - Badges Grid */
.banner-image-col {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.badge-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 25px 20px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.badge-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--primary-red);
}

.badge-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-red);
  color: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.badge-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.badge-info span {
  font-size: 0.85rem;
  opacity: 0.7;
  white-space: normal;
}
.sidebar-widget .btn-modal-trigger{
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
/* Product Grid */
.product-grid-container {
  flex: 1;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

/* Enriched Product Card */
.product-card {
  background: var(--white);
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #f0f0f0;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
  border-color: transparent;
}

.product-img {
  height: 220px;
  background-color: #eee;
  overflow: hidden;
  position: relative;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card:hover .product-img img {
  transform: scale(1.1);
}

.product-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: left; /* Reset alignment */
}

.product-header {
    margin-bottom: 15px;
}

.product-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--primary-black);
  transition: color 0.3s ease;
}

.product-card:hover .product-title {
  color: var(--primary-red);
}

.prod-tags {
    margin-bottom: 8px;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.prod-tags span {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

/* Product Specs Grid */
.prod-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 6px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    font-size: 0.8rem;
    color: #666;
}

.spec-item strong {
    color: var(--primary-black);
    font-weight: 600;
    margin-bottom: 2px;
}

.prod-desc {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card Footer */
.card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

.card-footer .btn-link {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.card-footer .btn-link:hover {
    transform: translateX(5px);
}

.card-footer .price-hint {
    font-size: 0.8rem;
    color: #999;
}

/* Product Service Section */
.service-section {
    background: #f7f7f7;
    padding: 50px 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-item {
    text-align: center;
    padding: 40px 25px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: #fbebee;
    color: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 25px;
}

.service-item h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-black);
}

.service-item p {
    font-size: 0.95rem;
    color: #666;
}

/* Product Advantages Section */
.advantages-section {
    padding: 50px 0;
    background: url('https://images.unsplash.com/photo-1459865264687-595d652de67e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80') no-repeat fixed center / cover;
    color: var(--white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.adv-item {
    display: flex;
    padding: 15px;
    border-radius: 12px;
    gap: 20px;
    transition: var(--transition);
}
.adv-item:hover{
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}
.adv-num {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1;
}

.adv-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--white);
}

.adv-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
}

/* FAQ Section (Accordion) */
.faq-section {
    padding: 50px 0;
}

.faq-container {
    /* max-width: 800px; */
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-header {
    padding: 20px 25px;
    background: #f9f9f9;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-black);
}

.faq-toggle {
    width: 24px;
    height: 24px;
    position: relative;
}

.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    background: var(--primary-black);
    transition: all 0.3s ease;
}

.faq-toggle::before {
    width: 2px;
    height: 14px;
    top: 5px;
    left: 11px;
}

.faq-toggle::after {
    width: 14px;
    height: 2px;
    top: 11px;
    left: 5px;
}

.faq-item.active .faq-toggle::before {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-item.active .faq-header {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.faq-item.active .faq-header h3 {
    color: var(--primary-red);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
}

.faq-item.active .faq-content {
    max-height: 500px; /* Large enough to fit content */
}

.faq-inner {
    padding: 25px;
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* Responsive Updates */
@media (max-width: 1200px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
  .layout-sidebar-products {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    position: static;
    margin-bottom: 40px;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .banner-split {
      flex-direction: column;
      text-align: center;
  }
  .banner-text {
      max-width: 100%;
  }
  .advantages-grid {
      grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
    .banner-image-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}