
/* SAGITTARIUS CHECKOUT START */
/* Sagittarius / Bagberry classic checkout. Append after the theme CSS. */
body.woocommerce-checkout {
  --sg-line: #deddd3;
  --sg-accent: #a77c25;
  --sg-panel: #f7f7f2;
}
body.woocommerce-checkout form.checkout {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px 5%;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  margin-inline: auto;
  margin-top: 28px;
}
body.woocommerce-checkout form.checkout > .agni-customer-details {
  width: 53%;
  min-width: 0;
  order: 0;
}
body.woocommerce-checkout form.checkout > .agni-order-review {
  box-sizing: border-box;
  width: 42%;
  min-width: 0;
  padding: 28px;
  background: var(--sg-panel);
  border: 1px solid var(--sg-line);
  border-top: 2px solid var(--sg-accent);
  border-radius: 4px;
}
body.woocommerce-checkout .agni-order-review::before { display: none; }
body.woocommerce-checkout .woocommerce-billing-fields > h3,
body.woocommerce-checkout #order_review_heading {
  margin: 0 0 24px;
  font-size: 25px;
  line-height: 1.25;
}
body.woocommerce-checkout #customer_details,
body.woocommerce-checkout #customer_details > .col-1,
body.woocommerce-checkout #customer_details > .col-2 {
  float: none;
  width: 100%;
  min-width: 0;
}
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 3%;
}
body.woocommerce-checkout #customer_details .form-row {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 0;
  min-width: 0;
}
body.woocommerce-checkout #customer_details .form-row-first,
body.woocommerce-checkout #customer_details .form-row-last { width: 48.5%; }
body.woocommerce-checkout #customer_details .form-row label {
  display: block;
  margin: 0 0 7px;
  font-size: 13px;
  line-height: 1.5;
}
body.woocommerce-checkout #customer_details .input-text,
body.woocommerce-checkout #customer_details select:not(.select2-hidden-accessible),
body.woocommerce-checkout #customer_details .select2-selection--single {
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--sg-line);
  border-radius: 3px;
  background: #fff;
  color: inherit;
  font-family: inherit;
  font-size: 16px;
  line-height: 24px;
  box-shadow: none;
}
body.woocommerce-checkout #customer_details .select2-container { max-width: 100%; }
body.woocommerce-checkout #customer_details .select2-selection__rendered {
  padding: 0 24px 0 0;
  line-height: 24px;
  color: inherit;
}
body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow,
body.woocommerce-checkout #customer_details .select2-selection__arrow {
  height: 100%;
  top: 0;
  right: 14px;
  width: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow b,
body.woocommerce-checkout #customer_details .select2-selection__arrow b {
  position: static;
  margin: 0;
  top: auto;
  left: auto;
  width: 12px;
  height: 12px;
  display: block;
}
body.woocommerce-checkout #customer_details textarea.input-text { height: auto; min-height: 100px; resize: vertical; }
body.woocommerce-checkout #customer_details .input-text:focus,
body.woocommerce-checkout #customer_details select:focus,
body.woocommerce-checkout #customer_details .select2-selection:focus {
  border-color: var(--sg-accent);
  outline: 2px solid var(--sg-accent);
  outline-offset: 2px;
}
body.woocommerce-checkout #customer_details .woocommerce-invalid .input-text,
body.woocommerce-checkout #customer_details .woocommerce-invalid .select2-selection { border-color: #b32d2e; }
body.woocommerce-checkout .woocommerce-form__label[data-automation-id="woo-commerce-subscription-opt-in"],
body.woocommerce-checkout .woocommerce-account-fields .create-account label,
body.woocommerce-checkout .woocommerce-account-fields label.woocommerce-form__label-for-checkbox,
body.woocommerce-checkout label[for="createaccount"],
body.woocommerce-checkout .create-account label,
body.woocommerce-checkout #ship-to-different-address label {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: var(--sg-text) !important;
  cursor: pointer !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.woocommerce-checkout .woocommerce-form__label[data-automation-id="woo-commerce-subscription-opt-in"] span,
body.woocommerce-checkout .woocommerce-account-fields .create-account label span,
body.woocommerce-checkout .woocommerce-account-fields label.woocommerce-form__label-for-checkbox span,
body.woocommerce-checkout label[for="createaccount"] span,
body.woocommerce-checkout .create-account label span,
body.woocommerce-checkout #ship-to-different-address label span {
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: var(--sg-text) !important;
}
body.woocommerce-checkout .woocommerce-form__label[data-automation-id="woo-commerce-subscription-opt-in"] input[type="checkbox"],
body.woocommerce-checkout .woocommerce-account-fields input[type="checkbox"],
body.woocommerce-checkout input#createaccount,
body.woocommerce-checkout #ship-to-different-address input[type="checkbox"] {
  flex-shrink: 0 !important;
  margin: 0 !important;
  width: 16px !important;
  height: 16px !important;
  accent-color: var(--sg-accent) !important;
  cursor: pointer !important;
  vertical-align: middle !important;
}
body.woocommerce-checkout .woocommerce-form__label[data-automation-id="woo-commerce-subscription-opt-in"] {
  margin-top: 20px !important;
  margin-bottom: 14px !important;
}
body.woocommerce-checkout .woocommerce-account-fields {
  margin: 0 0 14px !important;
}
body.woocommerce-checkout .woocommerce-account-fields p.create-account {
  margin: 0 0 14px !important;
  padding: 0 !important;
}
body.woocommerce-checkout #ship-to-different-address {
  margin: 0 0 20px !important;
  font-size: 15px !important;
  font-weight: 400 !important;
}
body.woocommerce-checkout .woocommerce-account-fields div.create-account {
  margin-top: 14px;
  margin-bottom: 20px;
}
body.woocommerce-checkout .woocommerce-account-fields div.create-account .input-text {
  height: 48px;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--sg-line);
  border-radius: 3px;
  font-size: 16px;
  line-height: 24px;
  box-sizing: border-box;
  width: 100%;
}
body.woocommerce-checkout .woocommerce-account-fields div.create-account .input-text:focus {
  border-color: var(--sg-accent);
  outline: 2px solid var(--sg-accent);
  outline-offset: 2px;
}
body.woocommerce-checkout .woocommerce-additional-fields { margin-top: 24px; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  border: 0;
  box-sizing: border-box;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table > tbody,
body.woocommerce-checkout .woocommerce-checkout-review-order-table > tfoot {
  display: block;
  width: 100%;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table tbody tr,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  margin: 0;
  padding: 16px 0;
  align-items: start;
  width: 100%;
  box-sizing: border-box;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item { min-height: 104px; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name {
  display: block;
  margin: 0;
  padding-left: 84px;
  min-width: 0;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 14px;
  overflow-wrap: break-word;
  word-break: normal;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-total { white-space: nowrap; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name .variation { margin: 8px 0 0; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table img { width: 68px; height: 68px; border-radius: 3px; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td { font-size: 14px; line-height: 1.6; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td { text-align: right; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .cart-subtotal,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .order-total { border-top: 1px solid var(--sg-line); }
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .order-total { margin-top: 8px; padding: 20px 0; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .order-total th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .order-total td { font-size: 22px; }
body.woocommerce-checkout #shipping_method { margin: 0; padding: 0; list-style: none; }
body.woocommerce-checkout #shipping_method li { margin: 0 0 8px; padding: 0; }
body.woocommerce-checkout #payment { background: transparent; border-radius: 0; }
body.woocommerce-checkout #payment .wc_payment_methods { margin: 4px 0 20px; padding: 16px 0 0; border-top: 1px solid var(--sg-line); }
body.woocommerce-checkout #payment .wc_payment_method {
  list-style: none;
  padding: 14px;
  margin: 0 0 10px;
  border: 1px solid var(--sg-line);
  border-radius: 3px;
  background: #fff;
}
body.woocommerce-checkout #payment .wc_payment_method:has(> input:checked) { border-color: var(--sg-accent); }
body.woocommerce-checkout #payment .payment_box { margin: 10px 0 0; padding: 0; background: transparent; font-size: 13px; line-height: 1.7; }
body.woocommerce-checkout #payment .payment_box::before { display: none; }
body.woocommerce-checkout #payment .payment_box p { margin: 0; }
body.woocommerce-checkout #payment .place-order { margin: 0; padding: 0; }
body.woocommerce-checkout #payment input[type="radio"],
body.woocommerce-checkout #payment input[type="checkbox"] { accent-color: var(--sg-accent); }
body.woocommerce-checkout #checkout-sozlesmeler h3 { font-size: 17px; margin: 20px 0 12px; }
/* Preserve the plugin's visibility rules and contract text. */
body.woocommerce-checkout #checkout-sozlesmeler .sozlesme-container {
  max-height: 240px;
  overflow: auto;
  padding: 14px;
  margin-bottom: 12px;
  border: 1px solid var(--sg-line);
  background: #fff;
  font-size: 13px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
body.woocommerce-checkout #checkout-sozlesmeler .sozlesme-container h2 { font-size: 15px; line-height: 1.5; }
body.woocommerce-checkout #checkout-sozlesmeler .sozlesme-container table { font-size: 12px; }
body.woocommerce-checkout #payment .woocommerce-privacy-policy-text,
body.woocommerce-checkout #payment .in-sozlesme-onay-checkbox { font-size: 12px; line-height: 1.8; }
body.woocommerce-checkout #payment .in-sozlesme-onay-checkbox label { display: flex; align-items: flex-start; gap: 10px; }
body.woocommerce-checkout #payment .in-sozlesme-onay-checkbox input { flex-shrink: 0; margin-top: 5px; }
body.woocommerce-checkout #place_order {
  width: 100%;
  min-height: 52px;
  margin-top: 20px;
  padding: 14px 20px;
  border-radius: 3px;
  font-family: inherit;
  font-size: 15px;
}
@media (max-width: 900px) {
  body.woocommerce-checkout form.checkout { gap: 28px; }
  body.woocommerce-checkout form.checkout > .agni-customer-details,
  body.woocommerce-checkout form.checkout > .agni-order-review { width: 100%; }
}
@media (max-width: 480px) {
  body.woocommerce-checkout form.checkout > .agni-order-review { padding: 20px 16px; }
  body.woocommerce-checkout #customer_details .form-row-first,
  body.woocommerce-checkout #customer_details .form-row-last { width: 100%; }
}

/* SAGITTARIUS CHECKOUT END */

/* SAGITTARIUS CART START */
/* Sagittarius / Bagberry WooCommerce Cart block only. */
body.woocommerce-cart .wc-block-cart {
  --sg-cart-line: #deddd3;
  --sg-cart-accent: #a77c25;
  gap: 32px 5%;
  align-items: flex-start;
}
body.woocommerce-cart .wc-block-cart .wc-block-cart__main { min-width: 0; }
body.woocommerce-cart .wc-block-cart .wc-block-cart__sidebar {
  box-sizing: border-box;
  min-width: 0;
  padding: 28px;
  background: #f7f7f2;
  border: 1px solid var(--sg-cart-line);
  border-top: 2px solid var(--sg-cart-accent);
  border-radius: 4px;
}
body.woocommerce-cart .wc-block-cart .wp-block-woocommerce-cart-totals-block::before { display: none; }
body.woocommerce-cart .wc-block-cart .wc-block-cart__totals-title {
  margin: 0 0 20px;
  padding: 0 0 18px;
  font-size: 23px;
  line-height: 1.3;
  border-color: var(--sg-cart-line);
}
body.woocommerce-cart .wc-block-cart .wc-block-components-totals-coupon__content { padding-top: 14px; }
body.woocommerce-cart .wc-block-cart .wc-block-components-totals-coupon__form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  margin: 0;
}
body.woocommerce-cart .wc-block-cart .wc-block-components-totals-coupon__input {
  position: relative;
  flex: 1 1 150px;
  min-width: 0;
  margin: 0;
}
body.woocommerce-cart .wc-block-cart .wc-block-components-totals-coupon__input input {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  height: 48px;
  margin: 0;
  padding: 19px 12px 5px;
  border: 1px solid var(--sg-cart-line);
  border-radius: 3px;
  background: #fff;
  color: inherit;
  font-family: inherit;
  font-size: 16px;
  line-height: 22px;
}
body.woocommerce-cart .wc-block-cart .wc-block-components-totals-coupon__input label,
body.woocommerce-cart .wc-block-cart .wc-block-components-totals-coupon__input.is-active label {
  display: block;
  position: absolute;
  top: 4px;
  left: 12px;
  height: auto;
  margin: 0;
  font-size: 10px;
  line-height: 14px;
  transform: none;
  opacity: 1;
  color: #66685f;
  pointer-events: none;
}
body.woocommerce-cart .wc-block-cart .wc-block-components-totals-coupon__form button {
  position: static;
  inset: auto;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: auto;
  min-width: 100px;
  height: 48px;
  min-height: 48px;
  margin: 0;
  padding: 0 18px;
  border: 1px solid #282b24;
  border-radius: 3px;
  background: #282b24;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.3;
  text-align: center;
}
body.woocommerce-cart .wc-block-cart .wc-block-components-totals-coupon__form button:disabled { opacity: .5; cursor: not-allowed; }
body.woocommerce-cart .wc-block-cart .wc-block-components-totals-coupon__form button:not(:disabled):hover { background: #454b3b; }
body.woocommerce-cart .wc-block-cart .wc-block-components-totals-coupon__form :is(input,button):focus-visible {
  outline: 2px solid var(--sg-cart-accent);
  outline-offset: 3px;
}
body.woocommerce-cart .wc-block-cart .wc-block-components-validation-error { width: 100%; margin-top: 8px; }
body.woocommerce-cart .wc-block-cart .wc-block-components-totals-item { padding-block: 16px; }
body.woocommerce-cart .wc-block-cart .wc-block-components-totals-footer-item {
  margin-top: 6px;
  border-top: 1px solid var(--sg-cart-line);
  font-size: 21px;
}
body.woocommerce-cart .wc-block-cart .wc-block-cart__submit-container { width: 100%; }
body.woocommerce-cart .wc-block-cart .wc-block-cart__submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 52px;
  border-radius: 3px;
  padding: 14px 20px;
  font-size: 15px;
}
body.woocommerce-cart .wc-block-cart .wc-block-cart-item__image img { border-radius: 3px; }
@media (min-width: 908px) {
  body.woocommerce-cart .wc-block-cart .wc-block-cart__main { width: 57%; }
  body.woocommerce-cart .wc-block-cart .wc-block-cart__sidebar { width: 38%; }
}
@media (max-width: 907px) {
  body.woocommerce-cart .wc-block-cart .wc-block-cart__main,
  body.woocommerce-cart .wc-block-cart .wc-block-cart__sidebar { width: 100%; }
}
@media (max-width: 480px) {
  body.woocommerce-cart .wc-block-cart .wc-block-cart__sidebar { padding: 20px 16px; }
  body.woocommerce-cart .wc-block-cart .wc-block-components-totals-coupon__form { flex-direction: column; }
  body.woocommerce-cart .wc-block-cart .wc-block-components-totals-coupon__input { flex: auto; width: 100%; }
  body.woocommerce-cart .wc-block-cart .wc-block-components-totals-coupon__form button { width: 100%; }
}

/* SAGITTARIUS CART END */

/* SAGITTARIUS ACCOUNT START */
/* Sagittarius / Bagberry Account Order Details (view-order). Append after theme CSS. */
body.woocommerce-account .woocommerce-MyAccount-content {
  --sg-acc-line: #deddd3;
  --sg-acc-accent: #a77c25;
  --sg-acc-panel: #f7f7f2;
  --sg-acc-card-bg: #fff;
  --sg-acc-dark: #282b24;
  --sg-acc-text: #20221e;
  --sg-acc-muted: #6f7267;
}

/* 1. Order Status Banner */
body.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type {
  box-sizing: border-box;
  background: var(--sg-acc-panel);
  border: 1px solid var(--sg-acc-line);
  border-left: 4px solid var(--sg-acc-accent);
  border-radius: 4px;
  padding: 18px 22px;
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--sg-acc-text);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
body.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type mark {
  background: transparent;
  padding: 0;
  color: inherit;
}
body.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type mark.order-number {
  background: #edece4;
  color: var(--sg-acc-dark);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 14px;
  letter-spacing: 0.5px;
}
body.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type mark.order-date {
  font-weight: 600;
  color: var(--sg-acc-text);
}
body.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type mark.order-status {
  display: inline-flex;
  align-items: center;
  background: #edf6ec;
  color: #236327;
  border: 1px solid #c7e3c4;
  font-weight: 600;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

/* 2. Tracking Info Box */
body.woocommerce-account .hezarfen-mst-tracking-info-wrapper {
  box-sizing: border-box;
  background: var(--sg-acc-panel);
  border: 1px solid var(--sg-acc-line);
  border-radius: 4px;
  padding: 20px 24px;
  margin: 0 0 28px;
}
body.woocommerce-account .hezarfen-mst-tracking-info-wrapper h2 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--sg-acc-dark);
}
body.woocommerce-account .hezarfen-mst-tracking-info-wrapper p {
  margin: 0;
  font-size: 14px;
  color: var(--sg-acc-muted);
  line-height: 1.5;
}

/* 3. Order Details Card & Table */
body.woocommerce-account .woocommerce-order-details {
  box-sizing: border-box;
  background: var(--sg-acc-card-bg);
  border: 1px solid var(--sg-acc-line);
  border-top: 3px solid var(--sg-acc-accent);
  border-radius: 4px;
  overflow: hidden;
  margin: 0 0 32px;
}
body.woocommerce-account .woocommerce-order-details > h2.woocommerce-order-details__title {
  margin: 0;
  padding: 18px 24px;
  background: var(--sg-acc-panel);
  border-bottom: 1px solid var(--sg-acc-line);
  font-size: 18px;
  font-weight: 600;
  color: var(--sg-acc-dark);
  line-height: 1.3;
}
body.woocommerce-account .woocommerce-order-details table.shop_table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  border: 0 !important;
}
body.woocommerce-account .woocommerce-order-details table.shop_table th,
body.woocommerce-account .woocommerce-order-details table.shop_table td {
  border: 0 !important;
  padding: 14px 24px;
  font-size: 14px;
  line-height: 1.5;
}
body.woocommerce-account .woocommerce-order-details thead th {
  background: var(--sg-acc-panel);
  color: var(--sg-acc-muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-bottom: 1px solid var(--sg-acc-line) !important;
}
body.woocommerce-account .woocommerce-order-details thead th.product-total,
body.woocommerce-account .woocommerce-order-details tbody td.product-total,
body.woocommerce-account .woocommerce-order-details tfoot td {
  text-align: right;
}
body.woocommerce-account .woocommerce-order-details tbody tr {
  transition: background-color .15s;
}
body.woocommerce-account .woocommerce-order-details tbody tr:hover {
  background-color: #fafaf7;
}
body.woocommerce-account .woocommerce-order-details tbody tr:not(:last-child) td {
  border-bottom: 1px solid #f0efe8 !important;
}
body.woocommerce-account .woocommerce-order-details tbody .product-name a {
  color: var(--sg-acc-text);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: color .2s;
}
body.woocommerce-account .woocommerce-order-details tbody .product-name a:hover {
  color: var(--sg-acc-accent);
}
body.woocommerce-account .woocommerce-order-details tbody .product-quantity {
  color: var(--sg-acc-muted);
  font-weight: 400;
  margin-left: 4px;
}
body.woocommerce-account .woocommerce-order-details tbody .product-total {
  font-weight: 500;
  font-size: 15px;
  white-space: nowrap;
}
body.woocommerce-account .woocommerce-order-details tfoot {
  background: #fdfdfb;
  border-top: 1px solid var(--sg-acc-line) !important;
}
body.woocommerce-account .woocommerce-order-details tfoot th,
body.woocommerce-account .woocommerce-order-details tfoot td {
  border: 0 !important;
  padding: 10px 24px;
}
body.woocommerce-account .woocommerce-order-details tfoot tr:first-child th,
body.woocommerce-account .woocommerce-order-details tfoot tr:first-child td {
  padding-top: 16px;
}
body.woocommerce-account .woocommerce-order-details tfoot th {
  color: var(--sg-acc-muted);
  font-weight: 400;
  text-align: left;
}
body.woocommerce-account .woocommerce-order-details tfoot td {
  color: var(--sg-acc-text);
  font-weight: 500;
}
body.woocommerce-account .woocommerce-order-details tfoot small.shipped_via {
  display: inline-block;
  margin-left: 6px;
  color: var(--sg-acc-muted);
  font-size: 12px;
}
body.woocommerce-account .woocommerce-order-details tfoot tr:nth-last-child(2) {
  background: #faf8f2;
}
body.woocommerce-account .woocommerce-order-details tfoot tr:nth-last-child(2) th,
body.woocommerce-account .woocommerce-order-details tfoot tr:nth-last-child(2) td {
  font-size: 16px;
  font-weight: 700;
  color: var(--sg-acc-dark);
  border-top: 1px solid var(--sg-acc-line) !important;
  border-bottom: 1px solid var(--sg-acc-line) !important;
  padding-block: 16px;
}
body.woocommerce-account .woocommerce-order-details tfoot tr:nth-last-child(2) td .amount {
  color: var(--sg-acc-accent);
  font-size: 19px;
  font-weight: 700;
}
body.woocommerce-account .woocommerce-order-details tfoot tr:last-child th,
body.woocommerce-account .woocommerce-order-details tfoot tr:last-child td {
  padding-top: 12px;
  padding-bottom: 16px;
  border-bottom: 0 !important;
}

/* Order Again Button */
body.woocommerce-account .woocommerce-order-details .order-again {
  margin: 0;
  padding: 16px 24px;
  background: var(--sg-acc-panel);
  border-top: 1px solid var(--sg-acc-line);
  display: flex;
  justify-content: flex-end;
}
body.woocommerce-account .woocommerce-order-details .order-again .button,
body.woocommerce-account .woocommerce-order-details .order-again a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px 24px;
  border-radius: 3px;
  background: var(--sg-acc-dark) !important;
  color: #fff !important;
  border: 1px solid var(--sg-acc-dark) !important;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all .2s;
}
body.woocommerce-account .woocommerce-order-details .order-again .button:hover,
body.woocommerce-account .woocommerce-order-details .order-again a.button:hover {
  background: var(--sg-acc-accent) !important;
  border-color: var(--sg-acc-accent) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(167, 124, 37, 0.25);
}

/* 4. Customer Addresses Cards (view-order & my-address) */
body.woocommerce-account .woocommerce-customer-details .woocommerce-columns--addresses,
body.woocommerce-account .woocommerce-Addresses {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 0 0 36px;
  width: 100%;
}
body.woocommerce-account .woocommerce-customer-details .woocommerce-column,
body.woocommerce-account .woocommerce-Address {
  float: none;
  width: 100%;
  box-sizing: border-box;
  background: var(--sg-acc-panel);
  border: 1px solid var(--sg-acc-line);
  border-top: 3px solid var(--sg-acc-accent);
  border-radius: 4px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
}
body.woocommerce-account .woocommerce-customer-details .woocommerce-column h2.woocommerce-column__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--sg-acc-dark);
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--sg-acc-line);
  line-height: 1.3;
}

/* 4.1 Hezarfen Customer Agreements (Sözleşmeler) */
body.woocommerce-account .woocommerce-customer-agreements {
  box-sizing: border-box;
  background: var(--sg-acc-panel);
  border: 1px solid var(--sg-acc-line);
  border-radius: 4px;
  padding: 22px 24px;
  margin: 36px 0 0;
}
body.woocommerce-account .woocommerce-customer-agreements h2.woocommerce-column__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--sg-acc-dark);
  margin: 0 0 10px;
  padding-bottom: 0;
  border-bottom: 0 !important;
  line-height: 1.3;
}
body.woocommerce-account .woocommerce-customer-agreements p {
  margin: 0;
  font-size: 14px;
  font-style: normal !important;
  color: var(--sg-acc-muted) !important;
  line-height: 1.6;
}
body.woocommerce-account .woocommerce-customer-agreements .agreements-list {
  list-style: none;
  padding: 0;
  margin: 14px 0;
}
body.woocommerce-account .woocommerce-customer-agreements .agreements-list li {
  padding: 10px 0;
  border-bottom: 1px solid #edece4;
}
body.woocommerce-account .woocommerce-customer-agreements .agreements-list li:last-child {
  border-bottom: 0;
}
body.woocommerce-account .woocommerce-customer-agreements .hezarfen-view-agreements-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 38px;
  padding: 8px 20px;
  border-radius: 3px;
  background: var(--sg-acc-dark) !important;
  color: #fff !important;
  border: 1px solid var(--sg-acc-dark) !important;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
}
body.woocommerce-account .woocommerce-customer-agreements .hezarfen-view-agreements-btn:hover {
  background: var(--sg-acc-accent) !important;
  border-color: var(--sg-acc-accent) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

body.woocommerce-account .woocommerce-Address-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--sg-acc-line);
}
body.woocommerce-account .woocommerce-Address-title h2,
body.woocommerce-account .woocommerce-Address-title h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--sg-acc-dark);
  margin: 0;
  line-height: 1.3;
}
body.woocommerce-account .woocommerce-Address-title a.edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--sg-acc-dark);
  background: #fff;
  border: 1px solid var(--sg-acc-line);
  border-radius: 3px;
  text-decoration: none;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
body.woocommerce-account .woocommerce-Address-title a.edit:hover {
  background: var(--sg-acc-accent);
  border-color: var(--sg-acc-accent);
  color: #fff;
  transform: translateY(-1px);
}
body.woocommerce-account .woocommerce-customer-details address,
body.woocommerce-account .woocommerce-Address address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.7;
  color: #383b32;
  margin: 0;
  flex-grow: 1;
}
body.woocommerce-account .woocommerce-customer-details .woocommerce-customer-details--phone,
body.woocommerce-account .woocommerce-customer-details .woocommerce-customer-details--email {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--sg-acc-muted);
}

/* 5. Address Edit Form (/hesabim/adresleri-duzenle/) */
body.woocommerce-account form.woocommerce-EditAddressForm,
body.woocommerce-account form:has(.woocommerce-address-fields) {
  margin-top: 24px;
}
body.woocommerce-account .woocommerce-address-fields__field-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 3%;
  margin-bottom: 24px;
}
body.woocommerce-account .woocommerce-address-fields__field-wrapper .form-row {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 0;
  min-width: 0;
}
body.woocommerce-account .woocommerce-address-fields__field-wrapper .form-row-first,
body.woocommerce-account .woocommerce-address-fields__field-wrapper .form-row-last {
  width: 48.5%;
}
body.woocommerce-account .woocommerce-address-fields__field-wrapper .form-row label {
  display: block;
  margin: 0 0 7px;
  font-size: 13px;
  line-height: 1.5;
}
body.woocommerce-account .woocommerce-address-fields__field-wrapper .input-text,
body.woocommerce-account .woocommerce-address-fields__field-wrapper select,
body.woocommerce-account .woocommerce-address-fields__field-wrapper .select2-selection--single {
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--sg-acc-line);
  border-radius: 3px;
  background: #fff;
  color: inherit;
  font-family: inherit;
  font-size: 16px;
  line-height: 24px;
}
body.woocommerce-account .woocommerce-address-fields__field-wrapper .input-text:focus,
body.woocommerce-account .woocommerce-address-fields__field-wrapper select:focus,
body.woocommerce-account .woocommerce-address-fields__field-wrapper .select2-selection:focus {
  border-color: var(--sg-acc-accent);
  outline: 2px solid var(--sg-acc-accent);
  outline-offset: 2px;
}
body.woocommerce-account button[name="save_address"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: 3px;
  background: var(--sg-acc-dark);
  color: #fff;
  border: 1px solid var(--sg-acc-dark);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
}
body.woocommerce-account button[name="save_address"]:hover {
  background: var(--sg-acc-accent);
  border-color: var(--sg-acc-accent);
  color: #fff;
  transform: translateY(-1px);
}

/* 6. Account Orders List Table & Notices (/hesabim/orders/) */
body.woocommerce-account .wc-block-components-notice-banner,
body.woocommerce-account .wc-block-components-notice-banner.is-info,
body.woocommerce-account .wc-block-components-notice-banner.is-warning,
body.woocommerce-account .wc-block-components-notice-banner.is-success,
body.woocommerce-account .wc-block-components-notice-banner.is-error,
body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-info {
  box-sizing: border-box !important;
  background: var(--sg-acc-panel) !important;
  border: 1px solid var(--sg-acc-line) !important;
  border-left: 4px solid var(--sg-acc-accent) !important;
  border-radius: 4px !important;
  padding: 16px 20px !important;
  margin: 0 0 24px !important;
  color: var(--sg-acc-text) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}
body.woocommerce-account .wc-block-components-notice-banner svg,
body.woocommerce-account .wc-block-components-notice-banner > svg,
body.woocommerce-account .wc-block-components-notice-banner.is-info > svg,
body.woocommerce-account .wc-block-components-notice-banner.is-warning > svg,
body.woocommerce-account .wc-block-components-notice-banner.is-error > svg,
body.woocommerce-account .wc-block-components-notice-banner.is-success > svg,
body.woocommerce-account .woocommerce-message svg,
body.woocommerce-account .woocommerce-info svg {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  fill: var(--sg-acc-accent) !important;
  color: var(--sg-acc-accent) !important;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  flex-shrink: 0 !important;
}
body.woocommerce-account .wc-block-components-notice-banner svg path,
body.woocommerce-account .wc-block-components-notice-banner > svg path {
  fill: var(--sg-acc-accent) !important;
}
body.woocommerce-account .wc-block-components-notice-banner .wc-block-components-notice-banner__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 18px;
  width: 100%;
}
body.woocommerce-account .wc-block-components-notice-banner .wc-block-components-notice-banner__content a,
body.woocommerce-account .wc-block-components-notice-banner .wc-block-components-notice-banner__content button,
body.woocommerce-account .wc-block-components-notice-banner .wc-forward,
body.woocommerce-account .wc-block-components-notice-banner a.button,
body.woocommerce-account .woocommerce-info a.button,
body.woocommerce-account .woocommerce-info a.wc-forward,
body.woocommerce-account .woocommerce-info a:not([class]),
body.woocommerce-account .woocommerce-message a.button,
body.woocommerce-account .woocommerce-message a.wc-forward,
body.woocommerce-account .woocommerce-message a:not([class]),
body.woocommerce-account .woocommerce-error a.button,
body.woocommerce-account .woocommerce-error a.wc-forward,
body.woocommerce-account .woocommerce-notice a.button,
body.woocommerce-account .woocommerce-notice a.wc-forward {
  order: 2 !important;
  float: none !important;
  margin: 0 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ffffff !important;
  border: 1px solid var(--sg-acc-line) !important;
  color: var(--sg-acc-dark) !important;
  padding: 8px 20px !important;
  border-radius: 20px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  opacity: 1 !important;
  transition: all .2s ease !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}
body.woocommerce-account .wc-block-components-notice-banner .wc-block-components-notice-banner__content a:hover,
body.woocommerce-account .wc-block-components-notice-banner .wc-block-components-notice-banner__content button:hover,
body.woocommerce-account .wc-block-components-notice-banner .wc-forward:hover,
body.woocommerce-account .wc-block-components-notice-banner a.button:hover,
body.woocommerce-account .woocommerce-info a.button:hover,
body.woocommerce-account .woocommerce-info a.wc-forward:hover,
body.woocommerce-account .woocommerce-info a:not([class]):hover,
body.woocommerce-account .woocommerce-message a.button:hover,
body.woocommerce-account .woocommerce-message a.wc-forward:hover,
body.woocommerce-account .woocommerce-message a:not([class]):hover,
body.woocommerce-account .woocommerce-error a.button:hover,
body.woocommerce-account .woocommerce-error a.wc-forward:hover,
body.woocommerce-account .woocommerce-notice a.button:hover,
body.woocommerce-account .woocommerce-notice a.wc-forward:hover {
  border-color: var(--sg-acc-accent) !important;
  color: var(--sg-acc-accent) !important;
  background: #fffcf5 !important;
  text-decoration: none !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 2px 6px rgba(167, 124, 37, 0.15) !important;
  opacity: 1 !important;
}
body.woocommerce-account .wc-block-components-notice-banner .wc-block-components-notice-banner__content a:active,
body.woocommerce-account .wc-block-components-notice-banner .wc-block-components-notice-banner__content button:active,
body.woocommerce-account .wc-block-components-notice-banner .wc-forward:active,
body.woocommerce-account .wc-block-components-notice-banner a.button:active,
body.woocommerce-account .woocommerce-info a.button:active,
body.woocommerce-account .woocommerce-info a.wc-forward:active,
body.woocommerce-account .woocommerce-message a.button:active,
body.woocommerce-account .woocommerce-message a.wc-forward:active {
  transform: translateY(0) !important;
  box-shadow: none !important;
}

body.woocommerce-account table.woocommerce-orders-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0 0 32px;
  background: var(--sg-acc-card-bg);
  border: 1px solid var(--sg-acc-line);
  border-top: 3px solid var(--sg-acc-accent);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
body.woocommerce-account table.woocommerce-orders-table th,
body.woocommerce-account table.woocommerce-orders-table td {
  border: 0;
  border-bottom: 1px solid #f0efe8;
  padding: 16px 20px;
  text-align: left;
  vertical-align: middle;
  font-size: 14px;
  line-height: 1.5;
  box-sizing: border-box;
}
body.woocommerce-account table.woocommerce-orders-table thead th {
  background: var(--sg-acc-panel);
  color: var(--sg-acc-muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-bottom: 1px solid var(--sg-acc-line);
  padding: 14px 20px;
  white-space: nowrap;
}
body.woocommerce-account table.woocommerce-orders-table tbody tr {
  transition: background-color .15s ease;
}
body.woocommerce-account table.woocommerce-orders-table tbody tr:hover {
  background-color: #fafaf7;
}
body.woocommerce-account table.woocommerce-orders-table tbody tr:last-child th,
body.woocommerce-account table.woocommerce-orders-table tbody tr:last-child td {
  border-bottom: 0;
}
body.woocommerce-account .woocommerce-orders-table__cell-order-number a {
  display: inline-flex;
  align-items: center;
  background: #edece4;
  color: var(--sg-acc-dark);
  font-weight: 700;
  font-size: 13.5px;
  padding: 3px 9px;
  border-radius: 3px;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all .2s;
}
body.woocommerce-account .woocommerce-orders-table__cell-order-number a:hover {
  background: var(--sg-acc-accent);
  color: #fff;
}
body.woocommerce-account .woocommerce-orders-table__cell-order-date time {
  color: var(--sg-acc-text);
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
}
body.woocommerce-account .woocommerce-orders-table__cell-order-status {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--sg-acc-text);
}
body.woocommerce-account .woocommerce-orders-table__cell-order-status::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: 1px;
  background: var(--sg-acc-muted);
  box-shadow: 0 0 0 3px #f0efe8;
}
body.woocommerce-account .woocommerce-orders-table__row--status-completed .woocommerce-orders-table__cell-order-status {
  color: #236327;
}
body.woocommerce-account .woocommerce-orders-table__row--status-completed .woocommerce-orders-table__cell-order-status::before {
  background: #2ea44f;
  box-shadow: 0 0 0 3px #edf6ec;
}
body.woocommerce-account .woocommerce-orders-table__row--status-processing .woocommerce-orders-table__cell-order-status {
  color: #9c6500;
}
body.woocommerce-account .woocommerce-orders-table__row--status-processing .woocommerce-orders-table__cell-order-status::before {
  background: #a77c25;
  box-shadow: 0 0 0 3px #fdf5e6;
}
body.woocommerce-account .woocommerce-orders-table__row--status-on-hold .woocommerce-orders-table__cell-order-status {
  color: #707469;
}
body.woocommerce-account .woocommerce-orders-table__row--status-on-hold .woocommerce-orders-table__cell-order-status::before {
  background: #888d80;
  box-shadow: 0 0 0 3px #edece6;
}
body.woocommerce-account .woocommerce-orders-table__row--status-cancelled .woocommerce-orders-table__cell-order-status,
body.woocommerce-account .woocommerce-orders-table__row--status-failed .woocommerce-orders-table__cell-order-status,
body.woocommerce-account .woocommerce-orders-table__row--status-refunded .woocommerce-orders-table__cell-order-status {
  color: #a82323;
}
body.woocommerce-account .woocommerce-orders-table__row--status-cancelled .woocommerce-orders-table__cell-order-status::before,
body.woocommerce-account .woocommerce-orders-table__row--status-failed .woocommerce-orders-table__cell-order-status::before,
body.woocommerce-account .woocommerce-orders-table__row--status-refunded .woocommerce-orders-table__cell-order-status::before {
  background: #d13232;
  box-shadow: 0 0 0 3px #fdeeee;
}
body.woocommerce-account .woocommerce-orders-table__cell-order-total {
  color: var(--sg-acc-muted);
  font-size: 13.5px;
  white-space: nowrap;
}
body.woocommerce-account .woocommerce-orders-table__cell-order-total .amount {
  color: var(--sg-acc-dark);
  font-weight: 600;
  font-size: 14.5px;
  margin-left: 3px;
}
body.woocommerce-account .woocommerce-orders-table__cell-hezarfen-mst-shipment-tracking {
  color: var(--sg-acc-text);
  font-size: 13.5px;
}
body.woocommerce-account .woocommerce-orders-table__cell-hezarfen-mst-shipment-tracking a {
  color: var(--sg-acc-accent);
  text-decoration: none;
  font-weight: 500;
}
body.woocommerce-account .woocommerce-orders-table__cell-hezarfen-mst-shipment-tracking a:hover {
  text-decoration: underline;
}
body.woocommerce-account .woocommerce-orders-table__header-order-actions,
body.woocommerce-account .woocommerce-orders-table__cell-order-actions {
  text-align: right;
}
body.woocommerce-account .woocommerce-orders-table__cell-order-actions .button,
body.woocommerce-account .woocommerce-orders-table__cell-order-actions .woocommerce-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 36px;
  padding: 6px 18px;
  border-radius: 3px;
  background: var(--sg-acc-dark) !important;
  color: #fff !important;
  border: 1px solid var(--sg-acc-dark) !important;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
body.woocommerce-account .woocommerce-orders-table__cell-order-actions .button:hover,
body.woocommerce-account .woocommerce-orders-table__cell-order-actions .woocommerce-button:hover {
  background: var(--sg-acc-accent) !important;
  border-color: var(--sg-acc-accent) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(167, 124, 37, 0.25);
}
body.woocommerce-account .woocommerce-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 24px 0 0;
}
body.woocommerce-account .woocommerce-pagination .woocommerce-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--sg-acc-line);
  color: var(--sg-acc-dark);
  padding: 8px 20px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all .2s;
}
body.woocommerce-account .woocommerce-pagination .woocommerce-button:hover {
  border-color: var(--sg-acc-accent);
  color: var(--sg-acc-accent);
  background: #fffcf5;
}

/* 7. Responsive */
@media (max-width: 768px) {
  body.woocommerce-account .woocommerce-customer-details .woocommerce-columns--addresses,
  body.woocommerce-account .woocommerce-Addresses {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  body.woocommerce-account .woocommerce-order-details table.shop_table th,
  body.woocommerce-account .woocommerce-order-details table.shop_table td {
    padding: 12px 16px;
  }
  body.woocommerce-account .woocommerce-order-details > h2.woocommerce-order-details__title {
    padding: 14px 16px;
  }
  body.woocommerce-account .woocommerce-order-details .order-again {
    justify-content: stretch;
  }
  body.woocommerce-account .woocommerce-order-details .order-again .button {
    width: 100%;
  }
  body.woocommerce-account .woocommerce-address-fields__field-wrapper .form-row-first,
  body.woocommerce-account .woocommerce-address-fields__field-wrapper .form-row-last {
    width: 100%;
  }
  /* Orders Table Responsive */
  body.woocommerce-account table.woocommerce-orders-table.shop_table_responsive {
    border: 0;
    background: transparent;
    box-shadow: none;
    display: block;
  }
  body.woocommerce-account table.woocommerce-orders-table.shop_table_responsive thead {
    display: none;
  }
  body.woocommerce-account table.woocommerce-orders-table.shop_table_responsive tbody {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }
  body.woocommerce-account table.woocommerce-orders-table.shop_table_responsive tbody tr {
    display: block;
    background: var(--sg-acc-panel);
    border: 1px solid var(--sg-acc-line);
    border-top: 3px solid var(--sg-acc-accent);
    border-radius: 4px;
    padding: 16px;
    box-sizing: border-box;
  }
  body.woocommerce-account table.woocommerce-orders-table.shop_table_responsive tbody th,
  body.woocommerce-account table.woocommerce-orders-table.shop_table_responsive tbody td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 0;
    border-bottom: 1px solid #edece4;
    padding: 10px 0;
    text-align: right;
  }
  body.woocommerce-account table.woocommerce-orders-table.shop_table_responsive tbody th::before,
  body.woocommerce-account table.woocommerce-orders-table.shop_table_responsive tbody td::before {
    content: attr(data-title);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--sg-acc-muted);
    text-align: left;
    margin-right: 12px;
  }
  body.woocommerce-account table.woocommerce-orders-table.shop_table_responsive tbody tr td:last-child {
    border-bottom: 0;
    padding-top: 14px;
    padding-bottom: 0;
    justify-content: flex-end;
  }
  body.woocommerce-account table.woocommerce-orders-table.shop_table_responsive tbody tr td:last-child::before {
    display: none;
  }
  body.woocommerce-account table.woocommerce-orders-table.shop_table_responsive tbody tr td.woocommerce-orders-table__cell-order-actions .button,
  body.woocommerce-account table.woocommerce-orders-table.shop_table_responsive tbody tr td.woocommerce-orders-table__cell-order-actions .woocommerce-button {
    width: 100%;
  }
  body.woocommerce-account table.woocommerce-orders-table.shop_table_responsive tbody td.woocommerce-orders-table__cell-hezarfen-mst-shipment-tracking:empty {
    display: none;
  }
  body.woocommerce-account .wc-block-components-notice-banner .wc-block-components-notice-banner__content {
    flex-direction: column;
    align-items: flex-start;
  }
  body.woocommerce-account .wc-block-components-notice-banner .wc-block-components-notice-banner__content a,
  body.woocommerce-account .wc-block-components-notice-banner .wc-block-components-notice-banner__content button,
  body.woocommerce-account .wc-block-components-notice-banner .wc-forward,
  body.woocommerce-account .woocommerce-info a.button,
  body.woocommerce-account .woocommerce-message a.button {
    margin: 10px 0 0 !important;
    width: 100% !important;
    text-align: center !important;
  }
}


/* SAGITTARIUS ACCOUNT END */


/* SAGITTARIUS PRODUCT CARDS START */
.wc-block-product-template .wc-block-product {
  --sg-card-line: #deddd3;
  --sg-card-accent: var(--wp--preset--color--accent, #cd9209);
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid var(--sg-card-line);
  border-radius: 4px;
  padding: 0;
  transition: border-color .2s ease;
}
.wc-block-product-template .wc-block-product:hover {
  border-color: var(--sg-card-accent);
}
.wc-block-product-template .wc-block-product .wc-block-components-product-image {
  position: relative;
  margin: 0 !important;
  width: 100%;
  overflow: hidden;
  border-radius: 3px 3px 0 0;
  background: #eeefe6;
}
.wc-block-product-template .wc-block-product .wc-block-components-product-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain !important;
}
.wc-block-product-template .wc-block-product > .has-overlay-content {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: start;
  align-items: start;
  gap: 14px 12px !important;
  width: 100%;
  flex: 1;
  box-sizing: border-box;
  padding: 18px !important;
  margin: 0 !important;
  background: #fff;
  color: #171714;
  border-radius: 0 0 3px 3px;
}
.wc-block-product-template .wc-block-product > .has-overlay-content > .wp-block-group {
  display: contents !important;
}
.wc-block-product-template .wc-block-product .has-overlay-content .wp-block-post-title {
  grid-column: 1;
  grid-row: 1;
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0;
  text-align: left !important;
  justify-self: stretch;
  width: 100%;
  font-size: 17px !important;
  line-height: 1.45 !important;
  font-weight: 500;
  overflow-wrap: anywhere;
  opacity: 1 !important;
  visibility: visible !important;
}
.wc-block-product-template .wc-block-product .wp-block-post-title a {
  display: block;
  width: 100%;
  text-align: left !important;
  justify-content: flex-start !important;
  color: inherit;
  text-decoration: none;
}
.wc-block-product-template .wc-block-product .has-overlay-content .wp-block-woocommerce-product-price {
  grid-column: 2;
  grid-row: 1;
  margin: 0 !important;
  padding-top: 2px;
}
.wc-block-product-template .wc-block-product .wc-block-components-product-price {
  font-size: 15px !important;
  line-height: 1.5;
  font-weight: 600;
  text-align: right;
}
.wc-block-product-template .wc-block-product .wc-block-components-product-price del {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #6b6b61;
}
.wc-block-product-template .sg-card-action {
  grid-column: 1 / -1;
  grid-row: 2;
  min-width: 0;
  width: 100%;
  margin: 0 !important;
}
.wc-block-product-template .sg-card-stock {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 14px;
  color: #66665a;
  font-size: 12px;
  line-height: 1.5;
}
.wc-block-product-template .sg-card-stock::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.wc-block-product-template .sg-card-stock--instock { color: #178900; }
.wc-block-product-template .sg-card-stock--onbackorder { color: #806014; }
.wc-block-product-template .wc-block-product .wc-block-components-product-button {
  display: flex;
  width: 100%;
  margin: 0 !important;
  padding: 0;
  align-items: stretch;
}
.wc-block-product-template .wc-block-product .has-overlay-content .wc-block-components-product-button__button {
  position: relative !important;
  opacity: 1 !important;
  visibility: visible !important;
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px !important;
  border: 1px solid var(--sg-card-accent) !important;
  border-radius: 3px;
  background: var(--sg-card-accent);
  color: #171714;
  font-family: inherit;
  font-size: 14px !important;
  font-weight: 500;
  line-height: 1.5 !important;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  transition: background-color .2s ease, border-color .2s ease;
}
/* Bagberry's absolute black hover layer must not escape product buttons. */
.wc-block-product-template .wc-block-product .wc-block-components-product-button__button::before {
  content: none !important;
  display: none !important;
}
.wc-block-product-template .wc-block-product.outofstock .has-overlay-content .wc-block-components-product-button__button {
  background: #fff;
  border-color: #b8b6a7 !important;
  color: #45453b;
}
.wc-block-product-template .wc-block-product .has-overlay-content .wc-block-components-product-button__button:hover {
  background: #eeefe6;
  border-color: #806014 !important;
  color: #171714;
}
.wc-block-product-template .wc-block-product a:focus-visible,
.wc-block-product-template .wc-block-product button:focus-visible {
  outline: 2px solid #806014;
  outline-offset: 3px;
}
@media (max-width: 600px) {
  .wc-block-product-template .wc-block-product > .has-overlay-content {
    padding: 14px !important;
    gap: 10px !important;
    grid-template-columns: minmax(0, 1fr);
  }
  .wc-block-product-template .wc-block-product .has-overlay-content .wp-block-woocommerce-product-price {
    grid-column: 1;
    grid-row: 2;
  }
  .wc-block-product-template .wc-block-product .wc-block-components-product-price { text-align: left; }
  .wc-block-product-template .sg-card-action { grid-row: 3; }
}
@media (prefers-reduced-motion: reduce) {
  .wc-block-product-template .wc-block-product,
  .wc-block-product-template .wc-block-product .wc-block-components-product-button__button { transition: none; }
}
/* Classic WooCommerce upsells use a different template from product blocks. */
body.single-product section.up-sells.upsells.products {
  display: block;
  clear: both;
  box-sizing: border-box;
  width: var(--wp--style--global--wide-size, 1280px);
  max-width: calc(100% - 40px);
  margin: 48px auto 56px !important;
  padding: 0;
}
body.single-product section.up-sells > h2 {
  margin: 0 0 24px;
  text-align: left;
  font-size: var(--wp--custom--typography--font-size--heading-2, 30px);
}
body.single-product section.up-sells.upsells.products > ul.products {
  display: grid;
  /* Outrank Bagberry's .products:not(.upsells):not(.related).columns-4
     at every breakpoint; match related-products columns-5 sizing. */
  grid-template-columns: repeat(auto-fill, minmax(max(150px, calc(20% - 1em)), 1fr));
  gap: 1.25em;
  margin: 0;
  padding: 0;
}
body.single-product section.up-sells > ul.products::before,
body.single-product section.up-sells > ul.products::after { content: none; }
body.single-product section.up-sells ul.products > li.product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: auto;
  float: none;
  margin: 0;
  padding: 0;
  border: 1px solid #deddd3;
  border-radius: 4px;
  background: #fff;
  box-sizing: border-box;
}
body.single-product section.up-sells ul.products > li.product:hover { border-color: var(--wp--preset--color--accent, #cd9209); }
body.single-product section.up-sells .woocommerce-loop-product__link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px 12px;
  padding: 0 18px;
  color: #171714;
  text-decoration: none;
}
body.single-product section.up-sells .woocommerce-loop-product__link > img {
  grid-column: 1 / -1;
  width: calc(100% + 36px);
  max-width: none;
  margin: 0 -18px;
  aspect-ratio: 1;
  height: auto;
  object-fit: contain;
  border-radius: 3px 3px 0 0;
}
body.single-product section.up-sells .woocommerce-loop-product__title {
  position: static !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  grid-column: 1;
  grid-row: 2;
  text-align: left !important;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 500;
  margin: 0;
  padding: 0;
  overflow-wrap: anywhere;
}
body.single-product section.up-sells li.product .price {
  position: static;
  transform: none;
  grid-column: 2;
  grid-row: 2;
  display: block;
  max-width: none;
  margin: 0;
  padding: 2px 0 0;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
  color: #171714;
  text-align: right;
}
body.single-product section.up-sells li.product .price del,
body.single-product section.up-sells li.product .price ins {
  position: static;
  transform: none;
  margin: 0;
  display: block;
}
body.single-product section.up-sells .star-rating { grid-column: 1 / -1; opacity: 1 !important; visibility: visible !important; }
body.single-product section.up-sells .sg-upsell-action { margin: auto 0 0; padding: 14px 18px 18px; }
body.single-product section.up-sells .sg-card-stock {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 14px;
  color: #66665a;
  font-size: 12px;
  line-height: 1.5;
}
body.single-product section.up-sells .sg-card-stock::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
body.single-product section.up-sells .sg-card-stock--instock { color: #178900; }
body.single-product section.up-sells .sg-card-stock--onbackorder { color: #806014; }
body.single-product section.up-sells li.product .button {
  position: relative !important;
  inset: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1 !important;
  visibility: visible !important;
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid var(--wp--preset--color--accent, #cd9209);
  border-radius: 3px;
  background: var(--wp--preset--color--accent, #cd9209);
  color: #171714;
  font: 500 14px/1.5 var(--wp--preset--font-family--primary-font, sans-serif);
  text-decoration: none;
  text-align: center;
}
body.single-product section.up-sells li.product.outofstock .button { background: #fff; color: #45453b; border-color: #b8b6a7; }
body.single-product section.up-sells li.product .button::before { content: none !important; display: none !important; }
body.single-product section.up-sells li.product .button:hover { background: #eeefe6; border-color: #806014; color: #171714; }
body.single-product section.up-sells a:focus-visible { outline: 2px solid #806014; outline-offset: 3px; }
@media (max-width: 600px) {
  body.single-product section.up-sells .woocommerce-loop-product__link { grid-template-columns: minmax(0, 1fr); padding: 0 14px; gap: 10px; }
  body.single-product section.up-sells .woocommerce-loop-product__link > img { width: calc(100% + 28px); margin: 0 -14px 4px; }
  body.single-product section.up-sells li.product .price { grid-column: 1; grid-row: 3; text-align: left; }
  body.single-product section.up-sells .sg-upsell-action { padding: 14px; }
}
/* Cart cross-sells have flat card children instead of has-overlay-content. */
body.woocommerce-cart [data-collection="woocommerce/product-collection/cross-sells"] .wc-block-product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: start;
  gap: 14px 12px;
}
body.woocommerce-cart [data-collection="woocommerce/product-collection/cross-sells"] .wc-block-product > .wc-block-components-product-image {
  grid-column: 1 / -1;
  grid-row: 1;
  margin-bottom: 4px !important;
}
body.woocommerce-cart [data-collection="woocommerce/product-collection/cross-sells"] .wc-block-product > .wp-block-post-title {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  margin: 0 !important;
  padding: 0 0 0 18px !important;
  font-size: 17px !important;
  line-height: 1.45 !important;
  font-weight: 500;
  text-align: left !important;
  overflow-wrap: anywhere;
  opacity: 1 !important;
  visibility: visible !important;
}
body.woocommerce-cart [data-collection="woocommerce/product-collection/cross-sells"] .wc-block-product > .wp-block-woocommerce-product-price {
  grid-column: 2;
  grid-row: 2;
  margin: 0 !important;
  padding: 2px 18px 0 0;
}
body.woocommerce-cart [data-collection="woocommerce/product-collection/cross-sells"] .wc-block-product > .sg-card-action {
  grid-column: 1 / -1;
  grid-row: 3;
  box-sizing: border-box;
  padding: 0 18px 18px;
}
body.woocommerce-cart [data-collection="woocommerce/product-collection/cross-sells"] .wc-block-product .wc-block-components-product-button__button {
  position: relative !important;
  opacity: 1 !important;
  visibility: visible !important;
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px !important;
  border: 1px solid var(--sg-card-accent) !important;
  border-radius: 3px;
  background: var(--sg-card-accent);
  color: #171714;
  font-family: inherit;
  font-size: 14px !important;
  font-weight: 500;
  line-height: 1.5 !important;
  text-align: center;
  text-decoration: none;
  white-space: normal;
}
body.woocommerce-cart [data-collection="woocommerce/product-collection/cross-sells"] .wc-block-product.outofstock .wc-block-components-product-button__button {
  background: #fff;
  border-color: #b8b6a7 !important;
  color: #45453b;
}
body.woocommerce-cart [data-collection="woocommerce/product-collection/cross-sells"] .wc-block-product .wc-block-components-product-button__button:hover {
  background: #eeefe6;
  border-color: #806014 !important;
  color: #171714;
}
@media (max-width: 600px) {
  body.woocommerce-cart [data-collection="woocommerce/product-collection/cross-sells"] .wc-block-product { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  body.woocommerce-cart [data-collection="woocommerce/product-collection/cross-sells"] .wc-block-product > .wp-block-post-title { padding-inline: 14px !important; }
  body.woocommerce-cart [data-collection="woocommerce/product-collection/cross-sells"] .wc-block-product > .wp-block-woocommerce-product-price { grid-column: 1; grid-row: 3; padding: 0 14px; }
  body.woocommerce-cart [data-collection="woocommerce/product-collection/cross-sells"] .wc-block-product > .sg-card-action { grid-row: 4; padding: 0 14px 14px; }
}
/* Empty cart: legacy Product New block. */
body.woocommerce-cart .wp-block-woocommerce-product-new.wc-block-grid .wc-block-grid__products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(max(150px, calc(20% - 1em)), 1fr));
  gap: 1.25em;
  margin: 0;
  padding: 0;
}
body.woocommerce-cart .wp-block-woocommerce-product-new.wc-block-grid .wc-block-grid__product {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: start;
  gap: 14px 12px;
  width: auto;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: 1px solid #deddd3;
  border-radius: 4px;
  background: #fff;
  text-align: left;
}
body.woocommerce-cart .wp-block-woocommerce-product-new .wc-block-grid__product:hover { border-color: var(--wp--preset--color--accent, #cd9209); }
body.woocommerce-cart .wp-block-woocommerce-product-new .wc-block-grid__product-link { display: contents; color: #171714; text-decoration: none; }
body.woocommerce-cart .wp-block-woocommerce-product-new .wc-block-grid__product-image {
  grid-column: 1 / -1;
  grid-row: 1;
  margin: 0 0 4px !important;
  border-radius: 3px 3px 0 0;
  overflow: hidden;
}
body.woocommerce-cart .wp-block-woocommerce-product-new .wc-block-grid__product-image img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
body.woocommerce-cart .wp-block-woocommerce-product-new .wc-block-grid__product-title {
  grid-column: 1;
  grid-row: 2;
  position: static !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  margin: 0 !important;
  padding: 0 0 0 18px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
  overflow-wrap: anywhere;
}
body.woocommerce-cart .wp-block-woocommerce-product-new .wc-block-grid__product-price {
  grid-column: 2;
  grid-row: 2;
  position: static !important;
  transform: none !important;
  display: block;
  max-width: none;
  margin: 0 !important;
  padding: 2px 18px 0 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: #171714;
  text-align: right;
}
body.woocommerce-cart .wp-block-woocommerce-product-new .wc-block-grid__product-price del,
body.woocommerce-cart .wp-block-woocommerce-product-new .wc-block-grid__product-price ins { position: static; transform: none; margin: 0; display: block; text-decoration: none; }
body.woocommerce-cart .wp-block-woocommerce-product-new .wc-block-grid__product-price del { font-size: 12px; font-weight: 400; color: #6b6b61; text-decoration: line-through; }
body.woocommerce-cart .wp-block-woocommerce-product-new .sg-empty-cart-stock { grid-column: 1 / -1; grid-row: 3; margin: 0; padding: 0 18px; color: #66665a; font-size: 12px; line-height: 1.5; }
body.woocommerce-cart .wp-block-woocommerce-product-new .sg-empty-cart-stock::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 7px; background: currentColor; }
body.woocommerce-cart .wp-block-woocommerce-product-new .sg-empty-cart-stock--instock { color: #178900; }
body.woocommerce-cart .wp-block-woocommerce-product-new .wc-block-grid__product-add-to-cart {
  grid-column: 1 / -1;
  grid-row: 4;
  position: static !important;
  opacity: 1 !important;
  visibility: visible !important;
  margin: 0 !important;
  padding: 0 18px 18px;
}
body.woocommerce-cart .wp-block-woocommerce-product-new .wc-block-grid__product-add-to-cart .wp-block-button__link {
  position: relative !important;
  opacity: 1 !important;
  visibility: visible !important;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 10px 14px !important;
  border: 1px solid var(--wp--preset--color--accent, #cd9209) !important;
  border-radius: 3px;
  background: var(--wp--preset--color--accent, #cd9209);
  color: #171714;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
}
body.woocommerce-cart .wp-block-woocommerce-product-new .sg-empty-cart-stock--outofstock ~ .wc-block-grid__product-add-to-cart .wp-block-button__link { background: #fff; border-color: #b8b6a7 !important; color: #45453b; }
body.woocommerce-cart .wp-block-woocommerce-product-new .wc-block-grid__product-add-to-cart .wp-block-button__link::before { content: none !important; display: none !important; }
body.woocommerce-cart .wp-block-woocommerce-product-new .wc-block-grid__product-add-to-cart .wp-block-button__link:hover { background: #eeefe6; color: #171714; border-color: #806014 !important; }
body.woocommerce-cart .wp-block-woocommerce-product-new a:focus-visible { outline: 2px solid #806014; outline-offset: 3px; }
body.woocommerce-cart .wp-block-woocommerce-product-new .wc-block-grid__product-onsale { position: absolute; top: 16px; left: 16px; right: auto; bottom: auto; z-index: 1; }
@media (max-width: 600px) {
  body.woocommerce-cart .wp-block-woocommerce-product-new.wc-block-grid .wc-block-grid__product { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  body.woocommerce-cart .wp-block-woocommerce-product-new .wc-block-grid__product-title { padding-inline: 14px; }
  body.woocommerce-cart .wp-block-woocommerce-product-new .wc-block-grid__product-price { grid-column: 1; grid-row: 3; padding: 0 14px; text-align: left; }
  body.woocommerce-cart .wp-block-woocommerce-product-new .sg-empty-cart-stock { grid-row: 4; padding-inline: 14px; }
  body.woocommerce-cart .wp-block-woocommerce-product-new .wc-block-grid__product-add-to-cart { grid-row: 5; padding: 0 14px 14px; }
}
/* SAGITTARIUS PRODUCT CARDS END */









/* SAGITTARIUS MOBILE HEADER START */
.wp-block-template-part .wp-block-search {
  width: 60%;
}
/* SAGITTARIUS MOBILE HEADER END */

