/* =========================================================
   DROPDOWN SYSTEM — panel auto-sizes to its content (no more
   fixed height), same translucent/blur look as the header
   ========================================================= */

.dropdown-menu {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 1000px;       /* fixed, matches header width */
  min-height: 280px;    /* auto-grows with content instead of a locked height */

  background-color: rgba(5, 45, 85, 0.9);   /* opacity 0.9 */
  backdrop-filter: blur(6px);     /* blur sama seperti header */
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  padding: 24px 32px;

  display: flex;
  align-items: stretch;
  gap: 20px;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.button-container:hover .dropdown-menu,
.last-button-container:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-column {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 300px;
}

.dropdown-photo-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  color: inherit;
}

.dropdown-divider {
  width: 1px;
  background-color: rgba(255, 255, 255, 0.15);
}

.dropdown-link {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.dropdown-link:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.dropdown-link-title {
  display: block;
  color: white;
  font-family: "Asap Sharp", sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.dropdown-link-desc {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-family: "Asap Sharp", sans-serif;
  font-size: 11px;
  margin-top: 2px;
}

.dropdown-category-title {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-family: "Asap Sharp", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 10px 12px 4px 12px;
}

.dropdown-category-title:first-child {
  margin-top: 4px;
}

.dropdown-description {
  display: block;
  color: white;
  font-family: "Asap Sharp", sans-serif;
  font-size: 14px;
  font-weight: 400;
}

.small-dropdown-description {
  display: flex;
  color: white;
  font-family: "Asap Sharp", sans-serif;
  font-size: 10px;
  font-weight: 300;
  justify-content: center;
  align-items: center;
}

.foto-product {
  width: 300px;
  display: inline-block;
  margin: auto;
  border: 1px;
  border-radius: 5px;
}

.foto-product-link {
  display: block;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.foto-product-link:hover {
  opacity: 0.85;
}

.foto-product-link .small-dropdown-description {
  cursor: pointer;
}

.dropdown-photo-column {
  width: 480px;
}

.dropdown-photo-grid {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.dropdown-photo-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dropdown-photo-item img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.dropdown-photo-caption {
  font-family: "Asap Sharp", sans-serif;
  font-size: 10px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
}

.dropdown-photo-text {
  font-family: "Asap Sharp", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin: 16px 0 0 0;
}

.dropdown-photo-stats {
  display: flex;
  gap: 32px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.dropdown-mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 14px;
}

.dropdown-photo-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dropdown-photo-stat-number {
  font-family: "Asap Sharp", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.dropdown-photo-stat-label {
  font-family: "Asap Sharp", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.55);
}

.button-container:hover .arrow-button,
.last-button-container:hover .arrow-button {
  transform: rotate(180deg);
  transition: transform 0.2s ease;
}

.dropdown-benefits {
  list-style: none;
  margin: 20px 0 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dropdown-benefits li {
  font-family: "Asap Sharp", sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.dropdown-mini-cta {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.dropdown-mini-cta-text {
  font-family: "Asap Sharp", sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
  margin: 0 0 10px 0;
}

.dropdown-mini-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Asap Sharp", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
}

.dropdown-mini-cta-link:hover {
  text-decoration: underline;
}
