/* ================= NEW FEATURED PRODUCT CARDS ================= */
.product-card-new {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card-new:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.product-image-new {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.product-image-new img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card-new:hover .product-image-new img {
  transform: scale(1.05);
}

.product-content-new {
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-title-new {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
  text-align: center;
}

.product-price-new {
  font-size: 1.3rem;
  font-weight: 700;
  color: #333;
  text-align: center;
  margin-bottom: 12px;
}

.btn-instagram {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border: none;
  color: white;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-instagram:hover {
  background: linear-gradient(135deg, #5a67d8, #6b46c1);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
  color: white;
}

/* Custom Order Now Button */
.product-card-new .btn-dark {
  background: linear-gradient(135deg, #f093fb, #f5576c);
  border: none;
  transition: all 0.3s ease;
}

.product-card-new .btn-dark:hover {
  background: linear-gradient(135deg, #e879f9, #ef4444);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(240, 147, 251, 0.3);
}

/* ================= OLD PRODUCT CARDS (KEEP FOR REFERENCE) ================= */
.product-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.product-image-container {
  position: relative;
  overflow: hidden;
}

.product-image {
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-card-list {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.product-card-list:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

/* ================= ENHANCED CATEGORY PAGE ================= */
.category-hero {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  min-height: 400px;
  display: flex;
  align-items: center;
}

.category-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.stat-badge {
  background: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
}

.category-hero-image {
  position: relative;
}

.category-hero-image img {
  transition: transform 0.3s ease;
}

.category-hero-image:hover img {
  transform: scale(1.05);
}

.filter-group {
  margin-bottom: 15px;
}

.filter-group label {
  color: #495057;
  font-size: 0.9rem;
}

.product-card-enhanced {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card-enhanced:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.product-image-container {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card-enhanced:hover .product-image {
  transform: scale(1.05);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card-enhanced:hover .product-overlay {
  opacity: 1;
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.product-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
  line-height: 1.4;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.current-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: #667eea;
}

.original-price {
  font-size: 1rem;
  color: #999;
  text-decoration: line-through;
}

.product-actions {
  margin-top: auto;
}

.product-card-list-enhanced {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.product-card-list-enhanced:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.product-meta {
  margin-top: 10px;
}

.product-price-list {
  text-align: center;
}

.product-actions-list {
  padding: 15px;
}

/* ================= QUICK VIEW EYE ICON ================= */
.quick-view-eye {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.9);
  color: #667eea;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.quick-view-eye:hover {
  background: #667eea;
  color: white;
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.price-from {
  font-size: 0.85rem;
  color: #666;
  font-weight: 500;
  margin-left: 10px;
}

/* ================= PRODUCT DETAIL PAGE ================= */
.product-image-container {
  position: relative;
  background: #f8f9fa;
  border-radius: 15px;
  overflow: hidden;
  padding: 20px;
}

.product-badge-large {
  position: absolute;
  top: 30px;
  left: 30px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.product-details-content {
  padding: 20px 0;
}

.product-title-large {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

.product-price-section {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.current-price-xlarge {
  font-size: 2.5rem;
  font-weight: 700;
  color: #667eea;
}

.size-selection {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
}

.size-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

.size-option {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.size-option:hover {
  border-color: #667eea;
  transform: translateY(-2px);
}

.size-option.selected {
  border-color: #667eea;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
}

.size-option.out-of-stock {
  opacity: 0.5;
  cursor: not-allowed;
}

.size-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.size-stock {
  font-size: 0.85rem;
  color: #666;
}

.quantity-controls {
  display: flex;
  align-items: center;
  max-width: 200px;
}

.quantity-controls .form-control {
  text-align: center;
  font-weight: 600;
}

.product-actions .btn-lg {
  padding: 15px 30px;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.product-actions .btn-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* ================= ENHANCED QUICK VIEW MODAL ================= */
.quick-view-modal {
  border: none;
  border-radius: 15px;
  overflow: hidden;
}

.quick-view-image {
  position: relative;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.quick-view-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.quick-view-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.quick-view-details {
  height: 100%;
}

.quick-view-price {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.current-price-large {
  font-size: 2rem;
  font-weight: 700;
  color: #667eea;
}

.original-price-large {
  font-size: 1.2rem;
  color: #999;
  text-decoration: line-through;
}

.discount-badge {
  background: linear-gradient(135deg, #f093fb, #f5576c);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.quick-view-description h6,
.quick-view-features h6 {
  color: #333;
  font-size: 0.95rem;
}

.quick-view-features ul li {
  padding: 5px 0;
  font-size: 0.9rem;
  color: #555;
}

.quick-view-features .fas {
  font-size: 0.8rem;
}

.quick-view-actions .btn-lg {
  padding: 12px 20px;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.quick-view-actions .btn-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* ================= CART STYLES ================= */
.quantity-control {
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-control .btn {
  border-radius: 50%;
  width: 30px;
  height: 30px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-header h2 {
  color: #2c3e50;
}

.contact-card {
  border: none;
  border-radius: 15px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .category-stats {
    justify-content: center;
  }
  
  .stat-badge {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
  
  .product-image-container {
    height: 200px;
  }
  
  .product-title-large {
    font-size: 1.8rem;
  }
  
  .current-price-xlarge {
    font-size: 2rem;
  }
  
  .size-options {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .quick-view-image {
    min-height: 250px;
  }
  
  .current-price-large {
    font-size: 1.5rem;
  }
  
  .original-price-large {
    font-size: 1rem;
  }
}

/* ================= COMPREHENSIVE RESPONSIVE PRODUCTS ================= */

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
  .product-image-new {
    height: 220px;
  }
  
  .product-title-new {
    font-size: 1.1rem;
  }
  
  .product-price-new {
    font-size: 1.4rem;
  }
}

/* Desktop (992px - 1199px) */
@media (max-width: 1199px) {
  .product-image-new {
    height: 200px;
  }
  
  .product-content-new {
    padding: 12px;
  }
  
  .product-title-new {
    font-size: 0.95rem;
  }
  
  .product-price-new {
    font-size: 1.2rem;
  }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
  .product-image-new {
    height: 180px;
  }
  
  .product-content-new {
    padding: 10px;
  }
  
  .product-title-new {
    font-size: 0.9rem;
  }
  
  .product-price-new {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
  
  .product-card-new .btn {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
  }
  
  .product-image-container {
    height: 180px;
  }
  
  .product-body {
    padding: 15px;
  }
  
  .product-title {
    font-size: 0.9rem;
  }
  
  .current-price {
    font-size: 1.1rem;
  }
  
  /* Hide quick view eye icons on tablet */
  .quick-view-eye {
    display: none !important;
  }
}

/* Mobile Landscape (576px - 767px) */
@media (max-width: 767px) {
  .product-image-new {
    height: 160px;
  }
  
  .product-content-new {
    padding: 8px;
  }
  
  .product-title-new {
    font-size: 0.85rem;
  }
  
  .product-price-new {
    font-size: 1rem;
    margin-bottom: 8px;
  }
  
  .product-card-new .btn {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
  }
  
  .product-image-container {
    height: 160px;
  }
  
  .product-body {
    padding: 12px;
  }
  
  .product-title {
    font-size: 0.85rem;
  }
  
  .current-price {
    font-size: 1rem;
  }
  
  .original-price {
    font-size: 0.85rem;
  }
  
  .quick-view-eye {
    width: 35px;
    height: 35px;
  }
}

/* Mobile Portrait (480px - 575px) */
@media (max-width: 575px) {
  .product-image-new {
    height: 140px;
  }
  
  .product-content-new {
    padding: 6px;
  }
  
  .product-title-new {
    font-size: 0.8rem;
  }
  
  .product-price-new {
    font-size: 0.9rem;
    margin-bottom: 6px;
  }
  
  .product-card-new .btn {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
  }
  
  .product-image-container {
    height: 140px;
  }
  
  .product-body {
    padding: 10px;
  }
  
  .product-title {
    font-size: 0.8rem;
  }
  
  .current-price {
    font-size: 0.9rem;
  }
  
  .original-price {
    font-size: 0.75rem;
  }
  
  .quick-view-eye {
    width: 30px;
    height: 30px;
  }
  
  .product-badge {
    font-size: 0.7rem;
    padding: 3px 8px;
  }
}

/* Small Mobile (320px - 479px) */
@media (max-width: 479px) {
  .product-card-new {
    aspect-ratio: 1/1;
    height: auto;
    margin-bottom: 15px;
  }
  
  .product-image-new {
    height: 50%;
    min-height: 150px;
  }
  
  .product-content-new {
    height: 50%;
    padding: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .product-title-new {
    font-size: 0.8rem;
    line-height: 1.2;
    margin-bottom: 4px;
  }
  
  .product-price-new {
    font-size: 0.9rem;
    margin-bottom: 8px;
  }
  
  .product-card-new .btn {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
    margin-bottom: 4px;
    min-height: 32px;
  }
  
  .product-image-container {
    height: 50%;
    min-height: 150px;
  }
  
  .product-body {
    height: 50%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .product-title {
    font-size: 0.8rem;
    line-height: 1.2;
  }
  
  .current-price {
    font-size: 0.9rem;
  }
  
  .original-price {
    font-size: 0.75rem;
  }
  
  .quick-view-eye {
    width: 30px;
    height: 30px;
    top: 8px;
    right: 8px;
  }
  
  .product-badge {
    font-size: 0.7rem;
    padding: 3px 8px;
    top: 8px;
    left: 8px;
  }
  
  /* Enhanced card layout for small screens */
  .row.g-4 {
    gap: 10px !important;
  }
  
  .col-lg-3, .col-md-6 {
    margin-bottom: 10px;
  }
  
  /* Better button spacing */
  .product-actions {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  
  .product-actions .btn {
    width: 100%;
  }
  
  /* Hide quick view eye icons on small screens */
  .quick-view-eye {
    display: none !important;
  }
  
  /* ================= QUICK VIEW MODAL RESPONSIVE ================= */
  .quick-view-modal {
    max-width: 95vw;
    margin: 10px auto;
  }
  
  .quick-view-image {
    min-height: 200px;
  }
  
  .quick-view-badge {
    top: 10px;
    left: 10px;
    padding: 6px 12px;
    font-size: 0.7rem;
  }
  
  .quick-view-details {
    padding: 15px;
  }
  
  .current-price-large {
    font-size: 1.5rem;
  }
  
  .original-price-large {
    font-size: 1rem;
  }
  
  .quick-view-description h6,
  .quick-view-features h6 {
    font-size: 0.85rem;
  }
  
  .quick-view-features ul li {
    font-size: 0.8rem;
  }
  
  .quick-view-actions .btn-lg {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
  
  .modal-dialog {
    max-width: 95vw;
    margin: 10px;
  }
  
  .modal-content {
    border-radius: 10px;
  }
}

/* Mobile Portrait Quick View (480px - 575px) */
@media (max-width: 575px) {
  .quick-view-modal {
    max-width: 90vw;
    margin: 5px auto;
  }
  
  .quick-view-image {
    min-height: 180px;
  }
  
  .quick-view-badge {
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    font-size: 0.65rem;
  }
  
  .quick-view-details {
    padding: 10px;
  }
  
  .current-price-large {
    font-size: 1.3rem;
  }
  
  .original-price-large {
    font-size: 0.9rem;
  }
  
  .quick-view-description h6,
  .quick-view-features h6 {
    font-size: 0.8rem;
  }
  
  .quick-view-features ul li {
    font-size: 0.75rem;
  }
  
  .quick-view-actions .btn-lg {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
  
  .modal-dialog {
    max-width: 90vw;
    margin: 5px;
  }
  
  .modal-content {
    border-radius: 8px;
  }
  
  /* Hide quick view eye icons on mobile portrait */
  .quick-view-eye {
    display: none !important;
  }
}
