/* Shop Hero Section */
.shop-hero-section {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
  overflow: hidden;
}

.shop-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(238,66,102,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(238,66,102,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.shop-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), rgba(255,255,255,0.7));
  z-index: 1;
}

.shop-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
}

.shop-hero-subtitle {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #8c92a0;
  margin-bottom: 20px;
}

.shop-hero-title {
  font-size: 64px;
  font-weight: 300;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: #25262a;
  margin-bottom: 20px;
  line-height: 1.2;
}

.shop-hero-description {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 1.5px;
  color: #8c92a0;
  margin: 0;
}

@media (max-width: 768px) {
  .shop-hero-section {
    height: 50vh;
    min-height: 350px;
  }
  
  .shop-hero-title {
    font-size: 40px;
    letter-spacing: 4px;
  }
  
  .shop-hero-subtitle {
    font-size: 12px;
    letter-spacing: 2px;
  }
  
  .shop-hero-description {
    font-size: 14px;
    letter-spacing: 1px;
  }
}

@media (max-width: 576px) {
  .shop-hero-section {
    height: 45vh;
    min-height: 300px;
  }
  
  .shop-hero-title {
    font-size: 32px;
    letter-spacing: 3px;
  }
}

/* Elegant Product Card in Shop Context */
.shop-product-item {
  background: #fff;
  border: 1px solid #edf0f5;
  border-radius: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 25px;
}

.shop-product-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-color: #ee4266;
}

.shop-product-image {
  position: relative;
  overflow: hidden;
  background: #f9f9f9;
  height: 0;
  padding-bottom: 140%; /* 7:5 aspect ratio for portrait images */
}

.shop-product-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.shop-product-item:hover .shop-product-image img {
  transform: scale(1.08);
}

.shop-product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #25262a;
  color: #fff;
  padding: 6px 16px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 400;
  z-index: 2;
}

.shop-product-badge.sale {
  background: #ee4266;
}

.shop-product-badge.in-store {
  background: #3498db;
}

.shop-product-actions {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.4s ease;
  z-index: 2;
}

.shop-product-item:hover .shop-product-actions {
  opacity: 1;
  transform: translateX(0);
}

.shop-action-btn {
  width: 40px;
  height: 40px;
  background: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.shop-action-btn:hover {
  background: #ee4266;
  transform: scale(1.1);
}

.shop-action-btn:hover span {
  color: #fff;
}

.shop-action-btn.active {
  background: #ee4266;
}

.shop-action-btn.active span {
  color: #fff;
}

.shop-action-btn span {
  font-size: 16px;
  color: #25262a;
  transition: color 0.3s ease;
}

.shop-product-info {
  padding: 18px 12px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
}

.shop-product-info h3 {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #25262a;
  margin-bottom: 10px;
  line-height: 1.5;
  transition: color 0.3s ease;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shop-product-info h3 a {
  color: #25262a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.shop-product-item:hover .shop-product-info h3 a {
  color: #ee4266;
}

.shop-product-price {
  font-size: 13px;
  color: #25262a;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.shop-product-price del {
  color: #8c92a0;
  margin-right: 6px;
  font-size: 11px;
  font-weight: 400;
}

.shop-product-rating {
  margin-bottom: 12px;
}

.shop-product-rating .icon-star2 {
  font-size: 12px;
}

.product-buttons,
.shop-product-buttons {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.shop-view-options-btn,
.shop-view-btn {
  flex: 1;
  display: inline-block;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid #d4d7dc;
  color: #25262a;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 1.2px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  white-space: nowrap;
}

.shop-view-options-btn:hover,
.shop-view-btn:hover {
  background: #25262a;
  border-color: #25262a;
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 38, 42, 0.2);
}

.shop-add-to-cart-btn,
.shop-add-to-cart {
  flex: 1;
  display: inline-block;
  padding: 10px 14px;
  background: #ee4266;
  border: 1px solid #ee4266;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 1.2px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 0;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
}

.shop-add-to-cart-btn:hover,
.shop-add-to-cart:hover {
  background: #d63555;
  border-color: #d63555;
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(238, 66, 102, 0.3);
}

.shop-in-store-btn {
  flex: 1;
  display: inline-block;
  padding: 10px 14px;
  background: #f5f5f5;
  border: 1px solid #d4d7dc;
  color: #8c92a0;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 1.2px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  cursor: not-allowed;
  opacity: 0.7;
}

.shop-out-of-stock-btn {
  flex: 1;
  display: inline-block;
  padding: 10px 14px;
  background: #f5f5f5;
  border: 1px solid #d4d7dc;
  color: #8c92a0;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 1.2px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  cursor: not-allowed;
  opacity: 0.7;
}

/* Sidebar Filters Elegant Styling */
.shop-sidebar {
  position: sticky;
  top: 100px;
}

.filter-box {
  background: #fafafa;
  border: 1px solid #edf0f5;
  padding: 30px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.filter-box:hover {
  background: #fff;
  border-color: #ee4266;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.filter-title {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #25262a;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #edf0f5;
}

.filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.filter-list li {
  margin-bottom: 12px;
}

.filter-list a {
  color: #8c92a0;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
}

.filter-list a:hover {
  color: #ee4266;
  padding-left: 5px;
}

.filter-list span {
  color: #25262a;
  font-weight: 500;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-checkbox:hover {
  color: #ee4266;
}

.filter-checkbox input[type="checkbox"] {
  margin-right: 10px;
  cursor: pointer;
  width: 16px;
  height: 16px;
  accent-color: #ee4266;
}

.filter-checkbox label {
  cursor: pointer;
  margin: 0;
  flex: 1;
}

.filter-checkbox span {
  color: #8c92a0;
  font-size: 14px;
  transition: color 0.3s ease;
}

.filter-checkbox:hover span {
  color: #ee4266;
}

.filter-checkbox input[type="checkbox"]:checked + label span {
  color: #25262a;
  font-weight: 500;
}

/* Price Range Slider */
#priceRange {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: #edf0f5;
  outline: none;
  border-radius: 3px;
  transition: background 0.3s ease;
}

#priceRange:hover {
  background: #e0e4ea;
}

#priceRange::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: #ee4266;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
}

#priceRange::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 0 6px rgba(238, 66, 102, 0.1);
}

#priceRange::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: #ee4266;
  cursor: pointer;
  border-radius: 50%;
  border: none;
  transition: all 0.3s ease;
}

#priceRange::-moz-range-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 0 6px rgba(238, 66, 102, 0.1);
}

#priceValue {
  color: #ee4266;
  font-weight: 600;
  font-size: 15px;
}

.color-filter-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  color: #8c92a0;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 5px 0;
}

.color-filter-item:hover {
  color: #ee4266;
  padding-left: 5px;
  text-decoration: none;
}

.color-indicator {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: 12px;
  border: 2px solid #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

/* Shop Header Section */
.shop-header {
  background: #fff;
  padding: 30px 0;
  border-bottom: 1px solid #edf0f5;
}

.shop-header-title {
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #25262a;
  margin: 0;
}

/* Shop Search Bar */
.shop-search {
  position: relative;
  margin-right: 10px;
}

.search-input {
  background: #fff;
  border: 1px solid #edf0f5;
  color: #25262a;
  padding: 12px 40px 12px 20px;
  font-size: 13px;
  letter-spacing: 0.5px;
  width: 250px;
  transition: all 0.3s ease;
  border-radius: 0;
  outline: none;
}

.search-input::placeholder {
  color: #8c92a0;
  text-transform: none;
  letter-spacing: 0.5px;
}

.search-input:hover {
  border-color: #ee4266;
  background-color: #fafafa;
}

.search-input:focus {
  outline: none;
  border-color: #ee4266;
  box-shadow: none;
  background-color: #fff;
}

.search-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #8c92a0;
  pointer-events: none;
  font-size: 16px;
}

.search-input:focus + .search-icon {
  color: #ee4266;
}

.shop-sorting {
  position: relative;
  z-index: 10;
}

.sort-select {
  background: #fff;
  border: 1px solid #edf0f5;
  color: #25262a;
  padding: 12px 40px 12px 20px;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2325262a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  border-radius: 0;
  outline: none;
}

.sort-select:hover {
  border-color: #ee4266;
  background-color: #fafafa;
}

.sort-select:focus {
  outline: none;
  border-color: #ee4266;
  box-shadow: none;
}

.sort-dropdown {
  position: relative;
}

.sort-btn {
  background: #fafafa;
  border: 1px solid #edf0f5;
  color: #25262a;
  padding: 10px 25px;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sort-btn:hover {
  background: #fff;
  border-color: #ee4266;
  color: #ee4266;
}

/* Pagination Elegant Styling */
.shop-pagination {
  text-align: center;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #edf0f5;
}

.shop-pagination ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  gap: 10px;
}

.shop-pagination li {
  display: inline-block;
}

.shop-pagination a,
.shop-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: #fafafa;
  border: 1px solid #edf0f5;
  color: #25262a;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.shop-pagination a:hover {
  background: #25262a;
  border-color: #25262a;
  color: #fff;
  transform: translateY(-3px);
}

.shop-pagination .active span {
  background: #ee4266;
  border-color: #ee4266;
  color: #fff;
}

.shop-pagination .disabled span {
  background: #f5f5f5;
  border-color: #edf0f5;
  color: #ccc;
  cursor: not-allowed;
  opacity: 0.5;
}

.shop-pagination .disabled:hover span {
  transform: none;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .shop-product-image {
    padding-bottom: 140%; /* Maintain portrait aspect ratio */
  }
  
  .shop-sidebar {
    position: static;
    margin-top: 50px;
  }
  
  .filter-box {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  /* 2 products per row on tablets */
  .shop-product-grid .col-lg-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .shop-product-image {
    padding-bottom: 145%; /* Slightly taller for mobile portrait */
  }
  
  .shop-product-info {
    padding: 14px 10px;
  }
  
  .shop-product-info h3 {
    font-size: 10px;
    letter-spacing: 0.6px;
    margin-bottom: 8px;
    min-height: 32px;
  }
  
  .shop-product-price {
    font-size: 12px;
    margin-bottom: 8px;
  }
  
  .shop-product-price del {
    font-size: 10px;
  }
  
  .product-buttons,
  .shop-product-buttons {
    gap: 6px;
  }
  
  .shop-view-options-btn,
  .shop-view-btn,
  .shop-add-to-cart-btn,
  .shop-add-to-cart,
  .shop-in-store-btn,
  .shop-out-of-stock-btn {
    padding: 9px 12px;
    font-size: 8px;
    letter-spacing: 1px;
  }
  
  .filter-box {
    padding: 20px;
  }
  
  .filter-title {
    font-size: 13px;
    letter-spacing: 1.5px;
  }
  
  .shop-product-actions {
    opacity: 1;
    transform: translateX(0);
  }
  
  .shop-action-btn {
    width: 32px;
    height: 32px;
  }
  
  .shop-action-btn span {
    font-size: 13px;
  }
  
  .shop-product-badge {
    padding: 5px 10px;
    font-size: 9px;
    top: 12px;
    left: 12px;
  }
}

@media (max-width: 576px) {
  /* Maintain 2 products per row on mobile */
  .shop-product-grid .col-lg-4 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 8px;
    padding-right: 8px;
  }
  
  .shop-product-item {
    margin-bottom: 16px;
    border-width: 1px;
  }
  
  .shop-product-item:hover {
    transform: translateY(-4px);
  }
  
  .shop-product-image {
    padding-bottom: 150%; /* Taller portrait for small screens */
  }
  
  .shop-product-info {
    padding: 12px 8px;
  }
  
  .shop-product-info h3 {
    font-size: 9px;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    min-height: 28px;
    line-height: 1.4;
  }
  
  .shop-product-price {
    font-size: 11px;
    margin-bottom: 6px;
    font-weight: 700;
  }
  
  .shop-product-price del {
    font-size: 9px;
    margin-right: 4px;
  }
  
  .shop-product-rating {
    margin-bottom: 6px;
  }
  
  .shop-product-rating .icon-star2 {
    font-size: 9px;
  }
  
  .product-buttons,
  .shop-product-buttons {
    flex-direction: column;
    gap: 6px;
  }
  
  .shop-view-options-btn,
  .shop-view-btn,
  .shop-add-to-cart-btn,
  .shop-add-to-cart,
  .shop-in-store-btn,
  .shop-out-of-stock-btn {
    padding: 8px 10px;
    font-size: 7.5px;
    letter-spacing: 0.8px;
    font-weight: 700;
  }
  
  .shop-header {
    padding: 20px 0;
  }
  
  .shop-header-title {
    font-size: 20px;
    letter-spacing: 2px;
    margin-bottom: 15px;
  }
  
  .shop-search {
    width: 100%;
    margin-right: 0;
    margin-bottom: 10px;
  }
  
  .search-input {
    width: 100%;
    padding: 10px 35px 10px 15px;
    font-size: 11px;
  }
  
  .shop-sorting {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  
  .sort-select {
    padding: 10px 35px 10px 15px;
    font-size: 11px;
  }
  
  .shop-product-badge {
    padding: 4px 8px;
    font-size: 8px;
    top: 8px;
    left: 8px;
    letter-spacing: 0.8px;
  }
  
  .shop-action-btn {
    width: 28px;
    height: 28px;
  }
  
  .shop-action-btn span {
    font-size: 12px;
  }
  
  .shop-product-actions {
    top: 8px;
    right: 8px;
    gap: 6px;
  }
}

/* Extra small devices optimization */
@media (max-width: 380px) {
  .shop-product-info h3 {
    font-size: 8px;
    min-height: 26px;
  }
  
  .shop-product-price {
    font-size: 10px;
  }
  
  .shop-view-options-btn,
  .shop-view-btn,
  .shop-add-to-cart-btn,
  .shop-add-to-cart,
  .shop-in-store-btn,
  .shop-out-of-stock-btn {
    padding: 7px 8px;
    font-size: 7px;
  }
}

/* Mobile Filter Button */
.mobile-filter-btn {
  display: none;
  align-items: center;
  gap: 8px;
  background: #ee4266;
  border: 1px solid #ee4266;
  color: #fff;
  padding: 10px 20px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  margin-right: 10px;
}

.mobile-filter-btn:hover {
  background: #d63555;
  border-color: #d63555;
}

.mobile-filter-btn .icon-filter {
  font-size: 14px;
}

/* Mobile Filter Overlay and Sidebar */
.mobile-filter-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-filter-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-filter-close {
  display: none;
  width: 100%;
  padding: 16px;
  background: #ee4266;
  border: none;
  color: #fff;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.mobile-filter-close:hover {
  background: #d63555;
}

@media (max-width: 991px) {
  .mobile-filter-btn {
    display: inline-flex;
  }
  
  .shop-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: #fff;
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
    transition: left 0.3s ease;
    margin-top: 0;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
  }
  
  .shop-sidebar.active {
    left: 0;
  }
  
  .mobile-filter-close {
    display: block;
  }
  
  .filter-box {
    background: #fff;
    border: 1px solid #edf0f5;
  }
}
