@charset "UTF-8";
/*
Theme Name: Noqta

WooCommerce styles override
*/
/**
 * Shop tables
 */
table.shop_table_responsive thead {
  display: none;
}
table.shop_table_responsive tbody th {
  display: none;
}
table.shop_table_responsive tr td {
  display: block;
  text-align: right;
  clear: both;
}
table.shop_table_responsive tr td::before {
  content: attr(data-title) ": ";
  float: left;
}
table.shop_table_responsive tr td.product-remove a {
  text-align: left;
}
table.shop_table_responsive tr td.product-remove::before {
  display: none;
}
table.shop_table_responsive tr td.actions::before, table.shop_table_responsive tr td.download-actions::before {
  display: none;
}
table.shop_table_responsive tr td.download-actions .button {
  display: block;
  text-align: center;
}

@media screen and (min-width: 48em) {
  table.shop_table_responsive thead {
    display: table-header-group;
  }
  table.shop_table_responsive tbody th {
    display: table-cell;
  }
  table.shop_table_responsive tr th,
  table.shop_table_responsive tr td {
    text-align: left;
  }
  table.shop_table_responsive tr td {
    display: table-cell;
  }
  table.shop_table_responsive tr td::before {
    display: none;
  }
}
/**
 * Products
 */
ul.products {
  margin: 0;
  padding: 0;
}
ul.products li.product {
  list-style: none;
  position: relative;
  margin-bottom: 2em;
}
ul.products li.product img {
  display: block;
}
ul.products li.product .button {
  display: block;
}

@media screen and (min-width: 48em) {
  ul.products li.product {
    width: 30.7966666667%;
    float: left;
    margin-right: 3.8%;
  }
  ul.products li.product.first {
    clear: both;
  }
  ul.products li.product.last {
    margin-right: 0;
  }
  ul.products.columns-1 li.product {
    float: none;
    width: 100%;
  }
  ul.products.columns-2 li.product {
    width: 48.1%;
  }
  ul.products.columns-3 li.product {
    width: 30.7966666667%;
  }
  ul.products.columns-4 li.product {
    width: 22.15%;
  }
  ul.products.columns-5 li.product {
    width: 16.96%;
  }
  ul.products.columns-6 li.product {
    width: 13.4933333333%;
  }
}
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments {
  background-color: #ffffff !important;
  clear: both;
  padding: 10px;
  border: 1px solid black;
  border-radius: var(--border-radius);
  margin-bottom: 10px;
}

/**
 * Single product
 */
.single-product .price .amount {
  font-size: 20px;
}
.single-product .price {
  padding: 8px 0;
}
.single-product .woocommerce-variation-availability .stock {
  margin: 10px 0;
}
.single-product div.product {
  position: relative;
}
.single-product div.product .woocommerce-product-gallery {
  position: relative;
  float: left;
}
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
  position: absolute;
  top: 2em;
  right: 1em;
  display: block;
  z-index: 99;
}
.single-product div.product .woocommerce-product-gallery .flex-viewport {
  margin-bottom: 1em;
}
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
  margin: 0;
  padding: 0;
}
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li {
  list-style: none;
  cursor: pointer;
  float: left;
}
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img {
  opacity: 0.5;
}
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
  opacity: 1;
}
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li:hover img {
  opacity: 1;
}
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li {
  width: 48.1%;
}
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li:nth-child(2n) {
  margin-right: 0;
}
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li:nth-child(2n+1) {
  clear: both;
}
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li {
  width: 30.7966666667%;
}
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li:nth-child(3n) {
  margin-right: 0;
}
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li:nth-child(3n+1) {
  clear: both;
}
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li {
  width: 22.15%;
}
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n) {
  margin-right: 0;
}
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n+1) {
  clear: both;
}
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li {
  width: 16.96%;
}
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li:nth-child(5n) {
  margin-right: 0;
}
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li:nth-child(5n+1) {
  clear: both;
}

.stock:empty::before {
  display: none;
}
.stock.in-stock {
  color: #0f834d;
}
.stock.out-of-stock {
  color: #e2401c;
}

/* Hide default WooCommerce notices */
.single-product .woocommerce-notices-wrapper {
  display: none !important;
}

.single-product .woocommerce-message,
.single-product .woocommerce-error,
.single-product .woocommerce-info {
  display: none !important;
}

/* Custom notice styles - positioned above product title */
.custom-notice {
  margin-bottom: 20px;
  padding: 15px 20px;
  border-radius: var(--border-radius);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  animation: slideDown 0.3s ease-out;
}

.custom-notice.success {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.custom-notice.error {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.custom-notice.info {
  background-color: #d1ecf1;
  border: 1px solid #bee5eb;
  color: #0c5460;
}

.custom-notice .notice-icon {
  display: inline-block;
  margin-right: 8px;
  font-weight: bold;
}

.custom-notice .view-cart-btn {
  background-color: rgba(0, 0, 0, 0.1);
  color: inherit;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: var(--border-radius);
  margin-left: 10px;
  font-size: 13px;
  transition: background-color 0.2s;
}

.custom-notice.success .view-cart-btn:hover {
  background-color: rgba(0, 0, 0, 0.2);
}

.custom-notice .close-notice {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: inherit;
  opacity: 0.7;
}

.custom-notice .close-notice:hover {
  opacity: 1;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Fade out animation */
.custom-notice.fade-out {
  animation: fadeOut 0.4s ease-out forwards;
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}
.summary.entry-summary .woocommerce-product-details__short-description {
  display: none;
}

/**
 * Checkout
 */
:root {
  --color__primary: #1B84E4;
  --text-above-primary: red;
  /*--color__primary-light: rgba(27, 131, 228, 0.1568627451);*/
  --color__primary-light: color-mix(in srgb, var(--color__primary) 70%, white 30%);
  --color__button__text: #fff;
  --border-radius: 0;
  /*
  --color__background-body: #fff;
  --color__background-screen: #f1f1f1;
  --color__background-hr: #ccc;
  --color__background-button: #1B84E4;
  --color__background-pre: #eee;
  --color__background-ins: #fff9c0;
  --color__background-input: #f4f6f8;

  --color__text-screen: #21759b;
  --color__text-input: #666;
  --color__text-input-focus: #111;
  --color__link: #000;
  --color__link-visited: #800080;
  --color__link-hover: #1B84E4;
  --color__text-main: #000;
  --color__text-button: #ffffff;

  --color__border-button: #ccc #ccc #bbb;
  --color__border-button-hover: #ccc #bbb #aaa;
  --color__border-button-focus: #aaa #bbb #bbb;
  --color__border-input: #ccc;
  --color__border-abbr: #666;
  */
}

body.woocommerce-checkout {
  /* Custom checkout header */
  /* Floating labels for checkout fields */
  /* Show labels and position them as placeholders */
  /* Show placeholders by default; we'll hide them only when focused/filled */
  /* Float label when focused or when the field has a value */
  /* Selects don't support placeholder, keep label floated */
  /* Hide placeholder text when focused or when the field has content */
  /* Align placeholder text to the right but keep user input left-aligned */
  /* Ensure placeholder glyphs align right in browsers that honor ::placeholder alignment */
  /* Inline field errors */
  /* Hide the Shipping | الشحن label while keeping methods visible */
  /* If raw text node appears before the shipping methods list, hide only that text */
  /* Fallback without :has() — hide stray text in shipping totals cell */
  /* Minimal layout for checkout two columns */
  /* Mobile Order Collapse Styles */
  /* Smooth animation for the collapse content */
  /* Hide toggles in mobile collapse context */
}
@media screen and (min-width: 768px) {
  body.woocommerce-checkout .col2-set .form-row-first {
    float: left;
    margin-right: 3.8%;
  }
  body.woocommerce-checkout .col2-set .form-row-last {
    float: right;
    margin-right: 0;
  }
  body.woocommerce-checkout .col2-set .form-row-first,
  body.woocommerce-checkout .col2-set .form-row-last {
    width: 48.1%;
  }
}
body.woocommerce-checkout p,
body.woocommerce-checkout h1,
body.woocommerce-checkout h2,
body.woocommerce-checkout h3,
body.woocommerce-checkout h4,
body.woocommerce-checkout h5,
body.woocommerce-checkout h6,
body.woocommerce-checkout a,
body.woocommerce-checkout span,
body.woocommerce-checkout bdi,
body.woocommerce-checkout select,
body.woocommerce-checkout option,
body.woocommerce-checkout input,
body.woocommerce-checkout textarea,
body.woocommerce-checkout th,
body.woocommerce-checkout td {
  font-family: "IBM Plex Sans Arabic" !important;
}
body.woocommerce-checkout .product-name {
  font-size: 14px !important;
}
body.woocommerce-checkout .variation {
  font-size: 14px !important;
  display: flex;
  gap: 4px;
  margin-top: 1px;
  flex-wrap: wrap;
}
body.woocommerce-checkout .variation dt {
  font-weight: 500 !important;
}
body.woocommerce-checkout .page-header,
body.woocommerce-checkout #page-title-bar,
body.woocommerce-checkout #page-footer-wrapper,
body.woocommerce-checkout .woocommerce-breadcrumb,
body.woocommerce-checkout .ecommerce-header,
body.woocommerce-checkout .footer {
  display: none !important;
}
body.woocommerce-checkout #page-content,
body.woocommerce-checkout .woocommerce {
  margin-bottom: 0px !important;
}
body.woocommerce-checkout .woocommerce form .form-row {
  width: 100% !important;
  margin-bottom: 10px !important;
}
body.woocommerce-checkout input,
body.woocommerce-checkout select {
  font-size: 14px !important;
  line-height: 2.1 !important;
  min-height: unset !important;
}
body.woocommerce-checkout .woocommerce-billing-fields input,
body.woocommerce-checkout select {
  width: 100% !important;
}
body.woocommerce-checkout .select2-container.select2-container--default .select2-selection--single {
  border-radius: 10px !important;
}
body.woocommerce-checkout .select2-container.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 2.1 !important;
  min-height: unset !important;
  border-radius: 10px !important;
}
body.woocommerce-checkout .select2-container.select2-container--default .select2-selection--single {
  height: 39.5px !important;
}
body.woocommerce-checkout input[type=email],
body.woocommerce-checkout input[type=number],
body.woocommerce-checkout input[type=password],
body.woocommerce-checkout input[type=search],
body.woocommerce-checkout input[type=tel],
body.woocommerce-checkout input[type=text],
body.woocommerce-checkout input[type=url],
body.woocommerce-checkout input[type=date],
body.woocommerce-checkout textarea {
  border-radius: 10px !important;
  padding-left: 13px;
  padding-right: 13px;
}
body.woocommerce-checkout textarea {
  padding: 10px !important;
}
body.woocommerce-checkout .woocommerce-address-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -10px;
  margin-left: -10px;
}
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
  gap: 11px !important;
  width: 100% !important;
  margin: 0 auto !important;
}
body.woocommerce-checkout .woocommerce form .form-row label {
  display: none !important;
}
body.woocommerce-checkout .custom-checkout-header {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 10px 20px !important;
  background: #fff !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}
body.woocommerce-checkout .woocommerce form .form-row {
  position: relative !important;
}
body.woocommerce-checkout .woocommerce form .form-row label {
  position: absolute !important;
  top: 50% !important;
  inset-inline-start: 12px !important;
  transform: translateY(-50%) !important;
  line-height: 1 !important;
  color: #8a8a8a !important;
  background: #fff !important;
  padding: 2px !important;
  margin: 3px 0px !important;
  pointer-events: none !important;
  transition: top 0.15s ease, transform 0.15s ease, font-size 0.15s ease, color 0.15s ease !important;
  z-index: 1 !important;
}
body.woocommerce-checkout .woocommerce form .form-row:has(input:focus) label,
body.woocommerce-checkout .woocommerce form .form-row:has(textarea:focus) label,
body.woocommerce-checkout .woocommerce form .form-row:has(input:not(:placeholder-shown)) label,
body.woocommerce-checkout .woocommerce form .form-row:has(textarea:not(:placeholder-shown)) label {
  top: -15px !important;
  transform: none !important;
  display: block !important;
  font-size: 12px !important;
  color: #111 !important;
}
body.woocommerce-checkout .woocommerce form .form-row:has(select) label {
  top: -15px !important;
  transform: none !important;
  display: block !important;
  font-size: 12px !important;
  color: #111 !important;
}
body.woocommerce-checkout .woocommerce form .form-row:has(input:focus) input::placeholder,
body.woocommerce-checkout .woocommerce form .form-row:has(textarea:focus) textarea::placeholder,
body.woocommerce-checkout .woocommerce form .form-row:has(input:not(:placeholder-shown)) input::placeholder,
body.woocommerce-checkout .woocommerce form .form-row:has(textarea:not(:placeholder-shown)) textarea::placeholder {
  color: transparent !important;
}
body.woocommerce-checkout .woocommerce form .form-row input:placeholder-shown,
body.woocommerce-checkout .woocommerce form .form-row textarea:placeholder-shown {
  text-align: right !important;
}
body.woocommerce-checkout .woocommerce form .form-row input::placeholder,
body.woocommerce-checkout .woocommerce form .form-row textarea::placeholder {
  text-align: right !important;
}
body.woocommerce-checkout .woocommerce form .form-row .form-error {
  color: #d63638 !important;
  font-size: 12px !important;
  margin-top: 6px !important;
}
body.woocommerce-checkout .custom-checkout-header .checkout-back-to-cart {
  justify-self: start !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
  color: inherit !important;
  font-weight: 500 !important;
  padding-inline: 8px !important;
  padding-block: 6px !important;
}
body.woocommerce-checkout .custom-checkout-header .checkout-back-to-cart .back-icon {
  display: inline-block !important;
  font-size: 18px !important;
  line-height: 1 !important;
  fill: var(--color__primary) !important;
  color: var(--color__primary) !important;
}
body.woocommerce-checkout .custom-checkout-header .checkout-header-logo {
  justify-self: center !important;
}
body.woocommerce-checkout .custom-checkout-header .checkout-header-logo img {
  max-height: calc(var(--minimog-branding-size) - 25px) !important;
  width: auto !important;
}
body.woocommerce-checkout .custom-checkout-header .site-title {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: inherit !important;
  text-decoration: none !important;
}
body.woocommerce-checkout .custom-checkout-header .checkout-header-spacer {
  justify-self: end !important;
}
@media (max-width: 480px) {
  body.woocommerce-checkout {
    /* Keep the back button physically on the left on small screens */
  }
  body.woocommerce-checkout .custom-checkout-header {
    padding: 10px 16px !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    position: relative !important;
  }
  body.woocommerce-checkout .custom-checkout-header .checkout-header-logo {
    justify-self: center !important;
  }
  body.woocommerce-checkout .custom-checkout-header .checkout-header-logo img {
    max-height: calc(var(--minimog-mobile-branding-size) - 20px) !important;
  }
  body.woocommerce-checkout .custom-checkout-header .checkout-back-to-cart {
    position: absolute !important;
    inset-inline-start: 12px !important;
    inset-inline-end: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    padding: 8px !important; /* larger tap target */
  }
  body.woocommerce-checkout .custom-checkout-header .checkout-back-to-cart .back-text {
    display: none !important; /* show only the arrow on very small screens */
  }
  body.woocommerce-checkout .custom-checkout-header .checkout-back-to-cart .back-icon {
    font-size: 20px !important;
  }
}
body.woocommerce-checkout .woocommerce-shipping-totals.shipping th,
body.woocommerce-checkout .woocommerce-shipping-totals.shipping td[data-title]::before {
  display: none !important;
  content: none !important;
}
body.woocommerce-checkout :is(div, td, section, p):has(> ul#shipping_method) {
  font-size: 21px !important;
  font-weight: 500 !important;
  padding-bottom: 12px !important;
}
body.woocommerce-checkout :is(div, td, section, p):has(> ul#shipping_method) > ul#shipping_method {
  font-size: 1rem !important;
}
body.woocommerce-checkout .woocommerce-shipping-totals.shipping td {
  font-size: 0 !important;
}
body.woocommerce-checkout .woocommerce-shipping-totals.shipping td ul#shipping_method,
body.woocommerce-checkout .woocommerce-shipping-totals.shipping td ul#shipping_method * {
  font-size: 14px !important;
}
body.woocommerce-checkout .mobile_only {
  display: none !important;
}
body.woocommerce-checkout .desktop_only {
  display: inherit !important;
}
@media (max-width: 768px) {
  body.woocommerce-checkout .mobile_only {
    display: inherit !important;
  }
  body.woocommerce-checkout .desktop_only {
    display: none !important;
  }
}
body.woocommerce-checkout .cart-totals-table tfoot td .amount,
body.woocommerce-checkout .cart-totals-value .amount,
body.woocommerce-checkout .wc-checkout-review-order-table tfoot td .amount {
  font-size: 15px !important;
  font-weight: 500 !important;
}
body.woocommerce-checkout .woocommerce-Price-amount.amount .woocommerce-Price-currencySymbol {
  order: -1 !important; /* put it before the number */
  margin-inline-end: 0.25em !important; /* add space after the symbol (RTL/LTR safe) */
}
body.woocommerce-checkout tr.shipping-total,
body.woocommerce-checkout tr.cart-subtotal {
  padding: 2px 0 !important;
  min-height: 32px !important;
  border-top: 0px !important;
}
body.woocommerce-checkout tr.cart-footer-actions-row {
  padding: 2px 0 !important;
  min-height: unset !important;
  border-top: 0px !important;
  text-align: start !important;
}
body.woocommerce-checkout .cart-footer-actions > a {
  flex-flow: row !important;
  gap: 10px !important;
  justify-content: center !important;
  padding: 0px !important;
  padding-top: 5px !important;
  margin-bottom: 11px !important;
}
body.woocommerce-checkout .cart-footer-actions {
  width: 90% !important;
}
body.woocommerce-checkout .cart-totals-row.cart-subtotal {
  border-top: 1px solid #eee !important;
}
body.woocommerce-checkout .wc-checkout-review-order-table tbody {
  border-bottom: 1px solid #eee !important;
}
body.woocommerce-checkout .wc_payment_methods .payment-title-wrap {
  border-radius: 10px !important;
  line-height: 2.1 !important;
  min-height: unset !important;
  height: 40px !important;
}
body.woocommerce-checkout .row.row-checkout-wrap {
  display: grid !important;
  --x-shell-main-inline-size: var(--config-main-inline-size, 58rem) !important;
  --x-shell-order-summary-inline-size: var(
    --config-order-summary-inline-size,
    48rem
  ) !important;
  --x-shell-section-columns-offset: calc(
    calc(
        var(--x-shell-main-inline-size) - var(
            --x-shell-order-summary-inline-size
          )
      ) /
      2
  ) !important;
  grid-template-columns: minmax(min-content, calc(50% + var(--x-shell-section-columns-offset))) 1fr !important;
  gap: 24px !important;
  align-items: stretch !important;
  min-height: 100vh !important;
}
body.woocommerce-checkout .mobile-order-collapse .collapse-header {
  border: 1px solid #e1e1e1 !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  overflow: hidden !important;
}
body.woocommerce-checkout .mobile-order-collapse .collapse {
  max-height: 0 !important;
  overflow: hidden !important;
  transition: max-height 0.4s ease-in-out, opacity 0.3s ease-in-out, padding 0.3s ease-in-out !important;
  opacity: 0 !important;
  padding: 0 15px !important;
}
body.woocommerce-checkout .mobile-order-collapse .collapse.show {
  max-height: 2000px !important; /* Large enough to accommodate content */
  opacity: 1 !important;
  padding: 15px !important;
}
body.woocommerce-checkout .mobile-order-collapse .collapse-icon {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  transform-origin: center !important;
}
body.woocommerce-checkout .mobile-order-collapse .woocommerce-checkout-review-order {
  animation: fadeInUp 0.4s ease-out !important;
}
body.woocommerce-checkout .mobile-collapse-context .order-summary-toggle,
body.woocommerce-checkout .mobile-collapse-context #order_review_heading_span {
  display: none !important;
}

@keyframes fadeInUp {
  from {
    opacity: 0 !important;
    transform: translateY(10px) !important;
  }
  to {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
}
body.woocommerce-checkout {
  /* mobile .row.row-checkout-wrap */
  /* =========================
  	  Order summary: desktop scroll and mobile collapse
  	  ========================= */
  /* Heading layout to place toggle button inline */
  /* Minimal toggle button */
  /* Hide only the items list when collapsed (mobile) with smooth animation */
  /* Mobile-specific optimizations */
  /* Desktop: make product rows scroll after 4 */
  /* Mobile default state: hide summary if more than 1 item; JS will manage [hidden] attribute. */
  /* =========================
  	  Quantity badge on product thumbnail
  	  ========================= */
  /* shipping methods style */
}
@media (max-width: 768px) {
  body.woocommerce-checkout .row.row-checkout-wrap {
    display: block !important;
  }
}
body.woocommerce-checkout .checkout-col-main {
  min-width: 0 !important;
  display: flex !important;
  justify-items: flex-start !important;
  justify-content: end !important;
}
body.woocommerce-checkout .checkout-col-main .inner {
  padding: 30px !important;
  max-width: 580px !important;
  min-width: 450px !important;
  width: 100% !important;
}
@media (max-width: 768px) {
  body.woocommerce-checkout .checkout-col-main .inner {
    padding: 18px 20px 33px 20px !important;
    min-width: 370px !important;
    width: 100% !important;
  }
}
body.woocommerce-checkout .checkout-col-aside {
  position: relative !important;
  background: #f5f5f5 !important;
  align-self: stretch !important;
  position: -webkit-sticky !important;
  position: sticky !important;
}
body.woocommerce-checkout .checkout-col-aside .inner {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 16px !important;
  padding: 30px !important;
  border-radius: 10px !important;
  max-width: 480px !important;
  max-height: 93vh !important;
}
@media (max-width: 992px) {
  body.woocommerce-checkout .row.row-checkout-wrap {
    display: block !important;
  }
  body.woocommerce-checkout .checkout-col-aside .inner {
    position: static !important;
    margin-top: 16px !important;
  }
}
body.woocommerce-checkout .page-content > .container {
  max-width: unset !important;
}
body.woocommerce-checkout .woocommerce-order-details #order_review_heading_span {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
}
body.woocommerce-checkout .order-summary-toggle {
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 0 !important;
  padding: 2px !important;
  background: transparent !important;
  cursor: pointer !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  font-size: 14px !important;
}
body.woocommerce-checkout .order-summary-toggle .toggle-icon {
  display: inline-block !important;
  transition: transform 0.2s ease !important;
}
body.woocommerce-checkout .order-summary-toggle[aria-expanded=true] .toggle-icon {
  transform: rotate(180deg) !important;
}
body.woocommerce-checkout .wc-checkout-review-order-table tbody {
  transition: max-height 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.05s, transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  overflow: hidden !important;
  will-change: max-height, opacity, transform !important;
  transform: translateZ(0) !important; /* Force hardware acceleration */
  -webkit-transform: translateZ(0) !important;
}
body.woocommerce-checkout .wc-checkout-review-order-table tbody[hidden] {
  max-height: 0 !important;
  opacity: 0 !important;
  transform: translateY(-10px) !important;
  pointer-events: none !important;
}
body.woocommerce-checkout .wc-checkout-review-order-table tbody:not([hidden]) {
  max-height: 390px !important; /* More reasonable height for mobile */
  opacity: 1 !important;
  transform: translateY(0) !important;
}
@media (max-width: 768px) {
  body.woocommerce-checkout .wc-checkout-review-order-table tbody {
    transition: max-height 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.03s, transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    transform: translateZ(0) !important;
    -webkit-transform: translateZ(0) !important;
    -webkit-backface-visibility: hidden !important;
    backface-visibility: hidden !important;
    -webkit-perspective: 1000 !important;
    perspective: 1000 !important;
  }
  body.woocommerce-checkout .wc-checkout-review-order-table tbody:not([hidden]) {
    max-height: 500px !important; /* Smaller for mobile screens */
  }
  body.woocommerce-checkout .wc-checkout-review-order-table tbody[hidden] {
    transform: translateY(-5px) !important; /* Smaller movement on mobile */
  }
}
@media (min-width: 769px) {
  body.woocommerce-checkout {
    /* Hide any toggle UI on non-mobile */
  }
  body.woocommerce-checkout .order-summary-toggle {
    display: none !important;
  }
  body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-summary-body .wc-checkout-review-order-table {
    width: 100% !important;
  }
  body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-summary-body .wc-checkout-review-order-table tbody {
    display: block !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
  }
  body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-summary-body .wc-checkout-review-order-table tfoot,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-summary-body .wc-checkout-review-order-table tbody tr,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-summary-body .wc-checkout-review-order-table tfoot tr {
    display: table !important;
    width: 100% !important;
    table-layout: fixed !important;
  }
}
@media (max-width: 768px) {
  body.woocommerce-checkout {
    /* Make h3 obviously clickable on mobile without extra visuals */
  }
  body.woocommerce-checkout .woocommerce-checkout-review-order-table[data-items-count="1"] .order-summary-toggle {
    display: none !important;
  }
  body.woocommerce-checkout .woocommerce-order-details .checkout-order-review-heading {
    cursor: pointer !important;
  }
}
body.woocommerce-checkout .wc-checkout-review-order-table .product-thumbnail {
  position: relative !important;
  width: 56px !important;
  height: 56px !important;
  flex: 0 0 56px !important;
}
body.woocommerce-checkout .wc-checkout-review-order-table .product-info .product-wrapper {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
body.woocommerce-checkout .wc-checkout-review-order-table .product-info .product-thumbnail img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 6px !important;
}
body.woocommerce-checkout .wc-checkout-review-order-table .product-info .product-caption {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}
body.woocommerce-checkout .wc-checkout-review-order-table .product-info .product-name {
  margin: 0 !important;
  line-height: 1.4 !important;
}
body.woocommerce-checkout .wc-checkout-review-order-table .product-thumbnail .quantity-badge {
  position: absolute !important;
  top: -7px !important;
  inset-inline-end: -7px !important;
  min-width: 20px !important;
  height: 20px !important;
  padding: 0 6px !important;
  border-radius: 999px !important;
  background: #111 !important;
  color: #fff !important;
  font-size: 12px !important;
  line-height: 20px !important;
  text-align: center !important;
  pointer-events: none !important;
  z-index: 2 !important;
}
body.woocommerce-checkout .wc-checkout-review-order-table tbody {
  min-height: 63px !important;
}
body.woocommerce-checkout .wc-checkout-review-order-table tbody[hidden] {
  min-height: 0 !important;
}
body.woocommerce-checkout .place-order button,
body.woocommerce-checkout .place-order {
  margin: 0 0 !important;
}
@media (min-width: 1200px) {
  body.woocommerce-checkout .place-order {
    padding-top: 15px !important;
  }
}
body.woocommerce-checkout .woocommerce h3:not(.product-name) {
  font-size: 21px !important;
}
@media (max-width: 768px) {
  body.woocommerce-checkout .woocommerce h3:not(.product-name) {
    font-size: 18px !important;
  }
}
body.woocommerce-checkout .spacer {
  height: 1.4rem !important;
}
body.woocommerce-checkout .woocommerce-billing-fields h3 {
  margin-bottom: 25px !important;
  margin-top: 0px !important;
}
body.woocommerce-checkout .checkout-payment-info-heading {
  margin-top: 10px !important;
  margin-bottom: 12px !important;
  padding-top: 0px !important;
}
@media (max-width: 768px) {
  body.woocommerce-checkout .checkout-payment-info-heading {
    margin-top: 7px !important;
    margin-bottom: 12px !important;
    padding-top: 0px !important;
  }
}
@media (min-width: 769px) {
  body.woocommerce-checkout #order_review_heading_span {
    display: none !important;
  }
}
body.woocommerce-checkout #order_review_heading_span {
  border-bottom: 1px solid #eee !important;
  margin-bottom: 0px !important;
  margin-top: 18px !important;
  font-weight: 500 !important;
  padding-bottom: 8px !important;
}
body.woocommerce-checkout .wc-checkout-review-order-table th {
  font-size: 14px !important;
  text-align: start !important;
}
body.woocommerce-checkout .order-total th {
  font-size: 19px !important;
  font-weight: 600 !important;
}
body.woocommerce-checkout .cart-footer-actions > a span {
  line-height: unset !important;
  font-weight: normal !important;
}
body.woocommerce-checkout .order-summary-toggle {
  color: var(--minimog-color-primary) !important;
}
body.woocommerce-checkout .toggle-icon {
  color: var(--minimog-color-primary) !important;
  fill: var(--minimog-color-primary) !important;
}
body.woocommerce-checkout .page-content {
  background: #fff !important;
}
@media (max-width: 768px) {
  body.woocommerce-checkout .page-main-content,
  body.woocommerce-checkout .page-sidebar {
    padding: 0px !important;
  }
}
body.woocommerce-checkout .colpase-order-total-display .woocommerce-Price-amount {
  font-weight: bold !important;
  font-size: 19px !important;
}
body.woocommerce-checkout .cart_item td {
  padding: 4px 0px !important;
}
body.woocommerce-checkout .coupon-input-row td {
  padding: 8px 0px !important;
}
body.woocommerce-checkout .coupon-input-row td button {
  border-radius: 8px;
  border: none;
}
body.woocommerce-checkout #billing_country_field {
  display: none !important;
}
body.woocommerce-checkout .place-order button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border: none;
  outline: none;
  border-radius: 8px;
  flex-grow: 1;
  font-weight: bold;
  width: 100%;
}
body.woocommerce-checkout .attachment-woocommerce_thumbnail {
  aspect-ratio: 1/1 !important;
  border-radius: 6px !important;
  background: #ededed !important;
  border: 1px solid #d6d6d6 !important;
}
body.woocommerce-checkout .branding {
  width: 70px;
}
body.woocommerce-checkout .woocommerce-shipping-totals {
  display: grid !important;
}
body.woocommerce-checkout .woocommerce-shipping-totals .cart-totals-label {
  margin-bottom: 10px;
}
body.woocommerce-checkout .cart-shipping .cart-totals-value {
  text-align: left;
}

html[lang=ar] body.woocommerce-checkout .cart-shipping .cart-totals-value,
html[lang=he-IL] body.woocommerce-checkout .cart-shipping .cart-totals-value {
  text-align: right;
}

body.woocommerce-checkout {
  /* Payment method title block */
}
body.woocommerce-checkout .woocommerce-shipping-methods li {
  padding: 5px;
  border: 1px solid;
  margin-bottom: 10px !important;
  border-radius: 10px;
}
body.woocommerce-checkout .woocommerce-shipping-methods li:has(input[type=radio]:checked) {
  background-color: var(--minimog-color-box-white-border) !important;
}
body.woocommerce-checkout .woocommerce-shipping-methods li {
  display: flex;
}
body.woocommerce-checkout .woocommerce-shipping-methods li label {
  display: inline-block;
  width: 100%;
}
body.woocommerce-checkout .woocommerce-shipping-methods li input,
body.woocommerce-checkout .woocommerce-shipping-methods li input {
  margin-right: 10px;
  margin-left: 10px;
}
body.woocommerce-checkout .cart-collaterals {
  justify-content: center;
}
body.woocommerce-checkout .woocommerce-additional-fields {
  margin-top: 8px !important;
}
body.woocommerce-checkout .woocommerce-additional-fields h3 {
  display: none !important;
}
body.woocommerce-checkout .payment-title-wrap {
  position: relative;
  display: flex;
  align-items: center;
  padding: 5px 10px;
  background: none;
  border: 1px solid #ccc;
  border-radius: 0;
  min-height: 45px;
}
body.woocommerce-checkout .payment-title-wrap > .input-radio {
  flex-shrink: 0;
}
body.woocommerce-checkout .payment-title-wrap > .input-radio:checked:before {
  border-color: #111;
}
body.woocommerce-checkout .payment_title {
  flex-grow: 1;
  display: flex;
  align-items: center;
  cursor: pointer;
}
body.woocommerce-checkout .payment_title:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
body.woocommerce-checkout .payment-title-name {
  font-size: 16px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: #000;
  cursor: pointer;
  user-select: none;
  flex-grow: 1;
}
body.woocommerce-checkout .payment-title-icon {
  flex-shrink: 0;
  font-size: 30px;
  color: #ccc;
  order: 4;
  max-width: 40%;
  margin: 0 0 0 5px;
}
body.woocommerce-checkout .payment-title-icon svg {
  display: block;
  width: auto;
  height: 1em;
  fill: currentColor;
}
body.woocommerce-checkout .payment-title-icon > img {
  max-height: 40px;
}
body.woocommerce-checkout .payment-selected .payment-title-wrap {
  color: #111;
  background: #f1f1f1;
  border-color: #111;
}
body.woocommerce-checkout .payment-selected .payment_title,
body.woocommerce-checkout .payment_title:hover {
  color: #111;
}
body.woocommerce-checkout .payment-selected .payment_title .payment-title-name,
body.woocommerce-checkout .payment-selected .payment_title .payment-title-icon,
body.woocommerce-checkout .payment_title:hover .payment-title-name,
body.woocommerce-checkout .payment_title:hover .payment-title-icon {
  color: inherit;
}
body.woocommerce-checkout .mobile-order-collapse #order_review_heading_span {
  display: none !important;
}
body.woocommerce-checkout .cart-totals-value {
  text-align: end !important;
}

/**
 * General WooCommerce components
 */
/**
 * Header cart
 */
.site-header-cart {
  position: relative;
  margin: 0;
  padding: 0;
}
.site-header-cart .cart-contents {
  text-decoration: none;
}
.site-header-cart .widget_shopping_cart {
  display: none;
}
.site-header-cart .product_list_widget {
  margin: 0;
  padding: 0;
}

/**
 * Star rating
 */
.star-rating {
  overflow: hidden;
  position: relative;
  height: 1.618em;
  line-height: 1.618;
  width: 5.3em;
  font-family: star;
  font-weight: 400;
}
.star-rating::before {
  content: "SSSSS";
  opacity: 0.25;
  float: left;
  top: 0;
  left: 0;
  position: absolute;
}
.star-rating span {
  overflow: hidden;
  float: left;
  top: 0;
  left: 0;
  position: absolute;
  padding-top: 1.5em;
}
.star-rating span::before {
  content: "SSSSS";
  top: 0;
  position: absolute;
  left: 0;
  color: #000;
}

p.stars a {
  position: relative;
  height: 1em;
  width: 1em;
  text-indent: -999em;
  display: inline-block;
  text-decoration: none;
  margin-right: 1px;
  font-weight: 400;
}
p.stars a::before {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 1em;
  height: 1em;
  line-height: 1;
  font-family: star;
  content: "S";
  color: #000;
  text-indent: 0;
  opacity: 0.25;
}
p.stars a:hover ~ a::before {
  content: "S";
  color: #000;
  opacity: 0.25;
}
p.stars:hover a::before {
  content: "S";
  color: #000;
  opacity: 1;
}
p.stars.selected a.active::before {
  content: "S";
  color: #000;
  opacity: 1;
}
p.stars.selected a.active ~ a::before {
  content: "S";
  color: #000;
  opacity: 0.25;
}
p.stars.selected a:not(.active)::before {
  content: "S";
  color: #000;
  opacity: 1;
}

/**
 * Tabs
 */
.woocommerce-tabs ul.tabs {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}
.woocommerce-tabs ul.tabs li {
  display: block;
  margin: 0;
  position: relative;
}
.woocommerce-tabs ul.tabs li a {
  padding: 1em 0;
  display: block;
}
.woocommerce-tabs .panel h2:first-of-type {
  margin-bottom: 1em;
}

/**
 * Password strength meter
 */
.woocommerce-password-strength {
  text-align: right;
}
.woocommerce-password-strength.strong {
  color: #0f834d;
}
.woocommerce-password-strength.short {
  color: #e2401c;
}
.woocommerce-password-strength.bad {
  color: #e2401c;
}
.woocommerce-password-strength.good {
  color: #3d9cd2;
}

/**
 * Forms
 */
.form-row.woocommerce-validated input.input-text {
  box-shadow: inset 2px 0 0 #0f834d;
}
.form-row.woocommerce-invalid input.input-text {
  box-shadow: inset 2px 0 0 #e2401c;
}

.required {
  color: #f00;
}

/**
 * Notices
 */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
  background-color: #0f834d;
  clear: both;
}

.woocommerce-info,
.woocommerce-noreviews,
p.no-comments {
  background-color: #3d9cd2;
}

.woocommerce-error {
  background-color: #e2401c;
}

.demo_store {
  position: fixed;
  left: 0;
  bottom: 0;
  right: 0;
  margin: 0;
  padding: 1em;
  background-color: #3d9cd2;
  z-index: 9999;
}

@media screen and (min-width: 48em) {
  /**
   * Header cart
   */
  .site-header-cart .widget_shopping_cart {
    position: absolute;
    top: 100%;
    width: 100%;
    z-index: 999999;
    left: -999em;
    display: block;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  }
  .site-header-cart:hover .widget_shopping_cart, .site-header-cart.focus .widget_shopping_cart {
    left: 0;
    display: block;
  }
}
/**
 * WooCommerce widgets
 */
/**
 * WooCommerce Price Filter
 */
.widget_price_filter .price_slider {
  margin-bottom: 1.5em;
}
.widget_price_filter .price_slider_amount {
  text-align: right;
  line-height: 2.4;
}
.widget_price_filter .price_slider_amount .button {
  float: left;
}
.widget_price_filter .ui-slider {
  position: relative;
  text-align: left;
}
.widget_price_filter .ui-slider .ui-slider-handle {
  position: absolute;
  z-index: 2;
  width: 1em;
  height: 1em;
  cursor: ew-resize;
  outline: none;
  background: #000;
  box-sizing: border-box;
  margin-top: -0.25em;
  opacity: 1;
}
.widget_price_filter .ui-slider .ui-slider-handle:last-child {
  margin-left: -1em;
}
.widget_price_filter .ui-slider .ui-slider-handle:hover, .widget_price_filter .ui-slider .ui-slider-handle.ui-state-active {
  box-shadow: 0 0 0 0.25em rgba(0, 0, 0, 0.1);
}
.widget_price_filter .ui-slider .ui-slider-range {
  position: absolute;
  z-index: 1;
  display: block;
  border: 0;
  background: #000;
}
.widget_price_filter .price_slider_wrapper .ui-widget-content {
  background: rgba(0, 0, 0, 0.1);
}
.widget_price_filter .ui-slider-horizontal {
  height: 0.5em;
}
.widget_price_filter .ui-slider-horizontal .ui-slider-range {
  height: 100%;
}

/**
 * WooCommerce breadcumbs
 */
.woocommerce-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: start;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 16px;
  padding-bottom: 32px;
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 16px;
  padding-left: 16px;
  box-sizing: border-box;
}
.woocommerce-breadcrumb a {
  color: #939393;
}
.woocommerce-breadcrumb svg {
  color: #939393;
}
@media (max-width: 992px) {
  .woocommerce-breadcrumb {
    max-width: 960px;
  }
}
@media (max-width: 768px) {
  .woocommerce-breadcrumb {
    max-width: 720px;
  }
}
@media (max-width: 576px) {
  .woocommerce-breadcrumb {
    max-width: 100%;
  }
}

/**
 * WooCommerce product gallery
 */
/*swiper*/
.woocommerce-product-gallery__wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gallery-top {
  border-radius: var(--border-radius);
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1;
}

.gallery-thumbs {
  width: 100%;
}

.gallery-thumbs img, .swiper-slide img {
  border-radius: var(--border-radius);
  cursor: pointer;
  width: 100%;
}

.gallery-top .swiper-wrapper,
.woocommerce-product-gallery__image {
  display: flex;
  background: #fafafa;
}

.woocommerce-product-gallery__image img {
  object-fit: contain !important;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 24px !important;
  color: black;
}

.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image img {
  width: 100%;
  height: 100%;
}

/*cart*/
.woocommerce-variation-add-to-cart {
  display: flex;
  gap: 20px;
}

form.variations_form {
  display: flex;
  flex-direction: column;
}

/*qunatity*/
input.qty::-webkit-outer-spin-button,
input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input.qty[type=number] {
  -moz-appearance: textfield;
}

input.qty {
  -webkit-appearance: none;
  -moz-appearance: textfield;
  appearance: none;
}

.quantity button {
  padding: 10px !important;
}

.quantity input {
  max-width: 40px !important;
}

.single-product div.product .entry-summary form.cart .quantity {
  display: flex;
  background-color: #eee;
  border-radius: var(--border-radius);
  width: 120px !important;
}

.qty-button {
  font-weight: normal !important;
}

/*variables*/
/*
.variations select {
	display: none
}

.variation-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.variation-button {
    padding: 8px 14px;
    border: 1px solid #ccc;
    background-color: var(--color__primary);
    cursor: pointer;
}

.variation-button.selected {
    background-color: #333;
    color: #fff;
}


.woocommerce-breadcrumb {
    padding-bottom: 0 !important; 
}

.single-product div.product {
    margin: 0 auto !important;
}
*/
/*price*/
/* Show regular price range initially */
.product .price {
  display: block;
}

/* Hide variation price on load */
.woocommerce-variation-price {
  display: none;
}

/*desc*/
.single-product div.product .woocommerce-tabs.wc-tabs-wrapper ul li a {
  font-size: 14px;
  padding: 12px;
}

@media (max-width: 768px) {
  .single-product div.product .woocommerce-tabs.wc-tabs-wrapper ul li a {
    padding: 7px;
  }
}
.wc-tabs li a::after {
  /*display: none !important*/
}

/*fix spacing between product image and breadcrumb*/
.single-product div.product {
  margin: 0 auto !important;
  padding: 20px;
}

.woocommerce-breadcrumb {
  padding-bottom: 0 !important;
}

.single-product div.product .entry-summary form.cart .quantity {
  width: fit-content;
}

.woocommerce-Tabs-panel h2:nth-child(1) {
  display: none;
}

.product .related {
  margin-top: 50px;
}

/*player button*/
.play-button-overlay img {
  filter: contrast(2);
}

.video-thumb {
  position: relative;
  overflow: hidden;
}

.video-thumb .video-icon-overlay {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 24px;
  height: 24px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.6);
  padding: 4px;
  border-radius: var(--border-radius) 0 4px 0;
}

.video-thumb .video-icon-overlay svg {
  width: 100%;
  height: 100%;
  fill: #ffffff;
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.6));
}

/**
 * WooCommerce Free Shipping
 */
.free-shipping-wrapper {
  width: 100%;
  background: #f3f3f3;
  padding: 20px 10px;
  text-align: center;
}

.free-shipping-wrapper p {
  font-size: 12px;
}

.free-shipping-progress {
  width: 100%;
  background: #ddd;
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 12px;
  margin-top: 8px;
  position: relative;
}

.free-shipping-progress-fill {
  background: var(--color__primary);
  height: 100%;
  width: 0%;
  transition: width 0.4s ease;
}

/**
 * WooCommerce Recent Viewed Products
 */
.recently-viewed-wrapper {
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  margin: 20px auto;
  width: 100%;
  gap: 16px;
  padding: 20px;
}

.recently-viewed-wrapper .recently-viewed-products > h2,
.related.products > h2 {
  font-size: 24px;
  padding-right: 8px;
  border-right: 3px solid var(--color__primary);
  margin-bottom: 10px;
}

/*temporary fix grid*/
ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}

@media (max-width: 1200px) {
  ul.products {
    grid-template-columns: repeat(3, 1fr);
  }
  .recently-viewed-wrapper {
    padding: 20px;
  }
}
@media (max-width: 750px) {
  ul.products {
    grid-template-columns: repeat(2, 1fr);
  }
  .recently-viewed-wrapper {
    padding: 20px;
  }
}
ul.products li {
  width: 100% !important;
  margin: 0;
}

ul.products li img {
  width: 100% !important;
  aspect-ratio: 1;
  border-radius: var(--border-radius);
}

ul.products h2.woocommerce-loop-product__title {
  font-size: 18px !important;
  margin-top: 10px;
}

ul.products .woocommerce-LoopProduct-link {
  display: flex;
  flex-direction: column;
}

ul.products .onsale {
  order: 2;
}

/**
 * WooCommerce minicart
 */
/* Empty Cart Message */
.mini-cart-wrap .empty {
  text-align: center;
  color: #777;
  font-size: 14px;
  margin: 20px 0;
}

/* Cart Items List */
.mini-cart-wrap ul.cart_list {
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
}

/* Each Item */
.mini-cart-wrap .mini_cart_item {
  display: flex;
  align-items: center;
  position: relative;
  gap: 10px;
  padding: 10px;
}

/* Product Link */
.mini-cart-wrap .mini_cart_item .cart-item-link {
  display: contents;
  align-items: center;
  text-decoration: none;
  color: #333;
  position: relative;
}

/* Product Image */
.mini-cart-wrap .mini_cart_item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: var(--border-radius);
}

/* Product Name */
.mini-cart-wrap .cart-item-name {
  font-size: 14px;
  font-weight: 500;
}

/* Quantity */
.mini-cart-wrap .mini_cart_item .quantity {
  font-size: 13px;
  color: #555;
  margin-left: auto;
}

/* Footer (subtotal + buttons) */
.mini-cart-wrap .mini-cart-footer {
  border-top: 1px solid #ddd;
  padding-top: 10px;
}

/* Subtotal */
.mini-cart-wrap .woocommerce-mini-cart__total {
  font-weight: bold;
  text-align: right;
  margin-bottom: 10px;
}

/* Buttons */
.mini-cart-wrap .woocommerce-mini-cart__buttons a.button {
  display: inline-block;
  width: 48%;
  text-align: center;
  padding: 6px 0;
  margin: 0;
  border-radius: var(--border-radius);
  font-size: 14px;
  text-decoration: none;
  color: #fff;
  background: #333;
  transition: background 0.3s;
}

.mini-cart-wrap .woocommerce-mini-cart__buttons a.button:hover {
  background: #555;
}

.name-quan-container {
  display: flex;
  flex-direction: column;
}

.woocommerce-mini-cart__buttons.buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mini-cart-title-price {
  display: flex;
  flex-direction: column;
  padding-left: 10px;
  gap: 4px;
  width: 100%;
}

.mini-cart-title-price a,
.mini-cart-title-price span {
  font-size: 14px;
  line-height: 1.4;
}

.mini-cart-price {
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.minicart-footer {
  padding: 15px;
  background: #f0f0f0;
}

.minicart-image {
  aspect-ratio: 1;
  display: flex;
  width: 50px;
  height: 50px;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
}

.woocommerce-mini-cart-item .variation {
  display: flex;
  gap: 6px;
}

.woocommerce-mini-cart-item .variation p {
  margin: 0;
}

p.woocommerce-mini-cart__buttons {
  margin-bottom: 0 !important;
}

.mini-cart-qty-input {
  -moz-appearance: textfield;
}

.mini-cart-qty-input::-webkit-outer-spin-button,
.mini-cart-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.mini-cart-qty-input {
  width: 50px;
  text-align: center;
  color: black;
  background: none !important;
  border: none !important;
}

.mini-cart-qty-input:focus {
  border: none !important;
  outline: none;
}

.qty-btn.minus,
.qty-btn.plus {
  padding: 0;
  cursor: pointer;
  background: none !important;
  border: none;
}

.mini-cart-qty-wrapper {
  display: flex;
  gap: 5px;
  background: #eee;
  align-items: center;
  border-radius: 6px;
  padding: 0px 10px;
}

/**
 * WooCommerce message
 */
.single-product .woocommerce-notices-wrapper {
  display: none !important;
}

.single-product .woocommerce-message,
.single-product .woocommerce-error,
.single-product .woocommerce-info {
  display: none !important;
}

.woocommerce-notices-wrapper {
  display: none;
}

/**
 * WooCommerce product card styles
 */
.treesal-product-style-16.product-card {
  background: #fff;
  border-radius: 0px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  border: 1px solid #e5e5e5;
  border-radius: var(--border-radius);
}

.treesal-product-style-16.product-card .product-variable-label {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  color: #000;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  z-index: 2;
  direction: rtl;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: auto;
  min-width: 160px;
  text-align: center;
  font-weight: 500;
}

.treesal-product-style-16.product-card .product-variable-label .label-text {
  display: flex;
  flex-direction: row;
  align-items: center;
  line-height: 1.2;
  white-space: nowrap;
}

.treesal-product-style-16.product-card .product-variable-label .grid-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
}

.treesal-product-style-16.product-card .product-variable-label .grid-icon svg {
  width: 16px;
  height: 16px;
}

.treesal-product-style-16.product-card .product-image-wrapper {
  position: relative;
  overflow: hidden;
  background-color: #f4f6f8;
  flex-shrink: 0;
  margin-bottom: 10px;
  aspect-ratio: 1/1;
  border-radius: var(--border-radius);
}

.treesal-product-style-16.product-card .product-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
  aspect-ratio: 1/1;
}

/* Removed legacy .inner-border-effect (not used in markup) */
.treesal-product-style-16 {
  display: flex !important;
  padding: 8px !important;
}

.treesal-product-style-16.product-card .product-image-main {
  opacity: 1;
}

.treesal-product-style-16.product-card .product-image-hover {
  opacity: 0;
}

.treesal-product-style-16.product-card:hover .product-image-main {
  opacity: 0;
}

.treesal-product-style-16.product-card:hover .product-image-hover {
  opacity: 1;
}

.treesal-product-style-16.product-card:hover .product-image-main:only-of-type {
  opacity: 1;
}

.treesal-product-style-16.product-card .product-title .woocommerce-loop-product__title {
  padding: 0px 0px;
  font-weight: 500;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  text-align: center;
  font-size: 16px; /* Default/tablet */
}

.treesal-product-style-16.product-card .product-info-cat {
  padding: 0px 0px;
  text-align: center;
}

.treesal-product-style-16.product-card .product-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0;
  margin: 10px 0px 0px 0px;
  gap: 10px;
  justify-content: end;
}

.treesal-product-style-16.product-card .product-footer .product-info {
  padding: 0;
  width: 100%;
  text-align: center;
}

/* Improve WooCommerce default sale flash */
.treesal-product-style-16.product-card .product-image-wrapper .onsale {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #FF6B6B 0%, #FF2E63 100%);
  color: #ffffff;
  font-weight: 600;
  font-size: 12px;
  box-shadow: 0 6px 16px rgba(255, 46, 99, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* Enhance sale price styling */
.treesal-product-style-16.product-card .product-footer .price {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.treesal-product-style-16.product-card .product-footer .price del {
  opacity: 0.65;
}

.treesal-product-style-16.product-card .product-footer .price ins {
  color: #E53935;
  background-color: unset;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

/* Removed legacy .product-price (price rendered by WooCommerce template) */
.treesal-product-style-16.product-card .add-to-cart-icon {
  width: 100%;
}

.treesal-product-style-16.product-card .treesal-add-to-cart-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 5px;
  color: var(--color__button__text) !important;
  background-color: var(--color__primary) !important;
  border-radius: 4px;
  transition: all 0.3s ease;
  width: 100%;
}

.treesal-product-style-16.product-card .treesal-add-to-cart-icon:hover {
  background-color: var(--color__primary) !important;
}

.treesal-product-style-16.product-card .treesal-add-to-cart-icon svg {
  width: 20px;
  height: 20px;
  color: var(--color__button__text) !important;
}

.treesal-product-style-16.product-card .add-to-cart-text {
  display: inline-block;
  color: var(--color__button__text);
  font-size: 14px;
}

/* Loading state styles */
.treesal-product-style-16.product-card .treesal-add-to-cart-icon.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}

.treesal-product-style-16.product-card .treesal-add-to-cart-icon.loading .add-to-cart-text,
.treesal-product-style-16.product-card .treesal-add-to-cart-icon.loading svg {
  visibility: hidden;
}

.treesal-product-style-16.product-card .treesal-add-to-cart-icon.loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  border: 2px solid var(--color__button__text) !important;
  border-top-color: transparent;
  animation: treesal-spin 0.8s linear infinite;
}

@keyframes treesal-spin {
  to {
    transform: rotate(360deg);
  }
}
/* Mobile styles */
@media (max-width: 768px) {
  /* Removed legacy .inner-border-effect mobile overrides */
  .treesal-product-style-16.product-card .product-footer {
    padding: 0;
    margin-top: 5px;
    gap: 8px;
  }
  .treesal-product-style-16.product-card .product-footer .product-info {
    padding: 0px 5px 0px 0;
  }
  .treesal-product-style-16.product-card .product-title .woocommerce-loop-product__title {
    padding: 0px 5px;
    font-size: 15px; /* Mobile */
  }
  .treesal-product-style-16.product-card .product-price {
    font-size: 14px;
  }
  .treesal-product-style-16.product-card .treesal-add-to-cart-icon {
    padding: 6px 12px;
    gap: 6px;
  }
  .treesal-product-style-16.product-card .treesal-add-to-cart-icon svg {
    width: 18px;
    height: 18px;
  }
  .treesal-product-style-16.product-card .add-to-cart-text {
    font-size: 12px;
  }
  .treesal-product-style-16.product-card .product-variable-label {
    font-size: 10px;
    padding: 5px 10px;
    bottom: 8px;
    min-width: 140px;
    gap: 5px;
  }
}
/* Larger screens - slightly larger product title */
@media (min-width: 1025px) {
  .treesal-product-style-16.product-card .product-title .woocommerce-loop-product__title {
    font-size: 18px; /* Desktop */
  }
}
/* Video play Button */
.video-player-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  opacity: 1;
}

.video-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  text-decoration: none;
  transition: all 0.3s ease;
}

.video-btn:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

.video-btn svg {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.treesal-product-style-16.product-card.cardproduct:hover .product-image-hover {
  opacity: 1 !important;
}

/*update*/
.treesal-product-style-16.product-card .add-to-cart-icon {
  width: 100%;
  margin-top: auto;
}

.treesal-product-style-16.product-card .product-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0;
  margin: 10px 0px 0px 0px;
  gap: 10px;
  height: 100%;
}

.treesal-product-style-16.product-card {
  background: #fff;
  border-radius: 0px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: start;
  border: 1px solid #e5e5e5;
  border-radius: var(--border-radius);
}

.treesal-product-style-16.product-card .product-footer .price {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 0px;
}

.treesal-product-style-16.product-card .product-footer .price span:not(.woocommerce-Price-amount.amount) {
  display: none;
}

/**
 * WooCommerce sale percentage
 */
.badges-container {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 9;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.woocommerce-LoopProduct-link {
  position: relative;
}

.onsale {
  background: #ff3b30;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--border-radius);
  display: inline-block;
}

.new-badge {
  top: 10px;
  left: 10px;
  background-color: #27ae60;
  color: #fff;
  padding: 5px 10px;
  border-radius: var(--border-radius);
  font-size: 13px;
  text-transform: uppercase;
  z-index: 9;
}

/**
 * WooCommerce thankyou page
 */
.custom-thankyou {
  max-width: 800px;
  margin: 40px auto;
  padding: 30px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.custom-thankyou h2 {
  font-size: 1.8rem;
  color: #2e2e2e;
  margin-bottom: 20px;
  text-align: center;
}

.thankyou-summary {
  margin-top: 30px;
}

.order-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.order-details-grid li {
  background: #f9fafb;
  padding: 15px;
  border-radius: 12px;
  text-align: center;
}

.order-details-grid .label {
  display: block;
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 5px;
  font-weight: 600;
}

.order-details-grid .value {
  font-size: 1.1rem;
  color: #111;
  font-weight: bold;
}

.thankyou-error-box {
  padding: 20px;
  background: #fff3f3;
  border: 1px solid #f5c2c2;
  border-radius: 12px;
  text-align: center;
}

.thankyou-actions {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.custom-customer-details {
  margin-top: 40px;
  background: #fff;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.custom-customer-details h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-align: center;
  color: #222;
}

.customer-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.customer-box {
  background: #f9fafb;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.customer-box h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #333;
}

.customer-box address {
  font-style: normal;
  line-height: 1.6;
  color: #444;
}

.customer-box .detail-item {
  margin: 8px 0 0;
  font-size: 0.95rem;
}

/* Wrap container */
.custom-order-details {
  margin-top: 40px;
  background: #fff;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

/* Title */
.woocommerce-order-details__title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 25px;
  text-align: center;
  color: #222;
}

/* Table */
.custom-order-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 12px;
  display: flex;
  flex-direction: column;
}

/* Headings */
.custom-order-table thead {
  background: #f3f4f6;
}

.custom-order-table thead tr {
  display: flex;
}

.custom-order-table th {
  text-align: start;
  padding: 14px 16px;
  font-weight: 600;
  color: #333;
  display: flex;
  width: 100%;
}

/* Product rows */
.custom-order-table tbody tr {
  background: #f9fafb;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  gap: 10px;
}

.custom-order-table tbody td {
  padding: 16px;
  vertical-align: middle;
  border-top: 1px solid #e5e7eb;
  font-size: 0.95rem;
  color: #444;
  width: 100%;
}

/* Product column */
.custom-order-table .product-name {
  display: flex;
  align-items: center;
  gap: 14px;
}

.custom-order-table .product-name a {
  color: #111;
  font-weight: 500;
  text-decoration: none;
  font-size: 14px;
}

.custom-order-table .product-name a:hover {
  text-decoration: underline;
}

/* Totals footer */
.custom-order-table tfoot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 10px 0 0 0;
}

.custom-order-table tfoot tr {
  display: flex;
  gap: 10px;
  width: 100%;
}

.custom-order-table tfoot th,
.custom-order-table tfoot td {
  padding: 14px 16px;
  font-weight: 600;
  background: #f3f4f6;
  border-radius: 8px;
  width: 100%;
}

/* Responsive: stack on small screens */
@media (max-width: 640px) {
  .custom-order-table thead {
    display: none;
  }
  .custom-order-table tbody tr {
    display: block;
    margin-bottom: 15px;
  }
  .custom-order-table tbody td {
    display: flex;
    justify-content: space-between;
    padding: 12px 14px;
  }
  .custom-order-table tbody td:before {
    content: attr(data-title);
    font-weight: 600;
    color: #333;
  }
}
/**
 * WooCommerce brands
 */
/*menu*/
@media screen and (max-width: 970px) {
  .brands-list-ul {
    min-height: auto;
    max-height: 250px;
    overflow: auto;
    padding: 0;
    margin-top: 0 !important;
  }
}
@media (min-width: 970px) {
  .brands-list-ul {
    position: absolute;
    top: 100%;
    left: 0;
    width: 250px;
    max-height: 80vh;
    overflow-y: auto;
    background: white;
    z-index: 9999;
    transition: transform 0.2s ease-out, height 0.2s ease-out, max-height 0.2s ease-out;
    will-change: transform, height;
    padding: 0;
  }
  .brands-list-ul.fullscreen {
    height: 100vh !important;
    max-height: 100vh !important;
  }
}
.brands-list-ul::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.brands-list-ul::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.brands-list-ul::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.brands-list-ul::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* archive page - brand */
.brands-archive-page {
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

.brands-archive-page h1 {
  text-align: center;
  margin-bottom: 40px;
}

.brands-grid-title {
  font-size: 18px;
  border-bottom: 1px solid black;
  padding-bottom: 8px;
  margin-bottom: 4px;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 1px;
}

@media (max-width: 970px) {
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 500px) {
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.brand-card {
  text-align: center;
  transition: all 0.3s ease;
  background: #fff;
  border: 1px solid rgba(204, 204, 204, 0.3333333333);
}

a.brand-link {
  color: #000;
  text-decoration: none;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  aspect-ratio: 5/3;
  padding: 10px;
}

/* .brand-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transform: translateY(-4px);
} */
.brand-card img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}

.brand-card h3 {
  font-size: 16px;
  color: #333;
  margin: 0;
}

.brand-placeholder {
  width: 100%;
  aspect-ratio: 1;
  height: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}

/**
 * WooCommerce account page
 */
.woocommerce-form-login {
  max-width: 400px;
  margin: 40px auto;
  padding: 30px;
  border: 1px solid #ddd;
  background-color: #fafafa;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  direction: rtl;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.woocommerce-form-login label {
  font-weight: bold;
  display: block;
  margin-bottom: 6px;
  color: #333;
}

.woocommerce-form-login input[type=text],
.woocommerce-form-login input[type=password],
.woocommerce-form-login input[type=email] {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 0;
  border: 1px solid #ccc;
  border-radius: var(--border-radius);
  box-sizing: border-box;
}

.woocommerce-form-login .password-input {
  position: relative;
}

.woocommerce-form-login .show-password-input {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
}

.woocommerce-form-login .woocommerce-form-login__rememberme {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.woocommerce-form-login button.woocommerce-form-login__submit {
  background-color: var(--color__primary);
  color: var(--color__button__text);
  padding: 12px;
  border: none;
  width: 100%;
  border-radius: var(--border-radius);
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.woocommerce-form-login button.woocommerce-form-login__submit:hover {
  background-color: darkred;
}

.woocommerce-LostPassword {
  text-align: center;
  margin-top: 20px;
}

.woocommerce-LostPassword a {
  color: var(--color__primary);
  text-decoration: none;
}

.woocommerce-LostPassword a:hover {
  text-decoration: underline;
}

/* Navigation Menu - Clean background */
.woocommerce-MyAccount-navigation {
  background-color: #f9f9f9; /* light neutral background */
  border-radius: var(--border-radius);
  padding: 15px;
}

/* Navigation Items */
.woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-MyAccount-navigation li {
  margin-bottom: 10px;
}

/* Links - neutral background, red hover and active */
.woocommerce-MyAccount-navigation a {
  display: block;
  color: #333;
  background-color: #fff;
  padding: 10px 15px;
  border-radius: var(--border-radius);
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover and active states use primary color */
.woocommerce-MyAccount-navigation a:hover,
.woocommerce-MyAccount-navigation .is-active a {
  background-color: var(--color__primary);
  color: var(--color__button__text);
}

/* Account content box styling */
.woocommerce-MyAccount-content {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
}

/*
.woocommerce-EditAccountForm {
  max-width: 600px;
  margin: 40px auto;
  padding: 30px;
  border: 1px solid #ddd;
  background-color: #fafafa;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  direction: rtl;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.woocommerce-EditAccountForm label {
  font-weight: bold;
  display: block;
  margin-bottom: 6px;
  color: #333;
}
*/
@media (min-width: 970px) {
  .woocommerce:has(.woocommerce-MyAccount-navigation):has(.woocommerce-MyAccount-content) {
    display: flex;
    gap: 30px;
    align-items: flex-start;
  }
  .woocommerce:has(.woocommerce-MyAccount-navigation):has(.woocommerce-MyAccount-content) .woocommerce-MyAccount-navigation {
    flex: 0 0 250px;
  }
  .woocommerce:has(.woocommerce-MyAccount-navigation):has(.woocommerce-MyAccount-content) .woocommerce-MyAccount-content {
    flex: 1;
  }
}
.woocommerce-EditAccountForm input[type=text],
.woocommerce-EditAccountForm input[type=password],
.woocommerce-EditAccountForm input[type=email] {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: var(--border-radius);
  box-sizing: border-box;
}

.woocommerce-EditAccountForm fieldset {
  border: none;
  padding: 0;
  margin-top: 30px;
}

.woocommerce-EditAccountForm legend {
  font-weight: bold;
  margin-bottom: 15px;
  display: block;
  font-size: 16px;
  color: #444;
}

.woocommerce-EditAccountForm .password-input {
  position: relative;
}

.woocommerce-EditAccountForm .show-password-input {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
}

.woocommerce-EditAccountForm button.woocommerce-Button {
  background-color: var(--color__primary);
  color: var(--color__button__text);
  padding: 12px;
  border: none;
  width: 100%;
  border-radius: var(--border-radius);
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.woocommerce-EditAccountForm button.woocommerce-Button:hover {
  background-color: darkred;
}

.woocommerce-EditAccountForm em {
  display: block;
  margin-top: 4px;
  color: #666;
  font-size: 13px;
}

/* Clearfix utility */
.woocommerce-EditAccountForm .clear {
  clear: both;
}

/* Orders Table Wrapper */
.woocommerce-account .woocommerce-orders-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  font-size: 15px;
  color: #333;
}

/* Table Headings */
.woocommerce-account .woocommerce-orders-table thead th {
  background-color: #f9f9f9;
  text-align: right;
  padding: 12px;
  font-weight: 600;
  border-bottom: 2px solid #ddd;
}

/* Table Rows */
.woocommerce-account .woocommerce-orders-table tbody tr {
  border-bottom: 1px solid #eee;
}

.woocommerce-account .woocommerce-orders-table tbody td,
.woocommerce-account .woocommerce-orders-table tbody th {
  padding: 12px;
  vertical-align: middle;
}

/* Status Cell Styling */
.woocommerce-account .woocommerce-orders-table__cell-order-status {
  font-weight: bold;
  color: #d35400; /* Orange-ish status color */
}

/* Price Amount */
.woocommerce-account .woocommerce-Price-amount {
  font-weight: bold;
  color: #2c3e50;
}

/* View Button */
.woocommerce-account .woocommerce-button.view {
  background-color: var(--color__primary);
  color: var(--color__button__text);
  padding: 8px 14px;
  border: none;
  border-radius: var(--border-radius);
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.woocommerce-account .woocommerce-button.view:hover {
  background-color: darkred;
  color: #fff;
}

/* Responsive Table: Stack on mobile */
@media (max-width: 768px) {
  .woocommerce-account .woocommerce-orders-table thead {
    display: none;
  }
  .woocommerce-account .woocommerce-orders-table tr {
    display: block;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
  }
  .woocommerce-account .woocommerce-orders-table td {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border: none;
    border-bottom: 1px solid #f0f0f0;
  }
  .woocommerce-account .woocommerce-orders-table td::before {
    content: attr(data-title);
    font-weight: 600;
    color: #666;
  }
}
/* Address Section Layout */
.woocommerce-MyAccount-content .woocommerce-Addresses {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.woocommerce-MyAccount-content .woocommerce-Address {
  background: #fafafa;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  flex: 1;
  min-width: 280px;
  box-sizing: border-box;
}

/* Address Titles */
.woocommerce-MyAccount-content .woocommerce-Address-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.woocommerce-MyAccount-content .woocommerce-Address-title h2 {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin: 0;
}

/* Edit Link Button */
.woocommerce-MyAccount-content .woocommerce-Address .edit {
  background-color: var(--color__primary);
  color: var(--color__button__text);
  padding: 6px 12px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.woocommerce-MyAccount-content .woocommerce-Address .edit:hover {
  background-color: darkred;
  color: #fff;
}

/* Address Content */
.woocommerce-MyAccount-content .woocommerce-Address address {
  font-style: normal;
  line-height: 1.7;
  color: #444;
  font-size: 15px;
}

/* Responsive: Stack on small screens */
@media (max-width: 768px) {
  .woocommerce-MyAccount-content .woocommerce-Addresses {
    flex-direction: column;
  }
}
/* Billing Address Form Wrapper */
.woocommerce-MyAccount-content form {
  max-width: 700px;
  margin: 40px auto;
  padding: 30px;
  border: 1px solid #ddd;
  background-color: #fafafa;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  direction: rtl;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Form Heading */
.woocommerce-MyAccount-content form h2 {
  font-size: 20px;
  margin-bottom: 24px;
  font-weight: bold;
  color: #333;
  text-align: right;
}

/* Form Rows */
.woocommerce-address-fields__field-wrapper .form-row {
  margin-bottom: 16px;
}

.woocommerce-address-fields__field-wrapper label {
  font-weight: bold;
  display: block;
  margin-bottom: 6px;
  color: #333;
}

/* Input Fields */
.woocommerce-address-fields__field-wrapper input[type=text],
.woocommerce-address-fields__field-wrapper input[type=email],
.woocommerce-address-fields__field-wrapper input[type=tel],
.woocommerce-address-fields__field-wrapper select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: var(--border-radius);
  box-sizing: border-box;
  font-size: 14px;
}

/* Select2 dropdown styling */
.select2-container--default .select2-selection--single {
  height: 42px;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: var(--border-radius);
  box-sizing: border-box;
  background-color: #fff;
  direction: rtl;
  display: flex;
  align-items: center;
}

/* Optional text */
.woocommerce-address-fields__field-wrapper .optional {
  color: #666;
  font-size: 13px;
}

/* Save Button */
.woocommerce-MyAccount-content form button.button[type=submit] {
  background-color: var(--color__primary);
  color: var(--color__button__text);
  padding: 12px;
  border: none;
  width: 100%;
  border-radius: var(--border-radius);
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.woocommerce-MyAccount-content form button.button[type=submit]:hover {
  background-color: darkred;
  color: #fff;
}

/* Responsive: Stack first/last name */
@media (min-width: 600px) {
  #billing_first_name_field,
  #billing_last_name_field {
    width: 48%;
    display: inline-block;
  }
  #billing_first_name_field {
    margin-left: 4%;
  }
}
/* Optional: Smaller screens - full width fields */
@media (max-width: 599px) {
  .woocommerce-address-fields__field-wrapper .form-row {
    width: 100% !important;
    display: block;
  }
}
@media (max-width: 970px) {
  .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 6px;
  }
  .woocommerce-MyAccount-navigation a {
    padding: 5px 12px;
  }
  .woocommerce-MyAccount-navigation li {
    margin: 0;
  }
  li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--dashboard,
  li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--downloads,
  li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--edit-address {
    display: none;
  }
}
li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--dashboard,
li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--downloads,
li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--edit-address {
  display: none;
}

/**
 * WooCommerce account page
 */
.wp-block-woocommerce-cart .wc-block-components-product-metadata {
  display: none;
}
