/* === General Layout === */
.drops-section {
  padding: 2rem;
  width: 100%;
  margin: 0 auto;
}

.drops-section h2 {
  font-size: 2rem;
  color: #8e75ff;
  margin-bottom: 0.5rem;
}

.drops-section p {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 2rem;
}

/* === Grid Layout === */
.drop-list-wrapper {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0 auto;
}

.drop-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 1441px) {
  .drop-list {
    grid-template-columns: repeat(3, 1fr);
  }
}



/* === Drop Card === */
.drop-card {
  background-color: #1e1a42;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(142, 117, 255, 0.1);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding-bottom: 1rem;
}

.drop-card:hover {
  transform: translateY(-4px);
}

.drop-card > img {
  width: 100%;
  object-fit: cover;
}

/* === Drop Info === */
.drop-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

/* === Brand + Meta Row === */
.drop-brand-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.drop-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: contain;
  background-color: #fff;
  border: 1px solid #8e75ff;
}

.brand-name {
  color: white;
  font-weight: bold;
  font-size: 0.9rem;
}

/* === Follow & Date === */
.drop-meta-right {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.drop-date {
  border: 1px solid #8e75ff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  color: #8e75ff;
  white-space: nowrap;
}

/* === Title + Summary === */
.drop-title {
  font-size: 1.1rem;
  color: #fff;
  margin: 0;
}

.drop-summary {
  color: #ccc;
  font-size: 0.9rem;
  line-height: 1.4;
  word-break: break-word;
}

/* === Actions === */
.drop-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* === Like / Dislike Buttons === */
.like-buttons {
  display: flex;
  gap: 10px;
}

.like-btn,
.dislike-btn {
  background: transparent;
  border: 1px solid #8e75ff;
  color: #8e75ff;
  padding: 4px 12px;
  font-size: 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 1;
}

.like-btn:hover,
.dislike-btn:hover {
  background-color: #8e75ff;
  color: white;
}

/* === Follow Button === */
.follow-btn {
  background: transparent;
  border: 1px solid #8e75ff;
  color: #8e75ff;
  padding: 4px 10px;
  font-size: 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.follow-btn:hover {
  background-color: #8e75ff;
  color: white;
}

.follow-btn.following {
  background-color: #444;
  color: #ccc;
  cursor: default;
}

/* === Visit Button === */
.visit-site-btn {
  background-color: #8e75ff;
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  display: block;
  width: 100%;
  transition: background-color 0.3s ease;
}

.visit-site-btn:hover {
  background-color: #a18cff;
}

/* === Filter Buttons === */
.filter-bar {
  margin: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  background-color: #29255a;
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
  background-color: #8e75ff;
}

/* === Show More Buttons === */
.show-more-wrapper {
  text-align: center;
  margin-top: 2rem;
}

.show-more-btn,
.show-less-btn {
  background-color: #8e75ff;
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.show-more-btn:hover,
.show-less-btn:hover {
  background-color: #a494ff;
}

/* === Responsive Fix === */
@media (max-width: 480px) {
  .drop-meta-right {
    flex-direction: column;
    align-items: flex-start;
  }

  .like-buttons {
    flex-direction: column;
  }

  .like-btn,
  .dislike-btn {
    width: 100%;
  }
}

.tag-select-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.tag-btn {
  background-color: #29255a;
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.tag-btn.active,
.tag-btn:hover {
  background-color: #8e75ff;
}


/* === Brand Card Styles === */
.brand-card {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  background-color: #1e1a42;
  border: 1px solid #2d274f;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 0 10px rgba(142, 117, 255, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 14px rgba(142, 117, 255, 0.25);
}

.brand-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid #8e75ff;
  background-color: white;
  padding: 2px;
  box-shadow: 0 0 6px rgba(142, 117, 255, 0.3);
}

.brand-info {
  flex: 1;
}

.brand-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  color: #fff;
}

.brand-info p {
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 0.75rem;
}

/* === Follow Section === */
.follow-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.follow-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.follow-box input {
  display: none;
}

.follow-box span {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  background-color: #8e75ff;
  color: white;
  transition: 0.3s;
}

.follow-toggle:not(:checked) + span {
  background-color: transparent;
  color: #8e75ff;
  border: 2px solid #8e75ff;
}

/* === Visit Site Button === */
.visit-site-btn {
  background-color: #8e75ff;
  color: white;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s;
  text-align: center;
  display: inline-block;
}

.visit-site-btn:hover {
  background-color: #a491ff;
}


/* === Unfollow Modal === */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(22, 19, 54, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background-color: #1e1a42;
  border: 2px solid #8e75ff;
  border-radius: 12px;
  padding: 2rem;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 0 20px rgba(142, 117, 255, 0.25);
}

.modal-content p {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 1.5rem;
}

.modal-actions {
  display: flex;
  justify-content: space-around;
  gap: 1rem;
}

.modal-btn {
  padding: 0.5rem 1.5rem;
  font-size: 0.9rem;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s;
}

.modal-btn.cancel {
  background-color: transparent;
  color: #8e75ff;
  border: 2px solid #8e75ff;
}

.modal-btn.cancel:hover {
  background-color: rgba(142, 117, 255, 0.1);
}

.modal-btn.confirm {
  background-color: #8e75ff;
  color: #fff;
}

.modal-btn.confirm:hover {
  background-color: #a491ff;
}


/* === Section Headers: Trending, New Drops, New Brands === */
.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(to right, #8e75ff 0%, #a491ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  padding-left: 4px;
  border-left: 4px solid #8e75ff;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(142, 117, 255, 0.25);
}

/* Optional: space between sections */
.drop-category {
  margin-top: 3rem;
}

/* === Adjusted Brand Block === */
.drop-brand {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

/* Stack brand name and follow button */
.brand-name-follow {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

/* Bigger follow button */
.follow-btn {
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: bold;
  border-radius: 10px;
  background-color: #8e75ff;
  color: white;
  border: none;
  transition: background-color 0.3s ease;
}

.follow-btn:hover {
  background-color: #a18cff;
}

.follow-btn.following {
  background-color: #8e75ff;
  color: white;
  opacity: 0.7;
  cursor: default;
}

.brand-info p {
  word-break: break-word;        /* Break long words */
  overflow-wrap: anywhere;      /* Ensure overflow doesn't break layout */
}


.tag-dropdown-wrapper {
  position: relative;
  margin-top: 1rem;
}

.tag-dropdown-toggle {
  background-color: #2b255a;
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid #8e75ff;
  font-weight: bold;
}

.tag-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #1e1a42;
  border: 1px solid #333;
  padding: 0.5rem;
  margin-top: 6px;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  z-index: 100;
}

.tag-dropdown.hidden {
  display: none;
}

.tag-option {
  background: #2b255a;
  color: #363636;
  padding: 6px 10px;
  border-radius: 5px;
  border: 1px solid #555;
  cursor: pointer;
  font-size: 0.9rem;
}

.tag-option:hover {
  background: #8e75ff;
}

.selected-tags {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.selected-tag {
  background: #8e75ff;
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

.selected-tag .remove-tag {
  margin-left: 8px;
  cursor: pointer;
  font-weight: bold;
}

.drop-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

.drop-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  gap: 1rem;
}

.drop-top-content {
  flex-grow: 0;
}

.drop-bottom-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}




.drop-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.tab-button {
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  background-color: transparent;
  color: #8e75ff;
  border: 2px solid #8e75ff;
  cursor: pointer;
  transition: 0.3s ease;
}

.tab-button:hover {
  background-color: rgba(142, 117, 255, 0.15);
}

.tab-button.active {
  background-color: #8e75ff;
  color: white;
}

.hidden {
  display: none !important;
}

.like-btn.active,
.dislike-btn.active {
  background-color: gold;
  color: black;
  font-weight: bold;
}

@media (max-width: 430px) {
  .drop-list {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    justify-content: center;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .drop-card {
    max-width: 370px;
    margin: 0 auto;
  }

  .drop-info {
    padding: 1rem;
  }
}
