:root {
      --bg-color: #FEFEFE;
      --text-color: #000;
      --card-bg: white;
      --nav-bg: #FEFEFE;
      --option-bg: #f8f9fa;
      --button-bg: #FE724C;
      --button-hover: #ff5c33;
      --border-color: #eee;
      --cart-bg: white;
      --scrollbar-track: #f1f1f1;
      --scrollbar-thumb: #888;
      --header-overlay: linear-gradient(145deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
      --secondary-text: #666;
      --price-color: #292524;
      --special-color: #FFD700;
      --image-zoom-scale: 1.05;
      --image-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
      --section-padding: 2rem;
      --card-radius: 1rem;
      --image-size: 200px;
    }

    /* Dark Mode Styles */
    .dark-mode {
      --bg-color: #121212;
      --text-color: #e0e0e0;
      --card-bg: #1e1e1e;
      --nav-bg: #1e1e1e;
      --option-bg: #2d2d2d;
      --button-bg: #ff5c33;
      --button-hover: #ff4414;
      --border-color: #333;
      --cart-bg: #1e1e1e;
      --scrollbar-track: #2d2d2d;
      --scrollbar-thumb: #555;
      --header-overlay: linear-gradient(145deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
      --secondary-text: #a8a29e;
      --price-color: #e0e0e0;
      --special-color: #FFC600;
    }

    /* Base Styles */
    * {
      direction: rtl !important;
      text-align: right !important;
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: Vazir, dana, sans-serif;
      background-color: var(--bg-color);
      color: var(--text-color);
      line-height: 1.6;
      font-size: 1rem;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      transition: background-color 0.3s, color 0.3s;
    }

    /* Modern Scrollbar Styles */
    ::-webkit-scrollbar {
      width: 8px;
      height: 8px;
    }

    ::-webkit-scrollbar-track {
      background: var(--scrollbar-track);
      border-radius: 10px;
    }

    ::-webkit-scrollbar-thumb {
      background: var(--scrollbar-thumb);
      border-radius: 10px;
      background-clip: padding-box;
      border: 2px solid transparent;
    }

    ::-webkit-scrollbar-thumb:hover {
      background: var(--button-hover);
    }

    /* Firefox scrollbar */
    html {
      scrollbar-width: thin;
      scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
    }

    /* Header Styles */
    .header-container {
      position: relative;
      width: 100%;
      height: 300px !important;
      overflow: hidden;
      margin-bottom: 80px;
    }

    .header-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      position: absolute;
      top: 0;
      left: 0;
    }

    .header-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: var(--header-overlay);
      z-index: 1;
    }

    .profile-container {
      position: absolute;
      bottom: 0px;
      left: 0;
      width: 100%;
      z-index: 2;
      display: flex;
      justify-content: center;
    }

    .profile-content {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
      max-width: 1200px;
      padding: 0 2rem;
    }

    .profile-image {
      width: 120px;
      height: 120px;
      border-radius: 50%;
      object-fit: cover;
      border: 4px solid white;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
      transition: all 0.3s ease;
    }

    .profile-image:hover {
      transform: scale(1.05);
    }

    .info-container {
      text-align: center;
      margin-top: 1rem;
      width: 100%;
    }

    .cafe-name {
      font-size: 1.8rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
      color: var(--text-color);
    }

    .cafe-details {
      font-size: 1rem;
      color: var(--secondary-text);
      line-height: 1.6;
    }

    .cafe-phone {
      display: inline-block;
      margin-top: 0.5rem;
      padding: 0.5rem 1rem;
      background-color: rgba(255, 255, 255, 0.1);
      border-radius: 2rem;
      backdrop-filter: blur(5px);
    }

    /* Navigation */
    nav {
      position: sticky;
      top: 0;
      z-index: 50;
      background-color: var(--nav-bg);
      padding: 1rem 0;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      transition: all 0.3s ease;
    }

    .nav-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 2rem;
    }

    .nav-list {
      display: flex;
      gap: 0.5rem;
      overflow-x: auto;
      padding-bottom: 0.5rem;
      scrollbar-width: thin;
      scrollbar-color: var(--button-bg) var(--scrollbar-track);
      -webkit-overflow-scrolling: touch;
    }

    .nav-list::-webkit-scrollbar {
      height: 6px;
    }

    .nav-list::-webkit-scrollbar-track {
      background: var(--scrollbar-track);
      border-radius: 10px;
      margin: 0 1rem;
    }

    .nav-list::-webkit-scrollbar-thumb {
      background: var(--button-bg);
      border-radius: 10px;
      background-clip: padding-box;
      border: 2px solid transparent;
    }

    .nav-list::-webkit-scrollbar-thumb:hover {
      background: var(--button-hover);
    }

    .nav-item {
      border: 0;
      border-radius: 2rem;
      padding: 0.5rem 1.5rem;
      cursor: pointer;
      font-size: 0.9rem;
      font-weight: 700;
      color: var(--text-color);
      white-space: nowrap;
      flex-shrink: 0;
      transition: all 0.3s ease;
      background: var(--option-bg);
      text-decoration: none;
    }

    .nav-item:hover, .nav-item.active {
      background: var(--button-bg);
      color: white;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(254, 114, 76, 0.3);
    }

    /* Search */
    .search-container {
      padding: 1rem 2rem;
      background-color: var(--nav-bg);
    }

    .search-box {
      position: relative;
      max-width: 1200px;
      margin: 0 auto;
    }

    .search-input {
      font-family: inherit;
      height: 3rem;
      line-height: 3rem;
      font-size: 1rem;
      width: 100%;
      color: var(--text-color);
      display: block;
      border: 1px solid var(--border-color);
      background-color: var(--option-bg);
      padding: 0 3rem 0 1rem;
      border-radius: 2rem;
      transition: all 0.3s ease;
    }

    .search-input:focus {
      outline: none;
      border-color: var(--button-bg);
      box-shadow: 0 0 0 3px rgba(254, 114, 76, 0.2);
    }

    .search-icon {
      position: absolute;
      left: 1.5rem;
      top: 50%;
      transform: translateY(-50%);
      color: var(--secondary-text);
    }

    /* Menu Container */
    .menu-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 2rem;
    }

    /* Special Products Section */
    .special-section {
      margin-bottom: 3rem;
    }

    .section-title {
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 1.5rem;
      position: relative;
      padding-bottom: 0.5rem;
      color: var(--text-color);
      display: flex;
      align-items: center;
    }

    .section-title::after {
      content: '';
      position: absolute;
      bottom: 0;
      right: 0;
      width: 50px;
      height: 3px;
      background: var(--button-bg);
      border-radius: 3px;
    }

    .special-badge {
      background-color: var(--special-color);
      color: #000;
      padding: 0.25rem 0.75rem;
      border-radius: 1rem;
      font-size: 0.8rem;
      font-weight: bold;
      margin-right: 0.5rem;
    }

    /* Category Section */
    .category-section {
      margin-bottom: 3rem;
    }

    .category-title {
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 1.5rem;
      position: relative;
      padding-bottom: 0.5rem;
      color: var(--text-color);
    }

    .category-title::after {
      content: '';
      position: absolute;
      bottom: 0;
      right: 0;
      width: 50px;
      height: 3px;
      background: var(--button-bg);
      border-radius: 3px;
    }

    /* Product Grid */
    .product-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
      gap: 2rem;
    }

    @media (max-width: 768px) {
      .product-grid {
        grid-template-columns: 1fr;
      }
    }

    /* Product Card */
    .product-card {
      background: var(--card-bg);
      border-radius: var(--card-radius);
      overflow: hidden;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      transition: all 0.3s ease;
      display: flex;
      flex-direction: column;
      height: 100%;
      border: 1px solid var(--border-color);
      position: relative;
    }

    .product-card.special::before {
      content: 'ویژه';
      position: absolute;
      top: 10px;
      left: 10px;
      background-color: var(--special-color);
      color: #000;
      padding: 0.25rem 0.75rem;
      border-radius: 1rem;
      font-size: 0.8rem;
      font-weight: bold;
      z-index: 2;
    }

    .product-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }

    .product-image-container {
        
      position: relative;
      width: 100%;
      height: var(--image-size);
      overflow: hidden;
      cursor: pointer;
      aspect-ratio: 1/1; /* Makes container square */
      height: auto; /* Remove fixed height */
    }

    .product-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: var(--image-transition);
    }

    .product-card:hover .product-image {
      transform: scale(var(--image-zoom-scale));
    }

    .product-content {
      padding: 1.5rem;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
    }

    .product-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      margin-bottom: 1rem;
    }

    .product-name {
      font-size: 1.2rem;
      font-weight: 700;
      color: var(--text-color);
      margin-bottom: 0.5rem;
    }

    .product-description {
      color: var(--secondary-text);
      font-size: 0.9rem;
      line-height: 1.6;
      margin-bottom: 1rem;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .product-footer {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      margin-top: auto;
    }
    
    .product-actions {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    
    .comment-buttons {
      display: flex;
      gap: 0.5rem;
      flex-direction: column;
    }

    .product-price {
      font-size: 1.3rem;
      font-weight: 700;
      color: var(--price-color);
    }

    .product-currency {
      font-size: 0.9rem;
      color: var(--secondary-text);
      margin-right: 0.3rem;
    }

    .add-to-cart-btn {
      padding: 0.5rem 1.5rem;
      background: var(--button-bg);
      color: white;
      border: none;
      border-radius: 2rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .add-to-cart-btn:hover {
      background: var(--button-hover);
      transform: translateY(-2px);
      box-shadow: 0 4px 10px rgba(254, 114, 76, 0.3);
    }

    .details-btn {
      padding: 0.5rem 1.5rem;
      background: var(--option-bg);
      color: var(--text-color);
      border: none;
      border-radius: 2rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .details-btn:hover {
      background: var(--border-color);
      transform: translateY(-2px);
    }

    /* Product Modal */
    .product-modal {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: rgba(0, 0, 0, 0.8);
      z-index: 1000;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 1rem;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
    }

    .product-modal.show {
      opacity: 1;
      visibility: visible;
    }

    .modal-content {
      background-color: var(--card-bg);
      border-radius: 1rem;
      max-width: 800px;
      width: 90%;
      max-height: 90vh;
      overflow-y: auto;
      transform: translateY(20px);
      transition: all 0.3s ease;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
      border: 1px solid var(--border-color);
      scrollbar-color: var(--button-bg) var(--border-color);
      scrollbar-width: thin;
    }

    .product-modal.show .modal-content {
      transform: translateY(0);
    }

    .modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1.5rem 1.5rem 0;
    }

    .modal-title {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--text-color);
    }

    .modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
    transition: transform 0.3s ease;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    text-align: center !important;
}

    .modal-close:hover {
      transform: rotate(90deg);
    }

    .modal-body {
      padding: 1.5rem;
    }

    /* Image Slider */
    .image-slider {
      position: relative;
      margin-bottom: 1.5rem;
    }

    .slider-container {
      position: relative;
      width: 100%;
      aspect-ratio: 1/1; /* Makes container square */
      overflow: hidden;
    }

    .slider-track {
      display: grid;
      grid-auto-flow: column;
      grid-auto-columns: 100%;
      transition: transform 0.5s ease;
      height: 100%;
      direction: ltr;
    }
    .slide {
      position: absolute;
      width: 100%;
      height: 100%;
      opacity: 0;
      transition: opacity 0.5s ease;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .slide.active {
      opacity: 1;
    }
    .slider-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      pointer-events: none;
      user-select: none;
    }

    .slider-image.zoomed {
      transform: scale(1.5);
      cursor: zoom-out;
    }

    .slider-nav {
      display: flex;
      justify-content: center;
      gap: 8px;
      margin-top: 12px;
    }
    
    .slider-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: #ccc;
      cursor: pointer;
    }
    
    .slider-dot.active {
      background: #FE724C;
    }
    
    .slider-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(0,0,0,0.5);
      color: white;
      border: none;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      cursor: pointer;
      z-index: 10;
      text-align: center !important;
    }
    
    .slider-arrow.prev {
      right: 15px;
    }
    
    .slider-arrow.next {
      left: 15px;
    }

    /* Product Details */
    .product-full-desc {
      color: var(--text-color);
      line-height: 1.8;
      margin-bottom: 1.5rem;
    }

    /* Options Section */
    .options-section {
      margin-top: 2rem;
    }

    .options-title {
      font-size: 1.2rem;
      font-weight: 600;
      margin-bottom: 1rem;
      color: var(--text-color);
    }

    .options-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 1rem;
    }

    .option-item {
      background-color: var(--option-bg);
      border-radius: 0.5rem;
      padding: 1rem;
      border: 1px solid var(--border-color);
    }

    .option-name {
      font-weight: 600;
      margin-bottom: 0.5rem;
    }

    .option-details {
      display: flex;
      justify-content: space-between;
      margin-bottom: 0.5rem;
      font-size: 0.9rem;
      color: var(--secondary-text);
    }

    .option-price {
      font-weight: 600;
      color: var(--price-color);
    }

    .option-add-btn {
      width: 100%;
      padding: 0.5rem;
      background: var(--button-bg);
      color: white;
      border: none;
      border-radius: 0.5rem;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .option-add-btn:hover {
      background: var(--button-hover);
    }

    /* Enhanced Cart Styles */
    .cart-container {
      position: fixed;
      bottom: 20px;
      right: 20px;
      border-radius: 16px;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
      z-index: 100;
      max-width: 380px;
      width: 90%;
      display: none;
      transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
      background: var(--cart-bg);
      color: var(--text-color);
      border: 1px solid var(--border-color);
      overflow: hidden;
      max-height: 250px;
    }
    
    .cart-container.expanded {
      max-height: 70vh;
    }
    
    .cart-container.minimized {
      max-height: 60px;
      width: auto;
      min-width: 60px;
      padding: 0;
    }
    
    .cart-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 16px;
      background: var(--button-bg);
      color: white;
      cursor: pointer;
    }
    
    .cart-header h3 {
      margin: 0;
      font-size: 1.1rem;
      font-weight: 700;
    }
    
    .cart-toggle {
      background: rgba(255, 255, 255, 0.2);
      border: none;
      color: white;
      width: 64px;
      height: 32px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.3s ease;
      
          
    }
    
    .cart-toggle:hover {
      background: rgba(255,255,255,0.3);
    }
    
    .cart-badge {
      background: white;
      color: var(--button-bg);
      border-radius: 50%;
      width: 20px;
      height: 20px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 0.7rem;
      font-weight: bold;
      margin-right: 5px;
    }
    
    .cart-content {
      padding: 0 16px;
      overflow-y: auto;
      max-height: calc(70vh - 120px);
      transition: all 0.3s ease;
    }
    
    .cart-items {
      padding: 12px 0;
    }
    
    .cart-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 0;
      border-bottom: 1px solid var(--border-color);
    }
    
    .cart-item:last-child {
      border-bottom: none;
    }
    
    .cart-item-info {
      flex: 1;
      font-weight: 500;
    }
    
    .cart-item-actions {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    
    .remove-item {
      background: none;
      border: none;
      color: #ff6b6b;
      font-size: 0.8rem;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    
    .remove-item:hover {
      color: #ff5252;
      text-decoration: underline;
    }
    
    .quantity-control {
      display: flex;
      align-items: center;
      background: var(--option-bg);
      border-radius: 20px;
      padding: 2px;
    }
    
    .quantity-btn {
      background: none;
      border: none;
      width: 28px;
      height: 28px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      color: var(--text-color);
      font-weight: bold;
      transition: all 0.2s ease;
    }
    
    .quantity-btn:hover {
      background: rgba(0,0,0,0.05);
    }
    
    .quantity {
      min-width: 20px;
      text-align: center;
      font-weight: 600;
    }
    
    .cart-footer {
      padding: 16px;
      border-top: 1px solid var(--border-color);
      background: var(--card-bg);
      position: sticky;
      bottom: 0;
    }
    
    .cart-total {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 12px;
      font-weight: 600;
    }
    
    .checkout-btn {
      width: 100%;
      padding: 12px;
      background: var(--button-bg);
      color: white;
      border: none;
      border-radius: 8px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }
    
    .checkout-btn:hover {
      background: var(--button-hover);
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(254, 114, 76, 0.3);
    }
    
    .checkout-btn:disabled {
      background: #ccc;
      cursor: not-allowed;
      transform: none;
      box-shadow: none;
    }
    
    .empty-state {
      text-align: center;
      padding: 20px 0;
      color: var(--secondary-text);
    }
    
    .empty-state i {
      font-size: 2.5rem;
      margin-bottom: 1rem;
      color: var(--border-color);
    }
    
    .empty-state p {
      margin: 0;
    }

    .dark-mode-toggle {
      position: fixed;
      top: 20px;
      left: 20px;
      z-index: 999;
      background: var(--button-bg);
      color: white;
      border: none;
      border-radius: 50%;
      width: 50px;
      height: 50px;
      font-size: 1.2rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
      transition: all 0.3s ease;
      text-align: center !important;
      padding-right: 7px;
    }

    .dark-mode-toggle:hover {
      background: var(--button-hover);
      transform: scale(1.1);
    }

    /* Responsive Adjustments */
    @media (max-width: 992px) {
      :root {
        --image-size: 180px;
      }
      
      .header-container {
        height: 220px;
        margin-bottom: 70px;
      }
      
      .profile-image {
        width: 100px;
        height: 100px;
      }
      
      .cafe-name {
        font-size: 1.5rem;
      }

      .slider-container {
        height: 250px;
      }
    }

    @media (max-width: 768px) {
      :root {
        --image-size: 160px;
        --section-padding: 1.5rem;
      }
      
      .header-container {
        height: 200px;
        margin-bottom: 60px;
      }
      
      .profile-image {
        width: 90px;
        height: 90px;
      }
      
      .cafe-name {
        font-size: 1.3rem;
      }
      
      .product-grid {
        grid-template-columns: 1fr;
      }
      
      .product-card {
        flex-direction: row;
        height: auto;
      }
      
      .product-image-container {
        width: 120px;
        height: 120px;
        flex-shrink: 0;
      }
      
      .product-content {
        padding: 1rem;
      }

      .slider-container {
        height: 200px;
      }

      .options-grid {
        grid-template-columns: 1fr;
      }
      
      .cart-container {
        max-width: 90%;
        right: 5%;
      }
    }

    @media (max-width: 576px) {
      :root {
        --section-padding: 1rem;
      }
      
      .header-container {
        height: 180px;
        margin-bottom: 50px;
      }
      
      .profile-image {
        width: 80px;
        height: 80px;
      }
      
      .cafe-name {
        font-size: 1.2rem;
      }
      
      .product-card {
        flex-direction: column;
      }
      
      .product-image-container {
        width: 100%;
        height: 150px;
      }

      .modal-content {
        width: 95%;
      }

      .slider-container {
        height: 180px;
      }
    }

    /* Floating action button for cart */
    .fab {
      position: fixed;
      bottom: 30px;
      right: 30px;
      width: 60px;
      height: 60px;
      background: var(--button-bg);
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      box-shadow: 0 4px 15px rgba(254, 114, 76, 0.3);
      cursor: pointer;
      z-index: 99;
      transition: all 0.3s ease;
      opacity: 0;
      transform: translateY(20px);
    }

    .fab.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .fab:hover {
      background: var(--button-hover);
      transform: translateY(-5px) scale(1.1);
      box-shadow: 0 6px 20px rgba(254, 114, 76, 0.4);
    }

    /* Animations */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .product-card {
      animation: fadeIn 0.5s ease forwards;
      opacity: 0;
    }
    
    @keyframes slideUp {
      from { transform: translateY(100%); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
    }
    
    .cart-container.show {
      animation: slideUp 0.3s ease forwards;
      display: block;
    }
    .product-modal {
  z-index: 1000;
}





.elans-container {
            background: rgba(254, 114, 76, 0.08);
            border-radius: 12px;
            padding: 16px;
            margin: 20px auto;
            max-width: 1200px;
            border: 1px solid rgba(254, 114, 76, 0.15);
        }

/* Hidden state for content section when empty */
.profile-content-section.hidden {
    display: none;
}

/* =================================
   ADDITIONAL DARK MODE FIXES FOR KATALOG
   ================================= */

/* Fix search input in dark mode */
.dark-mode .search-input {
    background-color: var(--option-bg) !important;
    color: var(--text-color) !important;
    border-color: var(--border-color) !important;
}

.dark-mode .search-input:focus {
    background-color: var(--option-bg) !important;
    color: var(--text-color) !important;
    border-color: var(--button-bg) !important;
    box-shadow: 0 0 0 3px rgba(254, 114, 76, 0.2) !important;
}

.dark-mode .search-input::placeholder {
    color: var(--secondary-text) !important;
}

/* Fix form elements in product modal */
.dark-mode .modal-content input,
.dark-mode .modal-content textarea,
.dark-mode .modal-content select {
    background-color: var(--option-bg) !important;
    color: var(--text-color) !important;
    border-color: var(--border-color) !important;
}

.dark-mode .modal-content input:focus,
.dark-mode .modal-content textarea:focus,
.dark-mode .modal-content select:focus {
    background-color: var(--option-bg) !important;
    color: var(--text-color) !important;
    border-color: var(--button-bg) !important;
    box-shadow: 0 0 0 3px rgba(254, 114, 76, 0.2) !important;
}

.dark-mode .modal-content input::placeholder,
.dark-mode .modal-content textarea::placeholder {
    color: var(--secondary-text) !important;
}

/* Fix any form labels in dark mode */
.dark-mode .modal-content label,
.dark-mode label {
    color: var(--text-color) !important;
}

/* Fix quantity control inputs */
.dark-mode .quantity-control input {
    background-color: var(--option-bg) !important;
    color: var(--text-color) !important;
    border-color: var(--border-color) !important;
}

/* Fix any checkboxes or radio buttons */
.dark-mode input[type="checkbox"],
.dark-mode input[type="radio"] {
    background-color: var(--option-bg) !important;
    border-color: var(--border-color) !important;
}

.dark-mode input[type="checkbox"]:checked,
.dark-mode input[type="radio"]:checked {
    background-color: var(--button-bg) !important;
    border-color: var(--button-bg) !important;
}

/* Fix any file inputs */
.dark-mode input[type="file"] {
    background-color: var(--option-bg) !important;
    color: var(--text-color) !important;
    border-color: var(--border-color) !important;
}

.dark-mode input[type="file"]::file-selector-button {
    background-color: var(--button-bg) !important;
    color: white !important;
    border-color: var(--button-bg) !important;
}

/* Fix range inputs */
.dark-mode input[type="range"] {
    background-color: var(--option-bg) !important;
}

.dark-mode input[type="range"]::-webkit-slider-thumb {
    background-color: var(--button-bg) !important;
}

.dark-mode input[type="range"]::-moz-range-thumb {
    background-color: var(--button-bg) !important;
    border-color: var(--button-bg) !important;
}

/* Fix any remaining input types */
.dark-mode input[type="text"],
.dark-mode input[type="email"],
.dark-mode input[type="password"],
.dark-mode input[type="number"],
.dark-mode input[type="tel"],
.dark-mode input[type="url"],
.dark-mode input[type="search"],
.dark-mode input[type="date"],
.dark-mode input[type="time"],
.dark-mode input[type="datetime-local"] {
    background-color: var(--option-bg) !important;
    color: var(--text-color) !important;
    border-color: var(--border-color) !important;
}

.dark-mode input[type="text"]:focus,
.dark-mode input[type="email"]:focus,
.dark-mode input[type="password"]:focus,
.dark-mode input[type="number"]:focus,
.dark-mode input[type="tel"]:focus,
.dark-mode input[type="url"]:focus,
.dark-mode input[type="search"]:focus,
.dark-mode input[type="date"]:focus,
.dark-mode input[type="time"]:focus,
.dark-mode input[type="datetime-local"]:focus {
    background-color: var(--option-bg) !important;
    color: var(--text-color) !important;
    border-color: var(--button-bg) !important;
    box-shadow: 0 0 0 3px rgba(254, 114, 76, 0.2) !important;
}

/* Fix textarea specifically */
.dark-mode textarea {
    background-color: var(--option-bg) !important;
    color: var(--text-color) !important;
    border-color: var(--border-color) !important;
}

.dark-mode textarea:focus {
    background-color: var(--option-bg) !important;
    color: var(--text-color) !important;
    border-color: var(--button-bg) !important;
    box-shadow: 0 0 0 3px rgba(254, 114, 76, 0.2) !important;
}

.dark-mode textarea::placeholder {
    color: var(--secondary-text) !important;
}

/* Fix select dropdowns */
.dark-mode select {
    background-color: var(--option-bg) !important;
    color: var(--text-color) !important;
    border-color: var(--border-color) !important;
}

.dark-mode select:focus {
    background-color: var(--option-bg) !important;
    color: var(--text-color) !important;
    border-color: var(--button-bg) !important;
    box-shadow: 0 0 0 3px rgba(254, 114, 76, 0.2) !important;
}

.dark-mode select option {
    background-color: var(--option-bg) !important;
    color: var(--text-color) !important;
}

/* Fix any remaining white text on white background issues */
.dark-mode .white-text {
    color: var(--text-color) !important;
}

/* Fix any form validation styling */
.dark-mode .is-invalid {
    border-color: #dc3545 !important;
}

.dark-mode .is-valid {
    border-color: #28a745 !important;
}

.dark-mode .invalid-feedback {
    color: #dc3545 !important;
}

.dark-mode .valid-feedback {
    color: #28a745 !important;
}

/* Ensure buttons maintain proper styling */
.dark-mode button:not(.btn-close) {
    background-color: var(--button-bg) !important;
    color: white !important;
    border-color: var(--button-bg) !important;
}

.dark-mode button:not(.btn-close):hover {
    background-color: var(--button-hover) !important;
    border-color: var(--button-hover) !important;
}

/* =================================
   PROFILE INFORMATION MODAL STYLES
   ================================= */

.profile-info-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.profile-info-modal.show {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.profile-modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 24px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.profile-info-modal.show .profile-modal-content {
    transform: translateY(0) scale(1);
}

/* Dark mode styles for profile modal */
.dark-mode .profile-modal-content {
    background: linear-gradient(135deg, var(--card-bg) 0%, #2a2a2a 100%);
    border: 1px solid var(--border-color);
}

.profile-modal-header {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.profile-modal-close {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.profile-modal-close:hover {
    background: rgba(255, 255, 255, 1);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.dark-mode .profile-modal-close {
    background: rgba(45, 45, 45, 0.9);
    color: var(--text-color);
}

.dark-mode .profile-modal-close:hover {
    background: rgba(45, 45, 45, 1);
}

.profile-modal-body {
    padding: 0;
}

.profile-hero-section {
    background: linear-gradient(135deg, var(--button-bg) 0%, #ff4414 100%);
    padding: 60px 40px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.profile-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.05"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    pointer-events: none;
}

.profile-avatar-container {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.profile-modal-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.profile-avatar-overlay {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--button-bg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.profile-title-section {
    color: white;
}

.profile-modal-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.profile-modal-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
    font-weight: 400;
}

.profile-info-grid {
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.profile-info-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.profile-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--button-bg), #ff4414);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.profile-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.profile-info-card:hover::before {
    transform: scaleX(1);
}

.dark-mode .profile-info-card {
    background: var(--card-bg);
    border-color: var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.profile-info-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--button-bg), #ff4414);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: white;
    box-shadow: 0 4px 16px rgba(254, 114, 76, 0.3);
    transition: all 0.3s ease;
}

.profile-info-card:hover .profile-info-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 24px rgba(254, 114, 76, 0.4);
}

.profile-info-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: var(--text-color);
}

.dark-mode .profile-info-content h4 {
    color: var(--text-color);
}

.profile-info-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 20px 0;
    color: var(--secondary-text);
    word-break: break-word;
}

.dark-mode .profile-info-content p {
    color: var(--secondary-text);
}

.profile-action-btn {
    background: linear-gradient(135deg, var(--button-bg), #ff4414);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(254, 114, 76, 0.3);
}

.profile-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(254, 114, 76, 0.4);
    background: linear-gradient(135deg, #ff4414, var(--button-bg));
}

.profile-action-btn i {
    font-size: 14px;
}

.profile-modal-footer {
    padding: 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    text-align: center;
}

.dark-mode .profile-modal-footer {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #2a2a2a 100%);
    border-top: 1px solid var(--border-color);
}

.profile-social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.profile-social-link {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
    color: white;
}

.profile-social-link.instagram {
    background: linear-gradient(135deg, #E4405F, #C13584);
}

.profile-social-link.phone {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.profile-social-link.email {
    background: linear-gradient(135deg, #4285F4, #0F9D58);
}

.profile-social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.profile-footer-text p {
    font-size: 0.95rem;
    color: var(--secondary-text);
    margin: 0;
    opacity: 0.8;
}

.dark-mode .profile-footer-text p {
    color: var(--secondary-text);
}

/* Loading state */
.profile-info-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-text);
    font-style: italic;
}

.profile-info-loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid var(--border-color);
    border-top: 2px solid var(--button-bg);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Not available state */
.profile-info-unavailable {
    color: var(--secondary-text);
    font-style: italic;
    opacity: 0.7;
}

/* Responsive design */
@media (max-width: 768px) {
    .profile-modal-content {
        margin: 10px;
        border-radius: 20px;
        max-height: 95vh;
    }
    
    .profile-hero-section {
        padding: 40px 20px 30px;
    }
    
    .profile-modal-title {
        font-size: 1.6rem;
    }
    
    .profile-modal-subtitle {
        font-size: 1rem;
    }
    
    .profile-info-grid {
        padding: 20px;
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .profile-info-card {
        padding: 20px;
    }
    
    .profile-modal-footer {
        padding: 20px;
    }
    
    .profile-modal-avatar {
        width: 100px;
        height: 100px;
    }
    
    .profile-avatar-overlay {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

/* =================================
   COMMENTS SYSTEM STYLES
   ================================= */

/* Comment buttons in product cards */
.view-comments-btn,
.add-comment-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    text-align: center;
    justify-content: center;
}

.view-comments-btn {
    background: var(--option-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.view-comments-btn:hover {
    background: var(--border-color);
    transform: translateY(-2px);
}

.add-comment-btn {
    background: #28a745;
    color: white;
}

.add-comment-btn:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* Comments Modal */
.comments-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.comments-modal.show {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.comments-modal-content {
    background: var(--card-bg);
    border-radius: 1rem;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.comments-modal.show .comments-modal-content {
    transform: translateY(0) scale(1);
}

.comments-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--option-bg);
}

.comments-modal-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.comments-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.comments-modal-close:hover {
    background: var(--border-color);
    transform: rotate(90deg);
}

.comments-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    max-height: calc(80vh - 120px);
}

/* Comments List */
.loading-comments {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--secondary-text);
    padding: 2rem;
    font-style: italic;
}

.loading-comments i {
    font-size: 1.2rem;
    color: var(--button-bg);
}

.no-comments,
.error-comments {
    text-align: center;
    padding: 2rem;
    color: var(--secondary-text);
}

.no-comments i,
.error-comments i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--border-color);
    display: block;
}

.comment-item {
    background: var(--option-bg);
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.comment-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.comment-user {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comment-user i {
    font-size: 1.2rem;
    color: var(--button-bg);
}

.comment-username {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

.comment-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.comment-rating {
    display: flex;
    gap: 2px;
}

.comment-rating .fa-star.filled {
    color: #FFD700;
}

.comment-rating .fa-star:not(.filled) {
    color: var(--border-color);
}

.comment-date {
    font-size: 0.8rem;
    color: var(--secondary-text);
}

.comment-body {
    margin-top: 0.75rem;
}

.comment-text {
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0.75rem;
    background: var(--card-bg);
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
}

/* Add Comment Modal */
.add-comment-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2001;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.add-comment-modal.show {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.add-comment-modal-content {
    background: var(--card-bg);
    border-radius: 1rem;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.add-comment-modal.show .add-comment-modal-content {
    transform: translateY(0) scale(1);
}

.add-comment-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--option-bg);
}

.add-comment-modal-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.add-comment-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.add-comment-modal-close:hover {
    background: var(--border-color);
    transform: rotate(90deg);
}

.add-comment-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    max-height: calc(80vh - 120px);
}

/* Comment Warning */
.comment-warning {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.comment-warning i {
    color: #FFC107;
    font-size: 1.1rem;
}

.comment-warning span {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Star Rating */
.star-rating {
    margin-bottom: 1.5rem;
}

.star-label {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.stars {
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: flex-start;
}

.stars i {
    font-size: 1.5rem;
    color: var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
    user-select: none;
    display: inline-block;
    position: relative;
    z-index: 1;
    padding: 2px;
}

.stars i:hover,
.stars i.hover,
.stars i.active {
    color: #FFD700 !important;
    transform: scale(1.1);
}

.stars i.hover {
    color: #FFB700 !important;
}

.stars i.active {
    color: #FFD700 !important;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

/* Comment Input */
.comment-input-container {
    margin-bottom: 1.5rem;
}

.comment-input-container label {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

#commentInput {
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.75rem;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-color);
    resize: vertical;
    min-height: 100px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

#commentInput:focus {
    outline: none;
    border-color: var(--button-bg);
    box-shadow: 0 0 0 3px rgba(254, 114, 76, 0.2);
}

#commentInput::placeholder {
    color: var(--secondary-text);
}

/* Comment Actions */
.comment-actions {
    display: flex;
    justify-content: flex-end;
}

.submit-comment-btn {
    padding: 0.75rem 1.5rem;
    background: var(--button-bg);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.submit-comment-btn:hover {
    background: var(--button-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 114, 76, 0.3);
}

.submit-comment-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Dark Mode Adjustments */
.dark-mode .comment-warning {
    background: rgba(255, 193, 7, 0.15);
    border-color: rgba(255, 193, 7, 0.4);
}

.dark-mode #commentInput {
    background: var(--option-bg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .comments-modal-content,
    .add-comment-modal-content {
        margin: 10px;
        max-height: 90vh;
    }
    
    .comment-buttons {
        gap: 0.25rem;
    }
    
    .view-comments-btn,
    .add-comment-btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .comment-meta {
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .comments-modal,
    .add-comment-modal {
        padding: 10px;
    }
    
    .comments-modal-content,
    .add-comment-modal-content {
        max-height: 95vh;
    }
    
    .comments-modal-header,
    .add-comment-modal-header {
        padding: 1rem;
    }
    
    .comments-modal-body,
    .add-comment-modal-body {
        padding: 1rem;
    }
    
    .comment-item {
        padding: 1rem;
    }
    
    .stars i {
        font-size: 1.3rem;
    }
    
    .comment-buttons {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    .profile-info-modal {
        padding: 10px;
    }
    
    .profile-modal-close {
        width: 40px;
        height: 40px;
        font-size: 16px;
        top: 15px;
        right: 15px;
    }
    
    .profile-hero-section {
        padding: 30px 15px 25px;
    }
    
    .profile-modal-title {
        font-size: 1.4rem;
    }
    
    .profile-info-card {
        padding: 16px;
    }
    
    .profile-info-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 16px;
    }
    
    .profile-action-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}

/* Unavailable state styling */
.profile-info-card.unavailable {
    opacity: 0.6;
}

.profile-info-card.unavailable .profile-info-icon {
    background: linear-gradient(135deg, #6c757d, #495057);
    box-shadow: 0 4px 16px rgba(108, 117, 125, 0.3);
}

.profile-info-card.unavailable:hover .profile-info-icon {
    transform: none;
    box-shadow: 0 4px 16px rgba(108, 117, 125, 0.3);
}
        
        .elans-title {
            font-size: 1.2rem;
            font-weight: 600;
            color: #FE724C;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .elans-title i {
            font-size: 1.1rem;
        }
        
        .elans-list {
            list-style-type: none;
        }
        
        .elan-item {
            padding: 10px 0;
            border-bottom: 1px dashed rgba(254, 114, 76, 0.2);
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }
        
        .elan-item:last-child {
            border-bottom: none;
        }
        
        .elan-bullet {
            color: #FE724C;
            font-size: 0.8rem;
            margin-top: 4px;
            flex-shrink: 0;
        }
        
        .elan-text {
            flex-grow: 1;
            color: #333;
            line-height: 1.6;
        }
        
        /* Dark Mode Support */
        .dark-mode .elans-container {
            background: rgba(0, 0, 0, 0.1);
            border-color: rgba(255, 255, 255, 0.1);
        }
        
        .dark-mode .elan-text {
            color: #e0e0e0;
        }
        
        /* Responsive Design */
        @media (max-width: 768px) {
            .elans-container {
                margin: 15px;
                padding: 12px;
            }
            
            .elans-title {
                font-size: 1.1rem;
            }
            
            .elan-item {
                padding: 8px 0;
            }
        }

/* =================================
   DARK MODE PRODUCT MODAL FIXES
   ================================= */

/* Fix product modal background in dark mode */
.dark-mode .product-modal {
    background-color: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(8px) !important;
}

.dark-mode .product-modal .modal-content {
    background: linear-gradient(135deg, var(--card-bg) 0%, #2a2a2a 100%) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-color) !important;
}

.dark-mode .product-modal .modal-header {
    background: var(--option-bg) !important;
    border-bottom: 1px solid var(--border-color) !important;
}

.dark-mode .product-modal .modal-title {
    color: var(--text-color) !important;
}

.dark-mode .product-modal .modal-close {
    color: var(--text-color) !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.dark-mode .product-modal .modal-close:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

.dark-mode .product-modal .modal-body {
    background: var(--card-bg) !important;
    color: var(--text-color) !important;
}

.dark-mode .product-modal .product-full-desc {
    color: var(--text-color) !important;
}

.dark-mode .product-modal .slider-container {
    background: var(--option-bg) !important;
    border: 1px solid var(--border-color) !important;
}

.dark-mode .product-modal .slider-arrow {
    background: rgba(0, 0, 0, 0.7) !important;
    color: white !important;
}

.dark-mode .product-modal .slider-arrow:hover {
    background: rgba(0, 0, 0, 0.9) !important;
}

.dark-mode .product-modal .slider-dot {
    background: var(--border-color) !important;
}

.dark-mode .product-modal .slider-dot.active {
    background: var(--button-bg) !important;
}

.dark-mode .product-modal .options-section {
    background: var(--card-bg) !important;
}

.dark-mode .product-modal .options-title {
    color: var(--text-color) !important;
}

.dark-mode .product-modal .option-item {
    background: var(--option-bg) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-color) !important;
}

.dark-mode .product-modal .option-name {
    color: var(--text-color) !important;
}

.dark-mode .product-modal .option-details {
    color: var(--secondary-text) !important;
}

.dark-mode .product-modal .option-price {
    color: var(--text-color) !important;
}

.dark-mode .product-modal .option-add-btn {
    background: var(--button-bg) !important;
    color: white !important;
}

.dark-mode .product-modal .option-add-btn:hover {
    background: var(--button-hover) !important;
}

/* =================================
   PROFILE CONTENT SECTION STYLES
   ================================= */

.profile-content-section {
    margin: 0 40px 40px 40px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.profile-content-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.dark-mode .profile-content-section {
    background: linear-gradient(135deg, var(--card-bg) 0%, #2a2a2a 100%);
    border-color: var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.profile-content-wrapper {
    position: relative;
    overflow: hidden;
}

.content-header {
    background: linear-gradient(135deg, var(--button-bg) 0%, #ff4414 100%);
    color: white;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.content-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="content-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.05"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23content-grain)"/></svg>') repeat;
    pointer-events: none;
}

.content-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
}

.content-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.content-body {
    padding: 32px;
    position: relative;
    min-height: 120px;
}

.content-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--secondary-text);
    font-style: italic;
    padding: 40px 20px;
}

.content-loading i {
    font-size: 20px;
    color: var(--button-bg);
}

.content-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--secondary-text);
    font-style: italic;
    opacity: 0.7;
}

.content-empty i {
    font-size: 48px;
    color: var(--border-color);
    margin-bottom: 16px;
    display: block;
}

.content-empty .empty-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
    opacity: 0.8;
}

.content-empty .empty-message {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Page content styling */
.page-content {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1rem;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
    color: var(--text-color);
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: 600;
}

.page-content h1 {
    font-size: 1.8rem;
    border-bottom: 2px solid var(--button-bg);
    padding-bottom: 0.5rem;
}

.page-content h2 {
    font-size: 1.5rem;
    color: var(--button-bg);
}

.page-content h3 {
    font-size: 1.3rem;
}

.page-content p {
    margin-bottom: 1em;
    text-align: justify;
}

.page-content ul,
.page-content ol {
    margin: 1em 0;
    padding-right: 1.5em;
}

.page-content li {
    margin-bottom: 0.5em;
}

.page-content a {
    color: var(--button-bg);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.page-content a:hover {
    border-bottom-color: var(--button-bg);
    color: var(--button-hover);
}

.page-content blockquote {
    border-right: 4px solid var(--button-bg);
    background: var(--option-bg);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    position: relative;
}

.page-content blockquote::before {
    content: '"';
    font-size: 3rem;
    color: var(--button-bg);
    position: absolute;
    top: -10px;
    right: 10px;
    opacity: 0.3;
    font-family: Georgia, serif;
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-content th,
.page-content td {
    padding: 12px 16px;
    text-align: right;
    border-bottom: 1px solid var(--border-color);
}

.page-content th {
    background: var(--button-bg);
    color: white;
    font-weight: 600;
}

.page-content tr:last-child td {
    border-bottom: none;
}

.page-content code {
    background: var(--option-bg);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--button-bg);
    border: 1px solid var(--border-color);
}

.page-content pre {
    background: var(--option-bg);
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    border: 1px solid var(--border-color);
    margin: 1rem 0;
}

.page-content pre code {
    background: none;
    padding: 0;
    border: none;
    color: var(--text-color);
}

/* Dark mode content adjustments */
.dark-mode .page-content {
    color: var(--text-color);
}

.dark-mode .page-content h1,
.dark-mode .page-content h2,
.dark-mode .page-content h3,
.dark-mode .page-content h4,
.dark-mode .page-content h5,
.dark-mode .page-content h6 {
    color: var(--text-color);
}

.dark-mode .page-content blockquote {
    background: var(--option-bg);
    border-right-color: var(--button-bg);
}

.dark-mode .page-content table {
    background: var(--card-bg);
}

.dark-mode .page-content th {
    background: var(--button-bg);
}

.dark-mode .page-content code {
    background: var(--option-bg);
    border-color: var(--border-color);
    color: var(--button-bg);
}

.dark-mode .page-content pre {
    background: var(--option-bg);
    border-color: var(--border-color);
}

/* Content fade-in animation */
.content-body.loading {
    opacity: 0.6;
    pointer-events: none;
}

.content-body.loaded {
    opacity: 1;
    transition: opacity 0.5s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .profile-content-section {
        margin: 0 20px 30px 20px;
    }
    
    .content-header {
        padding: 20px 24px;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .content-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .content-title {
        font-size: 1.2rem;
    }
    
    .content-body {
        padding: 24px;
    }
    
    .page-content h1 {
        font-size: 1.5rem;
    }
    
    .page-content h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .profile-content-section {
        margin: 0 15px 20px 15px;
        border-radius: 16px;
    }
    
    .content-header {
        padding: 16px 20px;
    }
    
    .content-title {
        font-size: 1.1rem;
    }
    
    .content-body {
        padding: 20px;
    }
    
    .page-content {
        font-size: 0.95rem;
    }
    
    .page-content h1 {
        font-size: 1.3rem;
    }
    
    .page-content h2 {
        font-size: 1.2rem;
    }
    
    .page-content th,
    .page-content td {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}

/* =================================
   COMMENTS SYSTEM STYLES
   ================================= */

/* Comments Section in Product Modal */
.comments-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.comments-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.view-comments-btn,
.add-comment-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.view-comments-btn {
    background: var(--option-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.view-comments-btn:hover {
    background: var(--border-color);
    transform: translateY(-2px);
}

.add-comment-btn {
    background: var(--button-bg);
    color: white;
}

.add-comment-btn:hover {
    background: var(--button-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 114, 76, 0.3);
}

/* Comments Modal */
.comments-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.comments-modal.show {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.comments-modal-content {
    background: var(--card-bg);
    border-radius: 1rem;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.comments-modal.show .comments-modal-content {
    transform: translateY(0) scale(1);
}

.comments-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--option-bg);
}

.comments-modal-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.comments-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comments-modal-close:hover {
    background: var(--border-color);
    transform: rotate(90deg);
}

.comments-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    max-height: calc(80vh - 120px);
}

/* Comments List */
.comments-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--secondary-text);
    padding: 2rem;
    font-style: italic;
}

.comments-loading i {
    font-size: 1.2rem;
    color: var(--button-bg);
}

.comments-empty {
    text-align: center;
    padding: 2rem;
    color: var(--secondary-text);
}

.comments-empty i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--border-color);
}

.comment-item {
    background: var(--option-bg);
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.comment-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.comment-user {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.comment-username {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

.comment-date {
    font-size: 0.8rem;
    color: var(--secondary-text);
}

.comment-stars {
    display: flex;
    gap: 2px;
}

.comment-star {
    color: #FFD700;
    font-size: 0.9rem;
}

.comment-star.empty {
    color: var(--border-color);
}

.comment-text {
    color: var(--text-color);
    line-height: 1.6;
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: var(--card-bg);
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
}

/* Comment Form */
.comment-warning {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.comment-warning i {
    color: #FFC107;
    font-size: 1.1rem;
}

.comment-warning span {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.4;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.rating-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.rating-label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

.star-rating {
    display: flex;
    gap: 4px;
    cursor: pointer;
}

.star {
    font-size: 1.5rem;
    color: var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
    user-select: none;
}

.star:hover,
.star.active {
    color: #FFD700;
    transform: scale(1.1);
}

.star.hover {
    color: #FFD700;
}

.comment-input-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.comment-label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

.comment-textarea {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.75rem;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-color);
    resize: vertical;
    min-height: 100px;
    transition: all 0.3s ease;
}

.comment-textarea:focus {
    outline: none;
    border-color: var(--button-bg);
    box-shadow: 0 0 0 3px rgba(254, 114, 76, 0.2);
}

.comment-textarea::placeholder {
    color: var(--secondary-text);
}

.comment-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

.comment-cancel-btn,
.comment-submit-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.comment-cancel-btn {
    background: var(--option-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.comment-cancel-btn:hover {
    background: var(--border-color);
}

.comment-submit-btn {
    background: var(--button-bg);
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comment-submit-btn:hover {
    background: var(--button-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 114, 76, 0.3);
}

.comment-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Dark Mode Adjustments */
.dark-mode .comment-warning {
    background: rgba(255, 193, 7, 0.15);
    border-color: rgba(255, 193, 7, 0.4);
}

.dark-mode .comment-textarea {
    background: var(--option-bg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .comments-modal-content {
        margin: 10px;
        max-height: 90vh;
    }
    
    .comments-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .comment-actions {
        flex-direction: column;
    }
    
    .comment-cancel-btn,
    .comment-submit-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .comments-modal {
        padding: 10px;
    }
    
    .comments-modal-content {
        max-height: 95vh;
    }
    
    .comments-modal-header {
        padding: 1rem;
    }
    
    .comments-modal-body {
        padding: 1rem;
    }
    
    .comment-item {
        padding: 1rem;
    }
    
    .star {
        font-size: 1.3rem;
    }
}