/*
Theme Name: Reboot Child Theme
Template: reboot
Theme URI: https://reboot.axiomthemes.com/
Description: Reboot Child Theme
Author: Axiomthemes
Author URI: https://axiomthemes.com/
Version: 1.0.0
Tested up to: 6.7
Requires at least: 5.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, e-commerce, portfolio, grid-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
Text Domain: reboot
*/


/* =Child-Theme customization starts here
------------------------------------------------------------ */

/* Cart: cleaner structure and totals below items */
.woocommerce-cart .cart-collaterals {
  clear: both;
  width: 100% !important;
  margin-top: 24px !important;
}

.woocommerce-cart .cart-collaterals .cart_totals {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

/* Keep cart action buttons grouped and readable */
.woocommerce-cart .woocommerce-cart-form table.shop_table .woo-actions-inner {
  display: flex !important;
  justify-content: flex-end !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

/* Checkout shipping row (full width from child cart-shipping override) */
.woocommerce-checkout .shop_table_checkout_review .shipping-colspan-title {
  text-align: center !important;
  font-weight: 800 !important;
  font-size: 22px !important;
  line-height: 1.1 !important;
  margin-bottom: 15px !important;
}

.woocommerce-checkout .shop_table_checkout_review .shipping-colspan-methods ul#shipping_method {
  margin: 8px 0 0 !important;
  padding: 0 !important;
}

.woocommerce-checkout .shop_table_checkout_review .shipping-colspan-methods ul#shipping_method li {
  display: block !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  text-align: left !important;
}

.woocommerce-checkout .shop_table_checkout_review .shipping-colspan-methods ul#shipping_method li label {
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

/* Packetery row full width + centered button text */
.woocommerce-checkout .shop_table_checkout_review tr.packetery-widget-button-table-row td {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.woocommerce-checkout .shop_table_checkout_review tr.packetery-widget-button-table-row td .packeta-widget-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
}

.woocommerce-checkout .shop_table_checkout_review tr.packetery-widget-button-table-row td .packeta-widget-button .button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 52px !important;
  text-align: center !important;
  white-space: normal !important;
}

.woocommerce-checkout .shop_table_checkout_review tr.packetery-widget-button-table-row td img.packetery-widget-button-logo {
  display: block !important;
  width: 45px !important;
  height: 45px !important;
  max-width: 45px !important;
  object-fit: contain !important;
}

.woocommerce-checkout .shop_table_checkout_review tr.packetery-widget-button-table-row td .packeta-widget-place,
.woocommerce-checkout .shop_table_checkout_review tr.packetery-widget-button-table-row td .packeta-widget-info,
.woocommerce-checkout .shop_table_checkout_review tr.packetery-widget-button-table-row td .packeta-widget-selected-address {
  margin-top: 12px !important;
  text-align: center !important;
}

/* Reboot/TRX cart icon: use shopping-cart instead of basket globally */
.sc_layouts_cart .trx_addons_icon-basket:before {
  content: "\e9f5" !important; /* icon-shopping-cart from theme font set */
}
