/*
Theme Name: Astra Child (Lucky Dog Clean)
Template: astra
Version: 1.4
Author: Lucky Dog Seed Co.
Description: Clean Astra child theme with dark WooCommerce styling, brand accent headers, and a lightweight age verification overlay.
*/

/* --- Lucky Dog — Dark Woo + Brand Accent --- */

/* Account navigation */
.woocommerce-account .woocommerce-MyAccount-navigation { background:transparent; }
.woocommerce-account .woocommerce-MyAccount-navigation ul{margin:0;padding:0;list-style:none;}
.woocommerce-account .woocommerce-MyAccount-navigation li a{
  display:block;padding:14px 16px;color:#fff !important;background:transparent;border-bottom:1px solid rgba(255,255,255,.08);
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{
  background:#2b2d2f !important;color:#fff !important;border-left:3px solid #717958 !important;
}

/* Cards / panels */
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .woocommerce-Addresses .woocommerce-Address,
.woocommerce-account .u-column1,.woocommerce-account .u-column2,
.woocommerce-cart .cart_totals,
.woocommerce-checkout #order_review,
.woocommerce-checkout #customer_details{
  background:#1e2022 !important;color:#fff !important;border:1px solid rgba(255,255,255,.15) !important;border-radius:10px;
}

/* Tables */
.woocommerce table thead th,
.woocommerce-account .woocommerce-orders-table thead th,
.woocommerce-cart .cart_totals h2{
  background:#2b2d2f !important;color:#fff !important;border-color:rgba(255,255,255,.25) !important;
}
.woocommerce table tbody td{background:transparent !important;color:#fff !important;border-color:rgba(255,255,255,.1) !important;}

/* Forms */
.woocommerce form .form-row label{color:#fff !important;}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select{
  background:#2b2d2f !important;color:#fff !important;border:1px solid rgba(255,255,255,.25) !important;border-radius:6px !important;
}

/* Select2 */
.woocommerce .select2-container .select2-selection--single{
  background:#2b2d2f !important;border:1px solid rgba(255,255,255,.25) !important;height:48px !important;border-radius:6px !important;
}
.woocommerce .select2-container .select2-selection--single .select2-selection__rendered{color:#fff !important;line-height:46px !important;}
.select2-dropdown{background:#2b2d2f !important;border:1px solid rgba(255,255,255,.25) !important;color:#fff !important;}
.select2-results__option--highlighted[aria-selected]{background:#3a3d3f !important;color:#fff !important;}

/* Buttons */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,
.woocommerce #place_order,.woocommerce .wc-proceed-to-checkout a.checkout-button{
  background:#717958 !important;color:#fff !important;border:none !important;border-radius:999px !important;padding:10px 20px !important;
}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,
.woocommerce #place_order:hover,.woocommerce .wc-proceed-to-checkout a.checkout-button:hover{background:#5d6450 !important;}

/* Notices */
.woocommerce-message,.woocommerce-info,.woocommerce-error{background:#2b2d2f !important;color:#fff !important;border-left:5px solid #717958 !important;}

/* Shipping line readability & layout */
.woocommerce-cart .cart_totals .shipping td,
.woocommerce-checkout .shop_table .shipping td{font-size:1.05em !important;line-height:1.35 !important;font-weight:500 !important;color:#fff !important;}
.woocommerce-cart .cart_totals .shipping td strong,
.woocommerce-checkout .shop_table .shipping td strong{display:block !important;margin-bottom:4px;}

/* Unified section headers with brand accent */
.woocommerce .woocommerce-order-details__title,
.woocommerce .woocommerce-column__title,
.woocommerce .woocommerce-customer-details h2,
.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3,
.woocommerce-cart .cart_totals h2,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout .woocommerce-billing-fields>h3,
.woocommerce-checkout .woocommerce-shipping-fields>h3,
.woocommerce-checkout .woocommerce-additional-fields>h3{
  color:#fff !important;background:transparent !important;font-weight:700 !important;
  font-size:clamp(22px,2.2vw,28px) !important;line-height:1.2 !important;border-bottom:2px solid #717958 !important;
  padding-bottom:6px !important;margin-bottom:14px !important;
}

/* Order received: remove white blocks */
.woocommerce-order-received .woocommerce-column,
.woocommerce-order-received .woocommerce-customer-details,
.woocommerce-order-received .woocommerce-order-details{background:none !important;border:1px solid #333 !important;color:#fff !important;}
.woocommerce-order-received .woocommerce-order-details h2{border:0 !important;padding:0.5em 0;margin:0;}
/* Fix payment method labels (Checkout) */
.woocommerce-checkout #payment .payment_methods li label,
.woocommerce-checkout #payment .payment_methods li label span {
  color:#ffffff !important;
  font-weight:500 !important;
  font-size:1.05em !important;
}
/* Fix invisible shipping cost text in cart/checkout */
.woocommerce td.product-name .woocommerce-Price-amount,
.woocommerce td.product-total .woocommerce-Price-amount,
.woocommerce .cart_totals .woocommerce-Price-amount,
.woocommerce ul#shipping_method label,
.woocommerce-checkout-review-order-table td,
.woocommerce-checkout-review-order-table th {
    color: #ffffff !important;
}

/* Fix invisible checkbox labels under email on checkout */
.woocommerce form .form-row label.checkbox,
.woocommerce form .woocommerce-form__label-for-checkbox span,
.woocommerce form .form-row .woocommerce-input-wrapper label {
    color: #ffffff !important;
}
/* --- Visibility fixes on dark checkout/cart --- */

/* Shipping method label + amounts in mini lines */
.woocommerce ul#shipping_method li label,
.woocommerce ul#shipping_method li label .amount,
.woocommerce ul#shipping_method li label .woocommerce-Price-amount,
.woocommerce .woocommerce-shipping-destination,
.woocommerce .woocommerce-shipping-calculator a {
  color:#ffffff !important;
  opacity:1 !important;
}

/* Order review table emphasis (Totals row, etc.) */
.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td,
.woocommerce-checkout-review-order-table .order-total td .amount {
  color:#ffffff !important;
  font-weight:700 !important;
}

/* Checkbox/opt-in labels under the email field */
.woocommerce .woocommerce-form__label-for-checkbox,
.woocommerce .woocommerce-form__label-for-checkbox span,
.woocommerce form .form-row .woocommerce-input-wrapper .woocommerce-form__label-for-checkbox,
.woocommerce label[for="ship-to-different-address-checkbox"],
.woocommerce label[for="createaccount"] {
  color:#ffffff !important;
}

/* Terms & privacy text/links */
.woocommerce-terms-and-conditions-checkbox-text,
.woocommerce-terms-and-conditions-checkbox-text a,
.woocommerce-privacy-policy-text,
.woocommerce-privacy-policy-text a {
  color:#ffffff !important;
  text-decoration: none;
}

/* Placeholders inside dark inputs */
.woocommerce form .form-row input::placeholder,
.woocommerce form .form-row textarea::placeholder {
  color: rgba(255,255,255,.7) !important;
}

/* Select2 arrow contrast */
.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #ffffff transparent transparent transparent !important;
}

/* Make small muted notes readable (e.g., shipping notes) */
.woocommerce small, .woocommerce .woocommerce-mini-cart__empty-message,
.woocommerce .woocommerce-cart .cart_totals .shipping p {
  color: rgba(255,255,255,.85) !important;
}
/* Enlarge shipping method text */
.woocommerce ul#shipping_method label,
.woocommerce-checkout-review-order-table .shipping td {
    font-size: 1.05em !important; /* slightly larger */
    line-height: 1.5 !important;
}
/* Remove white background from My Account address cards */
.woocommerce-account .woocommerce-Addresses .woocommerce-Address-title,
.woocommerce-account .woocommerce-Addresses .woocommerce-Address-title h3 {
  background: transparent !important;
  color: #ffffff !important;
  border: none !important;
  padding: 0 !important;
  margin-bottom: 8px !important;
  font-weight: 600 !important;
}
/* Fix invisible 'Password change' link on Account Details */
.woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset legend,
.woocommerce-MyAccount-content .woocommerce-EditAccountForm a {
  color: #ffffff !important;
  font-weight: 500 !important;
}

.woocommerce-MyAccount-content .woocommerce-EditAccountForm a:hover {
  color: #717958 !important; /* brand green on hover */
  text-decoration: underline !important;
}