/**
 * WooCommerce CSS
 *
 * Custom styles for WooCommerce template overrides.
 * Only styles that Tailwind utility classes can't handle.
 *
 * @package Luxe_Landscape
 */

/* ============================================
   SHOP ARCHIVE
   ============================================ */
.wc-products-grid {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 2rem;
	max-width: 80rem;
	margin: 0 auto;
	padding: 2rem 1.5rem 6rem;
}

@media (min-width: 768px) {
	.wc-products-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (min-width: 1024px) {
	.wc-products-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media (min-width: 1280px) {
	.wc-products-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* ============================================
   SINGLE PRODUCT
   ============================================ */
.wc-single-product {
	max-width: 80rem;
	margin: 0 auto;
	padding: 8rem 1.5rem 6rem;
	display: grid;
	grid-template-columns: 1fr;
	gap: 4rem;
}

@media (min-width: 1024px) {
	.wc-single-product {
		grid-template-columns: 1fr 1fr;
	}
}

/* ============================================
   CART PAGE
   ============================================ */
.wc-cart-section {
	max-width: 80rem;
	margin: 0 auto;
	padding: 8rem 1.5rem 6rem;
}

.wc-cart-table {
	width: 100%;
	border-collapse: collapse;
}

.wc-cart-table th {
	text-align: left;
	padding: 1rem;
	font-weight: 700;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.wc-cart-table td {
	padding: 1.5rem 1rem;
	vertical-align: middle;
}

/* ============================================
   WC NOTICES
   ============================================ */
.woocommerce-message,
.woocommerce-info {
	background-color: rgba(17, 212, 98, 0.1);
	border-left: 4px solid #11d462;
	padding: 1rem 1.5rem;
	border-radius: 0 0.5rem 0.5rem 0;
	margin-bottom: 2rem;
	font-weight: 600;
}

.woocommerce-error {
	background-color: rgba(239, 68, 68, 0.1);
	border-left: 4px solid #ef4444;
	padding: 1rem 1.5rem;
	border-radius: 0 0.5rem 0.5rem 0;
	margin-bottom: 2rem;
}

.woocommerce-error li {
	list-style: none;
}

/* ============================================
  BUTTONS
  ============================================ */
.btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: 3.5rem;
	padding: 0 1.5rem;
	border: 0;
	border-radius: 0.75rem;
	background: #11d462;
	color: #0f172a;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.2s ease;
}

.btn-primary:hover {
	background: #0fbe59;
}

.btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: 3.5rem;
	padding: 0 1.5rem;
	border: 1px solid #cbd5e1;
	border-radius: 0.75rem;
	background: transparent;
	color: #334155;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.2s ease;
}

.btn-outline:hover {
	background: rgba(15, 23, 42, 0.04);
}

.dark .btn-outline {
	border-color: #334155;
	color: #e2e8f0;
}

.dark .btn-outline:hover {
	background: rgba(148, 163, 184, 0.08);
}

/* ============================================
  CART PAGE ENHANCEMENTS
  ============================================ */
.wc-cart-quantity-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.75rem;
	border-radius: 9999px;
	border: 1px solid #e2e8f0;
	background: #f8fafc;
}

.dark .wc-cart-quantity-pill {
	border-color: #334155;
	background: #0f172a;
}

.wc-cart-qty-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border: 0;
	background: transparent;
	color: #64748b;
	border-radius: 9999px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.wc-cart-qty-btn:hover {
	color: #0f172a;
	background: rgba(17, 212, 98, 0.1);
}

.dark .wc-cart-qty-btn:hover {
	color: #f8fafc;
}

.wc-cart-qty-input {
	width: 2.75rem;
	border: 0;
	background: transparent;
	text-align: center;
	font-weight: 700;
	color: #0f172a;
	appearance: textfield;
	-moz-appearance: textfield;
}

.dark .wc-cart-qty-input {
	color: #f8fafc;
}

.wc-cart-qty-input::-webkit-outer-spin-button,
.wc-cart-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
