/* ===== Card ===== */
.brand-card {
   transition: all .25s ease;
   position: relative;
}

.brand-card:hover {
   transform: translateY(-6px);
   /* box-shadow: 0 12px 30px rgba(0, 0, 0, .08); */
}

/* ===== Logo Button ===== */
.brand-logo-btn {
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 26px 18px;
   cursor: pointer;
   position: relative;
   width: 100%;
   min-height: 120px;
   border: none;
   background: #fff;
   border: 1px solid #e5e7eb;
}

.brand-logo-btn img {
   max-height: 65px;
   object-fit: contain;
   transition: transform .25s ease, opacity .25s ease;
}

.brand-logo-btn:hover img {
   transform: scale(1.05);
   opacity: .9;
}

/* subtle gradient overlay */
.brand-logo-btn::after {
   content: "";
   position: absolute;
   inset: 0;
   background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .02));
   opacity: 0;
   transition: opacity .25s ease;
}

.brand-logo-btn:hover::after {
   opacity: 1;
}

/* ===== Chevron ===== */
.brand-chevron {
   position: absolute;
   bottom: 10px;
   right: 14px;
   color: #94a3b8;
   transition: all .3s ease;
}

.brand-logo-btn.is-open .brand-chevron {
   transform: rotate(180deg);
   color: var(--color-primary);
}

/* ===== Dropdown ===== */
.brand-dropdown {
   max-height: 0;
   overflow: hidden;
   transition: max-height .4s ease;
   background: #fff;
   border: 1px solid #e5e7eb;
}

.brand-dropdown.is-open {
   max-height: 500px;
   overflow-y: auto;
}

/* ===== List ===== */
.brand-product-list {
   padding: 8px 0;
}

/* ===== Item ===== */
.brand-product-link {
   display: flex;
   align-items: center;
   gap: 10px;
   padding: 10px 18px;
   font-size: .85rem;
   color: #334155;
   text-decoration: none;
   transition: all .2s ease;
   position: relative;
}

.brand-product-link:hover {
   background: #ffc00036;
   color: var(--color-primary);
   padding-left: 22px;
   font-weight: 500;
}

/* left accent bar */
.brand-product-link::before {
   content: "";
   position: absolute;
   left: 0;
   top: 0;
   height: 100%;
   width: 3px;
   background: var(--color-primary);
   transform: scaleY(0);
   transition: transform .2s ease;
}

.brand-product-link:hover::before {
   transform: scaleY(1);
}

/* dot */
.link-dot {
   width: 6px;
   height: 6px;
   border-radius: 50%;
   background: #cbd5e1;
   transition: .2s;
}

.brand-product-link:hover .link-dot {
   background: var(--color-primary);
}

/* arrow */
.link-arrow {
   opacity: 0;
   transform: translateX(-6px);
   transition: .2s;
}

.brand-product-link:hover .link-arrow {
   opacity: 1;
   transform: translateX(0);
}

/* ===== Empty State ===== */
.brand-product-list:empty::after {
   content: "No documents available";
   display: block;
   padding: 14px 18px;
   font-size: .8rem;
   color: #94a3b8;
}

/* ===== Responsive ===== */
@media (max-width: 575px) {
   .brand-logo-btn {
      min-height: 90px;
      padding: 18px;
   }

   .brand-logo-btn img {
      max-height: 50px;
   }
}
