/* Product Sidebar Menu Styles - Floating (Legacy) */
.product-sidebar-menu {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 1000;
}

/* Product Sidebar Menu Inline Styles - Positions beside advanced-section-block */
.product-sidebar-menu-inline {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  position: relative;
  width: 100%;
  margin-bottom: 2rem;
}

/* Simple Product Section Layout */
.product-content-wrapper {
  width: 100%;
  margin: 0;
}

.product-layout-container {
  display: flex;
  gap: 30px;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
}

.product-sidebar-container {
  flex: 0 0 25%;
  max-width: 25%;
}

.product-content-container {
  flex: 0 0 75%;
  max-width: 75%;
}

/* Product Sidebar Menu Grid Layout */
.product-sidebar-menu-grid {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  display: none; /* Hidden by default, shown by JavaScript */
  position: sticky;
  top: 90px;
}

/* Product Sidebar Menu - Fixed position beside advanced sections */
.product-sidebar-menu-inline {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  display: none; /* Hidden by default, shown by JavaScript */
}

/* Hide the sidebar paragraph by default */
.paragraph--type--product-sidebar-menu {
  display: none;
}

/* ========================================
   MOBILE DROPDOWN MENU
   ======================================== */

/* Mobile Dropdown - Hidden on desktop, shown on mobile */
.mobile-sidebar-dropdown {
  position: relative;
  margin-bottom: 20px;
  z-index: 1000;
}

/* Sticky mobile dropdown when scrolling */
.mobile-sidebar-dropdown.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin-bottom: 0;
  z-index: 1050;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mobile-sidebar-dropdown.sticky .mobile-dropdown-toggle {
  margin: 0;
}

.mobile-dropdown-toggle {
  width: 100%;
  background: #cacaca;
  color: white;
  border: none;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-dropdown-toggle:hover {
  box-shadow: 0 6px 16px rgba(85, 25, 228, 0.4);
}

.hamburger-menu {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-right: 12px;
}

.hamburger-menu span {
  width: 20px;
  height: 2px;
  background: white;
  border-radius: 1px;
  transition: all 0.3s ease;
}

.dropdown-text {
  flex: 1;
  text-align: left;
  margin-left: 8px;
}

.dropdown-arrow {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.dropdown-arrow.rotated {
  transform: rotate(180deg);
}

.mobile-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid #e5e7eb;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  max-height: 300px;
  overflow-y: auto;
  z-index: 1001;
}

.mobile-dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu-items {
  list-style: none;
  padding: 8px 0;
  margin: 0;
}

.mobile-menu-item {
  margin: 0;
}

.mobile-menu-link {
  display: block;
  padding: 12px 20px;
  color: #4a5568;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  border-bottom: 1px solid #f7fafc;
}

.mobile-menu-link:hover,
.mobile-menu-link:focus {
  background: #f7fafc;
  color: #5519e4;
  padding-left: 24px;
}

.mobile-menu-item:last-child .mobile-menu-link {
  border-bottom: none;
}

/* Desktop - Hide mobile dropdown, show sidebar */
@media (min-width: 992px) {
  .mobile-sidebar-dropdown {
    display: none !important;
  }
  
  .product-sidebar-menu-grid {
    display: block;
  }
}

/* Mobile - Hide desktop sidebar, show mobile dropdown when positioned */
@media (max-width: 991px) {
  /* Hide desktop sidebar on mobile */
  .product-sidebar-menu-grid {
    display: none !important;
  }
  
  /* Show mobile dropdown only when positioned inside product-content-wrapper */
  .mobile-sidebar-dropdown.positioned-inside-wrapper {
    display: block !important;
    position: relative;
    margin: 0px 20px 20px 20px;
    max-width: calc(100% - 40px);
    clear: both;
  }
}

/* Responsive adjustments for product section layout */
@media (max-width: 991px) {
  .product-layout-container {
    flex-direction: column;
    gap: 20px;
  }
  
  .product-sidebar-container,
  .product-content-container {
    flex: 1;
    max-width: 100%;
  }
  
  .product-sidebar-menu-grid {
    position: relative;
    top: auto;
    max-height: none;
    margin-bottom: 2rem;
  }
}

/* Legacy responsive adjustments for inline sidebar */
@media (max-width: 1200px) {
  .product-sidebar-menu-inline {
    width: 250px !important;
  }
  
  .paragraph--type--advanced-section-block {
    margin-left: 290px !important; /* 250px sidebar + 40px gap */
  }
}

@media (max-width: 991px) {
  .product-sidebar-menu-inline {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    margin-bottom: 2rem;
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  .paragraph--type--advanced-section-block {
    margin-left: 0 !important;
  }
}

/* Show sidebar beside advanced-section-block sections */
.paragraph--type--advanced-section-block {
  position: relative;
}

/* When advanced-section-block is present, show the sidebar */
.paragraph--type--advanced-section-block ~ .paragraph--type--product-sidebar-menu {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 25%;
  z-index: 10;
}

/* Adjust advanced-section-block content when sidebar is present */
.paragraph--type--advanced-section-block:has(~ .paragraph--type--product-sidebar-menu) .container,
.paragraph--type--advanced-section-block:has(~ .paragraph--type--product-sidebar-menu) .container-fluid {
  margin-right: 25%;
}

/* Product Sidebar Menu Standalone Styles */
.product-sidebar-menu-standalone {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  margin-bottom: 2rem;
  width: 100%;
  max-width: 400px;
}

/* Product Sidebar Menu Floating Styles - Positions beside advanced-section-block */
.product-sidebar-menu-floating {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 300px;
  max-width: 300px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  z-index: 1000;
  max-height: 80vh;
  overflow-y: auto;
}

.sidebar-toggle {
  margin-bottom: 10px;
}

.sidebar-toggle-btn {
  background: #5519E6;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(85, 25, 230, 0.3);
  transition: all 0.3s ease;
  min-width: 140px;
}

.sidebar-toggle-btn:hover {
  background: #4a16c7;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(85, 25, 230, 0.4);
}

.toggle-icon {
  font-size: 16px;
}

.toggle-text {
  font-weight: 600;
}

.sidebar-menu-content {
  position: absolute;
  right: 0;
  top: 100%;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  min-width: 280px;
  max-height: 70vh;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.product-sidebar-menu.active .sidebar-menu-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sidebar-header {
  padding: 20px 20px 16px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar-title {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}

.sidebar-close {
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.sidebar-close:hover {
  background: #f3f4f6;
  color: #374151;
}

.sidebar-menu-list {
  padding: 8px 0;
}

.menu-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-item {
  margin: 0;
}

.menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  color: #374151;
  text-decoration: none;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.menu-link:hover {
  background: #f8fafc;
  color: #5519E6;
  border-left-color: #5519E6;
}

.menu-link.active {
  background: #f0f4ff;
  color: #5519E6;
  border-left-color: #5519E6;
  font-weight: 600;
}

.menu-text {
  font-size: 14px;
  font-weight: 500;
  flex: 1;
}

.menu-arrow {
  color: #9ca3af;
  font-size: 12px;
  transition: all 0.2s ease;
}

.menu-link:hover .menu-arrow,
.menu-link.active .menu-arrow {
  color: #5519E6;
  transform: translateX(2px);
}

/* Custom scrollbar for menu content */
.sidebar-menu-content::-webkit-scrollbar {
  width: 6px;
}

.sidebar-menu-content::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 3px;
}

.sidebar-menu-content::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.sidebar-menu-content::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .product-sidebar-menu {
    right: 10px;
  }
  
  .sidebar-toggle-btn {
    padding: 10px 12px;
    min-width: 120px;
    font-size: 13px;
  }
  
  .sidebar-menu-content {
    min-width: 260px;
    right: -10px;
  }
}

@media (max-width: 480px) {
  .product-sidebar-menu {
    right: 5px;
  }
  
  .sidebar-toggle-btn {
    padding: 8px 10px;
    min-width: 100px;
    font-size: 12px;
  }
  
  .sidebar-menu-content {
    min-width: 240px;
    right: -5px;
  }
  
  .sidebar-title {
    font-size: 16px;
  }
  
  .menu-text {
    font-size: 13px;
  }
}

/* Animation for menu items */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.product-sidebar-menu.active .menu-item {
  animation: slideInRight 0.3s ease forwards;
}

.product-sidebar-menu.active .menu-item:nth-child(1) { animation-delay: 0.1s; }
.product-sidebar-menu.active .menu-item:nth-child(2) { animation-delay: 0.15s; }
.product-sidebar-menu.active .menu-item:nth-child(3) { animation-delay: 0.2s; }
.product-sidebar-menu.active .menu-item:nth-child(4) { animation-delay: 0.25s; }
.product-sidebar-menu.active .menu-item:nth-child(5) { animation-delay: 0.3s; }
.product-sidebar-menu.active .menu-item:nth-child(6) { animation-delay: 0.35s; }
.product-sidebar-menu.active .menu-item:nth-child(7) { animation-delay: 0.4s; }
.product-sidebar-menu.active .menu-item:nth-child(8) { animation-delay: 0.45s; }
.product-sidebar-menu.active .menu-item:nth-child(9) { animation-delay: 0.5s; }
.product-sidebar-menu.active .menu-item:nth-child(10) { animation-delay: 0.55s; }
.product-sidebar-menu.active .menu-item:nth-child(11) { animation-delay: 0.6s; }
.product-sidebar-menu.active .menu-item:nth-child(12) { animation-delay: 0.65s; }

/* Inline Sidebar Specific Styles */
.product-sidebar-menu-inline .sidebar-menu-content {
  position: static;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  min-width: auto;
  max-height: none;
  overflow-y: visible;
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: none;
  border: none;
}

.product-sidebar-menu-inline .sidebar-header {
  padding: 20px 20px 16px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #5519E6 0%, #7c3aed 100%);
  color: white;
  border-radius: 12px 12px 0 0;
  margin: -1px -1px 0 -1px;
}

.product-sidebar-menu-inline .sidebar-title {
  font-size: 18px;
  font-weight: 600;
  color: white;
  margin: 0;
}

.product-sidebar-menu-inline .sidebar-icon {
  color: white;
  font-size: 18px;
}

.product-sidebar-menu-inline .sidebar-menu-list {
  padding: 12px 0;
}

.product-sidebar-menu-inline .menu-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.product-sidebar-menu-inline .menu-item {
  margin: 0;
}

.product-sidebar-menu-inline .menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  color: #374151;
  text-decoration: none;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.product-sidebar-menu-inline .menu-link:hover {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  color: #5519E6;
  border-left-color: #5519E6;
  transform: translateX(5px);
}

.product-sidebar-menu-inline .menu-link.active {
  background: linear-gradient(135deg, #ede9fe 0%, #f3f4f6 100%);
  color: #5519E6;
  border-left-color: #5519E6;
  font-weight: 600;
}

.product-sidebar-menu-inline .menu-text {
  font-size: 14px;
  font-weight: 500;
  flex: 1;
  line-height: 1.4;
}

.product-sidebar-menu-inline .menu-arrow {
  color: #9ca3af;
  font-size: 12px;
  transition: all 0.2s ease;
}

.product-sidebar-menu-inline .menu-link:hover .menu-arrow,
.product-sidebar-menu-inline .menu-link.active .menu-arrow {
  color: #5519E6;
  transform: translateX(3px);
}

/* Responsive Design for Inline Sidebar */
@media (max-width: 991px) {
  .product-sidebar-menu-inline {
    margin-bottom: 3rem;
    border-radius: 8px;
  }
  
  .product-sidebar-menu-inline .sidebar-header {
    padding: 16px 16px 12px;
    border-radius: 8px 8px 0 0;
  }
  
  .product-sidebar-menu-inline .sidebar-title {
    font-size: 16px;
  }
  
  .product-sidebar-menu-inline .menu-link {
    padding: 12px 16px;
  }
  
  .product-sidebar-menu-inline .menu-text {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .product-sidebar-menu-inline {
    margin-bottom: 2rem;
    border-radius: 6px;
  }
  
  .product-sidebar-menu-inline .sidebar-header {
    padding: 12px 12px 10px;
    border-radius: 6px 6px 0 0;
  }
  
  .product-sidebar-menu-inline .sidebar-title {
    font-size: 15px;
  }
  
  .product-sidebar-menu-inline .menu-link {
    padding: 10px 12px;
  }
  
  .product-sidebar-menu-inline .menu-text {
    font-size: 12px;
  }
  
  .product-sidebar-menu-inline .menu-arrow {
    font-size: 10px;
  }
}

/* Standalone Sidebar Specific Styles */
.product-sidebar-menu-standalone .sidebar-menu-content {
  position: static;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  min-width: auto;
  max-height: none;
  overflow-y: visible;
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: none;
  border: none;
}

.product-sidebar-menu-standalone .sidebar-header {
  padding: 20px 20px 16px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #5519E6 0%, #7c3aed 100%);
  color: white;
  border-radius: 12px 12px 0 0;
  margin: -1px -1px 0 -1px;
}

.product-sidebar-menu-standalone .sidebar-title {
  font-size: 18px;
  font-weight: 600;
  color: white;
  margin: 0;
}

.product-sidebar-menu-standalone .sidebar-icon {
  color: white;
  font-size: 18px;
}

.product-sidebar-menu-standalone .sidebar-menu-list {
  padding: 12px 0;
}

.product-sidebar-menu-standalone .menu-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.product-sidebar-menu-standalone .menu-item {
  margin: 0;
}

.product-sidebar-menu-standalone .menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  color: #374151;
  text-decoration: none;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.product-sidebar-menu-standalone .menu-link:hover {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  color: #5519E6;
  border-left-color: #5519E6;
  transform: translateX(5px);
}

.product-sidebar-menu-standalone .menu-link.active {
  background: linear-gradient(135deg, #ede9fe 0%, #f3f4f6 100%);
  color: #5519E6;
  border-left-color: #5519E6;
  font-weight: 600;
}

.product-sidebar-menu-standalone .menu-text {
  font-size: 14px;
  font-weight: 500;
  flex: 1;
  line-height: 1.4;
}

.product-sidebar-menu-standalone .menu-arrow {
  color: #9ca3af;
  font-size: 12px;
  transition: all 0.2s ease;
}

.product-sidebar-menu-standalone .menu-link:hover .menu-arrow,
.product-sidebar-menu-standalone .menu-link.active .menu-arrow {
  color: #5519E6;
  transform: translateX(3px);
}

/* Responsive Design for Standalone Sidebar */
@media (max-width: 991px) {
  .product-sidebar-menu-standalone {
    margin-bottom: 3rem;
    border-radius: 8px;
    max-width: 100%;
  }
  
  .product-sidebar-menu-standalone .sidebar-header {
    padding: 16px 16px 12px;
    border-radius: 8px 8px 0 0;
  }
  
  .product-sidebar-menu-standalone .sidebar-title {
    font-size: 16px;
  }
  
  .product-sidebar-menu-standalone .menu-link {
    padding: 12px 16px;
  }
  
  .product-sidebar-menu-standalone .menu-text {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .product-sidebar-menu-standalone {
    margin-bottom: 2rem;
    border-radius: 6px;
    max-width: 100%;
  }
  
  .product-sidebar-menu-standalone .sidebar-header {
    padding: 12px 12px 10px;
    border-radius: 6px 6px 0 0;
  }
  
  .product-sidebar-menu-standalone .sidebar-title {
    font-size: 15px;
  }
  
  .product-sidebar-menu-standalone .menu-link {
    padding: 10px 12px;
  }
  
  .product-sidebar-menu-standalone .menu-text {
    font-size: 12px;
  }
  
  .product-sidebar-menu-standalone .menu-arrow {
    font-size: 10px;
  }
}

/* Floating Sidebar Specific Styles */
.product-sidebar-menu-floating .sidebar-menu-content {
  position: static;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  min-width: auto;
  max-height: none;
  overflow-y: visible;
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: none;
  border: none;
}

.product-sidebar-menu-floating .sidebar-header {
  padding: 20px 20px 16px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #5519E6 0%, #7c3aed 100%);
  color: white;
  border-radius: 12px 12px 0 0;
  margin: -1px -1px 0 -1px;
}

.product-sidebar-menu-floating .sidebar-title {
  font-size: 18px;
  font-weight: 600;
  color: white;
  margin: 0;
}

.product-sidebar-menu-floating .sidebar-icon {
  color: white;
  font-size: 18px;
}

.product-sidebar-menu-floating .sidebar-menu-list {
  padding: 12px 0;
}

.product-sidebar-menu-floating .menu-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.product-sidebar-menu-floating .menu-item {
  margin: 0;
}

.product-sidebar-menu-floating .menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  color: #374151;
  text-decoration: none;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.product-sidebar-menu-floating .menu-link:hover {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  color: #5519E6;
  border-left-color: #5519E6;
  transform: translateX(5px);
}

.product-sidebar-menu-floating .menu-link.active {
  background: linear-gradient(135deg, #ede9fe 0%, #f3f4f6 100%);
  color: #5519E6;
  border-left-color: #5519E6;
  font-weight: 600;
}

.product-sidebar-menu-floating .menu-text {
  font-size: 14px;
  font-weight: 500;
  flex: 1;
  line-height: 1.4;
}

.product-sidebar-menu-floating .menu-arrow {
  color: #9ca3af;
  font-size: 12px;
  transition: all 0.2s ease;
}

.product-sidebar-menu-floating .menu-link:hover .menu-arrow,
.product-sidebar-menu-floating .menu-link.active .menu-arrow {
  color: #5519E6;
  transform: translateX(3px);
}

/* Responsive Design for Floating Sidebar */
@media (max-width: 991px) {
  .product-sidebar-menu-floating {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    margin-bottom: 2rem;
    max-height: none;
  }
  
  .product-sidebar-menu-floating .sidebar-header {
    padding: 16px 16px 12px;
    border-radius: 12px 12px 0 0;
  }
  
  .product-sidebar-menu-floating .sidebar-title {
    font-size: 16px;
  }
  
  .product-sidebar-menu-floating .menu-link {
    padding: 12px 16px;
  }
  
  .product-sidebar-menu-floating .menu-text {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .product-sidebar-menu-floating {
    margin-bottom: 2rem;
    border-radius: 8px;
  }
  
  .product-sidebar-menu-floating .sidebar-header {
    padding: 12px 12px 10px;
    border-radius: 8px 8px 0 0;
  }
  
  .product-sidebar-menu-floating .sidebar-title {
    font-size: 15px;
  }
  
  .product-sidebar-menu-floating .menu-link {
    padding: 10px 12px;
  }
  
  .product-sidebar-menu-floating .menu-text {
    font-size: 12px;
  }
  
  .product-sidebar-menu-floating .menu-arrow {
    font-size: 10px;
  }
}

/* Grid Sidebar Specific Styles */
.product-sidebar-menu-grid .sidebar-menu-content {
  position: static;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  min-width: auto;
  max-height: none;
  overflow-y: visible;
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: none;
  border: none;
}

.product-sidebar-menu-grid .sidebar-header {
  padding: 20px 20px 16px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #000;
  border-radius: 12px 12px 0 0;
  margin: -1px -1px 0 -1px;
}

.product-sidebar-menu-grid .sidebar-title {
  font-size: 18px;
  font-weight: 600;
  color: #000;
  margin: 0;
}

  .product-sidebar-menu-grid .sidebar-icon {
    color: #000;
    font-size: 18px;
  }

  .product-sidebar-menu-grid .sidebar-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
  }

.product-sidebar-menu-grid .sidebar-menu-list {
  padding: 0;
}

.product-sidebar-menu-grid .menu-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.product-sidebar-menu-grid .menu-item {
  margin: 0;
}

.product-sidebar-menu-grid .menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  color: #374151;
  text-decoration: none;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.product-sidebar-menu-grid .menu-link:hover {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  color: #5519E6;
  border-left-color: #5519E6;
  transform: translateX(5px);
}

.product-sidebar-menu-grid .menu-link.active {
  background: linear-gradient(135deg, #ede9fe 0%, #f3f4f6 100%);
  color: #5519E6;
  border-left-color: #5519E6;
  font-weight: 600;
}

.product-sidebar-menu-grid .menu-text {
  font-size: 14px;
  font-weight: 500;
  flex: 1;
  line-height: 1.4;
}

.product-sidebar-menu-grid .menu-arrow {
  color: #9ca3af;
  font-size: 12px;
  transition: all 0.2s ease;
}

.product-sidebar-menu-grid .menu-link:hover .menu-arrow,
.product-sidebar-menu-grid .menu-link.active .menu-arrow {
  color: #5519E6;
  transform: translateX(3px);
}
