/* Perfumer Pages — listing page styles */

/* Desktop: Override shell #content padding — same as dealbook */
@media (min-width: 769px) {
  body:has(.perfumers-listing) #content {
    padding: 0 !important;
  }
}

/* Perfumers Listing Page */
.perfumers-grid {
  list-style: none;
  margin: 0;
  padding: 0;
}

.perfumers-grid > li {
  list-style: none;
  display: contents;
}

.perfumers-listing {
  margin: 0 auto;
}

/* Alphabet Navigation - matches .brand-index-letters on easycosmetic.de */
.perfumers-alphabet {
  display: inline-block;
  margin: 25px 0 30px;
}

.perfumers-alphabet a {
  display: inline-block;
  width: 26px;
  height: 26px;
  font-size: 18px;
  font-weight: 400;
  font-family: Futura-Bold;
  color: #000;
  text-decoration: none;
  border-radius: 26px;
  background: #f4f2f1;
  line-height: 25px;
  text-align: center;
  transition: all 0.2s;
  margin-right: 6px;
}

.perfumers-alphabet a:hover {
  background: #F29400;
  color: #fff;
}

.perfumers-alphabet a.disabled {
  color: #ccc;
  pointer-events: none;
}

.perfumers-alphabet a.active {
  background: #F29400;
  color: #fff;
}

/* Letter Sections */
.perfumers-letter-section {
  margin-bottom: 40px;
}

.perfumers-letter-header {
  font-size: 20px;
  font-weight: 700;
  color: #F29400;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #000;
  scroll-margin-top: 80px;
}

/* Grid of perfumer links */
.perfumers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 8px;
}

.perfumer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  color: #333;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s;
  background: #fafafa;
  border: 1px solid transparent;
}

.perfumer-link:hover {
  background: #fff;
  border-color: #F29400;
  color: #F29400;
}

.perfumer-link.has-profile {
  background: #fff;
  border: 1px solid #e5e5e5;
}

.perfumer-link.has-profile:hover {
  border-color: #F29400;
  box-shadow: 0 2px 8px rgba(242, 148, 0, 0.15);
}

.perfumer-name {
  font-size: 14px;
  font-weight: 500;
}

.perfumer-count {
  font-size: 13px;
  color: #718096;
  white-space: nowrap;
  margin-left: 10px;
}

.perfumer-link:hover .perfumer-count {
  color: #F29400;
}

.perfumer-arrow {
  color: #F29400;
  font-size: 15px;
  margin-left: 8px;
  opacity: 0;
  transition: opacity 0.2s;
}

.perfumer-link:hover .perfumer-arrow {
  opacity: 1;
}

/* Hero Section — matches dealbook hero pattern */
.perfumers-hero {
  margin-bottom: 1.5rem;
}

/* Desktop/Mobile visibility */
.perfumers-hero .desktop-only {
  display: none !important;
}

.perfumers-hero .mobile-only {
  display: flex !important;
}

@media (min-width: 769px) {
  .perfumers-hero .desktop-only {
    display: flex !important;
  }
  .perfumers-hero .mobile-only {
    display: none !important;
  }
}

/* Content-info floatcontainer */
.perfumers-hero .content-info.floatcontainer {
  background-size: contain;
  background-repeat: no-repeat;
  position: relative;
}

/* Desktop hero */
.perfumers-hero .content-info.floatcontainer.desktop-only {
  background-position: right center;
  min-height: 320px;
  width: 994px;
  margin-left: -22px;
}

/* Mobile hero */
.perfumers-hero .content-info.floatcontainer.mobile-only {
  background-position: bottom center;
  height: 610px;
  width: 610px;
}

/* Content-info-text */
.perfumers-hero .content-info-text {
  padding: 25px;
}

/* Mobile typography */
.perfumers-hero .mobile-only .content-info-text .promo-headline {
  font-family: Futura-Bold, Futura, sans-serif;
  font-size: 60px;
  font-weight: normal;
  color: #000;
  margin: 0;
  line-height: 1.2;
}

.perfumers-hero .mobile-only .content-info-text .promo-description {
  display: none;
}

/* Desktop typography */
@media (min-width: 769px) {
  .perfumers-hero .content-info-text {
    padding: 20px 30px;
    max-width: 50%;
  }

  .perfumers-hero .content-info-text .promo-headline {
    font-family: Futura-Bold, Futura, sans-serif;
    font-size: 58px;
    color: #000;
    margin: 0 0 5px 0;
    line-height: 1.2;
  }

  .perfumers-hero .content-info-text .promo-description {
    font-family: Futura !important;
    font-size: 20px !important;
    font-weight: 400;
    color: #000;
    margin: 0 0 28px 0;
    line-height: 1.5;
    max-width: 90%;
  }
}

/* Mobile index container - hidden on desktop */
.perfumers-index-container {
  display: none;
  position: fixed;
  right: 0;
  top: 120px;
  width: 50px;
  height: 780px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 36px;
  margin: 0 30px;
  padding: 15px 0;
  z-index: 9999;
  box-sizing: border-box;
}

.perfumers-index-container .index {
  display: table;
  width: 50px;
  height: 780px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.perfumers-index-container .index li {
  list-style: none;
  color: #fff;
  font-size: 29px;
  font-family: Futura;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
}

.perfumers-index-container .index li.small {
  font-size: 29px;
  font-family: Futura-Bold;
  line-height: 15px;
  height: 20px !important;
}

/* Responsive */
@media (max-width: 768px) {
  .perfumers-listing {
    padding-top: 0 !important;
    width: 610px;
  }

  .perfumers-alphabet {
    display: none;
  }

  .perfumers-index-container {
    display: block;
  }

  .perfumer-link {
    min-height: 44px;
  }

  .perfumer-name {
    font-size: 29px;
    font-family: 'Futura';
  }

  .perfumer-count {
    font-size: 22px;
    font-family: 'Futura';
  }

  .perfumers-grid {
    grid-template-columns: 1fr;
  }

  .perfumer-link {
    padding: 10px 14px;
  }
}
