/* Vape Gear Australia: WordPress/WooCommerce layer on top of the original design (/_astro/Layout.*.css). */

/* ---------- archives ---------- */
.vga-subcats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.vga-subcats a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--border-color, #242933);
  border-radius: 8px; color: #fff; text-decoration: none; font-size: 14px; background: var(--bg-secondary, #121418); transition: border-color .2s; }
.vga-subcats a:hover { border-color: var(--accent-gold, #f59e0b); }
.vga-subcats a span { color: var(--text-secondary, #9ca3af); font-size: 12px; }
.vga-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.vga-count { color: var(--text-secondary, #9ca3af); margin: 0; font-size: 14px; }
.vga-toolbar .woocommerce-ordering { margin: 0; }
.vga-toolbar select, .woocommerce select, .woocommerce-page select {
  background: var(--bg-secondary, #121418); color: #fff; border: 1px solid var(--border-color, #242933); border-radius: 8px; padding: 9px 12px; font: inherit; }
.vga-pagination { margin-top: 40px; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.vga-pagination .page-numbers { display: inline-block; min-width: 40px; padding: 9px 12px; text-align: center; border: 1px solid var(--border-color, #242933);
  border-radius: 8px; color: #fff; text-decoration: none; }
.vga-pagination .page-numbers.current, .vga-pagination a.page-numbers:hover { border-color: var(--accent-gold, #f59e0b); color: var(--accent-gold, #f59e0b); }
.category-intro p { margin: 0 0 .6em; }
.product-card .product-price .woocommerce-Price-amount { color: inherit; }
.product-brand a { color: inherit; text-decoration: none; }

/* ---------- product page ---------- */
.vga-spec { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 6px; font-size: 14px; }
.vga-spec span { color: var(--text-secondary, #9ca3af); min-width: 130px; display: inline-block; }
.vga-cart-form form.cart { display: flex; flex-direction: column; gap: 16px; margin: 6px 0 22px; }
.vga-cart-form form.cart:not(.variations_form), .vga-cart-form .woocommerce-variation-add-to-cart { display: flex; flex-direction: row; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.vga-cart-form table.variations { border: 0; margin: 0; width: 100%; }
.vga-cart-form table.variations tr { display: block; margin-bottom: 14px; }
.vga-cart-form table.variations th, .vga-cart-form table.variations td { display: block; padding: 0; border: 0; text-align: left; background: none; }
.vga-cart-form table.variations th label { font-size: 13px; font-weight: 600; color: var(--text-secondary, #9ca3af); text-transform: uppercase; letter-spacing: .04em; }
.vga-cart-form .reset_variations { font-size: 12px; color: var(--text-secondary, #9ca3af); margin-left: 6px; }
.vga-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.vga-swatches button { background: var(--bg-tertiary, #1a1d23); color: #fff; border: 1px solid var(--border-color, #242933); border-radius: 6px;
  padding: 8px 14px; font: inherit; font-size: 14px; cursor: pointer; transition: border-color .15s; }
.vga-swatches button:hover { border-color: var(--text-secondary, #9ca3af); }
.vga-swatches button.is-active { border-color: var(--accent-gold, #f59e0b); color: var(--accent-gold, #f59e0b); }
.vga-swatches button:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.vga-has-swatches select { position: absolute !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.vga-cart-form .quantity .qty { width: 80px; height: 100%; min-height: 48px; text-align: center; background: var(--bg-secondary, #121418); color: #fff;
  border: 1px solid var(--border-color, #242933); border-radius: 8px; font: inherit; }
.vga-cart-form .single_add_to_cart_button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce .button.alt, .woocommerce button.button.alt, .woocommerce a.button.alt {
  background: var(--accent-gold, #f59e0b) !important; color: #0a0b0d !important; border: 0; border-radius: 8px; padding: 14px 26px; font-weight: 700;
  font-size: 15px; cursor: pointer; transition: opacity .2s; }
.vga-cart-form .single_add_to_cart_button { flex: 1; min-width: 180px; }
.woocommerce a.button:hover, .woocommerce button.button:hover { opacity: .9; }
.woocommerce button.button:disabled, .woocommerce button.button.disabled { opacity: .45 !important; }
.woocommerce-variation-price { display: none; }
.woocommerce-variation-availability p, .vga-cart-form .stock { color: var(--text-secondary, #9ca3af); font-size: 14px; margin: 0; }
.vga-cart-form .out-of-stock { color: #f87171; }
.dispatch-icon { width: 22px; height: 22px; flex: 0 0 22px; background: var(--accent-gold, #f59e0b);
  -webkit-mask: var(--ic) center/contain no-repeat; mask: var(--ic) center/contain no-repeat; }
.vga-ic-truck { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M1 4h13v11H1zM14 8h4l4 4v3h-8'/%3E%3Ccircle cx='5.5' cy='17.5' r='2'/%3E%3Ccircle cx='17.5' cy='17.5' r='2'/%3E%3C/svg%3E"); }
.vga-ic-shield { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 2l8 4v6c0 5-3.5 9-8 10-4.5-1-8-5-8-10V6z'/%3E%3C/svg%3E"); }
.product-description p { color: var(--text-secondary, #9ca3af); line-height: 1.8; margin-bottom: 1em; }
.vga-related { margin-top: 56px; }
.vga-related .section-title { margin-bottom: 22px; }

/* ---------- WooCommerce pages (cart, checkout, account, notices) ---------- */
.vga-woo { padding: 40px 0 70px; }
.vga-woo > .section-title { margin-bottom: 26px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice {
  background: var(--bg-secondary, #121418) !important; color: #fff !important; border: 1px solid var(--border-color, #242933) !important;
  border-left: 4px solid var(--accent-gold, #f59e0b) !important; border-radius: 8px; padding: 14px 18px !important; margin: 0 0 22px !important; list-style: none; }
.woocommerce-error { border-left-color: #f87171 !important; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none !important; }
.woocommerce-message a, .woocommerce-info a { color: var(--accent-gold, #f59e0b); }
.woocommerce-message .button { float: right; padding: 8px 16px !important; font-size: 13px !important; }
.woocommerce table.shop_table { border: 1px solid var(--border-color, #242933); border-radius: 10px; border-collapse: separate; background: var(--bg-secondary, #121418); color: #fff; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-top: 1px solid var(--border-color, #242933) !important; padding: 14px 16px; }
.woocommerce table.shop_table thead th { border-top: 0 !important; color: var(--text-secondary, #9ca3af); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.woocommerce table.shop_table a { color: #fff; }
.woocommerce table.cart img { width: 64px; border-radius: 6px; background: #fff; }
.woocommerce a.remove { color: #f87171 !important; }
.woocommerce-cart table.cart td.actions .coupon .input-text { width: 170px !important; margin-right: 8px; }
.woocommerce .cart-collaterals .cart_totals { background: var(--bg-secondary, #121418); border: 1px solid var(--border-color, #242933); border-radius: 10px; padding: 20px; }
.woocommerce .cart-collaterals .cart_totals table.shop_table { border: 0; background: transparent; }
.woocommerce a.remove:hover { background: #f87171; color: #fff !important; }
.woocommerce .cart-collaterals .cart_totals h2, .woocommerce-checkout h3, .woocommerce-account h2 { color: #fff; font-size: 20px; margin-bottom: 14px; }
.woocommerce form .form-row label { color: var(--text-secondary, #9ca3af); font-size: 13px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce .quantity .qty, .woocommerce #coupon_code,
.select2-container--default .select2-selection--single {
  background: var(--bg-secondary, #121418) !important; color: #fff !important; border: 1px solid var(--border-color, #242933) !important;
  border-radius: 8px !important; padding: 11px 13px; font: inherit; min-height: 46px; }
.select2-container--default .select2-selection--single .select2-selection__rendered { color: #fff; line-height: 24px; }
.select2-dropdown { background: var(--bg-secondary, #121418); color: #fff; border-color: var(--border-color, #242933); }
.select2-container--default .select2-results__option--highlighted[aria-selected] { background: var(--accent-gold, #f59e0b); color: #0a0b0d; }
.woocommerce-checkout #payment { background: var(--bg-secondary, #121418) !important; border: 1px solid var(--border-color, #242933); border-radius: 10px; }
.woocommerce-checkout #payment ul.payment_methods { border-bottom: 1px solid var(--border-color, #242933) !important; }
.woocommerce-checkout #payment div.payment_box { background: var(--bg-tertiary, #1a1d23) !important; color: var(--text-secondary, #9ca3af) !important; border-radius: 8px; }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-checkout #payment label { color: #fff; }
#add_payment_method #payment ul.payment_methods li input, .woocommerce-checkout #payment ul.payment_methods li input { accent-color: var(--accent-gold, #f59e0b); }
.woocommerce-privacy-policy-text, .woocommerce-terms-and-conditions-wrapper { color: var(--text-secondary, #9ca3af); font-size: 13px; }
.woocommerce ul#shipping_method li label { color: #fff; }
.vga-wallets { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 10px; }
.vga-wallets li { display: grid; gap: 4px; }
.vga-wallets code { background: var(--bg-primary, #0a0b0d); border: 1px solid var(--border-color, #242933); border-radius: 6px; padding: 8px 10px; color: #fff;
  font-size: 13px; word-break: break-all; }
.vga-pay-instructions { background: var(--bg-secondary, #121418); border: 1px solid var(--border-color, #242933); border-radius: 10px; padding: 18px 20px; margin: 20px 0; }
.woocommerce-order-overview { color: var(--text-secondary, #9ca3af); }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; display: grid; gap: 6px; }
.woocommerce-MyAccount-navigation a { color: #fff; }
.woocommerce-MyAccount-navigation .is-active a { color: var(--accent-gold, #f59e0b); }

.vga-prose { color: var(--text-secondary, #9ca3af); line-height: 1.8; }
.vga-prose h2, .vga-prose h3 { color: #fff; margin: 1.4em 0 .5em; }
.vga-prose a { color: var(--accent-gold, #f59e0b); }

@media (max-width: 768px) {
  .woocommerce table.shop_table_responsive tr td::before { color: var(--text-secondary, #9ca3af); }
  .vga-cart-form .single_add_to_cart_button { min-width: 0; }
  .woocommerce input, .woocommerce select, .woocommerce textarea { font-size: 16px !important; }
}
