.fixed-actions-bar {
  position: fixed;
  right: 31px; /* Perfectly centered above the 114px Cart pill */
  bottom: 84px !important;
  display: flex;
  align-items: center;
  gap: 8px; /* Tighter, more modern grouping */
  z-index: 2100;
  pointer-events: none;
}

.fixed-actions-bar > * {
  pointer-events: auto;
  flex-shrink: 0;
}

/* Notice Floating Button (Bell) */
.notice-fixed-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background: #A85B35;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: notice-entrance-bounce 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 1.2s both;
}

@keyframes notice-entrance-bounce {
  0% { transform: scale(0) translateY(20px); opacity: 0; }
  70% { transform: scale(1.1) translateY(-4px); opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.notice-fixed-btn:hover {
  transform: scale(1.1) translateY(-3px);
  background: #BA6B45;
}

.notice-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #FF3B30;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 2;
}

/* Instagram Link reset */
.instagram-fixed-link {
  display: block;
  width: 40px;
  height: 40px;
  transition: all 0.3s ease;
}

.instagram-fixed-link:hover {
  transform: scale(1.1) rotate(5deg);
}

/* Notice Drawer Overlay */
.notice-drawer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  visibility: hidden;
  pointer-events: none;
}

.notice-drawer[aria-hidden="false"] {
  visibility: visible;
  pointer-events: auto;
}

.notice-drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(45, 41, 38, 0.4);
  backdrop-filter: blur(4px); /* Reduced for mobile performance */
  opacity: 0;
  transition: opacity 0.5s ease;
}

.notice-drawer[aria-hidden="false"] .notice-drawer-overlay {
  opacity: 1;
}

.notice-drawer-content {
  position: absolute;
  top: 0;
  right: -500px;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: #FCFAF8;
  box-shadow: -15px 0 40px rgba(0,0,0,0.15);
  transition: right 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  display: flex;
  flex-direction: column;
}

.notice-drawer[aria-hidden="false"] .notice-drawer-content {
  right: 0;
}

.notice-drawer-header {
  padding: 30px 24px;
  background: #fff;
  border-bottom: 1px solid #F1EDE9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.notice-drawer-header h3 {
  margin: 0;
  font-family: 'Fraunces', serif;
  font-size: 1.75rem;
  color: #2D2926;
}

.btn-close-drawer {
  background: #F1EDE9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-close-drawer:hover {
  background: #2D2926;
  color: #fff;
  transform: rotate(90deg);
}

/* THE CREATIVE GRID */
.notice-list {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-content: start;
}

/* Sticky Note Styles */
.notice-card {
  background: #fff;
  border-radius: 2px;
  padding: 20px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.05), 0 1px 3px rgba(0,0,0,0.1);
  position: relative;
  transition: all 0.3s ease;
  transform-origin: top center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 140px;
  animation: noticeSlideIn 0.5s ease backwards;
}

.notice-card.notice-pinned {
  border: 1px solid rgba(168, 91, 53, 0.3);
  box-shadow: 0 8px 25px rgba(168, 91, 53, 0.12);
  transform: rotate(0deg) !important;
  background: #FFFBF7;
}

.notice-card.notice-pinned::before {
  background: rgba(168, 91, 53, 0.6);
  width: 60px;
}

.pinned-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #A85B35;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 12px;
  width: fit-content;
}

.notice-card:nth-child(even) { transform: rotate(1.5deg); }
.notice-card:nth-child(odd) { transform: rotate(-1.5deg); }

.notice-card:hover {
  transform: scale(1.03) rotate(0deg) translateY(-5px);
  box-shadow: 10px 15px 30px rgba(168, 91, 53, 0.1);
  z-index: 10;
}

.notice-card::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 12px;
  background: rgba(168, 91, 53, 0.2);
}

.notice-card-content {
  color: #4A4542;
  font-size: 0.95rem;
  line-height: 1.5;
}

.notice-card-date {
  font-size: 0.75rem;
  color: #A09A96;
  text-transform: uppercase;
}

@keyframes noticeSlideIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 480px) {
  .fixed-actions-bar {
    right: 15px;
    bottom: 80px !important;
    gap: 10px;
  }
  .notice-list {
    padding: 18px 14px;
    gap: 16px;
  }
  .notice-card {
    min-height: auto;
    padding: 16px;
  }
}
