.wrp-bgwhite {
    background-color: #fff;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.right_content .categorydesktop img{
    max-height: 75px;
}

/* Icon styling */
.icon-large {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.wrp-bgwhite:hover .icon-large {
    transform: scale(1.05);
}

/* Text styling */
.wrp-bgwhite p {
    color: #333;
    font-weight: 600;
    margin: 10px 0 0 0;
    transition: color 0.3s ease;
    font-size: 14px;
    line-height: 1.3;
    word-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    text-align: center;
}

.wrp-bgwhite:hover p {
    color: #f7863b;
    font-weight: 700;
}

/* Remove underline on hover */
.wrp-bgwhite a {
    text-decoration: none !important;
}

.wrp-bgwhite a:hover {
    text-decoration: none !important;
}

.wrp-bgwhite a:focus {
    text-decoration: none !important;
}

.wrp-bgwhite a:active {
    text-decoration: none !important;
}
.wrp-bgwhite:hover{
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}
.mt-3 {
    margin-top: 26px;
}

/* Mobile Categories Styling */
.mobile-categories {
  padding: 20px 0;
}

.mobile-category-section {
  margin-bottom: 30px;
}

.mobile-category-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  text-align: left;
  padding-left: 10px;
  border-left: 4px solid #ff6b35;
}

.mobile-category-grid {
  display: flex;
  flex-direction: column;
  gap: 0px;
  padding: 0 10px;
}

.mobile-category-item {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 20px;
  padding: 15px;
  min-height: 80px;
  display: flex;
  align-items: center;
}

.mobile-category-item:hover {
  transform: translateY(-2px);
  box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
}

.mobile-category-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 8px 5px;
  text-decoration: none !important;
  color: #333;
  height: 100%;
  gap: 20px;
}

.mobile-category-link:hover {
  text-decoration: none !important;
}

.mobile-category-link:focus {
  text-decoration: none !important;
}

.mobile-category-link:active {
  text-decoration: none !important;
}

.mobile-category-icon {
  width: 35px;
  height: 35px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.mobile-category-link:hover .mobile-category-icon {
  transform: scale(1.1);
}

.mobile-category-text {
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  line-height: 1.3;
  color: #333;
  flex: 1;
  transition: color 0.3s ease;
  word-wrap: break-word;
  hyphens: auto;
  max-width: 100%;
}

.mobile-category-link:hover .mobile-category-text {
  color: #f7863b;
  font-weight: 800;
}

/* Responsive breakpoints */
@media only screen and (max-width: 600px) {
  .categorymobile{
    display: block;
  }
  .categorydesktop{
    display: none;
  }
  
  .mobile-category-item {
    margin-bottom: 10px;
    padding: 8px;
    min-height: 70px;
  }
  
  .mobile-category-link {
    padding: 6px 3px;
    gap: 12px;
  }
  
  .mobile-category-icon {
    width: 30px;
    height: 30px;
  }
  
  .mobile-category-text {
    font-size: 13px;
    line-height: 1.2;
  }
  
  .wrp-bgwhite {
    min-height: 100px;
  }
  
  .wrp-bgwhite p {
    font-size: 13px;
    line-height: 1.2;
  }
}

@media only screen and (min-width: 600px) {
  .categorydesktop{
    display: block;
  }
  .categorymobile{
    display: none;
  }
}

/* Tablet responsive */
@media only screen and (min-width: 600px) and (max-width: 768px) {
  .categorymobile {
    display: block;
  }
  .categorydesktop {
    display: none;
  }
  
  .mobile-category-item {
    margin-bottom: 15px;
    padding: 12px;
  }
  
  .mobile-category-link {
    padding: 10px 8px;
    gap: 18px;
  }
  
  .mobile-category-icon {
    width: 40px;
    height: 40px;
  }
  
  .mobile-category-text {
    font-size: 15px;
  }
}

/* Dark Mode Support */
body.dark-mode .wrp-bgwhite {
    background-color: #2d2d2d !important;
    border-color: #404040 !important;
    color: #ffffff !important;
}

body.dark-mode .wrp-bgwhite:hover {
    background-color: #3a3a3a !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

body.dark-mode .wrp-bgwhite p {
    color: #ffffff !important;
    font-weight: 600 !important;
}

body.dark-mode .wrp-bgwhite:hover p {
    color: #f7863b !important;
    font-weight: 700 !important;
}

body.dark-mode .mobile-category-item {
    background: #2d2d2d !important;
    border: 1px solid #404040 !important;
    color: #ffffff !important;
    margin-bottom: 20px !important;
    padding: 15px !important;
    min-height: 80px !important;
    display: flex !important;
    align-items: center !important;
}

body.dark-mode .mobile-category-item:hover {
    background: #3a3a3a !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

body.dark-mode .mobile-category-text {
    color: #ffffff !important;
    font-weight: 700 !important;
}

body.dark-mode .mobile-category-link {
    color: #ffffff !important;
}

body.dark-mode .mobile-category-link:hover .mobile-category-text {
    color: #f7863b !important;
    font-weight: 800 !important;
}

body.dark-mode .mobile-category-link {
    text-decoration: none !important;
    gap: 20px !important;
}

body.dark-mode .mobile-category-link:hover {
    text-decoration: none !important;
}

body.dark-mode .mobile-category-link:focus {
    text-decoration: none !important;
}

body.dark-mode .mobile-category-link:active {
    text-decoration: none !important;
}

body.dark-mode .mobile-category-title {
    color: #ffffff !important;
    border-left-color: #f7863b !important;
}

body.dark-mode h1,
body.dark-mode h2 {
    color: #ffffff !important;
}