/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: linear-gradient(135deg, #fefefe 0%, #f8f8f8 100%);
  color: #333;
  line-height: 1.6;
  background-attachment: fixed;
}

header {
  text-align: center;
  padding: 15px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 10;
}

.logo {
  width: 200px;
  height: auto;
  transition: all 0.3s ease;
}

.logo:hover {
  filter: drop-shadow(0 0 15px rgba(138, 43, 226, 0.3)) drop-shadow(0 0 25px rgba(138, 43, 226, 0.2));
}

nav ul {
  margin-top: 20px;
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 40px;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s;
  position: relative;
  padding: 5px 0;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #8A2BE2, transparent);
  transition: width 0.3s;
}

nav a:hover::after, nav a.active::after {
  width: 100%;
}

nav a:hover, nav a.active {
  color: #8A2BE2;
  text-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
}

/* Cart Button Styles */
.cart-nav-item {
  display: flex;
  align-items: center;
}

.cart-button {
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  padding: 5px;
  transition: all 0.3s ease;
  border-radius: 50%;
}

.cart-button:hover {
  background: rgba(138, 43, 226, 0.1);
  transform: scale(1.05);
}

.cart-icon {
  width: 24px;
  height: 24px;
  fill: #333;
  transition: all 0.3s ease;
}

.cart-button:hover .cart-icon {
  fill: #8A2BE2;
  filter: drop-shadow(0 0 8px rgba(138, 43, 226, 0.3));
}

.cart-counter {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #8A2BE2;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.75rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  padding: 2px;
  box-shadow: 0 2px 6px rgba(138, 43, 226, 0.4);
  transition: all 0.3s ease;
}

.cart-counter.hidden {
  opacity: 0;
  transform: scale(0);
}

.cart-counter:not(.hidden) {
  opacity: 1;
  transform: scale(1);
}

.socials {
  text-align: center;
  padding: 50px 0;
  background: linear-gradient(180deg, #f5f5f5 0%, #e8e8e8 100%);
  margin-top: 60px;
}

.socials h2 {
  color: #333;
  font-size: 1.8rem;
  margin-bottom: 25px;
}

.social-icons img {
  width: 40px;
  margin: 0 15px;
  transition: all 0.3s;
  filter: drop-shadow(0 0 5px rgba(138, 43, 226, 0.2));
}

.social-icons img:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 0 10px rgba(138, 43, 226, 0.4));
}

footer {
  background: linear-gradient(180deg, #f5f5f5 0%, #e8e8e8 100%);
  text-align: center;
  padding: 30px 0;
  font-size: 0.9rem;
  color: #666;
  border-top: 1px solid rgba(138, 43, 226, 0.1);
}

.shop-container {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}

.shop-container h1 {
  text-align: center;
  color: #333;
  font-size: 2.8rem;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.shop-container h1::after {
  content: '';
  position: absolute;
  width: 60%;
  height: 2px;
  bottom: -10px;
  left: 20%;
  background: linear-gradient(90deg, transparent, rgba(138, 43, 226, 0.7), transparent);
}

.shop-intro {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding: 30px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(138, 43, 226, 0.1);
}

.shop-intro::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 10px;
  padding: 1px;
  background: linear-gradient(45deg, transparent, rgba(138, 43, 226, 0.3), transparent);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.shop-intro h1 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 20px;
}

.shop-intro p {
  max-width: 800px;
  margin: 0 auto;
  color: #333;
  font-size: 1.1rem;
  line-height: 1.8;
}

.shop-container h2 {
  text-align: center;
  color: #333;
  font-size: 2rem;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.shop-container h2::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 1px;
  bottom: -10px;
  left: 25%;
  background: linear-gradient(90deg, transparent, rgba(138, 43, 226, 0.5), transparent);
}

.products, .recommended {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 20px;
}

.product {
  background: linear-gradient(145deg, #ffffff, #f8f8f8);
  border: 1px solid rgba(138, 43, 226, 0.1);
  padding: 20px;
  width: 320px;
  text-align: center;
  border-radius: 15px;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 15px;
  padding: 1px;
  background: linear-gradient(45deg, transparent, rgba(138, 43, 226, 0.2), transparent);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.product:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15), 0 0 30px rgba(138, 43, 226, 0.1);
}

.product:hover::before {
  opacity: 1;
}

.product-image-container {
  position: relative;
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-image-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 90%, rgba(0, 0, 0, 0.3));
  pointer-events: none;
}

.product-image-container img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.image-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  z-index: 5;
}

.image-nav button {
  background-color: rgba(255, 255, 255, 0.9);
  color: #333;
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.image-nav button:hover {
  background-color: rgba(138, 43, 226, 0.9);
  color: white;
  box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
}

.product h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #333;
}

.product-description {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 15px;
  flex-grow: 1;
  line-height: 1.6;
}

.product-price {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.product-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: auto;
}

/* Size/Variation Dropdown Styles */
.size-select {
  width: 100%;
  padding: 10px 15px;
  margin-bottom: 15px;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  border: 1px solid rgba(138, 43, 226, 0.3);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%238A2BE2' 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 10px center;
  background-size: 16px;
  padding-right: 40px;
}

.size-select:focus {
  outline: none;
  border-color: #8A2BE2;
  box-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
}

.size-select option {
  padding: 10px;
}

/* Quantity dropdown styles */
.product-actions select {
  padding: 10px;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  border: 1px solid rgba(138, 43, 226, 0.3);
  border-radius: 5px;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.product-actions select:focus {
  border-color: #8A2BE2;
  outline: none;
  box-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
}

/* Category Section Styles */
.category-section {
  margin-bottom: 80px;
  position: relative;
}

.category-section h2 {
  font-size: 2.2rem;
  color: #333;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.category-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #8A2BE2, transparent);
}

.category-section .products {
  margin-top: 30px;
}

/* Category Navigation */
.category-nav {
  display: flex;
  justify-content: center;
  margin: 0 auto 40px;
  gap: 20px;
  flex-wrap: wrap;
}

.category-nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  padding: 12px 25px;
  border-radius: 30px;
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  border: 1px solid rgba(138, 43, 226, 0.1);
}

.category-nav a:hover, .category-nav a.active {
  background: linear-gradient(145deg, #8A2BE2, #6A1B9A);
  color: white;
  box-shadow: 0 8px 20px rgba(138, 43, 226, 0.3);
}

.product-actions button, .recommend button {
  padding: 12px 25px;
  border: none;
  background: linear-gradient(135deg, #8A2BE2, #6A1B9A);
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  border-radius: 30px;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.product-actions button:hover, .recommend button:hover {
  background: linear-gradient(135deg, #9C4DE8, #8A2BE2);
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.3);
}

.product-actions button:active, .recommend button:active {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.shopping-cart, .recommendations-section {
  margin: 80px 0;
  position: relative;
}

#cart {
  background: linear-gradient(145deg, #ffffff, #f8f8f8);
  padding: 30px;
  margin: 30px auto;
  border-radius: 15px;
  color: #333;
  max-width: 900px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(138, 43, 226, 0.1);
  position: relative;
  overflow: hidden;
}

#cart::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 15px;
  padding: 1px;
  background: linear-gradient(45deg, transparent, rgba(138, 43, 226, 0.2), transparent);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.cart-items {
  margin-bottom: 30px;
}

.cart-item {
  display: flex;
  padding: 20px;
  border-bottom: 1px solid rgba(138, 43, 226, 0.1);
  position: relative;
  align-items: center;
  transition: all 0.3s ease;
}

.cart-item:hover {
  background: rgba(138, 43, 226, 0.03);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(138, 43, 226, 0.2);
  transition: all 0.3s ease;
}

.cart-item:hover img {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cart-item-details {
  flex-grow: 1;
}

.cart-item-details h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #333;
}

.cart-item-details p {
  margin: 8px 0;
  color: #333;
}

.cart-item-details button {
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  border: 1px solid rgba(138, 43, 226, 0.2);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-weight: bold;
  cursor: pointer;
  margin: 0 8px;
  transition: all 0.3s;
}

.cart-item-details button:hover {
  background: rgba(138, 43, 226, 0.9);
  color: white;
  border-color: #8A2BE2;
  box-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
}

.remove-btn {
  background: rgba(255, 255, 255, 0.9);
  color: #dc3545;
  border: 1px solid rgba(220, 53, 69, 0.2);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s;
}

.remove-btn:hover {
  background-color: rgba(220, 53, 69, 0.9);
  color: white;
  border-color: rgba(220, 53, 69, 0.8);
  box-shadow: 0 0 10px rgba(220, 53, 69, 0.3);
}

.cart-summary {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(138, 43, 226, 0.2);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 1.3rem;
  font-weight: bold;
  color: #333;
  padding: 0 10px;
}

#checkout-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #8A2BE2, #6A1B9A);
  border: none;
  border-radius: 30px;
  color: white;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

#checkout-btn:hover {
  background: linear-gradient(135deg, #9C4DE8, #8A2BE2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 20px rgba(138, 43, 226, 0.3);
}

#checkout-btn:active {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

/* Checkout Modal */
.checkout-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.4s, transform 0.4s;
}

.checkout-modal.show {
  opacity: 1;
  transform: scale(1);
}

.checkout-form, .order-complete {
  background: linear-gradient(145deg, #ffffff, #f8f8f8);
  padding: 40px;
  border-radius: 15px;
  width: 90%;
  max-width: 650px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(138, 43, 226, 0.1);
  position: relative;
}

.checkout-form::before, .order-complete::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 15px;
  padding: 1px;
  background: linear-gradient(45deg, transparent, rgba(138, 43, 226, 0.3), transparent);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.checkout-form h2, .order-complete h2 {
  color: #333;
  margin-bottom: 20px;
  text-align: center;
  font-size: 2rem;
}

.checkout-form p {
  text-align: center;
  margin-bottom: 30px;
  color: #666;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 500;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(138, 43, 226, 0.2);
  border-radius: 8px;
  color: #333;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: rgba(138, 43, 226, 0.6);
  box-shadow: 0 0 15px rgba(138, 43, 226, 0.2);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.payment-details {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.payment-details .form-group {
  flex: 1;
}

.order-summary {
  margin: 30px 0;
  padding: 20px;
  background: rgba(248, 248, 248, 0.8);
  border-radius: 10px;
  border: 1px solid rgba(138, 43, 226, 0.1);
}

.order-summary h3 {
  color: #333;
  margin-bottom: 15px;
  text-align: center;
  font-size: 1.3rem;
}

.order-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  color: #333;
}

.order-total {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 12px;
  border-top: 2px solid rgba(138, 43, 226, 0.2);
  font-weight: bold;
  color: #333;
  font-size: 1.2rem;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.form-actions button {
  padding: 12px 25px;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-actions button[type="button"] {
  background: rgba(248, 248, 248, 0.9);
  color: #666;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.form-actions button[type="button"]:hover {
  background: rgba(230, 230, 230, 0.9);
  border-color: rgba(0, 0, 0, 0.4);
}

.form-actions button[type="submit"] {
  background: linear-gradient(135deg, #8A2BE2, #6A1B9A);
  color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.form-actions button[type="submit"]:hover {
  background: linear-gradient(135deg, #9C4DE8, #8A2BE2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 20px rgba(138, 43, 226, 0.3);
}

.form-actions button:active {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

/* Cart Notification */
.cart-notification {
  position: fixed;
  top: 30px;
  right: 30px;
  background: linear-gradient(145deg, #ffffff, #f8f8f8);
  color: #8A2BE2;
  padding: 18px 25px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 0 15px rgba(138, 43, 226, 0.1);
  z-index: 100;
  transform: translateX(150%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-weight: bold;
  border: 1px solid rgba(138, 43, 226, 0.2);
  font-size: 1.1rem;
}

.cart-notification::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 10px;
  padding: 1px;
  background: linear-gradient(45deg, transparent, rgba(138, 43, 226, 0.3), transparent);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.cart-notification.show {
  transform: translateX(0);
}

/* Recommendations */
.recommend {
  background: linear-gradient(145deg, #ffffff, #f8f8f8);
  border: 1px solid rgba(138, 43, 226, 0.1);
  padding: 20px;
  width: 280px;
  text-align: center;
  border-radius: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.recommend::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 15px;
  padding: 1px;
  background: linear-gradient(45deg, transparent, rgba(138, 43, 226, 0.2), transparent);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.recommend:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15), 0 0 20px rgba(138, 43, 226, 0.1);
}

.recommend:hover::before {
  opacity: 1;
}

.recommend img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(138, 43, 226, 0.1);
  transition: transform 0.5s ease;
}

.recommend h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #333;
}

.recommend p {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #8A2BE2;
  font-weight: bold;
}

.recommend button {
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .products, .recommended {
    gap: 20px;
  }
  
  .product {
    width: 100%;
    max-width: 320px;
  }
  
  .payment-details {
    flex-direction: column;
    gap: 10px;
  }
  
  .cart-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 15px;
  }
  
  .cart-item img {
    margin-bottom: 15px;
    width: 100%;
    height: auto;
    max-height: 150px;
  }
  
  .remove-btn {
    position: absolute;
    top: 15px;
    right: 15px;
  }
  
  .form-actions {
    flex-direction: column;
    gap: 15px;
  }
  
  .form-actions button {
    width: 100%;
  }
  
  .form-actions button[type="button"] {
    order: 2;
  }
  
  .form-actions button[type="submit"] {
    order: 1;
  }
}

/* Very Small Mobile Screens */
@media (max-width: 480px) {
  /* Non-header mobile styles only */
}

/* Reviews Styles - Enhanced */
.reviews {
  padding: 60px 20px;
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.reviews h1 {
  color: #333;
  font-size: 2.5rem;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.reviews h1::after {
  content: '';
  position: absolute;
  width: 70%;
  height: 1px;
  bottom: -10px;
  left: 15%;
  background: linear-gradient(90deg, transparent, rgba(138, 43, 226, 0.5), transparent);
}

.review-box {
  background: linear-gradient(145deg, #1c1c1c, #0e0e0e);
  border: 1px solid rgba(138, 43, 226, 0.1);
  margin: 30px 0;
  padding: 25px;
  font-style: italic;
  border-radius: 15px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #8A2BE2, rgba(138, 43, 226, 0.3));
  border-radius: 15px 0 0 15px;
}

.review-box:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(138, 43, 226, 0.1);
}

.review-box p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ffffff;
}

.review-box span {
  display: block;
  margin-top: 15px;
  color: #e0e0e0;
  font-style: normal;
  font-weight: bold;
  font-size: 1rem;
  color: #8A2BE2;
}

/* Gallery Styles - Enhanced */
.gallery {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.gallery-header h1 {
  color: #333;
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.gallery-header h1::after {
  content: '';
  position: absolute;
  width: 70%;
  height: 1px;
  bottom: -10px;
  left: 15%;
  background: linear-gradient(90deg, transparent, rgba(138, 43, 226, 0.5), transparent);
}

.collection-section {
  margin-bottom: 60px;
  position: relative;
}

.collection-section h2 {
  color: #333;
  margin-bottom: 25px;
  font-size: 1.8rem;
  position: relative;
  display: inline-block;
}

.collection-section h2::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 1px;
  bottom: -10px;
  left: 25%;
  background: linear-gradient(90deg, transparent, rgba(138, 43, 226, 0.5), transparent);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.gallery-grid img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(138, 43, 226, 0.1);
  transition: all 0.4s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.gallery-grid img:hover {
  border-color: rgba(138, 43, 226, 0.3);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(138, 43, 226, 0.1);
}

/* Lightbox styles */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Footer */
footer {
  background: linear-gradient(180deg, #f5f5f5 0%, #e8e8e8 100%);
  text-align: center;
  padding: 30px 0;
  font-size: 0.9rem;
  color: #666;
  border-top: 1px solid rgba(138, 43, 226, 0.1);
}

.footer-links {
  margin: 10px 0;
}

.footer-links a {
  color: #666;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #8A2BE2;
}

.footer-links .social-icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 3px rgba(138, 43, 226, 0.2));
}

.footer-links .social-icon:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 6px rgba(138, 43, 226, 0.4));
}

/* Cart Sidebar Styles */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -450px;
  width: 450px;
  height: 100vh;
  background: linear-gradient(145deg, #ffffff, #f8f8f8);
  border-left: 2px solid rgba(138, 43, 226, 0.3);
  z-index: 999;
  transition: right 0.3s ease;
  overflow-y: auto;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
}

.cart-sidebar.open {
  right: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid rgba(138, 43, 226, 0.2);
  background: linear-gradient(145deg, #f5f5f5, #e8e8e8);
}

.cart-header h2 {
  color: #8A2BE2;
  margin: 0;
  font-size: 1.5rem;
}

.close-cart {
  background: none;
  border: none;
  color: #8A2BE2;
  font-size: 2rem;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-cart:hover {
  background: rgba(138, 43, 226, 0.1);
}

.cart-content {
  padding: 20px;
  height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
}

.empty-cart {
  text-align: center;
  padding: 60px 20px;
  color: #666;
}

.empty-cart h3 {
  color: #8A2BE2;
  margin-bottom: 10px;
}

.cart-sidebar .cart-items {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 20px;
}

.cart-sidebar .cart-item {
  display: flex;
  gap: 15px;
  padding: 15px;
  border-bottom: 1px solid rgba(138, 43, 226, 0.1);
  background: linear-gradient(145deg, #ffffff, #f8f8f8);
  margin-bottom: 15px;
  border-radius: 10px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cart-sidebar .cart-item.removing {
  opacity: 0;
  transform: translateX(100px);
  pointer-events: none;
}

.cart-sidebar .cart-item:hover:not(.removing) {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cart-sidebar .cart-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(138, 43, 226, 0.2);
}

.cart-sidebar .cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-sidebar .cart-item-details h4 {
  color: #333;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.3;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quantity-controls button {
  background: linear-gradient(145deg, #8A2BE2, #6a1bb5);
  border: none;
  color: white;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.quantity-controls button:hover {
  background: linear-gradient(145deg, #6a1bb5, #8A2BE2);
}

.quantity-controls span {
  color: #8A2BE2;
  font-weight: bold;
  min-width: 20px;
  text-align: center;
}

.item-price, .item-total {
  color: #ccc;
  font-size: 0.8rem;
  margin: 0;
}

.item-total {
  color: #8A2BE2;
  font-weight: bold;
}

.cart-sidebar .remove-btn {
  background: none;
  border: none;
  color: #ff4444;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.cart-sidebar .remove-btn:hover {
  background: rgba(255, 68, 68, 0.1);
}

.cart-sidebar .cart-summary {
  border-top: 2px solid rgba(138, 43, 226, 0.3);
  padding-top: 20px;
  margin-top: auto;
}

.cart-sidebar .cart-total {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #8A2BE2;
  padding: 15px;
  background: linear-gradient(145deg, #f5f5f5, #e8e8e8);
  border-radius: 10px;
  border: 1px solid rgba(138, 43, 226, 0.2);
}

.cart-sidebar #checkout-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(145deg, #8A2BE2, #6a1bb5);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cart-sidebar #checkout-btn:hover {
  background: linear-gradient(145deg, #6a1bb5, #8A2BE2);
  box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
}

/* Disabled checkout button styling */
.cart-sidebar #checkout-btn:disabled {
  background: #ccc !important;
  cursor: not-allowed !important;
  opacity: 0.6;
}

.cart-sidebar #checkout-btn:disabled:hover {
  background: #ccc !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Body scroll lock when cart is open */
body.cart-open {
  overflow: hidden;
}

/* Responsive cart sidebar */
@media (max-width: 768px) {
  .cart-sidebar {
    width: 100%;
    right: -100%;
  }
  
  .cart-sidebar.open {
    right: 0;
  }
}

/* Button styles for Add to Cart buttons */
.shop-button {
  background: linear-gradient(145deg, #8A2BE2, #6a1bb5);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.shop-button:hover {
  background: linear-gradient(145deg, #6a1bb5, #8A2BE2);
  box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
}

/* View All Button */
.view-all-container {
  text-align: center;
  margin-top: 40px;
}

.view-all-button {
  display: inline-block;
  padding: 15px 35px;
  background: linear-gradient(135deg, #8A2BE2, #6A1B9A);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: none;
  font-size: 1rem;
}

.view-all-button:hover {
  background: linear-gradient(135deg, #9C4DE8, #8A2BE2);
  box-shadow: 0 8px 20px rgba(138, 43, 226, 0.4);
  transform: translateY(-2px);
}

.view-all-button:active {
  transform: translateY(1px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

/* Email links styling - only in contact section */
.contact-cta-section a[href^="mailto:"] {
  color: #8A2BE2;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.contact-cta-section a[href^="mailto:"]:hover {
  color: #6A1B9A;
  text-decoration: underline;
}

/* Terms checkbox styling in cart sidebar */
.terms-checkbox-container {
  margin: 15px 0;
  padding: 15px;
  background: linear-gradient(145deg, #f5f5f5, #e8e8e8);
  border-radius: 8px;
  border: 1px solid rgba(138, 43, 226, 0.2);
}

.terms-checkbox-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.9rem;
  color: #333;
  line-height: 1.4;
  gap: 10px;
}

.terms-checkbox-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(138, 43, 226, 0.3);
  border-radius: 3px;
  position: relative;
  background: white;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-top: 2px;
}

.terms-checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: linear-gradient(145deg, #8A2BE2, #6a1bb5);
  border-color: #8A2BE2;
}

.terms-checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.terms-checkbox-label a {
  color: #8A2BE2;
  text-decoration: none;
  font-weight: 500;
}

.terms-checkbox-label a:hover {
  text-decoration: underline;
}
