.wc-block-components-product-badge.wc-block-components-sale-badge {
  display: none !important;
}

.woocommerce .products .quantity input.qty {
  width: 55px;
  height: 38px;
  background-color: #f2f2f2;
  border: none;
  border-bottom: 2px solid #3cc4b3;
  font-size: 16px;
  margin-right: 12px;
}

.woocommerce .products .quantity input.qty:focus {
  outline: none;
  background-color: #fff;
  border-bottom: 2px solid #2ba89e;
}

.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce ul.products li.product .quantity {
  display: inline-block;
  vertical-align: middle;
}

/* Style the "Proceed to Checkout" link as a button */
.wc-block-components-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #3CB043; /* Fresh green */
    color: white !important;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

 /* Hover effect for the button */
.wc-block-components-button:hover {
    background-color: #2b8f35; /* Darker green on hover */
    color: #fff !important;
}


/* Hide WooCommerce Blocks marketing opt-in checkbox */
.wc-block-components-checkbox__input[id*="checkbox-control"],
.wc-block-components-checkbox__mark,
.wc-block-components-checkbox__label {
    display: none !important;
}

/* Remove entire checkbox wrapper */
.wc-block-components-checkbox {
    display: none !important;
}



/* Force two-column layout for WooCommerce Blocks Checkout */
.wp-block-woocommerce-checkout > div {
    display: grid !important;
    grid-template-columns: 1.5fr 2fr; /* Left (form): 2 parts, Right (summary): 1 part */
    gap: 0px; /* Adjust spacing between columns */
    align-items: flex-start;
}

/* Remove excess horizontal padding */
.wp-block-woocommerce-checkout {
    max-width: 100% !important;
    padding: 0 300px;
}

/* Ensure the fields and order summary blocks expand properly */
.wp-block-woocommerce-checkout-fields-block{
    width: 80% !important;
}
.wp-block-woocommerce-checkout-totals-block {
    width: 100% !important;
}


/* Make the checkout order summary block scroll if content is too tall */
.wp-block-woocommerce-checkout-order-summary-block {
    max-height: 70vh;
    overflow-y: auto;
}

/* Optional: remove default margins from field blocks */
.wp-block-woocommerce-checkout-fields-block > div {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .wp-block-woocommerce-checkout > div {
        grid-template-columns: 1fr !important; /* stack vertically */
    }
}

/* Reduce vertical margin between sections in WooCommerce Blocks checkout */
.wp-block-woocommerce-checkout > div {
    margin-bottom: 5px !important;
}

/* Reduce vertical spacing between each section (Contact Info, Billing, etc.) */
.wp-block-woocommerce-checkout-fields-block > div,
.wp-block-woocommerce-checkout-payment-block,
.wp-block-woocommerce-checkout-shipping-methods-block,
.wp-block-woocommerce-checkout-order-summary-block {
    margin-bottom: 0px !important;
    padding-bottom: 0 !important;
}

/* Reduce padding/margin around address cards */
.wc-block-components-address-card,
.wc-block-components-address-card__edit {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}

/* Reduce heading spacing */
.wp-block-woocommerce-checkout h2,
.wp-block-woocommerce-checkout h3 {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

/* Compact spacing under payment method options */
.wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control__option {
    margin-bottom: 0px !important;
}

/* Optional: Tighten spacing below order summary */
.wp-block-woocommerce-checkout-order-summary-block {
    margin-top: 0px !important;
}

/* Optional: Remove some padding on inputs */
.wp-block-woocommerce-checkout input,
.wp-block-woocommerce-checkout select {
    padding-top: px !important;
    padding-bottom: 0px !important;
}

#artsoft-pickup-classic {
  max-width: 520px;        /* make the card narrower; remove if you want full width */
  margin: 12px 0;
  padding: 12px;
  border-radius: 10px;
  font-size: 0.95rem;      /* slightly smaller text */
  line-height: 1.35;
}

/* Reduce map height */
#artsoft-pickup-map-classic {
  height: 350px !important;  /* adjust: 180–260px are good compact sizes */
  border-radius: 8px;
}

/* Hide the "Ship to a different address?" toggle and actual shipping fields */
.woocommerce-checkout #ship-to-different-address,
.woocommerce-checkout .woocommerce-shipping-fields .shipping_address {
  display: none !important;
}



/* Make sure the row is flex and let items wrap if needed */
#artsoft-top-row {
  display: flex;
  flex-wrap: wrap;
}





/* Hide WebToffee print/download buttons on the thank-you page only */
body.woocommerce-order-received a.wt_pklist_invoice_print,
body.woocommerce-order-received a.wt_pklist_invoice_download {
  display: none ;
}











/* ---------- ORDER REVIEW ---------- */

#order_review .pickup-date-row {
	display:none;
}

/* ---------- CUSTOMER DETAILS COLUMN ---------- */

#customer_details .col-1 {
    margin-bottom: 14px;
    max-width: 520px;
}

/* ---------- BILLING REVIEW ---------- */

#customer_details .col-1 .woocommerce-billing-fields{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:12px;
  padding:18px 18px 6px;
  box-shadow:0 1px 2px rgba(0,0,0,.04);
  display: flex;
  flex-wrap: wrap;
}

#customer_details .col-1 .woocommerce-billing-fields > h3{
  margin:0 0 12px;
  font-size:1.25rem;
  line-height:1.3;
  font-weight:600;
}

#customer_details .col-1 .woocommerce-billing-fields__field-wrapper{
  /* display:grid; */
  grid-template-columns:1fr 1fr;
  gap:12px 16px;
  min-width: 100%;
}

#customer_details .col-1 #artsoft-billing-summary{
  min-width: 100%;
}

#customer_details .col-1 .woocommerce-billing-fields__field-wrapper label{
  display:block;
  font-size:.85rem;
  line-height:1.35;
  color:#374151;
  margin:0 0 6px;
  font-weight:600;
}

#customer_details .col-1 .woocommerce-billing-fields__field-wrapper input.input-text,
#customer_details .col-1 .woocommerce-billing-fields__field-wrapper select,
#customer_details .col-1 .woocommerce-billing-fields__field-wrapper textarea{
  width:100%;
  height:46px;
  padding:10px 12px;
  border:1px solid #d1d5db;
  border-radius:10px;
  background:#fff;
  box-shadow:none;
  transition:border-color .15s, box-shadow .15s, background .15s;
  font-size:.98rem;
}

#customer_details .col-1 .woocommerce-billing-fields__field-wrapper .select2-container .select2-selection--single{
  width:100%;
  height:46px !important;
  /* padding:10px 12px; */
  border:1px solid #d1d5db;
  border-radius:10px;
  background:#fff;
  box-shadow:none;
  transition:border-color .15s, box-shadow .15s, background .15s;
  font-size:.98rem;
}

#customer_details .col-1 .woocommerce-billing-fields__field-wrapper .select2-container .select2-selection--single .select2-selection__arrow{
  height: 100% !important;
}


#customer_details .col-1 .woocommerce-billing-fields__field-wrapper input.input-text:focus,
#customer_details .col-1 .woocommerce-billing-fields__field-wrapper select:focus,
#customer_details .col-1 .woocommerce-billing-fields__field-wrapper textarea:focus,
#customer_details .col-1 .select2-container--default.select2-container--focus .select2-selection--single{
  outline:none;
  border-color:#111827;
  box-shadow:0 0 0 3px rgba(17,24,39,.15);
}

#customer_details .col-1 #artsoft-billing-summary{
  display:block;
  max-width: 520px;
  background:#fff;
  /* border:1px solid #e5e7eb;
  border-radius:12px; */
  /* padding:16px 18px; */
  /* box-shadow:0 1px 2px rgba(0,0,0,.04); */
  /* margin:0 0 16px 0; */
}

#customer_details .col-1 #artsoft-billing-summary .abs-heading{
  margin:0 0 8px 0;
  font-size:18px;
  font-weight:600;
}

#customer_details .col-1 #artsoft-billing-summary .abs-sub{
  margin:0 0 12px 0;
  font-size:13px;
  color:#6b7280;
}

#customer_details .col-1 #artsoft-billing-summary .abs-card{
  background:#fff;
  /* border:1px solid #e7e7eb;
  border-radius:10px; */
  padding:14px;
  line-height:1.45;
  font-size:15px;
  position: relative;
}

#customer_details .col-1 #artsoft-billing-summary .abs-name{ 
  font-weight:600; 
  margin:0 0 6px 0; 
}

#customer_details .col-1 #artsoft-billing-summary .abs-line{ 
  margin:0; 
}

#customer_details .col-1 #artsoft-billing-summary .abs-actions{
  margin-top:10px;
  position: absolute;
  top: 14px;
  right: 14px;
  margin-top: 0;
}

#customer_details .col-1 #artsoft-billing-summary .abs-edit{
  display:inline-block;
  font-size:13px;
  color: #10b981;
  text-decoration: underline;
  cursor:pointer;
  background: none;
  border: none;
  padding: 0;
}

#customer_details .col-1 #artsoft-billing-summary .abs-edit:hover{ 
  color: #059669;
  text-decoration: none;
}

#customer_details .col-1 .woocommerce-billing-fields.artsoft-hidden-fields .woocommerce-billing-fields__field-wrapper{
  display: none !important;
}

#customer_details .col-1 .woocommerce-billing-fields.artsoft-editing .woocommerce-billing-fields__field-wrapper{
  display: block !important;
}

#customer_details .col-1 .woocommerce-billing-fields.artsoft-hidden-fields #artsoft-billing-summary {
  display: block !important;
}

#customer_details .col-1 .woocommerce-billing-fields.artsoft-editing #artsoft-billing-summary {
  display: none !important;
}

#customer_details .col-1 .woocommerce-billing-fields #billing_state_field{
  display: none !important;
}

.select2-container.select2-container--open .select2-dropdown--below {
  border: 1px solid #d1d5db; 
}

#customer_details .col-1 .abs-actions {
  margin-left: auto;
}