/* =====================================================
   KISUI - WooCommerce Cart & Checkout Pages
   Modern styling matching the site's design language
   ===================================================== */

/* =====================================================
   SHARED: Page Layout & Typography
   ===================================================== */

.woocommerce-cart #primary,
.woocommerce-checkout #primary {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.woocommerce-cart .entry-header,
.woocommerce-checkout .entry-header {
  margin-bottom: 30px;
}

.woocommerce-cart .entry-title,
.woocommerce-checkout .entry-title {
  font-family: 'CenturyGothicStd', sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
  color: #000;
}

/* =====================================================
   SHARED: WooCommerce Notices
   ===================================================== */

.woocommerce-cart .woocommerce-message,
.woocommerce-cart .woocommerce-info,
.woocommerce-cart .woocommerce-error,
.woocommerce-checkout .woocommerce-message,
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-error {
  background-color: #000 !important;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 20px;
  font-size: 14px;
  margin-bottom: 25px;
}

.woocommerce-cart .woocommerce-message a,
.woocommerce-cart .woocommerce-info a,
.woocommerce-checkout .woocommerce-message a,
.woocommerce-checkout .woocommerce-info a {
  color: #fff;
  text-decoration: underline;
}

.woocommerce-cart .woocommerce-error,
.woocommerce-checkout .woocommerce-error {
  background-color: #c62828 !important;
}

.woocommerce-cart .woocommerce-error li,
.woocommerce-checkout .woocommerce-error li {
  margin-bottom: 0;
}

/* =====================================================
   CART PAGE: Table
   ===================================================== */

.woocommerce-cart table.shop_table {
  border: none;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  margin-bottom: 30px;
}

.woocommerce-cart table.shop_table thead {
  background: #f8f6f4;
}

.woocommerce-cart table.shop_table thead th {
  font-family: 'CenturyGothicStd', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #666;
  padding: 14px 20px;
  border-bottom: 1px solid #eee;
}

.woocommerce-cart table.shop_table td {
  padding: 20px;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
  font-size: 14px;
  color: #333;
}

.woocommerce-cart table.shop_table tr:last-child td {
  border-bottom: none;
}

/* Product thumbnail */
.woocommerce-cart table.shop_table .product-thumbnail {
  width: 100px;
  padding-right: 0;
}

.woocommerce-cart table.shop_table .product-thumbnail img {
  width: 80px;
  height: auto;
  border-radius: 6px;
}

/* Product name */
.woocommerce-cart table.shop_table .product-name {
  font-weight: 500;
}

.woocommerce-cart table.shop_table .product-name a {
  color: #000;
  text-decoration: none;
  transition: color 0.2s ease;
}

.woocommerce-cart table.shop_table .product-name a:hover {
  color: #555;
}

.woocommerce-cart table.shop_table .product-name .variation {
  font-size: 12px;
  color: #888;
  margin-top: 4px;
}

.woocommerce-cart table.shop_table .product-name .variation dt,
.woocommerce-cart table.shop_table .product-name .variation dd {
  display: inline;
  margin: 0;
  font-weight: 400;
}

.woocommerce-cart table.shop_table .product-name .variation p {
  margin: 0;
}

/* Product price */
.woocommerce-cart table.shop_table .product-price,
.woocommerce-cart table.shop_table .product-subtotal {
  font-weight: 600;
  color: #000;
}

/* Remove button */
.woocommerce-cart table.shop_table .product-remove {
  width: 40px;
  text-align: center;
}

.woocommerce-cart table.shop_table .product-remove a.remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f5f5f5;
  color: #999 !important;
  font-size: 18px;
  line-height: 1;
  transition: all 0.2s ease;
}

.woocommerce-cart table.shop_table .product-remove a.remove:hover,
.woocommerce-cart table.shop_table .product-remove a.remove:hover::before,
.woocommerce-cart table.shop_table .product-remove a.remove:hover::after {
  background: #c62828;
  color: #fff !important;
}

/* Quantity (plain text) */
.woocommerce-cart table.shop_table .product-quantity .qty-text {
  font-size: 14px;
  font-weight: 500;
  color: #000;
}

/* =====================================================
   CART PAGE: Actions row (coupon + update)
   ===================================================== */

.woocommerce-cart table.shop_table td.actions {
  padding: 20px;
  border-top: none !important;
  background: #fafafa;
}

.woocommerce-cart table.shop_table td.actions .coupon {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  float: right;
}

.woocommerce-cart table.shop_table td.actions .coupon label {
  display: none;
}

.woocommerce-cart table.shop_table td.actions .coupon #coupon_code {
  width: 180px;
  height: 42px;
  font-size: 13px;
  font-family: 'CenturyGothicStd', sans-serif;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  padding: 0 14px;
  margin: 0;
  transition: border-color 0.2s ease;
}

.woocommerce-cart table.shop_table td.actions .coupon #coupon_code:focus {
  border-color: #000;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

.woocommerce-cart table.shop_table td.actions .coupon #coupon_code::placeholder {
  color: #999;
  text-decoration: none;
}

.woocommerce-cart table.shop_table td.actions .coupon .button {
  height: 42px;
  line-height: 42px;
  padding: 0 20px;
  font-size: 12px;
  font-family: 'CenturyGothicStd', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #000;
  background: #fff;
  border: 1.5px solid #000;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin: 0;
}

.woocommerce-cart table.shop_table td.actions .coupon .button:hover {
  background: #000;
  color: #fff;
}

.woocommerce-cart table.shop_table td.actions > .button {
  height: 42px;
  line-height: 42px;
  padding: 0 20px;
  font-size: 12px;
  font-family: 'CenturyGothicStd', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #666;
  background: transparent;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin: 0;
}

.woocommerce-cart table.shop_table td.actions > .button:hover {
  border-color: #000;
  color: #000;
}

/* =====================================================
   CART PAGE: Cart Totals
   ===================================================== */

.woocommerce-cart .cart-collaterals {
  max-width: 100%;
}

.woocommerce-cart .cart-collaterals .cross-sells {
  width: 41%;
  float: left;
  margin-right: 5%;
}

.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-cart .cart-collaterals .shipping_calculator {
  width: 54%;
  float: right;
  margin-right: 0;
  clear: right;
}

.woocommerce-cart .cart-collaterals .cart_totals {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  padding: 30px;
  margin-bottom: 40px;
}

.woocommerce-cart .cart_totals h2 {
  font-family: 'CenturyGothicStd', sans-serif;
  font-size: 16px !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #000;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.woocommerce-cart .cart_totals table {
  margin-bottom: 25px;
}

.woocommerce-cart .cart_totals table th,
.woocommerce-cart .cart_totals table td {
  padding: 14px 12px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}

.woocommerce-cart .cart_totals table th {
  font-weight: 500;
  color: #666;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.06em;
  width: 35%;
  vertical-align: top;
  padding-top: 18px;
}

.woocommerce-cart .cart_totals table td {
  color: #000;
  text-align: right;
}

.woocommerce-cart .cart_totals table tr.order-total th,
.woocommerce-cart .cart_totals table tr.order-total td {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  border-bottom: none;
  padding-top: 18px;
}

/* Shipping methods in cart totals */
.woocommerce-cart .cart_totals .shipping td {
  text-align: left;
  padding-left: 10px;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-methods {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
  width: 100%;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-methods li {
  position: relative;
  margin-bottom: 0;
  font-size: 13px;
  padding: 12px 16px;
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-methods li:hover {
  border-color: #000;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-methods li + li {
  margin-top: 6px;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-methods li label {
  display: block;
  padding: 0;
  font-weight: 400;
  cursor: pointer;
  color: #333;
  margin: 0;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-methods li label::before {
  display: none;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-methods li input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-methods li:has(input[type="radio"]:checked) {
  background: #000;
  border-color: #000;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-methods li:has(input[type="radio"]:checked) label {
  font-weight: 500;
  color: #fff;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-methods li:has(input[type="radio"]:checked) .amount {
  color: #fff;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-methods .amount {
  font-weight: 600;
  color: #000;
}

.woocommerce-cart .cart_totals .shipping-calculator-button {
  font-size: 12px;
  color: #666;
  text-decoration: underline;
  display: inline-block;
  margin-top: 10px;
}

.woocommerce-cart .cart_totals .shipping-calculator-button:hover {
  color: #000;
}

/* Shipping destination text */
.woocommerce-cart .cart_totals .woocommerce-shipping-destination {
  font-size: 12px;
  color: #888;
  margin: 10px 0 0;
  line-height: 1.5;
}

/* Shipping calculator form */
.woocommerce-cart .cart_totals .shipping-calculator-form {
  margin-top: 12px;
  padding: 18px;
  background: #f8f6f4;
  border-radius: 8px;
}

.woocommerce-cart .cart_totals .shipping-calculator-form .form-row {
  margin-bottom: 12px;
}

.woocommerce-cart .cart_totals .shipping-calculator-form label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #666;
  font-weight: 500;
  margin-bottom: 5px;
}

.woocommerce-cart .cart_totals .shipping-calculator-form select,
.woocommerce-cart .cart_totals .shipping-calculator-form input.input-text {
  width: 100%;
  font-size: 14px;
  font-family: 'CenturyGothicStd', sans-serif;
  color: #000;
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  padding: 10px 14px;
  height: auto;
  margin-bottom: 0;
  transition: border-color 0.2s ease;
}

.woocommerce-cart .cart_totals .shipping-calculator-form select:focus,
.woocommerce-cart .cart_totals .shipping-calculator-form input.input-text:focus {
  border-color: #000;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

.woocommerce-cart .cart_totals .shipping-calculator-form .button {
  padding: 10px 20px;
  font-size: 12px;
  font-family: 'CenturyGothicStd', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff !important;
  background: #000;
  border: none;
  border-radius: 8px;
  height: auto;
  line-height: 1.4;
  cursor: pointer;
  transition: all 0.2s ease;
  margin: 0;
}

.woocommerce-cart .cart_totals .shipping-calculator-form .button:hover {
  background: #222;
}

/* Tax info in order total */
.woocommerce-cart .cart_totals .order-total small.includes_tax {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #888;
  margin-top: 4px;
}

/* Proceed to checkout button */
.woocommerce-cart .cart_totals .wc-proceed-to-checkout {
  padding: 0;
}

.woocommerce-cart .cart_totals .wc-proceed-to-checkout .checkout-button {
  display: block;
  width: 100%;
  padding: 16px 32px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'CenturyGothicStd', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: center;
  color: #fff !important;
  background: #000 !important;
  border: none !important;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  height: auto;
  line-height: 1.4;
  margin: 0;
}

.woocommerce-cart .cart_totals .wc-proceed-to-checkout .checkout-button:hover {
  background: #222 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.woocommerce-cart .cart_totals .wc-proceed-to-checkout .ppc-button-wrapper {
  margin-top: 15px;
}

/* =====================================================
   CART PAGE: Empty Cart
   ===================================================== */

.woocommerce-cart .cart-empty {
  text-align: center;
  padding: 60px 20px;
  font-size: 16px;
  color: #666;
}

.woocommerce-cart .return-to-shop {
  text-align: center;
  margin-top: 20px;
}

.woocommerce-cart .return-to-shop .button {
  display: inline-block;
  padding: 14px 32px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'CenturyGothicStd', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff !important;
  background: #000;
  border: none;
  border-radius: 8px;
  height: auto;
  line-height: 1.4;
  transition: all 0.3s ease;
}

.woocommerce-cart .return-to-shop .button:hover {
  background: #222;
  transform: translateY(-2px);
}

/* =====================================================
   CHECKOUT PAGE: Two-Column Layout
   ===================================================== */

.woocommerce-checkout .col2-set {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 30px;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
  flex: none;
  width: 100%;
  float: none;
}

/* =====================================================
   CHECKOUT PAGE: Section Headers
   ===================================================== */

.woocommerce-checkout h3,
.woocommerce-checkout h3#ship-to-different-address {
  font-family: 'CenturyGothicStd', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #000;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}

.woocommerce-checkout h3#ship-to-different-address label {
  font-weight: 600;
  cursor: pointer;
}

/* =====================================================
   CHECKOUT PAGE: Form Fields
   ===================================================== */

.woocommerce-checkout .woocommerce-input-wrapper,
.woocommerce-checkout .form-row {
  margin-bottom: 16px;
}

.woocommerce-checkout .form-row label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #666;
  font-weight: 500;
  margin-bottom: 6px;
}

.woocommerce-checkout .form-row label .required {
  color: #c62828;
}

.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row .select2-container .select2-selection--single {
  width: 100%;
  font-size: 14px;
  font-family: 'CenturyGothicStd', sans-serif;
  color: #000;
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 16px;
  height: auto;
  transition: border-color 0.2s ease;
  box-shadow: none;
  margin-bottom: 0;
}

.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row textarea:focus,
.woocommerce-checkout .form-row select:focus {
  border-color: #000;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

/* Select2 dropdown styling */
.woocommerce-checkout .select2-container--default .select2-selection--single {
  height: auto;
  min-height: 46px;
  display: flex;
  align-items: center;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 0;
  line-height: 1.4;
  color: #000;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%;
  right: 12px;
}

/* Form row layout */
.woocommerce-checkout .form-row-first {
  float: left;
  width: 48%;
}

.woocommerce-checkout .form-row-last {
  float: right;
  width: 48%;
}

.woocommerce-checkout .form-row-wide {
  clear: both;
  width: 100%;
}

/* =====================================================
   CHECKOUT PAGE: Order Review Table
   ===================================================== */

.woocommerce-checkout #order_review_heading {
  font-family: 'CenturyGothicStd', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #000;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}

.woocommerce-checkout table.shop_table {
  border: none;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  margin-bottom: 25px;
}

.woocommerce-checkout table.shop_table thead {
  background: #f8f6f4;
}

.woocommerce-checkout table.shop_table thead th {
  font-family: 'CenturyGothicStd', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #666;
  padding: 14px 20px;
  border-bottom: 1px solid #eee;
}

.woocommerce-checkout table.shop_table td {
  padding: 14px 20px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
  color: #333;
}

.woocommerce-checkout table.shop_table tr:last-child td {
  border-bottom: none;
}

.woocommerce-checkout table.shop_table th {
  padding: 14px 20px;
  border-bottom: 1px solid #f0f0f0;
}

.woocommerce-checkout table.shop_table .product-name {
  font-weight: 500;
}

.woocommerce-checkout table.shop_table .product-total {
  font-weight: 600;
  color: #000;
  text-align: right;
}

.woocommerce-checkout table.shop_table tfoot th {
  font-weight: 500;
  font-size: 13px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.woocommerce-checkout table.shop_table tfoot td {
  font-weight: 600;
  color: #000;
  text-align: right;
}

.woocommerce-checkout table.shop_table tfoot .order-total th,
.woocommerce-checkout table.shop_table tfoot .order-total td {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  padding-top: 18px;
  border-top: 2px solid #eee;
}

/* =====================================================
   CHECKOUT PAGE: Payment Methods
   ===================================================== */

.woocommerce-checkout #payment {
  background: #f8f6f4;
  border-radius: 12px;
  padding: 30px;
  margin-top: 10px;
}

.woocommerce-checkout #order_review .ppc-button-wrapper {
  background: #f8f6f4;
  border-radius: 12px;
  padding: 0 30px 30px 30px;
}

.woocommerce-checkout #payment ul.payment_methods {
  list-style: none;
  margin: 0 0 25px 0;
  padding: 0;
  border: none;
}

.woocommerce-checkout #payment ul.payment_methods li {
  margin-bottom: 10px;
  padding: 0;
  background: #fff;
  border-radius: 8px;
  border: 1.5px solid #e0e0e0;
  transition: border-color 0.2s ease;
}

.woocommerce-checkout #payment ul.payment_methods li:last-child {
  margin-bottom: 0;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method > label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #000;
  margin: 0;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method > label img {
  max-height: 24px;
  width: auto;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method > input[type="radio"] {
  margin: 0;
  accent-color: #000;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method .payment_box {
  padding: 0 16px 16px;
  color: #666;
  font-size: 13px;
  line-height: 1.6;
  background: transparent;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method .payment_box::before {
  display: none;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method .payment_box p {
  margin: 0;
}

/* Active payment method */
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method input[type="radio"]:checked ~ label {
  font-weight: 600;
}

/* Place order button */
.woocommerce-checkout #payment .place-order {
  padding-top: 15px;
}

.woocommerce-checkout #payment .place-order .button {
  display: block;
  width: 100%;
  padding: 16px 32px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'CenturyGothicStd', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: center;
  color: #fff !important;
  background: #000 !important;
  border: none !important;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  height: auto;
  line-height: 1.4;
}

.woocommerce-checkout #payment .place-order .button:hover {
  background: #222 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* PayPal button (rendered outside the checkout form) */
.woocommerce-checkout #ppc-button-wrapper,
.woocommerce-checkout .ppc-button-wrapper {
  max-width: 1100px;
  margin: -10px auto 30px;
  padding: 0 20px;
}

.woocommerce-checkout #ppc-button-wrapper .ppc-button,
.woocommerce-checkout .ppc-button-wrapper .ppc-button {
  border-radius: 8px;
  overflow: hidden;
}

/* Terms & Conditions */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
  margin-bottom: 15px;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-form__label {
  font-size: 13px;
  color: #666;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper input[type="checkbox"] {
  margin-top: 3px;
  accent-color: #000;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper a {
  color: #000;
  text-decoration: underline;
}

/* =====================================================
   CHECKOUT PAGE: Login / Coupon Toggle Forms
   ===================================================== */

.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
  background: #f8f6f4 !important;
  color: #333;
  border: none;
  border-radius: 8px;
  padding: 14px 20px;
  font-size: 13px;
}

.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info a,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info a {
  color: #000;
  font-weight: 600;
  text-decoration: underline;
}

/* Hide the broken icon on coupon/login toggle */
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info::before,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before {
  display: none;
}

/* Login & Coupon forms */
.woocommerce-checkout form.checkout_coupon,
.woocommerce-checkout form.woocommerce-form-login {
  border: none;
  border-radius: 12px;
  background: #f8f6f4;
  padding: 25px;
  margin-bottom: 25px;
}

/* Coupon form: input and button on same line */
.woocommerce-checkout form.checkout_coupon {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
}

.woocommerce-checkout form.checkout_coupon > p:first-of-type {
  width: 100%;
  margin-bottom: 5px;
}

.woocommerce-checkout form.checkout_coupon .form-row {
  float: none;
  width: auto;
  margin-bottom: 0;
}

.woocommerce-checkout form.checkout_coupon .form-row-first {
  flex: 1;
  min-width: 200px;
}

.woocommerce-checkout form.checkout_coupon .form-row-last {
  flex: 0 0 auto;
}

.woocommerce-checkout form.checkout_coupon .form-row-first .input-text {
  width: 100%;
  height: 44px;
  font-size: 14px;
  font-family: 'CenturyGothicStd', sans-serif;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  padding: 0 14px;
  transition: border-color 0.2s ease;
}

.woocommerce-checkout form.checkout_coupon .form-row-first .input-text:focus {
  border-color: #000;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

.woocommerce-checkout form.checkout_coupon .clear {
  display: none;
}

.woocommerce-checkout form.woocommerce-form-login p {
  font-size: 13px;
  color: #666;
  margin-bottom: 15px;
}

.woocommerce-checkout form.woocommerce-form-login .form-row {
  margin-bottom: 12px;
}

.woocommerce-checkout form.checkout_coupon .button,
.woocommerce-checkout form.woocommerce-form-login .button {
  padding: 12px 24px;
  font-size: 12px;
  font-family: 'CenturyGothicStd', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff !important;
  background: #000;
  border: none;
  border-radius: 8px;
  height: 44px;
  line-height: 1.4;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 0;
  white-space: nowrap;
}

.woocommerce-checkout form.checkout_coupon .button:hover,
.woocommerce-checkout form.woocommerce-form-login .button:hover {
  background: #222;
}

/* =====================================================
   CHECKOUT PAGE: Shipping Methods
   ===================================================== */

.woocommerce-checkout .woocommerce-shipping-methods {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.woocommerce-checkout .woocommerce-shipping-methods li {
  position: relative;
  margin-bottom: 0;
  font-size: 13px;
  padding: 12px 16px;
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.woocommerce-checkout .woocommerce-shipping-methods li:hover {
  border-color: #000;
}

.woocommerce-checkout .woocommerce-shipping-methods li + li {
  margin-top: 6px;
}

.woocommerce-checkout .woocommerce-shipping-methods li label {
  display: block;
  padding: 0;
  font-weight: 400;
  cursor: pointer;
  color: #333;
  margin: 0;
}

.woocommerce-checkout .woocommerce-shipping-methods li label::before {
  display: none;
}

.woocommerce-checkout .woocommerce-shipping-methods li input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}

.woocommerce-checkout .woocommerce-shipping-methods li:has(input[type="radio"]:checked) {
  background: #000;
  border-color: #000;
}

.woocommerce-checkout .woocommerce-shipping-methods li:has(input[type="radio"]:checked) label {
  font-weight: 500;
  color: #fff;
}

.woocommerce-checkout .woocommerce-shipping-methods li:has(input[type="radio"]:checked) .amount {
  color: #fff;
}

.woocommerce-checkout .woocommerce-shipping-methods .amount {
  font-weight: 600;
  color: #000;
}

/* =====================================================
   CHECKOUT PAGE: Payment Methods
   ===================================================== */

.woocommerce-checkout ul.wc_payment_methods.payment_methods {
  width: 100%;
}

/* =====================================================
   ORDER RECEIVED / THANK YOU PAGE
   ===================================================== */

.woocommerce-order-received .woocommerce-thankyou-order-received {
  font-size: 16px;
  color: #000;
  padding: 20px 0;
  font-weight: 500;
}

.woocommerce-order-received .woocommerce-order-overview {
  list-style: none;
  margin: 0 0 30px;
  padding: 25px;
  background: #f8f6f4;
  border-radius: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.woocommerce-order-received .woocommerce-order-overview li {
  margin: 0;
  font-size: 13px;
  color: #666;
}

.woocommerce-order-received .woocommerce-order-overview li strong {
  display: block;
  font-size: 15px;
  color: #000;
  margin-top: 4px;
}

/* =====================================================
   MY ACCOUNT PAGES
   ===================================================== */

.woocommerce-account .woocommerce-MyAccount-navigation {
  background: #f8f6f4;
  border-radius: 12px;
  padding: 10px 0;
  margin-bottom: 30px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 12px 24px;
  font-size: 13px;
  font-family: 'CenturyGothicStd', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #666;
  text-decoration: none;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
  color: #000;
  background: rgba(0, 0, 0, 0.03);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
  color: #000;
  font-weight: 600;
  border-left-color: #000;
}

/* Account forms */
.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register {
  border: none;
  border-radius: 12px;
  background: #f8f6f4;
  padding: 30px;
  margin-bottom: 30px;
}

.woocommerce-account .woocommerce-form-login .form-row input.input-text,
.woocommerce-account .woocommerce-form-register .form-row input.input-text {
  width: 100%;
  font-size: 14px;
  font-family: 'CenturyGothicStd', sans-serif;
  color: #000;
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 16px;
  height: auto;
  transition: border-color 0.2s ease;
}

.woocommerce-account .woocommerce-form-login .form-row input.input-text:focus,
.woocommerce-account .woocommerce-form-register .form-row input.input-text:focus {
  border-color: #000;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

.woocommerce-account .woocommerce-form-login .button,
.woocommerce-account .woocommerce-form-register .button {
  padding: 14px 32px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'CenturyGothicStd', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff !important;
  background: #000;
  border: none;
  border-radius: 8px;
  height: auto;
  line-height: 1.4;
  cursor: pointer;
  transition: all 0.2s ease;
}

.woocommerce-account .woocommerce-form-login .button:hover,
.woocommerce-account .woocommerce-form-register .button:hover {
  background: #222;
}

/* =====================================================
   MOBILE: Cart Page
   ===================================================== */

@media (max-width: 768px) {
  .woocommerce-cart #primary,
  .woocommerce-checkout #primary {
    padding: 25px 15px 40px;
  }

  .woocommerce-cart .entry-title,
  .woocommerce-checkout .entry-title {
    font-size: 18px;
  }

  /* Stack cart table on mobile */
  .woocommerce-cart table.shop_table,
  .woocommerce-cart table.shop_table thead,
  .woocommerce-cart table.shop_table tbody,
  .woocommerce-cart table.shop_table tfoot,
  .woocommerce-cart table.shop_table tr,
  .woocommerce-cart table.shop_table th,
  .woocommerce-cart table.shop_table td {
    display: block;
    width: 100%;
  }

  .woocommerce-cart table.shop_table thead {
    display: none;
  }

  .woocommerce-cart table.shop_table tr {
    position: relative;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
  }

  .woocommerce-cart table.shop_table tr:last-child {
    border-bottom: none;
  }

  .woocommerce-cart table.shop_table td {
    padding: 4px 0;
    border-bottom: none;
    text-align: left;
  }

  /* Mobile cart item layout */
  .woocommerce-cart table.shop_table .product-thumbnail {
    float: left;
    width: 80px;
    margin-right: 15px;
    margin-bottom: 10px;
  }

  .woocommerce-cart table.shop_table .product-thumbnail img {
    width: 80px;
  }

  .woocommerce-cart table.shop_table .product-name {
    padding-top: 0;
    font-size: 14px;
  }

  .woocommerce-cart table.shop_table .product-price::before {
    content: "Preis: ";
    font-weight: 400;
    color: #888;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .woocommerce-cart table.shop_table .product-subtotal::before {
    content: "Gesamt: ";
    font-weight: 400;
    color: #888;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .woocommerce-cart table.shop_table .product-remove {
    position: absolute;
    top: 16px;
    right: 16px;
    width: auto;
  }

  .woocommerce-cart table.shop_table .product-quantity {
    clear: both;
  }

  /* Actions row on mobile */
  .woocommerce-cart table.shop_table td.actions {
    padding: 15px;
  }

  .woocommerce-cart table.shop_table td.actions .coupon {
    display: flex;
    flex-direction: column;
    width: 100%;
    float: none !important;
  }

  .woocommerce-cart table.shop_table td.actions .coupon #coupon_code {
    width: 100%;
  }

  .woocommerce-cart table.shop_table td.actions .coupon .button {
    width: 100%;
    text-align: center;
  }

  .woocommerce-cart table.shop_table td.actions > .button {
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }

  /* Cart totals on mobile */
  .woocommerce-cart .cart-collaterals .cross-sells,
  .woocommerce-cart .cart-collaterals .cart_totals,
  .woocommerce-cart .cart-collaterals .shipping_calculator {
    width: 100%;
    float: none;
    margin-right: 0;
  }

  .woocommerce-cart .cart-collaterals .cart_totals {
    padding: 20px;
  }
}

/* =====================================================
   MOBILE: Checkout Page
   ===================================================== */

@media (max-width: 768px) {
  .woocommerce-checkout .form-row-first,
  .woocommerce-checkout .form-row-last {
    float: none;
    width: 100%;
  }

  /* Coupon form stacks on mobile */
  .woocommerce-checkout form.checkout_coupon .form-row-first {
    min-width: 100%;
  }

  .woocommerce-checkout form.checkout_coupon .button {
    width: 100%;
    text-align: center;
  }

  /* Payment section on mobile */
  .woocommerce-checkout #payment {
    padding: 20px;
    border-radius: 10px;
  }

  .woocommerce-checkout #payment ul.payment_methods li.wc_payment_method > label {
    padding: 14px;
    font-size: 13px;
  }

  /* Order review table on mobile */
  .woocommerce-checkout table.shop_table {
    font-size: 13px;
  }

  .woocommerce-checkout table.shop_table td,
  .woocommerce-checkout table.shop_table th {
    padding: 12px 15px;
  }

  /* Order received on mobile */
  .woocommerce-order-received .woocommerce-order-overview {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
  }

  /* My Account on mobile */
  .woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    padding: 10px 20px;
    font-size: 12px;
  }

  .woocommerce-account .woocommerce-form-login,
  .woocommerce-account .woocommerce-form-register {
    padding: 20px;
  }
}

/* =====================================================
   STOREFRONT OVERRIDES
   ===================================================== */

/* Remove Storefront's default styles that conflict */
.woocommerce-cart .site-main,
.woocommerce-checkout .site-main {
  padding-top: 0;
}

/* Override Storefront button colors */
.woocommerce-cart a.button,
.woocommerce-checkout a.button,
.woocommerce-cart button.button,
.woocommerce-checkout button.button,
.woocommerce-cart input.button,
.woocommerce-checkout input.button {
  font-family: 'CenturyGothicStd', sans-serif;
}

/* Ensure links match theme */
.woocommerce-cart a,
.woocommerce-checkout a {
  color: #000;
}

/* Select2 dropdown (country/state selects) */
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
  background-color: #000;
}

.select2-dropdown {
  border-color: #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1.5px solid #e0e0e0;
  border-radius: 6px;
  padding: 8px 12px;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
  border-color: #000;
  outline: none;
}

