.header-logo {
  max-height: 64px;
}

.focus-none:focus {
  outline: none !important;
  box-shadow: none !important;
}

.no-style-button {
  all: unset;
  cursor: pointer;
}

.footer-menu img {
  width:100%;
  height:100%;
  object-fit: contain;
}

.product-item figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: unset;
}

.ellipsis {
  display: block;             /* or inline-block */
  white-space: nowrap;        /* Prevent text wrapping */
  overflow: hidden;           /* Hide overflowing text */
  text-overflow: ellipsis;    /* Show "..." when overflowing */
}

.product-item .btn-wishlist.active {
  color: rgb(255, 255, 255);
  background: rgb(240, 56, 56);
}

.img-contain {
  width:100%;
  height:100%;
  object-fit: contain;
}

.select-size li.active a{
  color: #fff;
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.shadow-top {
  box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1), 
              0 -2px 4px -2px rgba(0, 0, 0, 0.1);
}

.desktop-badge {
    background-color: var(--theme-color);
    white-space: nowrap;
    text-align: center;
    line-height: 18px;
    padding: 0 6px;
    height: 18px;
    background: var(--theme-color);
    position: absolute;
    border-radius: 50%;
    font-size: 12px;
    color: #fff;
    left: 24px;
    top: -2px;
    font-weight: 700;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profileName {
    left: 50%;
    bottom: -16px;
    transform: translateX(-50%);
    font-size: 10px;
    word-wrap: none;
}

/* === Desktop dropdown slide animation === */
@media (min-width: 992px) {
  .navbar-nav .dropdown-menu {
    display: block;
    visibility: hidden;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    margin-top: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
  }
  .navbar-nav .dropdown.show > .dropdown-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    max-height: 500px; /* fallback */
  }
  .navbar-nav .dropdown-toggle::after {
    transform: rotate(0deg);
  }
}

/* === Mobile dropdown slide (Bootstrap-controlled) === */
@media (max-width: 991.98px) {
  .navbar-nav .dropdown-menu {
    display: block !important;     /* needed for animation */
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: height 0.3s ease, opacity 0.3s ease;
  }
  .navbar-nav .dropdown-menu.show {
    height: auto;                  /* reset to natural height */
    opacity: 1;
    transition: height 0.3s ease, opacity 0.3s ease;
  }
}



