/* Plans Dropdown Component - Figma Design */

.plans-dropdown-list {
  background: #FFF6F1;
  border-radius: 18px;
  padding: 0;
  width: 100%;
  max-width: 420px;
  margin-left: auto;
}

/* Plan Item Container */
.dropdown-plan-item {
  position: relative;
  padding: 8px 22px;
  cursor: pointer;
}

/* Plan Content - Flex Layout */
.dropdown-plan-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

/* Plan Information */
.dropdown-plan-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Plan Title */
.dropdown-plan-title {
  font-family: 'Cabinet Grotesk', 'CabinetGrotesk-Bold', sans-serif;
  font-weight: 500;
  font-size: 27px;
  line-height: 1.24;
  color: #251B16;
  margin: 0;
  padding: 0;
  text-align: left;
}

/* Plan Description */
.dropdown-plan-description {
  font-family: 'Cabinet Grotesk', 'CabinetGrotesk-Regular', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.227;
  letter-spacing: 0.02727em;
  color: #404040;
  margin: 0;
  padding: 0;
  text-align: left;
}

/* Plan Pricing Container */
.dropdown-plan-pricing {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

/* Main Price */
.dropdown-price-main {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  font-size: 33px;
  line-height: 1.221;
  color: #AC6D4A;
}

/* Compare Price (Strikethrough) */
.dropdown-price-compare {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.221;
  color: #817872;
  text-decoration: line-through;
  opacity: 0.6;
}

/* Arrow Button */
.dropdown-plan-arrow {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: #F7F7F5;
  border: 4px solid #C99070;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  outline: none;
  pointer-events: none;
}

.dropdown-plan-arrow:hover {
  transform: scale(1.05);
  background: #EEEAE7;
}

.dropdown-plan-arrow:active {
  transform: scale(0.95);
}

.dropdown-plan-arrow span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}

.dropdown-plan-arrow svg {
  width: 18px;
  height: 18px;
}

/* SVG Icon Visibility - Show arrow by default, smiley on hover */
.dropdown-plan-arrow .np-comS__imgD {
  display: block;
}

.dropdown-plan-arrow .np-comS__imgM {
  display: none;
}

/* Show smiley on hover for both desktop and mobile */
.dropdown-plan-item:hover .dropdown-plan-arrow .np-comS__imgD {
  display: none;
}

.dropdown-plan-item:hover .dropdown-plan-arrow .np-comS__imgM {
  display: block;
}

/* Divider Line */
.dropdown-plan-divider {
  width: 100%;
  height: 1px;
  background: #D9D9D9;
  margin: 22px 0 0 0;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 640px) {
  .plans-dropdown-list {
    max-width: 100%;
    margin-left: 0;
  }

  .dropdown-plan-item {
    padding: 16px;
  }

  .dropdown-plan-title {
    font-size: 20px;
    line-height: 1.3;
  }

  .dropdown-plan-description {
    font-size: 15px;
    line-height: 1.4;
  }

  .dropdown-price-main {
    font-size: 24px;
  }

  .dropdown-price-compare {
    font-size: 20px;
  }

  .dropdown-plan-arrow {
    width: 28px;
    height: 28px;
    border-width: 3px;
  }

  .dropdown-plan-arrow span {
    width: 16px;
    height: 16px;
  }

  .dropdown-plan-arrow svg {
    width: 16px;
    height: 16px;
  }

  .dropdown-plan-divider {
    margin: 16px 0 0 0;
  }
}

/* Very Small Screens */
@media screen and (max-width: 480px) {
  .dropdown-plan-item {
    padding: 14px;
  }

  .dropdown-plan-title {
    font-size: 18px;
  }

  .dropdown-plan-description {
    font-size: 14px;
    line-height: 1.35;
  }

  .dropdown-price-main {
    font-size: 22px;
  }

  .dropdown-price-compare {
    font-size: 18px;
  }

  .dropdown-plan-content {
    gap: 15px;
  }
}

/* Animation for Dropdown Items */
.dropdown-plan-item {
  opacity: 0;
  animation: fadeInSlide 0.3s ease-out forwards;
}

.dropdown-plan-item:nth-child(1) {
  animation-delay: 0.05s;
}

.dropdown-plan-item:nth-child(2) {
  animation-delay: 0.1s;
}

.dropdown-plan-item:nth-child(3) {
  animation-delay: 0.15s;
}

@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hover State for Plan Content Only */
.dropdown-plan-item:hover .dropdown-plan-content {
  background: rgba(172, 109, 74, 0.03);
  border-radius: 12px;
  padding: 12px;
  margin: -12px;
}
