.shop-header {
  position: sticky;
  top: 0;
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(199, 161, 122, 0.3);
  padding: 1rem 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.cart-icon {
  position: relative;
  cursor: pointer;
  font-size: 1.1rem;
  color: #c7a17a;
  transition: 0.3s;
}

.cart-icon:hover {
  color: #e0b68c;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -12px;
  background: #c7a17a;
  color: #0a0a0a;
  font-size: 0.5rem;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 50%;
}

/* Hero Section */
.shop-hero {
  text-align: center;
  padding: 60px 0 40px;
  background: linear-gradient(135deg, #0f0f15 0%, #050505 100%);
}

.shop-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

.shop-hero .highlight {
  background: linear-gradient(120deg, #e9cba7, #c7a17a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Product Grid */
.products-section {
  padding: 60px 0;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.category-btn {
  background: rgba(199, 161, 122, 0.1);
  border: 1px solid rgba(199, 161, 122, 0.3);
  padding: 0.6rem 1.5rem;
  border-radius: 40px;
  color: #e8e9ed;
  cursor: pointer;
  transition: 0.3s;
  font-weight: 500;
}

.category-btn.active,
.category-btn:hover {
  background: #c7a17a;
  color: #0a0a0a;
  border-color: #c7a17a;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: rgba(20, 20, 30, 0.65);
  backdrop-filter: blur(12px);
  border-radius: 1.5rem;
  border: 1px solid rgba(199, 161, 122, 0.2);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: #c7a17a;
}

.product-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.product-info {
  padding: 1.5rem;
}

.product-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.product-price {
  color: #c7a17a;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0.5rem 0;
}

.product-category {
  font-size: 0.8rem;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.add-to-cart {
  background: #c7a17a;
  color: #0a0a0a;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  margin-top: 1rem;
  width: 100%;
  transition: 0.3s;
}

.add-to-cart:hover {
  background: #e0b68c;
  transform: scale(1.02);
}

/* Cart Sidebar */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -450px;
  width: 450px;
  max-width: 90%;
  height: 100vh;
  background: #0a0a0f;
  border-left: 1px solid #c7a17a;
  z-index: 2000;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

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

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid #333;
  margin-bottom: 1rem;
}

.close-cart {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #222;
}

.cart-item-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
}

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

.cart-item-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.cart-item-price {
  color: #c7a17a;
  font-size: 0.9rem;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.cart-item-qty button {
  background: #1e1e2a;
  border: none;
  color: #fff;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  cursor: pointer;
}

.cart-item-remove {
  color: #e74c3c;
  cursor: pointer;
  font-size: 0.8rem;
}

.cart-total {
  padding-top: 1rem;
  border-top: 2px solid #c7a17a;
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
  margin: 1rem 0;
}

.checkout-btn {
  background: #c7a17a;
  color: #0a0a0a;
  padding: 1rem;
  border: none;
  border-radius: 40px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  font-size: 1.1rem;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 3000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #0a0a0f;
  border-radius: 1.5rem;
  max-width: 500px;
  width: 90%;
  padding: 2rem;
  border: 1px solid #c7a17a;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 1rem;
  margin-bottom: 1rem;
}

.modal-qty {
  margin: 1rem 0;
}

.modal-qty input {
  background: #1e1e2a;
  border: 1px solid #333;
  padding: 0.5rem;
  border-radius: 10px;
  color: white;
  width: 80px;
  margin-right: 1rem;
}

/* Checkout Form */
.checkout-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #0a0a0f 0%, #050505 100%);
}

.checkout-title {
  text-align: center;
  margin-bottom: 2rem;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 768px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
}

.order-summary {
  background: rgba(20, 20, 30, 0.65);
  backdrop-filter: blur(12px);
  border-radius: 1.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(199, 161, 122, 0.2);
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.checkout-form input,
.checkout-form textarea {
  background: #1e1e2a;
  border: 1px solid #333;
  padding: 1rem;
  border-radius: 2rem;
  color: white;
  font-family: inherit;
  width: 100%;
}

.order-now-btn {
  background: #c7a17a;
  color: #0a0a0a;
  padding: 1rem;
  border: none;
  border-radius: 2rem;
  font-weight: 700;
  cursor: pointer;
  font-size: 1.2rem;
  margin-top: 1rem;
}

.order-now-btn:hover {
  background: #e0b68c;
}

.back-to-site {
  color: #aaa;
  text-decoration: none;
  margin-left: 1rem;
}

.back-to-site:hover {
  color: #c7a17a;
}

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

input[type=number] {
  -moz-appearance: textfield;
}