header {
text-align: center;
padding: 30px 0;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border-radius: 10px;
margin-bottom: 30px;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

h1 {
font-size: 2.5rem;
margin-bottom: 10px;
}

.tabs {
display: flex;
justify-content: left;
margin-bottom: 25px;
background: white;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
padding: 5px;
}

.tab-btn {
padding: 8px 30px;
border: none;
background: transparent;
cursor: pointer;
font-size: 1rem;
font-weight: 600;
border-radius: 5px;
transition: all 0.3s ease;
}

.tab-btn.active {
background: ;
border-bottom: 2px solid yellow; /* Adjust thickness as needed */
color: #808080;
padding: 10px;
}

.tab-content {
display: none;
}

.tab-content.active {
display: block;
}

.search-container {
margin-bottom: 30px;
text-align: center;
}

.search-input {
width: 100%;
max-width: 500px;
padding: 15px 20px;
font-size: 1rem;
border: 2px solid #ddd;
border-radius: 8px;
outline: none;
transition: border-color 0.3s ease;
}

.search-input:focus {
border-color: #667eea;
}

.loading {
text-align: center;
padding-top: 30px;
padding-bottom:5px;
font-size: 1.2rem;
color: #667eea;
}

.spinner {
border: 4px solid rgba(0, 0, 0, 0.1);
border-left-color: #667eea;
border-radius: 50%;
width: 35px;
height: 35px;
animation: spin 1s linear infinite;
margin: 0 auto 20px;
}

@keyframes spin {
to { transform: rotate(360deg); }
}

.gallery {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 8px;
margin-bottom: 30px;
}

.product-card {
background: white;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0,0,0,0.08);
transition: transform 0.3s ease, box-shadow 0.3s ease;
position: relative;
}

.product-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}
.product-card img{
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s;
}
.wishlist-icon {
position: absolute;
top: 10px;
right: 10px;
background: rgba(180, 180, 180, 0.5);
border: none;
border-radius: 50%;
width: 40px;
height: 40px;
cursor: pointer;
font-size: 16px;
display: flex;
align-items: center;
justify-content: center;
z-index: 2;
transition: all 0.2s;
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.wishlist-icon:hover {
transform: scale(1.1);
}
.wishlist-icon.liked {
background: #ff6b6b;
color: white;
}      

.item {
background: white;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 3px 10px rgba(0,0,0,0.08);
transition: transform 0.3s, box-shadow 0.3s;
}

.item:hover {
transform: translateY(-5px);
box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.item-img-container {
width: 100%;
height: 200px;
overflow: hidden;
position: relative;
}

.item-img-container img {
width: 100%;
height: 100%;
object-fit: cover;
}
.item-img-container a {
width: 100%;
height: 200px;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
background-color: #FFFFFF;
}
.item img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s;
}

.item:hover img {
transform: scale(1.05);
}
.product-image {
width: 100%;
height: 200px;
object-fit: cover;
border-bottom: 1px solid #eee;
}
.sku-id {
position: absolute;
top: 10px;
left: 10px;
background: rgba(0, 0, 0, 0.7);
color: white;
padding: 4px 8px;
border-radius: 4px;
font-size: 12px;
font-weight: bold;
z-index: 1;
}
.product-info {
padding: 8px;
}

.item-subject {
font-size: 16px;
font-weight: bold;
margin-bottom: 8px;
}

.item-subject a {
text-decoration: none;
color: #333;
}
.product-title {
font-size: 1.2rem;
font-weight: 600;
margin-bottom: 10px;
color: #333;
}
.item-price {
color: #e74c3c;
font-size: 18px;
font-weight: bold;
margin-bottom: 10px;
}

.load-more-container {
text-align: center;
margin: 30px 0;
}

.load-more-btn {
padding: 15px 40px;
background: #667eea;
color: white;
border: none;
border-radius: 10px;
cursor: pointer;
font-size: 1rem;
font-weight: 600;
transition: background 0.3s ease;
box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.load-more-btn:hover {
background: #5a6fd8;
transform: translateY(-2px);
}

.load-more-btn:disabled {
background: #ccc;
cursor: not-allowed;
transform: none;
}

.wishlist-items {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
gap: 10px;
}

.wishlist-item {
background: white;
border-radius: 15px;
padding: 10px;
display: flex;
align-items: center;
box-shadow: 0 5px 15px rgba(0,0,0,0.08);
transition: transform 0.3s ease;
}

.wishlist-item:hover {
transform: translateX(5px);
}

.wishlist-image {
width: 80px;
height: 80px;
object-fit: cover;
border-radius: 10px;
margin-right: 20px;
}
.wishlist-info {
flex: 1;
}

.wishlist-title {
font-size: 1.1rem;
font-weight: 600;
margin-bottom: 8px;
}
.add-to-cart-btn {
background: #FFD700;
color: white;
border: none;
padding: 5px 15px;
border-radius: 5px;
cursor: pointer;
font-size: 14px;
transition: background 0.2s;
}

.add-to-cart-btn:hover {
background: #FFFACD;
}

.remove-btn {
background: #ff6b6b;
color: white;
border: none;
padding: 5px 15px;
border-radius: 5px;
cursor: pointer;
transition: background 0.3s ease;
}

.remove-btn:hover {
background: #ff5252;
}

.cart-item-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}
.quantity-container {
  display: flex;
   width: 200px;
  align-items: center;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 4px;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  margin-top: 8px;
  margin-bottom: 8px;
}

.quantity-container:focus-within {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.quantity-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 30px;
  border: none;
  border-radius: 8px;
  background: #f8fafc;
  color: #64748b;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quantity-btn:hover {
  background: #3b82f6;
  color: white;
  transform: scale(1.05);
}

.quantity-btn:active {
  transform: scale(0.95);
}

.quantity-btn:disabled {
  background: #f1f5f9;
  color: #cbd5e1;
  cursor: not-allowed;
  transform: none;
}

.quantity-input {
  width: 60px;
  height: 36px;
  border: none;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  background: transparent;
  outline: none;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quantity-input[type=number] {
  -moz-appearance: textfield;
}
.empty-wishlist {
text-align: center;
padding: 50px;
color: #777;
}

.empty-wishlist p {
font-size: 1.2rem;
margin-bottom: 20px;
}

@media (max-width: 768px) {
.gallery {
	grid-template-columns: repeat(2, 1fr);
}

.wishlist-items {
	grid-template-columns: 1fr;
}

h1 {
	font-size: 2rem;
}
}