.whats a {
  color: rgb(240 215 117);
  text-decoration: underline;
}

.accordion-header button{
        font-weight: bold;
}
.nav-link:hover{
    color:blue;
}
@media (min-width: 1200px) {
  .h2, h2 {
      font-size: 2.5rem;
      font-weight: bold;
  }
}

.nav-link {
  position: relative;
  font-weight: normal;
  text-decoration: none;
}

.nav-link.active {
  font-weight: bold;
  text-decoration: underline;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  left: 0;
  bottom: -4px;
  background-color: #000;
}

.online{
  background-color: #f8c291;
  border-radius: 15px;
  padding: 10px 10px;
  font-weight: bold;
}
.navbar-expand-lg .navbar-nav {
  align-items: anchor-center;
}
#cart-btn{
  z-index: 2!important;
}
.card-body {
  justify-items: center;
  text-align: center;
  margin: 20px 0px;
}


.video-hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.bg-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.video-hero .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* dark overlay */
  z-index: 1;
}

.video-hero .container {
  z-index: 2;
}
.navbar-brand{
  width: 285px;
}

/* Optional for more Apple feel */
.row.flex-row-reverse {
  flex-direction: row-reverse;
}

@media (max-width: 768px) {
  .row.flex-row-reverse {
    flex-direction: column !important;
  }
  .footer-mobile{
      text-align: center;
  }
}

.benchmark-banner {
  background-image: url('../images/banner_product.png'); /* Replace with your banner image */
  background-size: cover;
  background-position-y: 190vh;
  background-attachment: fixed;
  height: 50vh;
  position: relative;
  overflow: hidden;
}

.benchmark-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay */
  z-index: 1;
}

.benchmark-banner .container {
  z-index: 2;
}

.parallax-section {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  min-height: 350px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.parallax-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 66%); /* dark overlay */
  z-index: -1;
}

.parallax-section .container {
  position: relative;
  z-index: 2;
}



@keyframes bounce {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}
.cart-animate {
  animation: bounce 0.5s ease;
}
@media (max-width: 768px) {
  .parallax-section {
    background-attachment: scroll; /* better for mobile */
  }
  
  .social-icon {
  width: 50px!important;
  height: 50px!important;
}
}

/* Full height right-side cart panel */
#cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background-color: #fff;
  border-left: 2px solid #ddd;
  box-shadow: -4px 0px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  overflow-y: auto;
  z-index: 1000;
  display: none; /* Hidden by default */
  transition: transform 0.3s ease; /* Smooth transition */
}

#cart-panel.active {
  display: block; /* Show the panel when it's active */
  transform: translateX(0); /* Panel slides in */
}

#cart-panel .cart-header {
  font-weight: bold;
  font-size: 1.25rem;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#cart-panel .cart-header span {
  font-size: 1.2rem;
}

#close-cart-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #dc3545;
  cursor: pointer;
}

#close-cart-btn:hover {
  text-decoration: underline;
}

/* Cart items and footer (as before) */
.cart-item {
  display: flex;
  margin-bottom: 15px;
  align-items: center;
}

.cart-item-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  margin-right: 15px;
}

.cart-item-info {
  flex: 1;
  font-size: 0.9rem;
}

.cart-item-name {
  font-weight: bold;
}

.cart-footer {
  margin-top: auto;
  margin-bottom: 10px;
}

.cart-footer p {
  font-weight: bold;
  font-size: 1.2rem;
}

.remove-item {
  cursor: pointer;
  font-size: 0.9rem;
}

.remove-item:hover {
  text-decoration: underline;
}

/* Cart Button */
#cart-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #efc18e; /* Green background color for the button */
  color: white;
  border: none;
  padding: 15px;
  border-radius: 50%; /* Round button */
  font-size: 1.5rem; /* Icon size */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  z-index: 1100;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

#cart-btn:hover {
  background-color: #218838; /* Darker green when hovering */
  transform: scale(1.1); /* Slightly enlarge the icon on hover */
}

#cart-btn i {
  font-size: 1.8rem; /* Adjust icon size */
}

#cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #ff5733; /* Red background for notification */
  color: white;
  border-radius: 50%;
  padding: 5px 10px;
  font-size: 0.8rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

/**video**/
.parallax-collab {
  background-image: url('../images/video_pastry.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 50vh;
}

.parallax-collab .overlay {
  z-index: 1;
}

.parallax-collab .container {
  z-index: 2;
  position: relative;
}

/* Limit video height */
.collab-video {
  max-height: 560px;
  object-fit: cover;
}

.pastry-btn {
  background-color: #f8c291;
  color: #5a2d0c;
  border: none;
  border-radius: 30px;
  padding: 12px 24px;
  font-weight: bold;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(90, 45, 12, 0.2);
  transition: all 0.3s ease-in-out;
  text-transform: uppercase;
}
.pastry-btn:hover {
  background-color: #e58e26;
  color: #fff;
  box-shadow: 0 6px 16px rgba(90, 45, 12, 0.3);
  text-decoration: none;
}

.social-bar {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translate(calc(-100% + 50px), -50%); /* Hide all except 50px */
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 5px;
  background: #c99d36;
  border-radius: 0 5px 5px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

/* On hover, slide fully in */
.social-bar:hover {
  transform: translate(0, -50%);
}

/* Icons style */
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: #ffffff;
  color: #000;
  text-decoration: none;
  border-radius: 0 5px 5px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: all 0.3s;
}

.social-icon:hover {
  background: #f8f9fa;
  transform: translateX(5px);
}

.social-icon img {
  width: 20px;
  height: 20px;
}

/* Desktop: always fully visible */
@media (min-width: 769px) {
  .social-bar {
    transform: translate(0, -50%);
  }
}

/* Mobile tweaks: smaller icon, same behavior */
@media (max-width: 768px) {
    .navbar>.container, .navbar>.container-fluid, .navbar>.container-lg, .navbar>.container-md, .navbar>.container-sm, .navbar>.container-xl, .navbar>.container-xxl {
    flex-wrap: wrap;
}
  .btn-buy {
    width: 6em;
    text-align: center;
}
  .filter-btn{
    margin:10px;
  }
  .social-css{
  justify-content: center; /* Horizontal centering */
  align-items: center; /* Vertical centering */

  }
  .navbar-nav .dropdown-menu {
    font-size: 11px;
}
  .social-bar {
    padding: 10px 15px;
    left: -35px;
    transform: translate(0, -50%);
  }
  .social-bar:hover{
    transform: translate(35px, -50%)!important;
  }
  .social-icon {
    width: 40px;
    height: 40px;
    border-radius: 0 5px 5px 0;
  }
}
.badge {
  font-size: 0.8rem;
  padding: 0.4em 0.6em;
  border-radius: 0.25rem;
}

.disabled {
  cursor: not-allowed !important;
  pointer-events: none;
  opacity: 0.6;
}
.keypoint{
  border: 1px solid #00000042;
    box-shadow: 4px 5px 0px 0px;
    margin:10px;
    padding:10px;
    min-height: 160px;
    align-content: center;
}
.btn-buy{
      background-color: #f8c95b;
    border-radius: 15px;
    box-shadow: 0px 1px 1px 1px;
}
.btn-buy:hover{
  background-color: black;
  color: white;
}

:root {
  --pastry-cream: #FFF9F2;
  --pastry-gold: #C5A059;
  --pastry-dark: #43342E;
  --pastry-muted: #7A6A64;
}

.mesti-section {
  background-color: var(--pastry-cream);
  padding: 80px 0;
  overflow: hidden;
}

/* 左側文字與標籤 */
.mesti-badge {
  background: var(--pastry-gold);
  color: #fff;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.mesti-line {
  flex-grow: 1;
  border: 0;
  border-top: 1px solid rgba(197, 160, 89, 0.3);
  opacity: 1;
  margin: 0;
}

.mesti-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--pastry-dark);
  margin: 20px 0;
}

.text-highlight {
  color: var(--pastry-gold);
}

.mesti-text {
  color: var(--pastry-muted);
  line-height: 1.8;
  font-size: 1.1rem;
}

/* 按鈕與 Logo 區域 */
.mesti-action-group {
  margin-top: 30px;
}

.pastry-btn-primary {
  background-color: var(--pastry-dark);
  color: white;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
}

.pastry-btn-primary:hover {
  background-color: var(--pastry-gold);
  color: white;
  transform: translateY(-2px);
}

.mesti-logo {
  width: 100px;
  height: auto;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.05)); /* 給 Logo 一點立體感 */
}

/* 右側產品圖處理 */
.mesti-visual-container {
  position: relative;
  z-index: 1;
}

.mesti-product-img {
  border-radius: 20px; /* 柔和圓角 */
  box-shadow: 0 20px 40px rgba(67, 52, 46, 0.15); /* 糕點品牌常用的深棕色投影 */
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mesti-product-img:hover {
  transform: scale(1.02); /* 輕微放大效果 */
}

/* 裝飾用的背景球 */
.mesti-decoration-blob {
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

/* 手機版適配 */
@media (max-width: 991px) {
  .mesti-content { text-align: center; }
  .mesti-label-wrapper { justify-content: center; }
  .mesti-action-group { 
    flex-direction: column; 
    gap: 20px !important; 
  }
  .mesti-title { font-size: 2rem; }
}