.woocommerce-variation-price {
  display: none !important;
}

/* Filter Controls */
.shop-filters-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.woocommerce .woocommerce-ordering {
  margin-bottom: 0 !important;
}

.section-shop-list .shop-filters {
  flex: 1;
}

.woocommerce .woocommerce-ordering select {
  appearance: none;
  background-image: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M16 7L10 13L4 7" stroke="%23504B4C" stroke-width="1.5" stroke-linecap="round"/></svg>');
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px;
  padding-right: 2rem;
  border-radius: 0;
  border: 1px solid #e0e0e0;
  height: 50px;
  line-height: 50px;
  padding-left: 1.25rem;
}

.filter-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 15px;
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
}

.filter-sort-toggle {
  padding: 8px 16px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.filter-sort-toggle:hover,
.filter-sort-toggle.active {
  background: #f5f5f5;
  border-color: #999;
}

/* Sortable Mode */
.shop-filters.sortable-mode .filter-dropdown {
  position: relative;
  cursor: move;
}

.filter-sort-handle {
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  cursor: grab;
  color: #999;
  padding: 5px;
  z-index: 10;
}

.filter-sort-handle:active {
  cursor: grabbing;
}

.filter-dropdown-placeholder {
  border: 2px dashed #ddd;
  background: #f9f9f9;
  height: 50px;
  margin: 5px 0;
}

/* Loading State */
.shop-grid.loading {
  opacity: 0.6;
  pointer-events: none;
  position: relative;
}

.shop-grid.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #000;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.woocommerce-billing-fields__field-wrapper .full-width {
  flex: 1;
  max-width: 100%;
}

.woocommerce-billing-fields__field-wrapper #billing_first_name_field {
  order: 1;
}

.woocommerce-billing-fields__field-wrapper #billing_last_name_field {
  order: 2;
}

.woocommerce-billing-fields__field-wrapper #billing_email_field {
  order: 3;
}

.woocommerce-billing-fields__field-wrapper #billing_phone_field {
  order: 4;
}

.woocommerce-billing-fields__field-wrapper #billing_country_field {
  order: 5;
}

.woocommerce-billing-fields__field-wrapper #billing_state_field {
  order: 6;
}

.woocommerce-billing-fields__field-wrapper #billing_district_field {
  order: 7;
}

.woocommerce-billing-fields__field-wrapper #billing_ward_field {
  order: 8;
}

.woocommerce-billing-fields__field-wrapper #billing_address_1_field {
  order: 9;
}

.woocommerce-billing-fields__field-wrapper #billing_address_2_field {
  order: 10;
}

.woocommerce-billing-fields__field-wrapper #billing_postcode_field {
  order: 11;
}

.cart-header .mini-cart-wrapper .woocommerce-mini-cart-item:not(:last-child) {
  margin-bottom: 1.25rem;
}

.woocommerce-shipping-fields__field-wrapper {
  display: grid;
  /* grid-template-columns: repeat(1, minmax(0, 1fr)); */
  column-gap: 1.25rem;
}

.section-checkout .woocommerce-order .woocommerce-thankyou-order-received {
  margin-bottom: 1.25rem;
}

.section-checkout .woocommerce-bacs-bank-details .wc-bacs-bank-details-heading {
  margin-bottom: 1.25rem;
}

.section-checkout
  .woocommerce-bacs-bank-details
  .wc-bacs-bank-details-account-name {
  margin-bottom: 0.5rem;
}

.section-checkout .woocommerce-order-details__title {
  margin-bottom: 1.25rem;
}

.section-cart .return-to-shop {
  flex: 0 0 100%;
  text-align: center;
}

.section-cart .wc-empty-cart-message {
  flex: 0 0 100%;
}

.woocommerce-message {
  border-top-color: #0e1010;
}

.woocommerce-message::before {
  color: #0e1010;
}

.woocommerce-info {
  border-top-color: #0e1010;
}

.woocommerce-info::before {
  color: #0e1010;
}

.woocommerce-error {
  border-top-color: #e64d5c;
}

.woocommerce-customer-details .woocommerce-columns {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  height: 100%;
}

.woocommerce-customer-details .woocommerce-columns > div {
  background-color: hsla(240, 5%, 82%, 0.2);
  padding: 1rem;
  height: 100%;
  flex: 0 0 48%;
  max-width: 48%;
}

.woocommerce .woocommerce-customer-details .woocommerce-column__title {
  --tw-text-opacity: 1;
  color: rgb(14 16 16 / var(--tw-text-opacity));
  font-weight: 400;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
  font-size: 16px;
  margin-bottom: 1.25rem;
}

.woocommerce .woocommerce-customer-details address {
  border: none;
  padding: 0;
}

.woocommerce .woocommerce-customer-details address p {
  margin-bottom: 0;
}

.woocommerce-customer-details.address-details-vn {
  margin-top: 40px;
  background-color: hsla(240, 5%, 82%, 0.2);
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

.cart-header .mini-cart-wrapper .woocommerce-mini-cart-item {
  max-height: 215px;
  height: 100%;
}

.cart-header
  .mini-cart-wrapper
  .woocommerce-mini-cart-item
  .product-thumbnail
  img {
  height: 215px;
  object-fit: cover;
}

.woocommerce table.shop_table_responsive tr:nth-child(2n) td,
.woocommerce-page table.shop_table_responsive tr:nth-child(2n) td {
  background: #ffffff;
}

.section-checkout .wc_payment_method input {
  width: 16px !important;
  height: 16px !important;
  padding: 8px !important;
}

.section-checkout
  .woocommerce-shipping-fields__field-wrapper
  #shipping_district_field {
  order: 8;
}

.section-checkout
  .woocommerce-shipping-fields__field-wrapper
  #shipping_ward_field {
  order: 9;
}

.section-checkout
  .woocommerce-shipping-fields__field-wrapper
  #shipping_address_1_field {
  order: 10 !important;
}

#shipping_phone_field {
  order: 11 !important;
}

.woocommerce-terms-and-conditions-wrapper label {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
}

.woocommerce-terms-and-conditions-wrapper label > input {
  outline: none !important;
  width: 1.5rem !important;
  height: 1.5rem !important;
  accent-color: #0e1010 !important;
}
.woocommerce-terms-and-conditions-wrapper label span {
  line-height: 1.3;
}
.product-meta-tabs .tab-content p {
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .section-shop-list .shop-filters {
    flex: 0 0 100%;
  }

  .shop-description {
    display: none;
  }

  .woocommerce-customer-details .woocommerce-columns > div {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .woocommerce-customer-details .woocommerce-columns > div {
    height: auto;
  }

  .mini-cart-wrapper.active {
    min-width: unset;
  }

  .page-search-results .search-grid {
    column-gap: 0.5rem;
  }

  .product-item .product-price-wrapper {
    gap: 0.5rem;
    /* font-size: 0.75rem; */
    flex: wrap;
  }

  .product-item .product-name {
    line-height: 1.25;
  }
}
