/*
 Theme Name:   Built2Buy Hypersonic E
 Description:  Child theme of Hello Elementor, customized for Built2Buy
 Author:       Built2Buy
 Template:     hello-elementor
 Version:      1.1.7
 License:      GNU General Public License v2 or later
 License URI:  https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  b2b-hypersonic-classic
*/


/* Styles intended only for the front.*/
:root {
  --b2b-hyps--global-primary: var(--e-global-color-primary);
  --b2b-hyps--global-primary-dark: var(--e-global-color-primary);
  --b2b-hyps--global-border: #e4e4e4;
  --b2b-hyps--global-light-hover: #f0f0f0;
  --b2b-hyps--global-light-stripe: #f7f7f7;
  --b2b-hyps--global-white: #ffffff;
  --b2b-hyps--global-text: #333333;
  --b2b-hyps--global-danger: #a93131;
  --b2b-hyps--global-danger-bg: #f6dddd;
}

html {
  scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

body > .wp-site-blocks {
  padding: 0;
}

:where(.wp-site-blocks) > * {
  margin-block-start: 0;
}

/* BEGIN - Navigation Styles */
.wp-block-navigation a {
  text-decoration: none;
}

.wp-block-navigation .wp-block-navigation__submenu-container {
  border-radius: 10px;
  padding: 5px;
}

.wp-block-navigation .wp-block-navigation__submenu-container li {
  border-radius: 5px;
}

.wp-block-navigation .wp-block-navigation__submenu-container li a {
  padding: 5px 12px;
}

.wp-block-navigation .wp-block-navigation__submenu-container li:hover {
  background: rgba(0, 0, 0, 0.075);
}
/* END - Navigation Styles */

button:disabled {
  border-color: var(--e-global-color-accent);
  opacity: 0.5;
}

/* BEGIN - My Account */
/* .woocommerce-account main .woocommerce {
    max-width: unset;
    display: flex;
    flex-direction: column;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 100%;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: flex;
    width: 100%;
    gap: 20px;
}

.woocommerce-account .woocommerce-MyAccount-navigation li:first-child {
	padding: 1rem 0;
}

.woocommerce-account .woocommerce-MyAccount-content {
	float: unset;
	width: 100%
} */

/* General My Account Page Styling */
.woocommerce-account main .woocommerce {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Make the navigation a top bar */
.woocommerce-account .woocommerce-MyAccount-navigation {
  display: flex;
  width: 100%;
  gap: 15px;
  border-radius: 8px;
}

/* Style the navigation links */
.woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 10px;
}

.woocommerce-MyAccount-navigation li {
  margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: block;
  padding: 5px 12px;
  background: var(--b2b-hyps--global-white);
  color: var(--b2b-hyps--global-text);
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid var(--b2b-hyps--global-border);
  transition: all 0.25s ease-in-out;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
  text-decoration: none;
  background: var(--b2b-hyps--global-light-hover);
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
  background: var(--e-global-color-primary);
  border-color: var(--e-global-color-primary);
  color: #ffffff;
  text-decoration: none;
}

/* Full-width content */
.woocommerce-account main .woocommerce {
  max-width: unset;
}

.woocommerce-account main table.woocommerce-MyAccount-orders {
  border-radius: 10px;
}

.woocommerce-account main .woocommerce-MyAccount-orders thead {
  background: var(--e-global-color-primary);
  color: var(--b2b-hyps--global-light-hover);
}

.woocommerce .woocommerce-MyAccount-content {
  width: 100%;
  max-width: unset;
  border-radius: 8px;
  box-sizing: border-box;
  transition: all 0.25s ease-in-out;
}

/* Responsive Design */
@media (max-width: 768px) {
  .woocommerce-MyAccount-navigation {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .woocommerce-MyAccount-navigation ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .woocommerce-MyAccount-navigation li {
    flex: 1 1 calc(50% - 5px);
    text-align: center;
  }

  .woocommerce-MyAccount-navigation a {
    font-size: 14px;
    padding: 10px 12px;
  }
}

/* Logout button on tab */
.woocommerce
  .woocommerce-MyAccount-navigation
  .woocommerce-MyAccount-navigation-link--customer-logout {
  position: absolute;
  right: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a {
  background: var(--b2b-hyps--global-light-hover);
  color: var(--b2b-hyps--global-danger);
  border-color: var(--b2b-hyps--global-danger);
  float: right;
}

.woocommerce-account
  .woocommerce-MyAccount-navigation-link--customer-logout
  a:hover {
  background: var(--b2b-hyps--global-danger-bg) !important;
}

/* Orders table*/
.woocommerce-account .order-status {
  display: inline-block;
  border-radius: 0.5rem;
  line-height: 20px;
  padding: 4px 10px;
}

.order-status.status-completed {
  border: 1px solid #366dad;
  background: #e2eefb;
  color: #366dad;
}

.order-status.status-pending-approval {
  border: 1px solid #dbdbdb;
  background: #f3f3f3;
  color: #939393;
}

.order-status.status-processing {
  border: 1px solid #c6ca55;
  background: #faffb0 !important;
  color: #a09c15 !important;
}

.order-status.status-pending {
  border: 1px solid #e5b17c;
  background: #ffecd0 !important;
  color: #c0843f !important;
}

.order-status.status-cancelled {
  border: 1px solid #e77d7d;
  background: #ffe3e3 !important;
  color: #ce4040 !important;
}

.order-status.status-preseason {
  border: 1px solid #dca8f4;
  background: #fbe2ff !important;
  color: #b55ebd !important;
}

/* END - My Account */

/* BEGIN - Checkout Pay */
.woocommerce-page table.shop_table {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: none;
}

table tr:nth-child(even) {
  background-color: var(--b2b-hyps--global-light-stripe);
}

table thead {
  background: var(--e-global-color-primary);
  color: var(--b2b-hyps--global-white);
}
/* END - Checkout Pay */

/* BEGIN - Order form */
.wwof-woocommerce .ant-select:last-child {
  display: none;
}

.wwof-woocommerce .ant-btn-primary {
  background-color: var(--e-global-color-primary);
  border-color: var(--e-global-color-primary);
  color: var(--b2b-hyps--global-white);
}

.wwof-woocommerce .ant-btn.ant-btn-primary:hover:not(:disabled),
.wwof-woocommerce .ant-btn.ant-btn-primary:focus:not(:disabled) {
  background-color: var(--e-global-color-primary);
  border-color: var(--e-global-color-primary);
  color: var(--b2b-hyps--global-white);
}

.wwof-woocommerce .ant-btn:hover,
.wwof-woocommerce .ant-btn:focus {
  border-color: var(--e-global-color-primary);
  color: var(--e-global-color-primary);
}

.wwof-woocommerce .ant-input:hover {
  border-color: var(--e-global-color-primary);
}

.wwof-woocommerce
  .ant-select-focused:not(.ant-select-disabled).ant-select:not(
    .ant-select-customize-input
  )
  .ant-select-selector,
  .wwof-woocommerce .ant-input:focus {
    border-color: var(--e-global-color-primary);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.15);
}

.wwof-woocommerce
  .ant-select:not(.ant-select-disabled):hover
  .ant-select-selector {
  border-color: var(--e-global-color-primary);
}

.wwof-woocommerce .search-and-clear-buttons .ant-btn:last-child:hover {
  border-color: var(--b2b-hyps--global-danger);
  color: var(--b2b-hyps--global-danger);
}

.wwof-woocommerce .order-form .form-header {
  margin-bottom: 1rem;
  position: sticky;
  top: 30px;
  z-index: 1;
  background: rgba(255, 255, 255, 0.8);
  padding: 20px 0;
  backdrop-filter: blur(4px);
}
/* END - Order form */

.wp-block-button.centered {
  display: flex;
  justify-content: center;
}

.ant-spin-dot .ant-spin-dot-item {
  background: var(--e-global-color-primary);
}

a.btn-primary {
  background: var(--e-global-color-primary);
  color: var(--b2b-hyps--global-white);
  padding: 10px 15px;
}

.wpcf7 input[type=submit] {
  background: var(--e-global-color-primary);
  color: #fff;
  font-size: 16px;
  padding: 6px 12px;
  border: none;
  border-radius: 10px;
  margin-top: 16px;
  cursor: pointer;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #67aa61;
  border-radius: 10px;
  border-width: 1px;
  background: #e8fde6;
  color: #609b5a;
  font-weight: 600;
  width: fit-content;
}

.checkout input:read-only,
.checkout input:read-only:focus {
    padding: 5px 10px !important;
    box-shadow: none !important;
}

@media only screen and (max-width: 600px) {
    .order-form-wrapper.order-form .order-form-table-wrapper .order-form-responsive-table .ant-avatar img {
        max-width: 100px;
        height: 100px;
    }
}

.wp-block-add-to-cart-form .quantity .minus,
.wp-block-add-to-cart-form .quantity .plus {
    display: none;
}
.tml-action-activate main#wp--skip-link--target > div:first-of-type {
  display: none;
}

.tml-action-activate h2 {
  display: none;
}

.tml-action-activate input {
  padding: 10px;
  width: 50%;
  border-radius: 10px;
}

.tml-action-activate button {
  border-radius:10px;
  padding-top:var(--wp--preset--spacing--20);
  padding-bottom:var(--wp--preset--spacing--20);
  padding-left:var(--wp--preset--spacing--40);
  padding-right:var(--wp--preset--spacing--40);
  cursor: pointer;
}


.woocommerce-page .col2-set .col-2.woocommerce-Address {
    float: right;
    width: 48%;
    display: none;
}

.button#place_order {
   opacity: 1 !important;
}

/* Billing Checkout */
.woocommerce-billing-fields__field-wrapper .billing_first_name,
.woocommerce-billing-fields__field-wrapper .billing_last_name,
.woocommerce-billing-fields__field-wrapper .billing_city,
.woocommerce-billing-fields__field-wrapper .billing_state {
	display: inline-flex;
}

.woocommerce-billing-fields__field-wrapper {
	font-style: italic;
}

.woocommerce-billing-fields__field-wrapper p {
	margin: 0;
}

.woocommerce-billing-fields__field-wrapper .billing_last_name {
	margin-left: 7px;
}

.woocommerce-billing-fields__field-wrapper .billing_state::before {
    content: ", ";
    margin-right: 7px;
}

table.shipping__table th:first-child {
    padding-left: 0;
}
table.shipping__table {
    width: 100%;
}
.wc-block-components-totals-shipping {
    display: none;
}

header.wc-backbone-modal-header h1:before {
content: '' !important;
}

.require-login {
	display: block;
}

.logged-in .require-login {
	display: none;
}

/* Duplicate order button styles */
.duplicate-order {
    position: absolute;
    right: 0;

    a {
        font-weight: 600;
        padding: 10px 24px;
        border-radius: 10px;
        border: 1px solid var(--wp--preset--color--primary);
        color: var(--wp--preset--color--primary);
    }

    a:hover {
        background-color: var(--wp--preset--color--primary);
        color: white;
    }
}

.checkout__add-items-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;

  .wp-block-button__link {
    padding: 8px 16px;
    height: 100%;
    line-height: 1;
  }
}

.select2-container .select2-selection--single { 
  margin: 0px !important;
}

.wc-block-components-button {
    background-color: var(--e-global-color-primary);
    text-decoration: none;
}

.wc-block-components-button:hover .wc-block-components-button__text {
    color: var(--b2b-hyps--global-white);
}

[type="button"], [type="submit"], button,
[type="button"]:focus, [type="submit"]:focus, button:focus,
[type="button"]:hover, [type="submit"]:hover, button:hover {
    background-color: var(--e-global-color-primary);
}

.wc-block-components-totals-coupon__form [type="submit"] {
    background-color: var(--e-global-color-accent);
    border-color: var(--e-global-color-accent);
    color: var(--b2b-hyps--global-white);
}

.wc-block-components-totals-coupon__form [type="submit"]:disabled {
    opacity: .5;
}

.wc-block-components-totals-coupon__form [type="submit"]:hover {
    background-color: var(--e-global-color-accent);
}

.wc-block-components-button__text {
    font-weight: 600;
    text-decoration: none;
}

.page-content a {
    text-decoration: none;
}

body a {
    color: var(--b2b-hyps--global-text);
    border-radius: inherit;
}

body a:hover {
    color: var(--e-global-color-accent);
}

.page-content, .page-header, .content-area {
    max-width: 1280px;
    margin: 0 auto;
}

.wp-block-button__link.is-style-outline {
    border-radius: 3px;
}

body.woocommerce span.onsale {
    border-radius: 3px;
    color: var(--b2b-hyps--global-white);
    min-height: auto;
    line-height: 1.4;
    height: auto;
}

.product_meta > span {
    display: block;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt {
    line-height: 1.4;
}

form .quantity.buttons_added .minus,
form .quantity.buttons_added .plus {
    display: none;
}

.wp-block-button__link.is-style-outline {
    border: 1px solid var(--e-global-color-primary);
    color: var(--e-global-color-primary);
    background-color: transparent;
}

.wp-block-button__link.is-style-outline:hover {
    border: 1px solid var(--e-global-color-primary);
    color: var(--b2b-hyps--global-white);
    background-color: var(--e-global-color-primary);
}

/* Minimal styling for WooCommerce Account Details table */
.woocommerce-EditAccountForm.edit-account table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
  margin-bottom: 2rem;
}

.woocommerce-EditAccountForm.edit-account table th,
.woocommerce-EditAccountForm.edit-account table td {
  border: none;
  padding: 0.75rem 0;
  text-align: left;
  vertical-align: middle;
}

.woocommerce-EditAccountForm.edit-account table th {
  font-weight: 600;
  color: #222;
  width: 180px;
}

.woocommerce-EditAccountForm.edit-account table td {
  color: #444;
  font-size: 0.95rem;
}

.woocommerce-EditAccountForm.edit-account table tr + tr th,
.woocommerce-EditAccountForm.edit-account table tr + tr td {
  border-top: 1px solid #eee;
}

/* Optional subtle hover or focus feedback */
.woocommerce-EditAccountForm.edit-account table tr:hover td {
  background-color: #fafafa;
  transition: background-color 0.2s ease-in-out;
}

.woocommerce-EditAccountForm.edit-account table tr td {
    background-color: transparent !important;
}

.table td, table th {
  border: none !important;
}

.woocommerce-page table.shop_table td, .woocommerce-page table.shop_table th {
    padding: 1em;
}

.ant-btn {
	height: auto;
}

.ant-btn-primary:disabled:hover {
	border-color: #d9d9d9;
  color: rgba(0, 0, 0, 0.25);
  background-color: rgba(0, 0, 0, 0.04);
}

.ant-select-selector {
	height: auto !important;
}

.ant-select-selector .ant-select-selection-placeholder,
.ant-select-single .ant-select-selector .ant-select-selection-item {
	line-height: 42px !important;
}

table td, table th {
  border: none !important;
}

table {
	border-collapse: collapse !important;
}

table tbody>tr:nth-child(odd)>td, table tbody>tr:nth-child(odd)>th {
	background: transparent;
}

/* Default grid style */
.listing-grid .elementor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Adjust for the number of columns */
    gap: 20px; /* Optional spacing between grid items */
}

/* List view style */
.listing-grid.list-view .elementor-grid {
    grid-template-columns: 100%; /* Full width for list view */
    gap: 20px; /* Optional, keep the gap for spacing in list view */
}
.listing-grid.list-view .loop-grid-item {
	flex-direction: row;
  flex-wrap: nowrap;
}
.listing-grid.list-view .loop-grid-item > div:first-child {
	width: 5%;
}
@media screen and (max-width: 768px) {
  .listing-grid.list-view .loop-grid-item > div:first-child {
    width: 20%;
  }
}
.listing-grid.list-view .loop-grid-item > div:last-child {
	width: 95%;
}

/* Cart Modal */
.modal-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  pointer-events: none; /* initially disable clicks */
}

/* Overlay */
.modal-wrapper::before {
  content: "";
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  backdrop-filter: blur(4px);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Modal box */
body.has-cart-modal .modal-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  pointer-events: none; /* disable clicks when closed */
}

body.has-cart-modal .modal-wrapper::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

body.has-cart-modal .order-form-app {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 100%;
  max-width: 80%;
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  z-index: 9999;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.95);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

@media screen and (max-width: 768px) {
  body.has-cart-modal .order-form-app {
    max-width: 95%;
  }
}

body.has-cart-modal .modal-wrapper.is-modal-open {
  pointer-events: auto;
}

body.has-cart-modal .modal-wrapper.is-modal-open::before {
  opacity: 1;
}

body.has-cart-modal .modal-wrapper.is-modal-open .order-form-app {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

body.has-cart-modal .modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #333;
  cursor: pointer;
  transition: color 0.2s ease;
}

body.has-cart-modal .modal-close:hover {
  color: #000;
}

tr.ant-table-row.ant-table-row-level-0 {
  width: 100% !important;
}

#content .page-header,
#content .page-content {
  padding: 0 20px;
}

.widget_wpc_filters_widget {
  list-style: none;
}

.wpc-filter-chips-list {
  padding: 0;
}

.wpc-posts-found {
  margin: 16px 0;
}

.woocommerce-checkout-review-order table tbody>tr:nth-child(odd)>td,
.woocommerce-checkout-review-order table tbody>tr:nth-child(odd)>th {
  background-color: transparent;
}

.woocommerce-checkout-review-order table .shipping__inner th,
.woocommerce-checkout-review-order table .shipping__inner td {
  padding: 0;
}

.list-view {
  .prod-card-body,
  .prod-card-inner {
    flex-direction: row !important;
    justify-content: space-between;
  }
}

.wc-block-components-totals-item__description .wc-block-components-totals-footer-item-shipping {
  display: none;
}

.elementor-widget-sidebar {
  list-style: none;
}

ul.wc-block-product-categories-list > li {
  list-style: none;
  padding: 16px 0;
}

ul.wc-block-product-categories-list > li:not(:last-child) {
  border-bottom: 1px solid #ddd;
}

ul.wc-block-product-categories-list {
  padding: 0;
  margin: 24px 0;
}

ul.wc-brand-list-layered-nav-product_brand {
  list-style: none;
  padding: 0;
}

table.wc-block-cart-items th {
  background: var(--e-global-color-primary) !important;
}

table.wc-block-cart-items .wc-block-cart-items__header .wc-block-cart-items__header-product {
  visibility: visible
}

/* WooCommerce Tabs Wrapper */
.woocommerce-tabs.wc-tabs-wrapper {
  margin-top: 2em;
  font-family: inherit;
}

/* Tab Navigation */
.woocommerce-tabs .wc-tabs {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 0 1em 0;
  padding: 0;
  border-bottom: 2px solid var(--e-global-color-primary, #e0e0e0);
}

/* Individual Tabs */
.woocommerce-tabs .wc-tabs li {
  margin: 0 0.5em 0 0;
}

/* Tab Links */
.woocommerce-tabs .wc-tabs li a {
  display: inline-block;
  padding: 0.75em 1.5em;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: 5px 5px 0 0;
  background-color: var(--e-global-color-background, #f8f8f8);
  transition: all 0.3s ease;
}

/* Active / Hover Tabs */
.woocommerce-tabs .wc-tabs li.active a,
.woocommerce-tabs .wc-tabs li a:hover {
  color: #fff;
  background-color: var(--e-global-color-primary);
  border-color: var(--e-global-color-primary);
}

/* Tab Panels */
.woocommerce-tabs .woocommerce-Tabs-panel {
  display: none;
  padding: 1.5em;
  border: 1px solid var(--e-global-color-border, #e0e0e0);
  border-radius: 0 5px 5px 5px;
  background-color: var(--e-global-color-background, #fff);
}

/* Show active panel */
.woocommerce-tabs .woocommerce-Tabs-panel.active {
  display: block;
}

/* Headings in panels */
.woocommerce-tabs .woocommerce-Tabs-panel h2 {
  margin-top: 0;
  margin-bottom: 0.75em;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--e-global-color-text);
}

/* Product attributes table */
.woocommerce-tabs .woocommerce-Tabs-panel table.shop_attributes {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1em;
}

.woocommerce-tabs .woocommerce-Tabs-panel table.shop_attributes td {
  text-align: left;
}

/* Responsive */
@media (max-width: 768px) {
  .woocommerce-tabs .wc-tabs {
      flex-direction: column;
      border-bottom: none;
  }

  .woocommerce-tabs .wc-tabs li {
      margin-bottom: 0.5em;
  }

  .woocommerce-tabs .wc-tabs li a {
      border-radius: 5px;
  }

  .woocommerce-tabs .woocommerce-Tabs-panel {
      border-radius: 5px;
      margin-top: 0;
  }
}

/* Thumbnails */
.flex-control-nav.flex-control-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  justify-content: flex-start;
  margin-top: 0.75em;
}

.flex-control-nav.flex-control-thumbs li {
  list-style: none;
  flex: 0 0 auto;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  padding-right: 0;
  padding-left: 0;
  transition: border-color 0.3s ease;
}

.flex-control-nav.flex-control-thumbs li img {
  display: block;
  width: 60px;
  height: 60px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 4px;
}

/* Active Thumbnail */
.flex-control-nav.flex-control-thumbs li.flex-active {
  border-color: var(--e-global-color-primary);
}

/* Responsive */
@media (max-width: 768px) {
  .flex-control-nav.flex-control-thumbs {
      justify-content: center;
      gap: 0.5em;
  }

  .flex-control-nav.flex-control-thumbs li img {
      width: 50px;
      height: 50px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .woocommerce-product-gallery__image:hover img {
      transform: scale(1.05);
  }
}

.woocommerce-product-gallery__trigger span img.emoji {
  display: none !important;
}

.woocommerce-product-gallery__trigger {
  position: absolute;
  top: 0.75em;
  right: 0.75em;
  width: 36px;
  height: 36px;
  background-color: var(--e-global-color-primary, #0073e6);
  color: var(--e-global-color-on-primary, #fff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s ease;
}

/* Replace emoji with SVG icon */
.woocommerce-product-gallery__trigger::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23ffffff" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="M505 442.7l-99.7-99.7c28.3-34.9 45.3-79 45.3-127.7C450.6 99.2 351.4 0 225.3 0S0 99.2 0 215.3s99.2 215.3 215.3 215.3c48.7 0 92.8-17 127.7-45.3l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9zM215.3 382.6c-92.7 0-167.3-74.6-167.3-167.3S122.6 48 215.3 48s167.3 74.6 167.3 167.3-74.6 167.3-167.3 167.3z"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Base wrapper */
.e-woocommerce-notices-wrapper,
.woocommerce-notices-wrapper {
    width: 100%;
    margin: 1em 0;
}

/* Base notice */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    position: relative;
    padding: 1em 1.25em;
    margin: 0 0 1em 0;
    border-radius: 6px;
    font-size: 0.95rem;
    line-height: 1.5;
    background: var(--e-global-color-background, #ffffff);
    border: 1px solid var(--e-global-color-border, #e0e0e0);
    color: var(--e-global-color-text, #333);
}

/* Remove Woo default icons if present */
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    display: none;
}

/* Success */
.woocommerce-message {
    border-left: 4px solid var(--e-global-color-success, #2ecc71);
    background: color-mix(
        in srgb,
        var(--e-global-color-success, #2ecc71) 8%,
        var(--e-global-color-background, #ffffff)
    );
}

/* Info */
.woocommerce-info {
    border-left: 4px solid var(--e-global-color-primary, #0073e6);
    background: color-mix(
        in srgb,
        var(--e-global-color-primary, #0073e6) 8%,
        var(--e-global-color-background, #ffffff)
    );
}

/* Error */
.woocommerce-error {
    border-left: 4px solid var(--e-global-color-danger, #e74c3c);
    background: color-mix(
        in srgb,
        var(--e-global-color-danger, #e74c3c) 8%,
        var(--e-global-color-background, #ffffff)
    );
}

/* Error list cleanup */
.woocommerce-error li {
    list-style: none;
    margin: 0;
}

/* Notice links */
.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a {
    color: var(--e-global-color-primary, #0073e6);
    text-decoration: underline;
}

/* View cart button (do NOT override Elementor buttons elsewhere) */
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
    margin-left: 1em;
    padding: 0.4em 0.9em;
    font-size: 0.85rem;
    border-radius: 4px;
    background: var(--e-global-color-primary, #0073e6);
    color: var(--e-global-color-on-primary, #ffffff);
    border: none;
    text-decoration: none;
    transition: background-color 0.25s ease, opacity 0.25s ease;
}

.woocommerce-message .button:hover,
.woocommerce-info .button:hover,
.woocommerce-error .button:hover {
    opacity: 0.85;
}

/* Mobile spacing */
@media (max-width: 768px) {
    .woocommerce-message .button,
    .woocommerce-info .button,
    .woocommerce-error .button {
        display: inline-block;
        margin: 0.75em 0 0;
    }
}

.alignwide {
  margin-inline: unset;
}

.wc_payment_methods.payment_methods {
  padding: 0;
  margin: 24px 0;
  list-style: none;
}

.wc_payment_methods.payment_methods li {
  list-style: none;
  padding: 0;
  margin: 0;
}

.col2-set {
  display: flex;
  gap: 32px;

  .col-1 {
    width: 50%;
  }

  .col-2 {
    width: 50%;
  }

  .form-row label {
    margin-bottom: 8px;
  }
}

.wcmca_address_selector_container .select2-container {
  width: 100% !important;
}

.woocommerce-form-row label {
  margin-bottom: 10px;
}

/* Container */
.password-input {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 1rem;
}

/* Password field */
.password-input input[type="password"],
.password-input input[type="text"] {
  width: 100%;
  padding: 0.75rem 3rem 0.75rem 1rem; /* space for button */
  border: 1px solid var(--e-global-color-border, #ccc);
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

/* Focus state */
.password-input input:focus {
  border-color: var(--e-global-color-primary);
  outline: none;
}

/* Show/hide password button */
.password-input .show-password-input {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* Add SVG icon via ::before */
.password-input .show-password-input::before {
  content: '';
  display: block;
  width: 22px;
  height: 22px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;

  /* Closed eye icon (default) */
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLWV5ZS1pY29uIGx1Y2lkZS1leWUiPjxwYXRoIGQ9Ik0yLjA2MiAxMi4zNDhhMSAxIDAgMCAxIDAtLjY5NiAxMC43NSAxMC43NSAwIDAgMSAxOS44NzYgMCAxIDEgMCAwIDEgMCAuNjk2IDEwLjc1IDEwLjc1IDAgMCAxLTE5Ljg3NiAwIi8+PGNpcmNsZSBjeD0iMTIiIGN5PSIxMiIgcj0iMyIvPjwvc3ZnPg==");
  color: var(--e-global-color-primary);
  transition: background-image 0.3s;
}

/* Swap to open eye when password is visible */
.password-input .show-password-input.display-password::before {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLWV5ZS1vZmYtaWNvbiBsdWNpZGUtZXllLW9mZiI+PHBhdGggZD0iTTEwLjczMyA1LjA3NmExMC43NDQgMTAuNzQ0IDAgMCAxIDExLjIwNSA2LjU3NSAxIDEgMCAwIDEgMCAuNjk2IDEwLjc0NyAxMC43NDcgMCAwIDEtMS40NDQgMi40OSIvPjxwYXRoIGQ9Ik0xNC4wODQgMTQuMTU4YTMgMyAwIDAgMS00LjI0Mi00LjI0MiIvPjxwYXRoIGQ9Ik0xNy40NzkgMTcuNDk5YTEwLjc1IDEwLjc1IDAgMCAxLTE1LjQxNy01LjE1MSAxIDEgMCAwIDEgMC0uNjk2IDEwLjc1IDEwLjc1IDAgMCAxIDQuNDQ2LTUuMTQzIi8+PHBhdGggZD0ibTIgMiAyMCAyMCIvPjwvc3ZnPg==");
}

/* Optional hover effect */
.password-input .show-password-input:hover::before {
  color: var(--e-global-color-accent);
}

/* Hide LastPass icon */
.password-input [data-lastpass-icon-root] {
  display: none !important;
}

/* WooCommerce password strength indicator */
#password_strength {
  font-size: 0.875rem; /* match Elementor form text */
  margin-top: -10px;
  border-radius: 6px;
  transition: background-color 0.3s, color 0.3s;
}

/* Different states */
#password_strength.bad {
  color: #e31a1a;
}

#password_strength.good {
  color: #ccac06;
}

#password_strength.strong {
  color: #3aaa3a;
}

.woocommerce-form-login input[type="text"] {
  border-radius: 8px;
  padding: 0.75em 1em;
  border-color: #ccc;
  transition: 0.3s ease-in-out all;
}

.woocommerce-form-login input[type="text"]:focus-visible {
  outline: none;
  border-color: var(--e-global-color-primary);
}

.woocommerce-form-login .woocommerce-form-login__submit {
  display: block;
  margin-top: 16px;
}

.woocommerce #wpgs-gallery .wcgs-thumb.spswiper-slide:hover img,
.woocommerce #wpgs-gallery .wcgs-thumb.spswiper-slide-thumb-active.wcgs-thumb:hover img {
  border-color: var(--e-global-color-primary);
}

.woocommerce #wpgs-gallery .wcgs-thumb.spswiper-slide-thumb-active.wcgs-thumb img {
  border-color: var(--e-global-color-primary);
}

.woocommerce-shipping-totals.shipping {
    .shipping__table {
        margin: 0;
    }

    td[data-title="Shipping"] {
        float: unset !important;
        width: 20%;
        font-size: 1rem;
    }

    .woocommerce-shipping-methods {
        padding: 0;
        list-style: none;
    }
}

.woocommerce-checkout-review-order-table {
    tfoot {
        font-size: 1.2rem;
    }
    
    th:not(thead th) {
        text-align: left;
    }
}