
/* ============================
   LUXURY SHOP LAYOUT & STYLING
   ============================ */

/* Premium Hero Section with Gold Accents */
.shop-top-hero {
  background: linear-gradient(135deg, #fefcf7 0%, #fbf8f0 50%, #f9f4e9 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.shop-top-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(201, 164, 100, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(201, 164, 100, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.shop-hero-inner {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  font-size: 14px;
  color: #8a7a5a;
  margin-bottom: 20px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.breadcrumb::before {
  content: '✨';
  margin-right: 8px;
}

.shop-hero-title {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #2c2416;
  margin-bottom: 20px;
  line-height: 1.1;
  position: relative;
  display: inline-block;
}

.shop-hero-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #c9a464, #e8d9b0, #c9a464);
  border-radius: 2px;
}

.shop-hero-subtitle {
  font-size: 1.3rem;
  color: #6b5c3f;
  line-height: 1.6;
  max-width: 500px;
  margin-bottom: 40px;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.shop-hero-img {
  height: 240px;
  border-radius: 24px;
  box-shadow: 
    0 25px 70px rgba(201, 164, 100, 0.2),
    0 0 0 1px rgba(255,255,255,0.8);
  position: relative;
  transition: all 0.4s ease;
  background: linear-gradient(45deg, #f9f4e9, #f1e9d5);
}

.shop-hero-img:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 35px 90px rgba(201, 164, 100, 0.3),
    0 0 0 1px rgba(255,255,255,0.9);
}

/* Luxury Main Container */
.shop-main {
  padding: 80px 0;
  background: 
    radial-gradient(circle at 0% 50%, rgba(201, 164, 100, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 100% 50%, rgba(201, 164, 100, 0.02) 0%, transparent 50%),
    linear-gradient(180deg, #fefcf7 0%, #fdfbf5 100%);
  position: relative;
}

.shop-container {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: start;
  position: relative;
}

/* Luxury Sidebar */
.shop-sidebar {
  background: linear-gradient(180deg, #fff 0%, #fefcf7 100%);
  padding: 35px 30px;
  border-radius: 24px;
  box-shadow: 
    0 15px 50px rgba(0,0,0,0.08),
    0 0 0 1px rgba(201, 164, 100, 0.1);
  border: 1px solid #f5f1e8;
  position: sticky;
  top: 120px;
  height: fit-content;
  backdrop-filter: blur(10px);
}

.shop-sidebar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #c9a464, #e8d9b0, #c9a464);
  border-radius: 24px 24px 0 0;
}

.shop-sidebar h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  color: #2c2416;
  margin: 35px 0 22px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid #f7f2e8;
  position: relative;
  letter-spacing: 0.5px;
}

.shop-sidebar h3:first-child {
  margin-top: 0;
}

.shop-sidebar h3::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, #c9a464, #f1dfb0);
  border-radius: 1px;
}

/* Luxury Filter Lists */
.filter-list, .size-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.filter-list li, .size-list li {
  padding: 14px 18px;
  margin: 8px 0;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid transparent;
  font-weight: 500;
  color: #5a4a2e;
  position: relative;
  overflow: hidden;
  background: #fff;
}

.filter-list li::before, .size-list li::before {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(201, 164, 100, 0.1), transparent);
  transition: left 0.6s ease;
}

.filter-list li:hover::before, .size-list li:hover::before {
  left: 100%;
}

.filter-list li:hover, .size-list li:hover {
  border-color: #e8d9b0;
  transform: translateX(8px);
  box-shadow: 0 8px 25px rgba(201, 164, 100, 0.15);
}

.filter-list li.active-filter, .size-list li.active-size {
  background: linear-gradient(135deg, #fdf8ed, #faf1e1);
  border-color: #e8d9b0;
  color: #2c2416;
  font-weight: 700;
  transform: translateX(8px);
  box-shadow: 
    0 8px 25px rgba(201, 164, 100, 0.2),
    inset 0 1px 0 rgba(255,255,255,0.8);
}

.filter-list li.active-filter::after, .size-list li.active-size::after {
  content: '✓';
  position: absolute;
  right: 18px;
  color: #c9a464;
  font-weight: bold;
  font-size: 1.1em;
}

/* Luxury Price Range */
.price-range {
  padding: 15px 0;
}

.price-range input[type="range"] {
  width: 100%;
  height: 8px;
  border-radius: 12px;
  background: linear-gradient(90deg, #f0e9db, #e8d9b0, #f0e9db);
  outline: none;
  -webkit-appearance: none;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.price-range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  box-shadow: 
    0 4px 15px rgba(201, 164, 100, 0.4),
    0 0 0 2px #c9a464;
  border: 3px solid #fff;
  transition: all 0.3s ease;
}

.price-range input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 
    0 6px 20px rgba(201, 164, 100, 0.5),
    0 0 0 2px #c9a464;
}

.price-values {
  text-align: center;
  font-weight: 700;
  color: #5a4a2e;
  margin-top: 15px;
  font-size: 15px;
  letter-spacing: 0.5px;
}

/* Luxury Clear Filters Button */
.filter-clear {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #fff, #fefcf7);
  border: 2px solid #e8d9b0;
  border-radius: 14px;
  color: #8a7a5a;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  margin-top: 30px;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

.filter-clear::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201, 164, 100, 0.1), transparent);
  transition: left 0.6s ease;
}

.filter-clear:hover::before {
  left: 100%;
}

.filter-clear:hover {
  background: linear-gradient(135deg, #f9f4e9, #f1e9d5);
  border-color: #c9a464;
  color: #5a4a2e;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(201, 164, 100, 0.2);
}

/* Luxury Products Section */
.shop-products {
  background: transparent;
}

/* Premium Controls Row */
.shop-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 45px;
  padding: 25px 0;
  border-bottom: 2px solid #f7f2e8;
  position: relative;
}

.shop-controls::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, #c9a464, transparent);
}

.mobile-filter-btn {
  display: none;
}

.sort-wrap {
  display: flex;
  align-items: center;
  gap: 15px;
  background: linear-gradient(135deg, #fff, #fefcf7);
  padding: 12px 22px;
  border-radius: 14px;
  border: 1px solid #f0e9db;
  box-shadow: 
    0 6px 20px rgba(0,0,0,0.08),
    0 0 0 1px rgba(255,255,255,0.8);
}

.sort-wrap label {
  font-weight: 700;
  color: #5a4a2e;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

#sortSelect {
  border: none;
  background: transparent;
  font-weight: 600;
  color: #2c2416;
  cursor: pointer;
  outline: none;
  padding: 8px 0;
  min-width: 160px;
  font-size: 14px;
  letter-spacing: 0.3px;
}

/* Luxury Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 35px;
  margin-top: 0;
}

/* Ultra Premium Product Cards */
.product-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 
    0 12px 40px rgba(0,0,0,0.08),
    0 0 0 1px rgba(255,255,255,0.9);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid #f5f1e8;
  position: relative;
  opacity: 0;
  transform: translateY(25px) scale(0.95);
}

.product-card.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e8d9b0, transparent);
  z-index: 2;
}

.product-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 
    0 30px 70px rgba(0,0,0,0.15),
    0 0 40px rgba(201, 164, 100, 0.15),
    0 0 0 1px rgba(255,255,255,0.9);
}

.product-media {
  position: relative;
  overflow: hidden;
}

.product-img {
  width: 100%;
  height: 320px;
  background-size: cover;
  background-position: center;
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 24px 24px 0 0;
  position: relative;
}

.product-card:hover .product-img {
  transform: scale(1.12);
}

.wishlist-heart {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,0.95);
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  z-index: 2;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.wishlist-heart:hover {
  background: #fff;
  transform: scale(1.15);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.wishlist-heart.active {
  color: #e74c3c;
  animation: pulse 0.6s ease;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.badge-sale {
  position: absolute;
  top: 20px;
  left: 20px;
  background: linear-gradient(135deg, #c9a464, #e8d9b0);
  color: #fff;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  z-index: 2;
  box-shadow: 0 6px 20px rgba(201, 164, 100, 0.4);
  letter-spacing: 0.5px;
}

/* Luxury Product Body */
.product-body {
  padding: 28px;
  background: #fff;
  position: relative;
}

.product-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #f0e9db, transparent);
}

.product-title {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #2c2416;
  margin-bottom: 10px;
  line-height: 1.3;
  letter-spacing: 0.3px;
}

.product-meta {
  font-size: 13px;
  color: #8a7a5a;
  margin-bottom: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: #c9a464;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.5px;
}

.old {
  font-size: 1.1rem;
  color: #a8a8a8;
  text-decoration: line-through;
  font-weight: 600;
}

/* Luxury Product Count */
.product-count {
  text-align: center;
  color: #8a7a5a;
  font-weight: 600;
  margin: 50px 0 30px;
  padding: 20px;
  background: linear-gradient(135deg, #fefcf7, #fbf8f0);
  border-radius: 16px;
  border: 1px solid #f0e9db;
  letter-spacing: 0.3px;
  position: relative;
}

.product-count::before {
  content: '💎';
  margin-right: 10px;
}

/* Luxury Pagination */
.shop-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.page-btn {
  padding: 14px 20px;
  border: 2px solid #e8d9b0;
  background: #fff;
  color: #5a4a2e;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-weight: 700;
  min-width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.page-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201, 164, 100, 0.1), transparent);
  transition: left 0.6s ease;
}

.page-btn:hover::before {
  left: 100%;
}

.page-btn:hover:not(:disabled) {
  background: #f9f4e9;
  border-color: #c9a464;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(201, 164, 100, 0.2);
}

.page-btn.active {
  background: linear-gradient(135deg, #c9a464, #e8d9b0);
  color: #fff;
  border-color: transparent;
  box-shadow: 
    0 8px 25px rgba(201, 164, 100, 0.3),
    inset 0 1px 0 rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

/* ============================
   LUXURY RESPONSIVE DESIGN
   ============================ */

@media (max-width: 1200px) {
  .shop-container {
    grid-template-columns: 280px 1fr;
    gap: 50px;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
  }
}

@media (max-width: 980px) {
  .shop-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 25px;
  }
  
  .shop-sidebar {
    position: static;
    order: 2;
  }
  
  .shop-products {
    order: 1;
  }
  
  .mobile-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #c9a464, #e8d9b0);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(201, 164, 100, 0.3);
    letter-spacing: 0.5px;
  }
  
  .mobile-filter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 164, 100, 0.4);
  }
}

@media (max-width: 768px) {
  .shop-top-hero {
    padding: 60px 0 40px;
  }
  
  .shop-hero-title {
    font-size: 2.8rem;
  }
  
  .shop-hero-subtitle {
    font-size: 1.2rem;
  }
  
  .shop-controls {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  
  .mobile-filter-btn {
    width: 100%;
    justify-content: center;
  }
  
  .sort-wrap {
    justify-content: space-between;
  }
}

@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
  }
  
  .product-img {
    height: 280px;
  }
  
  .product-body {
    padding: 22px;
  }
  
  .product-title {
    font-size: 1.3rem;
  }
  
  .product-price {
    font-size: 1.4rem;
  }
  
  .shop-hero-title {
    font-size: 2.4rem;
  }
  
  .hero-right {
    flex-basis: 100%;
  }
  
  .shop-hero-img {
    height: 200px;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .product-card {
    max-width: 100%;
  }
  
  .shop-hero-title {
    font-size: 2.2rem;
  }
}

/* Luxury Mobile Filter Panel */
.mobile-filter-panel {
  background: linear-gradient(180deg, #fff 0%, #fefcf7 100%);
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  box-shadow: 0 -20px 60px rgba(0,0,0,0.15);
}

.mobile-filter-top {
  background: linear-gradient(135deg, #f9f4e9, #f1e9d5);
  padding: 25px 30px 20px;
  text-align: center;
  position: relative;
}

.mobile-filter-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #c9a464, #e8d9b0, #c9a464);
  border-radius: 30px 30px 0 0;
}

.mobile-filter-top h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  color: #2c2416;
  margin: 15px 0 8px;
  letter-spacing: 0.5px;
}

.filter-sub {
  color: #8a7a5a;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.filter-handle {
  width: 60px;
  height: 5px;
  background: #e8d9b0;
  border-radius: 3px;
  margin: 0 auto 20px;
  box-shadow: 0 2px 8px rgba(201, 164, 100, 0.2);
}

.filter-close {
  position: absolute;
  top: 25px;
  right: 25px;
  background: rgba(255,255,255,0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.3rem;
  color: #8a7a5a;
  cursor: pointer;
  padding: 5px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.filter-close:hover {
  background: #fff;
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.mobile-filter-body {
  padding: 30px;
  flex: 1;
  overflow-y: auto;
}

.mobile-filter-body h4 {
  font-family: "Playfair Display", serif;
  color: #2c2416;
  margin: 30px 0 20px;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
  position: relative;
}

.mobile-filter-body h4:first-child {
  margin-top: 0;
}

.mobile-filter-body h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #c9a464, transparent);
  border-radius: 1px;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 15px;
}

.chip {
  background: #fff;
  border: 2px solid #e8d9b0;
  padding: 12px 20px;
  border-radius: 25px;
  color: #5a4a2e;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s ease;
  flex: 1;
  min-width: calc(50% - 12px);
  text-align: center;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

.chip::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201, 164, 100, 0.1), transparent);
  transition: left 0.6s ease;
}

.chip:hover::before {
  left: 100%;
}

.chip.active {
  background: linear-gradient(135deg, #c9a464, #e8d9b0);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(201, 164, 100, 0.3);
  transform: translateY(-2px);
}

.mobile-filter-footer {
  display: flex;
  gap: 18px;
  padding: 25px 30px;
  background: #fff;
  border-top: 2px solid #f7f2e8;
}

.btn-clear, .btn-apply {
  flex: 1;
  padding: 18px;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s ease;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn-clear {
  background: #fff;
  border: 2px solid #e8d9b0;
  color: #8a7a5a;
}

.btn-clear:hover {
  background: #f9f4e9;
  border-color: #c9a464;
  color: #5a4a2e;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 164, 100, 0.15);
}

.btn-apply {
  background: linear-gradient(135deg, #c9a464, #e8d9b0);
  border: none;
  color: #fff;
  box-shadow: 0 6px 20px rgba(201, 164, 100, 0.3);
}

.btn-apply:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(201, 164, 100, 0.4);
}

/* Remove extra filter at the end */
.shop-main .container:last-child .shop-sidebar:last-child {
  display: none !important;
}


