﻿
.menu-tabs {
    display: flex;
    gap: 30px;
    position: relative;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
    overflow-x: auto;
    white-space: nowrap;
}

.tab-item {
    font-size: 14px;
    cursor: pointer;
    padding-bottom: 8px;
    position: relative;
    color: #9e9e9e; /* gray-400 equivalent */
}

    .tab-item.active, .tab-item:hover {
        color: black;
        font-weight: bold;
    }

#menuTabs {
    gap: 15px;
    margin: 25px;
}

#activeUnderline {
    position: absolute;
    bottom: -1px;
    height: 3px;
    background-color: #DA2128;
    transition: all 0.3s ease;
    left: 0;
    width: 0;
}

#cakesMenu {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding: 20px;
}
#menuDropdownWrapper {
    display: none;
}

#menuDropdown:focus {
    outline: none;
}
.product-card1 {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.product-card1:hover {
  transform: translateY(-5px);
}

.product-link1 {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-image1 {
  width: 100%;
  aspect-ratio: 1/1;
  background: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info1 {
  padding: 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-title1 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.product-price1 {
  font-size: 13px;
  font-weight: bold;
  color: #e11d48;
}


@media (max-width: 660px) {
    #menuTabs {
        display : none;
    }
    #menuDropdownWrapper {
        display: block;
        width: 50%;
        font-size: 13px;
        margin : 2%;
    }
}

.product-image1 {
    position: relative;
    width: 100%;
    overflow: hidden;
}

    .product-image1 img {
        width: 100%;
        transition: opacity 0.4s ease;
        display: block;
    }

    .product-image1 .hover-img {
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
    }

    .product-image1:hover .hover-img {
        opacity: 1;
    }

    .product-image1:hover .default-img {
        opacity: 0;
    }


.hover-image-wrapper {
    position: relative;
    overflow: hidden;
}

.hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.hover-image-wrapper:hover .hover-img {
    opacity: 1;
}

.hover-image-wrapper:hover .default-img {
    opacity: 0;
}