/* SMARTPHONE HERO BANNER */
.produkt-hero {
  position: relative;
  width: 100%;
  min-height: 780px;
  background:
    url("../../assets/futuristic_smartphone_showcase_in_dark_studio.png")
    no-repeat center center / cover;
  overflow: hidden;
  transform-origin: top center;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 1;
  font-family:
    "Inter",
    "SF Pro Display",
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
}

/* Overlay nhẹ, ít gradient hơn homepage */
.produkt-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.88) 0%,
      rgba(0, 0, 0, 0.74) 31%,
      rgba(0, 0, 0, 0.34) 58%,
      rgba(0, 0, 0, 0.08) 100%
    );
}

.produkt-hero-content {
  position: relative;
  z-index: 2;
  width: 88%;
  max-width: 1480px;
  min-height: 680px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  color: #ffffff;
}

.produkt-hero-text {
  max-width: 760px;
  padding-top: 34px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  margin: 0 0 54px;
  font-size: 20px;
  line-height: 1;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.74);
}

.breadcrumb a,
.breadcrumb span {
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
}

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


/* Font và màu */
.produkt-hero-content h1 {
  margin: 0 0 22px;
  max-width: 820px;
  font-size: clamp(54px, 5.7vw, 92px);
  line-height: 0.98;
  font-weight: 850;
  letter-spacing: -3.4px;
  color: rgba(216, 204, 255, 0.88);
  text-align: left;
  text-shadow:
    0 8px 30px rgba(0, 0, 0, 0.74),
    0 0 24px rgba(255, 255, 255, 0.06);
}

.produkt-hero-content h1 span {
  color: #ffffff;
}

.produkt-desc {
  max-width: 620px;
  margin: 0 0 34px;
  font-size: clamp(20px, 1.55vw, 28px);
  line-height: 1.45;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  text-align: left;
  text-shadow: 0 5px 22px rgba(0, 0, 0, 0.62);
}

/* Feature chips */
.produkt-feature-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
}

.produkt-feature-list span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.17);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.24),
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.produkt-feature-list i {
  font-size: 15px;
  color: #c7a8ff;
}

/* CTA */
.produkt-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 62px;
  padding: 0 36px;
  border-radius: 18px;
  text-decoration: none;
  color: #111114;
  font-size: 18px;
  font-weight: 800;
  background: linear-gradient(135deg, #f2eef8 0%, #b9b0c4 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.34),
    0 1px 0 rgba(255, 255, 255, 0.42) inset;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.produkt-hero-btn i {
  font-size: 17px;
  transition: transform 0.3s ease;
}

.produkt-hero-btn:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #ffffff 0%, #d7cfdf 100%);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.44),
    0 0 28px rgba(199, 168, 255, 0.16);
}

.produkt-hero-btn:hover i {
  transform: translateX(5px);
}

.produkt-hero-btn:focus-visible,
.breadcrumb a:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 5px;
}

/* Category cũ không dùng nữa */
.produkt-category-list {
  display: none;
}

/* RESPONSIVE SMARTPHONE HERO */
@media (max-width: 1024px) {
  .produkt-hero {
    min-height: 640px;
    background-position: 60% center;
  }

  .produkt-hero-content {
    min-height: 640px;
    width: 90%;
  }

  .produkt-hero-text {
    max-width: 620px;
  }

  .breadcrumb {
    margin-bottom: 42px;
    font-size: 18px;
  }

  .produkt-hero-content h1 {
    font-size: clamp(48px, 7vw, 70px);
    letter-spacing: -2.2px;
  }

  .produkt-desc {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .produkt-hero {
    min-height: 640px;
    background-position: 72% center;
  }

  .produkt-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.16) 0%,
        rgba(0, 0, 0, 0.52) 42%,
        rgba(0, 0, 0, 0.92) 100%
      );
  }

  .produkt-hero-content {
    width: 90%;
    min-height: 640px;
    align-items: flex-end;
    padding-bottom: 64px;
  }

  .produkt-hero-text {
    width: 100%;
    max-width: 100%;
    padding-top: 0;
  }

  .breadcrumb {
    margin-bottom: 28px;
    font-size: 15px;
  }

  .produkt-eyebrow {
    font-size: 12px;
    letter-spacing: 2.6px;
  }

  .produkt-hero-content h1 {
    font-size: 42px;
    line-height: 1.04;
    letter-spacing: -1.3px;
  }

  .produkt-desc {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .produkt-feature-list {
    gap: 10px;
    margin-bottom: 28px;
  }

  .produkt-feature-list span {
    min-height: 40px;
    padding: 0 15px;
    font-size: 13px;
  }

  .produkt-hero-btn {
    min-height: 52px;
    padding: 0 24px;
    border-radius: 15px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .produkt-hero {
    min-height: 590px;
    background-position: 76% center;
  }

  .produkt-hero-content {
    min-height: 590px;
    padding-bottom: 48px;
  }

  .breadcrumb {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .produkt-hero-content h1 {
    font-size: 34px;
  }

  .produkt-desc {
    font-size: 14px;
  }

  .produkt-feature-list span {
    font-size: 12px;
    padding: 0 13px;
  }

  .produkt-hero-btn {
    width: 100%;
  }
}

/* PRODUKT UND FILTER */

.product-page-section {
  width: 100%;
  padding: 70px 0 90px;
  background: #f5f5f5;
  margin-top: -42px;
  position: relative;
  z-index: 3;
  border-radius: 42px 42px 0 0;
}

.product-page-container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

/* toolbar */

.product-toolbar { /* text Unsere Produkte và symbol filter*/
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.product-toolbar h2 { /* text Unsere Produkte*/
  font-size: 38px;
  font-weight: 700;
  color: #111;
}

.filter-toggle { /*  symbol filter cho dien thoai nen display phai none*/
  display: none;
  border: none;
  background: #111;
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 15px;
  cursor: pointer;
  align-items: center;
  gap: 10px;
}


/* filter desktop */
.filter-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  background: #fff;
  border-radius: 22px;
  padding: 24px;
  margin-bottom: 34px;
  align-items: start;
}

.filter-card {
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 16px;
  overflow: hidden;
}

.filter-card summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 20px;
  font-weight: 700;
  color: #111;
}

.filter-card summary::-webkit-details-marker {
  display: none;
}

.filter-card summary::after {
  content: "⌄";
  font-size: 18px;
  color: #666;
}

.filter-card[open] summary::after {
  transform: rotate(180deg);
}

.filter-panel {
  padding: 0 20px 20px;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-options label {
  font-size: 15px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.filter-options input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #111;
}

.filter-actions-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
}

.filter-reset-btn {
  width: 100%;
  height: 44px;
  border: none;
  background: #111;
  color: #fff;
  border-radius: 999px;
  cursor: pointer;
}

/* product list */
.product-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 28px;
}

.product-item-card {
  display: block;
  text-decoration: none;
  color: #111;
  transition: transform 0.35s ease;
  padding: 18px;
  border: #e8e8e8 solid 1px;
  border-radius: 12px;
  background: #e8e8e8;
}

.product-item-card:hover {
  transform: translateY(-6px);
}

.product-thumb {
  background: #e8e8e8;
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 18px;
}

.product-thumb img {
  width: 100%;
  height: 360px;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
}

.product-item-card:hover .product-thumb img {
  transform: scale(1.05);
}

.product-item-card h3 {
  font-size: 20px;
  font-weight: 700;
  text-align: left;
  margin-bottom: 10px;
}

.product-meta {
  text-align: left;
  margin-bottom: 8px;
  color: #666;
  font-size: 15px;
}

.product-item-card p {
  font-size: 20px;
  font-weight: 700;
  color: #111;
  text-align: left;
}

.no-products-message {
  text-align: center;
  margin-top: 28px;
  font-size: 18px;
  color: #666;
}

/* filter mobile overlay */
.filter-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 999;
}

.filter-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 88%;
  max-width: 400px;
  height: 100dvh;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.filter-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 18px;
  border-bottom: 1px solid #ddd;
}

.filter-drawer-header h3 {
  font-size: 24px;
  color: #111;
}

.filter-close {
  border: none;
  background: none;
  font-size: 26px;
  cursor: pointer;
}

.filter-drawer-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-filter-card summary {
  padding: 16px 18px;
  font-size: 17px;
}

.mobile-filter-card .filter-panel {
  padding: 0 18px 18px;
}

.filter-drawer-footer {
  padding: 18px;
  border-top: 1px solid #ddd;
}

.apply-filter-btn {
  width: 100%;
  height: 50px;
  border: none;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

.reset-filter-btn {
  width: 100%;
  height: 50px;
  border: none;
  border-radius: 999px;
  background: #eee;
  color: #111;
  font-size: 16px;
  cursor: pointer;
  margin: 12px 0 0;
}

.filter-overlay.active {
  opacity: 1;
  visibility: visible;
}

.filter-drawer.active {
  transform: translateX(0);
}



/*RESPONSIVE PRODUKT UND FILTER */
@media (max-width: 1200px) {
  .filter-bar {
    grid-template-columns: 1fr 1fr;
  }

  .product-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-thumb img {
    height: 320px;
  }

  .product-item-card h3 {
    font-size: 24px;
  }

  .product-item-card p {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .product-page-section {
    padding: 50px 0 70px;
  }

  .product-page-container {
    width: 92%;
  }

  .product-toolbar h2 {
    font-size: 38px;
  }

  .filter-toggle {
    display: inline-flex;
  }

  .filter-bar {
    display: none;
  }

  .product-list-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-thumb img {
    height: 280px;
  }

  .product-item-card h3 {
    font-size: 22px;
  }

  .product-item-card p {
    font-size: 18px;
  }
}

/*BENEFITS SECTION */
.benefits-section {
  width: 100%;
  padding: 0 0 90px;
  background: #f5f5f5;
}

.benefits-container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

.benefits-title {
  font-size: 38px;
  font-weight: 700;
  color: #111;
  padding: 18px 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 28px;
}

.benefit-card {
  padding: 40px 38px 40px;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 16px;
  display: block;
}

.benefit-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  background: #f1f3f8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: #2f80ed;
}

.benefit-card h3,
.benefit-heading {
  margin: 0 0 22px;
  font-size: 20px;
  font-weight: 700;
  color: #111;
}

.benefit-card p {
  font-size: 16px;
  color: #1f1f1f;
  margin-bottom: 22px;
}

.benefit-link {
  margin: auto;
  color: #111;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

.benefit-link:hover {
  opacity: 0.75;
}

.benefit-link:focus-visible {
  outline: 3px solid #111;
  outline-offset: 4px;
  border-radius: 4px;
}

@media (max-width: 1400px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /*.benefit-card {
    min-height: 360px;
  }*/
}

@media (max-width: 768px) {
  .benefits-section {
    padding: 56px 0;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .benefit-card {
    min-height: auto;
    padding: 28px 24px;
  }

  .benefit-icon-wrap {
    width: 68px;
    height: 68px;
    margin-bottom: 22px;
  }

  .benefit-icon {
    width: 36px;
    height: 36px;
  }

  .benefit-card p,
  .benefit-text,
  .benefit-link {
    font-size: 16px;
  }
}