/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/@wordpress/scripts/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/@wordpress/scripts/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/@wordpress/scripts/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/styles/frontend.scss ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@charset "UTF-8";
/**
 * WC Custom Weight Pricing - Frontend Styles
 *
 * @package WcCustomWeightPricing
 * @since 1.0.0
 */
/* stylelint-disable selector-class-pattern */
/**
 * WC Custom Weight Pricing - SCSS Variables
 *
 * Global variables for consistent styling across the plugin.
 *
 * @package WcCustomWeightPricing
 * @since 1.0.0
 */
/**
 * WC Custom Weight Pricing - Frontend Styles
 *
 * @package WcCustomWeightPricing
 * @since 1.0.0
 */
/* stylelint-disable selector-class-pattern */
/**
 * WC Custom Weight Pricing - SCSS Mixins
 *
 * Reusable mixins for consistent styling patterns.
 *
 * @package WcCustomWeightPricing
 * @since 1.0.0
 */
.wc-custom-weight-pricing__wrapper {
  padding: 15px;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 4px;
  position: relative;
  margin: 20px 0;
}
.wc-custom-weight-pricing__wrapper h4 {
  padding-bottom: 8px;
  margin: 0 0 15px 0;
  font-size: 16px;
  font-weight: 600;
  color: #0073aa;
  border-bottom: 2px solid #0073aa;
}
.wc-custom-weight-pricing__wrapper.enhanced {
  border-left: 4px solid #0073aa;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wc-custom-weight-pricing__details .price-per-unit {
  padding: 8px;
  margin: 0 0 10px 0;
  font-size: 14px;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 4px;
}
.wc-custom-weight-pricing__details .price-per-unit strong {
  font-weight: 600;
  color: #0073aa;
}
.wc-custom-weight-pricing__details .price-per-unit .weight-unit {
  margin-left: 5px;
  font-size: 13px;
  font-style: italic;
  color: #666;
}
.wc-custom-weight-pricing__details .price-per-unit .wc-custom-weight-pricing__price-amount {
  font-size: 16px;
  font-weight: 600;
  color: #28a745;
}
.wc-custom-weight-pricing__details .weight-calculation {
  position: relative;
  padding: 8px;
  margin: 0;
  font-size: 14px;
  color: #666;
  background: #f0f8ff;
  border: 1px solid #d1e7ff;
  border-radius: 4px;
}
.wc-custom-weight-pricing__details .weight-calculation strong {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #0073aa;
}
.wc-custom-weight-pricing__details .weight-calculation .woocommerce-Price-amount {
  font-size: 16px;
  font-weight: 700;
  color: #28a745;
}
.wc-custom-weight-pricing__details .weight-calculation::before {
  position: absolute;
  top: 8px;
  right: 8px;
  content: "🧮";
  opacity: 0.6;
}

.wc-custom-weight-pricing__pricing-table {
  width: 100%;
  margin-top: 10px;
  border-collapse: collapse;
}
.wc-custom-weight-pricing__pricing-table th,
.wc-custom-weight-pricing__pricing-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}
.wc-custom-weight-pricing__pricing-table th {
  font-size: 13px;
  font-weight: 600;
  background: #f9f9f9;
}
.wc-custom-weight-pricing__pricing-table td {
  font-size: 14px;
}
.wc-custom-weight-pricing__pricing-table tbody tr:last-child th,
.wc-custom-weight-pricing__pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.single-product .wc-custom-weight-pricing__wrapper {
  margin-top: 15px;
  margin-bottom: 15px;
}

.woocommerce-cart .wc-custom-weight-pricing__details,
.woocommerce-checkout .wc-custom-weight-pricing__details {
  font-size: 12px;
}
.woocommerce-cart .wc-custom-weight-pricing__details .price-per-unit,
.woocommerce-cart .wc-custom-weight-pricing__details .weight-calculation,
.woocommerce-checkout .wc-custom-weight-pricing__details .price-per-unit,
.woocommerce-checkout .wc-custom-weight-pricing__details .weight-calculation {
  margin: 5px 0;
}

.single-product .cart .quantity {
  position: relative;
}
.single-product .cart .quantity .weight-amount-input {
  width: 120px;
  padding: 8px;
  font-weight: 600;
  text-align: center;
  border: 2px solid #ddd;
  border-radius: 4px;
  transition: border-color 0.2s ease;
}
.single-product .cart .quantity .weight-amount-input:focus {
  outline: none;
  border-color: #0073aa;
  box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}
.single-product .cart .quantity .weight-unit-display {
  display: inline-block;
  padding: 5px 8px;
  margin-left: 5px;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 4px;
}
.single-product .cart .quantity label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #0073aa;
}

.total-price-preview {
  position: relative;
  padding: 10px;
  margin-top: 10px;
  font-weight: 600;
  color: #0073aa;
  text-align: center;
  background: linear-gradient(135deg, #f0f8ff 0%, rgb(214.5, 236.1, 255) 100%);
  border: 2px solid #d1e7ff;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.total-price-preview::before {
  position: absolute;
  top: 50%;
  left: 10px;
  font-size: 16px;
  content: "💰";
  transform: translateY(-50%);
}
.total-price-preview .calculated-total {
  margin-left: 5px;
  font-size: 18px;
  font-weight: 700;
  color: #28a745;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.total-price-preview.updating .calculated-total {
  animation: priceUpdate 0.3s ease-in-out;
}

@keyframes priceUpdate {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
.woocommerce-cart .weight-amount-display,
.woocommerce-checkout .weight-amount-display {
  display: inline-block;
  padding: 5px 8px;
  font-size: 13px;
  font-weight: 600;
  color: #0073aa;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 4px;
}
.woocommerce-cart .weight-amount-display::before,
.woocommerce-checkout .weight-amount-display::before {
  margin-right: 5px;
  content: "⚖️";
}
.woocommerce-cart .checkout-weight-amount,
.woocommerce-checkout .checkout-weight-amount {
  color: #0073aa;
}
.woocommerce-cart .checkout-weight-amount.product-quantity,
.woocommerce-checkout .checkout-weight-amount.product-quantity {
  font-weight: 600;
  color: #28a745;
}

.woocommerce-order .order-weight-amount,
.woocommerce-order-received .order-weight-amount {
  font-size: 14px;
  color: #0073aa;
}
.woocommerce-order .order-weight-amount.product-quantity,
.woocommerce-order-received .order-weight-amount.product-quantity {
  padding: 2px 5px;
  font-weight: 700;
  color: #28a745;
  background: rgba(40, 167, 69, 0.1);
  border: 1px solid rgba(40, 167, 69, 0.2);
  border-radius: 4px;
}
.woocommerce-order .woocommerce-table .order-weight-amount,
.woocommerce-order-received .woocommerce-table .order-weight-amount {
  white-space: nowrap;
}
.woocommerce-order .woocommerce-order-overview .order-weight-amount,
.woocommerce-order-received .woocommerce-order-overview .order-weight-amount {
  font-size: 13px;
}

.woocommerce-account .woocommerce-orders-table .order-total-with-weight {
  text-align: right;
}
.woocommerce-account .woocommerce-orders-table .order-total-with-weight .order-price {
  margin-bottom: 2px;
  font-size: 14px;
  font-weight: 700;
  color: #000;
}
.woocommerce-account .woocommerce-orders-table .order-total-with-weight .order-total-weight {
  display: inline-block;
  padding: 2px 5px;
  font-size: 12px;
  font-weight: 600;
  color: #28a745;
  background: rgba(40, 167, 69, 0.1);
  border: 1px solid rgba(40, 167, 69, 0.2);
  border-radius: 4px;
}
.woocommerce-account .woocommerce-orders-table .order-total-with-weight .order-total-weight::before {
  margin-right: 2px;
  content: "⚖️";
  opacity: 0.8;
}

.wc-weight-pricing-copy-btn {
  display: inline-block;
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  background-color: #0073aa;
  border: none;
  border-radius: 3px;
  transition: background-color 0.3s ease;
}
.wc-weight-pricing-copy-btn:hover {
  background-color: rgb(0, 80.5, 119);
}
.wc-weight-pricing-copy-btn:disabled {
  cursor: not-allowed;
  background-color: rgb(68, 194.5, 255);
}
.wc-weight-pricing-copy-btn {
  padding: 5px;
  margin-left: 8px;
  font-size: 12px;
  cursor: pointer;
}
.wc-weight-pricing-copy-btn:hover {
  background: #f1f1f1;
}

@media (max-width: 782px) {
  .wc-custom-weight-pricing__wrapper {
    padding: 8px;
    margin: 5px;
  }
  .wc-custom-weight-pricing__wrapper h4 {
    padding-bottom: 5px;
    font-size: 14px;
  }
  .wc-custom-weight-pricing__wrapper .copy-button {
    display: none;
  }
  .wc-custom-weight-pricing__details .price-per-unit,
  .wc-custom-weight-pricing__details .weight-calculation {
    padding: 5px;
    font-size: 13px;
  }
  .wc-custom-weight-pricing__details .weight-calculation::before {
    display: none;
  }
  .single-product .cart .quantity .weight-amount-input {
    width: 100px;
    font-size: 13px;
  }
  .single-product .cart .quantity .weight-unit-display {
    padding: 5px;
    font-size: 12px;
  }
  .single-product .cart .quantity label {
    font-size: 13px;
  }
  .total-price-preview {
    padding: 8px;
    margin-top: 8px;
  }
  .total-price-preview::before {
    left: 8px;
    font-size: 14px;
  }
  .total-price-preview .calculated-total {
    font-size: 16px;
  }
  .woocommerce-cart .weight-amount-display,
  .woocommerce-cart .checkout-weight-amount,
  .woocommerce-cart .order-weight-amount,
  .woocommerce-checkout .weight-amount-display,
  .woocommerce-checkout .checkout-weight-amount,
  .woocommerce-checkout .order-weight-amount {
    padding: 2px 5px;
    font-size: 12px;
  }
  .woocommerce-cart .weight-amount-display::before,
  .woocommerce-cart .checkout-weight-amount::before,
  .woocommerce-cart .order-weight-amount::before,
  .woocommerce-checkout .weight-amount-display::before,
  .woocommerce-checkout .checkout-weight-amount::before,
  .woocommerce-checkout .order-weight-amount::before {
    display: none;
  }
  .woocommerce-order .order-weight-amount,
  .woocommerce-order-received .order-weight-amount {
    font-size: 12px;
  }
  .woocommerce-order .order-weight-amount.product-quantity,
  .woocommerce-order-received .order-weight-amount.product-quantity {
    padding: 1px 5px;
    font-size: 12px;
    border-radius: 2px;
  }
  .woocommerce-order .woocommerce-table .order-weight-amount,
  .woocommerce-order-received .woocommerce-table .order-weight-amount {
    display: block;
    margin-top: 2px;
    text-align: left;
  }
  .woocommerce-order .woocommerce-order-overview .order-weight-amount,
  .woocommerce-order-received .woocommerce-order-overview .order-weight-amount {
    font-size: 10px;
  }
  .woocommerce-account .woocommerce-orders-table .order-total-with-weight .order-price {
    font-size: 13px;
  }
  .woocommerce-account .woocommerce-orders-table .order-total-with-weight .order-total-weight {
    padding: 1px 2px;
    margin-top: 2px;
    font-size: 10px;
  }
  .woocommerce-account .woocommerce-orders-table .order-total-with-weight .order-total-weight::before {
    display: none;
  }
}

/*# sourceMappingURL=frontend.css.map*/