/* ============================================
   WOOCOMMERCE CUSTOM STYLING
   ============================================ */

.woocommerce {
  background-color: #050e05;
}

/* Shop Page */
.woocommerce-products-header {
  background: linear-gradient(135deg, #050e05 0%, #0a1a0a 100%);
  padding: 3rem 2rem;
  margin-bottom: 3rem;
  border-bottom: 2px solid #f5a623;
}

.woocommerce-products-header h1 {
  color: #ffffff;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 6vw, 4rem);
  letter-spacing: 0.1em;
}

/* Product Grid */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.product {
  background-color: #0a1a0a;
  border: 1px solid rgba(245, 166, 35, 0.15);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product:hover {
  border-color: #f5a623;
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(245, 166, 35, 0.2);
}

/* Product Image */
.product-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background-color: #0f1f0f;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product:hover .product-image img {
  transform: scale(1.08);
}

.product-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background-color: #0f1f0f;
}

/* Product Info */
.product-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.product-category {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  color: #f5a623;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.product-description {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
  flex-grow: 1;
  line-height: 1.5;
}

.product-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  color: #f5a623;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.product-price del {
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.1rem;
  margin-right: 0.5rem;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.product-rating .star {
  color: #f5a623;
}

.product-rating .review-count {
  color: rgba(255, 255, 255, 0.4);
}

/* Add to Cart Button */
.product-add-to-cart {
  width: 100%;
}

.button.add_to_cart_button,
.button.product_type_simple,
.button.product_type_variable {
  background-color: #f5a623 !important;
  color: #050e05 !important;
  border: none !important;
  padding: 0.75rem 1.5rem !important;
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.08em !important;
  border-radius: 0.5rem !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  width: 100% !important;
  display: block !important;
}

.button.add_to_cart_button:hover,
.button.product_type_simple:hover,
.button.product_type_variable:hover {
  background-color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(245, 166, 35, 0.3) !important;
}

/* Single Product Page */
.woocommerce-page .product {
  background-color: transparent;
  border: none;
}

.single-product .product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.single-product .product-image {
  aspect-ratio: auto;
}

.single-product .product-info {
  padding: 0;
}

.single-product .product-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.single-product .product-price {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.single-product .product-description {
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* Product Tabs */
.woocommerce-tabs {
  margin-top: 3rem;
}

.woocommerce-tabs .nav-tabs {
  display: flex;
  gap: 1rem;
  border-bottom: 2px solid rgba(245, 166, 35, 0.1);
  margin-bottom: 2rem;
}

.woocommerce-tabs .nav-tabs li {
  list-style: none;
}

.woocommerce-tabs .nav-tabs a {
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1rem;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.woocommerce-tabs .nav-tabs a:hover,
.woocommerce-tabs .nav-tabs a.active {
  color: #f5a623;
  border-bottom-color: #f5a623;
}

/* Cart Page */
.woocommerce-cart-form table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.woocommerce-cart-form table th {
  background-color: #0a1a0a;
  color: #f5a623;
  padding: 1rem;
  text-align: left;
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid #f5a623;
}

.woocommerce-cart-form table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(245, 166, 35, 0.1);
  color: #ffffff;
}

.woocommerce-cart-form table tr:hover {
  background-color: #0f1f0f;
}

/* Cart Totals */
.cart-collaterals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.cart_totals {
  background-color: #0a1a0a;
  padding: 2rem;
  border: 1px solid rgba(245, 166, 35, 0.15);
  border-radius: 0.5rem;
}

.cart_totals h2 {
  color: #f5a623;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.cart_totals table {
  width: 100%;
  margin-bottom: 1.5rem;
}

.cart_totals table tr {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(245, 166, 35, 0.1);
}

.cart_totals table tr.total {
  border-bottom: 2px solid #f5a623;
  padding: 1rem 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.cart_totals table tr.total td {
  color: #f5a623;
}

/* Checkout */
.woocommerce-checkout {
  background-color: #050e05;
}

.woocommerce-checkout-review-order {
  background-color: #0a1a0a;
  padding: 2rem;
  border: 1px solid rgba(245, 166, 35, 0.15);
  border-radius: 0.5rem;
}

.woocommerce-checkout-review-order h3 {
  color: #f5a623;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .products {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
  }

  .single-product .product {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cart-collaterals {
    grid-template-columns: 1fr;
  }

  .woocommerce-products-header {
    padding: 1.5rem 1rem;
  }

  .woocommerce-products-header h1 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .products {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .product-title {
    font-size: 0.9rem;
  }

  .product-price {
    font-size: 1.25rem;
  }
}
