body { background:#eef2f7; margin:0; padding:0; }
.card-icropci { 
  border-radius: 1rem; 
  border: 1px solid #ccc; 
  box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.1); 
  background: #fff; 
  margin-bottom:0rem;
}
a { text-decoration: none; }
.title { text-decoration: none; color: inherit; }
a.card-link:hover h5 { color: #0d6efd; text-decoration: none; }
.card-content { padding: 12px 16px; box-sizing: border-box; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  width: 100%;
}
@media (max-width: 768px) {
  .card-grid { grid-template-columns: repeat(1, 1fr); }
}
.card-item {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #ccc; 
  padding: 0px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.card-item:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-6px);
}
.card-item::after {
  position: absolute;
  bottom: 10px;
  right: 80px;
  font-size: 0.72rem;
  color: rgba(0, 0, 0, 0.2);
  font-style: italic;
  font-weight: 500;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.4s ease;
  transform: translateY(4px);
}
.card-item:hover::after { opacity: 5; transform: translateY(0); }
.thumb {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  background: #eee;
  margin: 0;
  aspect-ratio: 4 / 3;
}
.card-meta-group { display: flex; gap: 16px; }
.category-pill {
  display: inline-block;
  padding: 2px 12px;
  color: #fff;
  border-radius: 999px;
  line-height: 1.4;
  white-space: nowrap;
  font-size: 0.75rem;
  margin-top: 2px;
}
.card-item h5 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}
.container {
  max-width: 100% !important; 
  margin:30; padding:30;
}
@media (max-width: 768px) {
  .card-item {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 12px;
    padding: 8px;
    min-height: 140px; 
  }
  .card-item .thumb {
    width: 120px;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 8px;
  }
  .card-item .card-content {
    flex: 1;
    padding: 8px 0 8px 4px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .card-item h6 {
    font-size: 1rem;
    margin-bottom: 0; 
  }
  .card-content .title-price-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }
  .card-content .info-group {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
  }
  .card-content .info-left,
  .card-content .info-right {
    font-size: 0.85rem;
    line-height: 1.4;
  }
}
.title-price-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.card-title {
  font-size: 1rem;
  font-weight: bold;
  margin: 0;
  line-height: 1.4;
}
.card-price {
  font-size: 1.1rem;   
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}
.card-price span:first-child {
  font-size: 0.75em;   
  vertical-align: baseline; 
  margin-right: -3px;   
}
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.info-left {
  flex: 1;             
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;    
  font-size: 0.85rem;
  color: #666;
  line-height: 1.4;
}
.info-address,
.info-stats,
.info-actions {
  width: 100%;         
  text-align: left;
}
.info-stats {
  margin-top: 2px;
}
.edit-badge, .delete-badge {
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 12px;
  text-decoration: none;
}
.edit-badge {
  background-color: #0d6efd; 
  color: #fff;
}
.delete-badge {
  background-color: #dc3545; 
  color: #fff;
}
  .category-pill:hover {
    background: #333 !important; 
    color: #fff !important;      
    cursor: pointer;             
  }
  .btn.rounded-pill2 {
  border-radius: 24px;
  min-height: 42px; 
}
.status-pill {
  display: inline-block;
  padding: 0.1em 0.3em;
  border-radius: 0px;       
  font-size: 0.8em;
  line-height: 1.5;
  background-color: #fff;     
  border: 1px solid;          
}
.slide-in {
  opacity: 0;
  transform: translateX(-30px);
  animation: slideInRight 0.4s ease forwards;
}
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.favorite-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  border-radius: 999px;        
  padding: 2px 4px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.favorite-btn {
  background-color: e2e2e25;   
  color: #595C5F;             
}
.favorite-btn:hover {
  background-color: #ffd6e0;
  transform: translateY(-2px);
}
.favorite-btn.favorited {
  background-color: #ffe6eb;   
  color: #d6336c;  
}
.favorite-btn.favorited:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
}
.favorite-btn .favorite-count {
  font-size: 0.75rem;
  padding: 0px 0px;
  border-radius: 999px;
  margin-left: -4px;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.favorite-btn .favorite-text {
  margin-left: -4px;
}
.favorite-btn .favorite-text,
.favorite-btn .favorite-count,
.favorite-btn::before {
  transition: all 0.3s ease;
}
.favorite-btn:active {
  transform: scale(0.95);
}
.favorite-btn:not(.favorited) {
  animation: heartPulse 0.4s ease;
}
.favorite-btn.favorited {
  animation: heartBreak 0.4s ease;
}
@keyframes heartPulse {
  0% { transform: scale(1); }
  30% { transform: scale(1.2); }
  60% { transform: scale(0.9); }
  100% { transform: scale(1); }
}
@keyframes heartBreak {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(-10deg); }
  50% { transform: rotate(10deg); }
  75% { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}
.breadcrumb-nav {margin-top: -20px;margin-bottom: 0px; margin-left: -10px;}
