
:root {
  --primary-color: #2874f0; /* Flipkart Blue */
  --accent-color: #ff9f00;  /* Amazon/Flipkart Orange */
  --text-main: #212121;
  --text-muted: #878787;
  --success: #388e3c;
}

.product-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid #f0f0f0 !important;
  background-color: #f6f0f9af !important;
}

/* Hover Effects */
.product-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 30px rgba(138, 43, 226, 0.15) !important;
border-color: rgba(138, 43, 226, 0.3) !important;
}

.product-card:hover .view-more-circle {
transform: scale(1.1) rotate(90deg);
background: #6a1b9a !important;
}

/* Image styling */
.img-container {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.main-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.product-card:hover .main-img {
  transform: scale(1.05);
}

/* Typography */
.product-title-new {
  font-size: 0.95rem;
  color: var(--text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.5rem;
  line-height: 1.25rem;
}

.new-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: #000;
}

/* Badges & Pills */
.discount-label {
  position: absolute;
  top: 10px;
  left: 0;
  background: var(--success);
  color: white;
  font-size: 11px;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 0 4px 4px 0;
  z-index: 10;
}

.rating-pill {
  background: var(--success);
  color: white;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 600;
}

.earning-tag {
  background: #f1f3f6;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  color: #555;
  display: inline-block;
}

.extra-small { font-size: 11px; }

@media (max-width: 576px) {
  .img-container { height: 140px; }
  .product-title-new { font-size: 0.85rem; }
  .new-price { font-size: 1rem; }
}

/* Arrow btn */
.arrow-btn {
width: 50px;
height: 50px;
border-radius: 50%;
background:#1e1e2f;  
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
}

.arrow-btn i {
color: #fff;
font-size: 20px;
}

.product-card:hover .arrow-btn {
transform: translateX(6px);
background: #1e1e2f;
box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

/* View more product btn */
.view-more-text {
font-size: 1rem;
color: #1e1e2f; 
}

@media (max-width: 576px) {
.view-more-text {
  font-size: 0.8rem; 
  color: #1e1e2f;      
}
}

/* Skeleton Loader */
.skeleton {
background: #bfbfbf; /* Darker */
border-radius: 8px;
position: relative;
overflow: hidden;
}
.skeleton::after {
content: "";
position: absolute;
top: 0;
left: -150px;
height: 100%;
width: 150px;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); /* Lower opacity, less white */
animation: shimmer 1.2s infinite;
}
@keyframes shimmer {
100% { transform: translateX(100%); }
}
.skeleton-card {
height: 280px;
display: flex;
flex-direction: column;
gap: 10px;
padding: 12px;
border-radius: 12px;
background: #fff;
box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.skeleton-img {
height: 150px;
}
.skeleton-line {
height: 12px;
width: 100%;
}
.skeleton-line.short {
width: 60%;
}
.section-title {
text-align: center;
font-size: 2rem;
font-weight: 700;
margin: 10px;
position: relative;
}
.section-title::after {
content: "";
display: block;
width: 80px;
height: 4px;
background-color: red;
margin: 10px auto 0;
border-radius: 2px;
}


.Contact_us {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 40px;
}
.Contact_us_button {
margin-top: 20px;
padding: 10px 30px;
border: none;
background-color: #02376c;
color: #fff;
border-radius: 25px;
cursor: pointer;
margin-bottom: 30px;
}
.Contact_us_button:hover {
background-color: #031e39;
transition: 0.3s ease;
}

/* Super Compact Tags */
.td-tag-box {
display: flex;
gap: 3px;
flex-wrap: wrap;
}
.td-mini-tag {
font-size: 9px;
font-weight: 600;
padding: 1px 4px;
border-radius: 3px;
background: #f3f4f6;
color: #374151;
border: 1px solid #e5e7eb;
}



.ls-1 { letter-spacing: 1.5px; }

.product-title-new {
  font-size: 0.9rem;
  color: #212121;
  line-height: 1.2rem;   /* Ek line ki height */
  height: 2.4rem;        /* Do line ki total height (1.2 x 2) */
  
  /* Text truncate logic for 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Yahan decide hota hai kitni lines dikhani hain */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  
  margin-bottom: 4px;
  text-decoration: none;
}

/* Hover par title ka color change (Optional) */
.product-card:hover .product-title-new {
  color: #2874f0; 
}
/* View More Card Container */
.view-more-card {
  background: #f8f9fa; /* Light grey background like e-commerce sub-cards */
  min-height: 100%; /* Height product card se match hogi */
  border: 1px solid #e0e0e0 !important;
  transition: all 0.3s ease-in-out;
  position: relative;
  padding: 20px 10px;
}

.view-more-card:hover {
  background: #ffffff;
  border-color: #2874f0 !important; /* Brand Blue */
  box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
}

/* Icon Styling */
.icon-circle {
  width: 55px;
  height: 55px;
  background: #ffffff;
  border: 1px solid #eee;
  color: #2874f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.view-more-card:hover .icon-circle {
  background: #2874f0;
  color: #fff;
  transform: scale(1.1);
  border-color: #2874f0;
}

/* Text & Body Styling */
.view-more-body h6 {
  font-size: 1rem;
  letter-spacing: 0.3px;
}

.view-more-body p {
  font-size: 0.8rem;
  line-height: 1.2;
}

/* Link/Pill Styling */
.view-all-btn-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: #2874f0;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: all 0.3s ease;
}

.view-more-card:hover .view-all-btn-link {
  color: #fb641b; /* Orange accent on hover */
  gap: 8px; /* Arrow moves slightly away */
}

/* Responsive adjustment */
@media (max-width: 576px) {
  .view-more-card {
      min-height: 250px; /* Mobile height alignment */
  }
  .icon-circle {
      width: 45px;
      height: 45px;
      font-size: 1rem;
  }
}