/* Airsoft Plaza YITH Wishlist page styling. Scoped to the native wishlist page only. */

body.ap-wishlist-page {
  --ap-border: #dedee2;
  --ap-fg: #09090b;
  --ap-font-body: var(--e-global-typography-text-font-family, sans-serif), sans-serif;
  --ap-font-display: var(--e-global-typography-primary-font-family, sans-serif), sans-serif;
  --ap-muted: #52525b;
  --ap-primary: #ea6a1f;
  --ap-primary-dark: #c84f13;
  --ap-soft: #f6f6f7;
  overflow-x: hidden;
}

.ap-wishlist-page .elementor-widget-yith_wcwl_wishlist {
  color: var(--ap-fg);
  font-family: var(--ap-font-body);
  width: 100%;
}

.ap-wishlist-page .yith-wcwl-form {
  color: var(--ap-fg);
  font-family: var(--ap-font-body);
  margin-inline: auto;
  max-width: 1300px;
}

.ap-wishlist-page .wishlist-title-container {
  display: none;
}

.ap-wishlist-page .wishlist-title {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin: 0;
}

.ap-wishlist-page .wishlist-title h2 {
  color: #fff;
  font-family: var(--ap-font-display);
  font-size: clamp(28px, 2.7vw, 38px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: .95;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
}

.ap-wishlist-page .wishlist-title .show-title-form,
.ap-wishlist-page .hidden-title-form .hide-title-form,
.ap-wishlist-page .hidden-title-form .save-title-form {
  align-items: center;
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, .28) !important;
  border-radius: 0;
  color: #fff !important;
  display: inline-flex;
  font-family: var(--ap-font-display);
  font-size: 13px;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  letter-spacing: .1em;
  line-height: 1;
  min-height: 40px;
  padding: 0 14px;
  position: static;
  text-decoration: none;
  text-transform: uppercase;
  visibility: visible;
}

.ap-wishlist-page .wishlist-title .show-title-form:hover,
.ap-wishlist-page .wishlist-title .show-title-form:focus-visible,
.ap-wishlist-page .hidden-title-form .hide-title-form:hover,
.ap-wishlist-page .hidden-title-form .hide-title-form:focus-visible,
.ap-wishlist-page .hidden-title-form .save-title-form:hover,
.ap-wishlist-page .hidden-title-form .save-title-form:focus-visible {
  background: var(--ap-primary) !important;
  border-color: var(--ap-primary) !important;
  color: #fff !important;
}

.ap-wishlist-page .wishlist-title .show-title-form,
.ap-wishlist-page .wishlist-title-container .hidden-title-form {
  display: none !important;
}

.ap-wishlist-page .wishlist-title svg,
.ap-wishlist-page .hidden-title-form svg {
  height: 16px;
  width: 16px;
}

.ap-wishlist-page .hidden-title-form {
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.ap-wishlist-page .hidden-title-form input[type="text"] {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 0;
  color: #fff;
  font-family: var(--ap-font-body);
  font-size: 15px;
  min-height: 42px;
  padding: 8px 12px;
}
.ap-wishlist-page .wishlist_table {
  background: #fff;
  border: 1px solid var(--ap-border);
  border-collapse: separate;
  border-radius: 0;
  border-spacing: 0;
  box-shadow: 0 12px 34px rgba(8, 8, 9, .06);
  color: var(--ap-fg);
  margin: 0 0 18px;
  overflow: hidden;
  table-layout: fixed;
  width: 100%;
}

.ap-wishlist-page .wishlist_table thead th {
  background: var(--ap-soft);
  border: 0;
  border-bottom: 1px solid var(--ap-border);
  color: var(--ap-muted);
  font-family: var(--ap-font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.2;
  padding: 13px 16px;
  text-align: left;
  text-transform: uppercase;
}

.ap-wishlist-page .wishlist_table tbody td {
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--ap-border);
  color: var(--ap-fg);
  font-family: var(--ap-font-body);
  font-size: 15px;
  line-height: 1.4;
  padding: 10px 14px;
  vertical-align: middle;
}

.ap-wishlist-page .wishlist_table tbody tr:last-child td {
  border-bottom: 0;
}

.ap-wishlist-page .wishlist_table tbody tr:hover td {
  background: #fafafa;
}

.ap-wishlist-page .wishlist_table thead th.product-remove,
.ap-wishlist-page .wishlist_table tbody td.product-remove {
  box-sizing: border-box;
  min-width: 76px;
  padding-left: 18px;
  padding-right: 10px;
  text-align: center;
  width: 76px !important;
}

.ap-wishlist-page .wishlist_table thead th.product-thumbnail,
.ap-wishlist-page .wishlist_table tbody td.product-thumbnail {
  box-sizing: border-box;
  width: 92px !important;
}

.ap-wishlist-page .wishlist_table .product-thumbnail a {
  align-items: center;
  background: #fff;
  display: inline-flex;
  height: 50px;
  justify-content: center;
  width: 50px;
}

.ap-wishlist-page .wishlist_table .product-thumbnail img {
  display: block;
  height: 50px;
  object-fit: contain;
  width: 50px;
}

.ap-wishlist-page .wishlist_table .product-name {
  width: auto;
}

.ap-wishlist-page .wishlist_table .product-name a {
  color: var(--ap-fg);
  display: inline-block;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.ap-wishlist-page .wishlist_table .product-name a:hover,
.ap-wishlist-page .wishlist_table .product-name a:focus-visible {
  color: var(--ap-primary);
}

.ap-wishlist-page .wishlist_table .product-price {
  text-align: right;
  width: 150px;
}

.ap-wishlist-page .wishlist_table .product-price .amount {
  color: var(--ap-fg);
  font-family: var(--ap-font-display);
  font-size: 19px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.ap-wishlist-page .wishlist_table .product-stock-status {
  text-align: left;
  width: 210px;
}

.ap-wishlist-page .wishlist_table thead th.product-price {
  text-align: right;
  width: 150px;
}

.ap-wishlist-page .wishlist_table thead th.product-stock-status {
  text-align: left;
  width: 210px;
}

.ap-wishlist-page .wishlist_table thead th.product-add-to-cart {
  width: 160px;
}

.ap-wishlist-page .wishlist_table .wishlist-in-stock,
.ap-wishlist-page .wishlist_table .wishlist-out-of-stock {
  align-items: center;
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  gap: 7px;
  line-height: 1.2;
}

.ap-wishlist-page .wishlist_table .wishlist-in-stock {
  color: #16833a;
}

.ap-wishlist-page .wishlist_table .wishlist-out-of-stock {
  color: #d21e1e;
}

.ap-wishlist-page .wishlist_table .wishlist-in-stock::before,
.ap-wishlist-page .wishlist_table .wishlist-out-of-stock::before {
  border-radius: 50%;
  content: "";
  display: inline-block;
  height: 7px;
  width: 7px;
}

.ap-wishlist-page .wishlist_table .wishlist-in-stock::before {
  background: #22c55e;
}

.ap-wishlist-page .wishlist_table .wishlist-out-of-stock::before {
  background: #ef4444;
}

.ap-wishlist-page .wishlist_table .product-add-to-cart {
  padding-right: 24px;
  text-align: right;
  width: 160px;
}

.ap-wishlist-page .wishlist_table .product-add-to-cart:empty {
  padding-left: 0;
  padding-right: 24px;
}

.ap-wishlist-page .wishlist_table .product-add-to-cart .button {
  align-items: center;
  background: var(--ap-primary) !important;
  border: 1px solid var(--ap-primary) !important;
  border-radius: 0;
  color: #fff !important;
  display: inline-flex;
  font-family: var(--ap-font-display);
  font-size: 14px;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  letter-spacing: .08em;
  line-height: 1;
  margin: 0;
  min-height: 42px;
  min-width: 136px;
  padding: 0 18px !important;
  text-decoration: none;
  text-transform: uppercase;
}

.ap-wishlist-page .wishlist_table .product-add-to-cart .button .fa {
  display: none !important;
}

.ap-wishlist-page .wishlist_table .product-add-to-cart .button:hover,
.ap-wishlist-page .wishlist_table .product-add-to-cart .button:focus-visible {
  background: var(--ap-primary-dark) !important;
  border-color: var(--ap-primary-dark) !important;
  color: #fff !important;
}

.ap-wishlist-page .wishlist_table .remove_from_wishlist {
  align-items: center;
  background: #fff !important;
  border: 1px solid rgba(210, 30, 30, .28) !important;
  border-radius: 50%;
  color: #b91c1c !important;
  display: inline-flex;
  font-size: 0;
  height: 32px;
  justify-content: center;
  line-height: 1;
  margin-inline: auto !important;
  min-width: 32px;
  text-decoration: none;
  width: 32px !important;
}

.ap-wishlist-page .wishlist_table .remove_from_wishlist::before {
  content: "\00d7";
  font-family: var(--ap-font-body);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  transform: translateY(-1px);
}

.ap-wishlist-page .wishlist_table .remove_from_wishlist:hover,
.ap-wishlist-page .wishlist_table .remove_from_wishlist:focus-visible {
  background: #b91c1c !important;
  border-color: #b91c1c !important;
  color: #fff !important;
}

.ap-wishlist-page .yith_wcwl_wishlist_footer {
  display: none;
}

@media (max-width: 1024px) {
  .ap-wishlist-page .yith-wcwl-form {
    padding-inline: 16px;
  }

  .ap-wishlist-page .wishlist_table {
    table-layout: auto;
  }

  .ap-wishlist-page .wishlist_table thead th,
  .ap-wishlist-page .wishlist_table tbody td {
    padding-inline: 12px;
  }

  .ap-wishlist-page .wishlist_table .product-thumbnail {
    width: 76px;
  }

  .ap-wishlist-page .wishlist_table .product-stock-status,
  .ap-wishlist-page .wishlist_table .product-add-to-cart {
    width: 160px;
  }

  .ap-wishlist-page .wishlist_table .product-add-to-cart .button {
    min-width: 116px;
    padding-inline: 14px;
  }
}

@media (max-width: 900px) {
  .ap-wishlist-page .elementor-element.e-con-boxed {
    padding-inline: 14px;
  }

  .ap-wishlist-page .yith-wcwl-form {
    padding-inline: 0;
  }

  .ap-wishlist-page .wishlist-title-container {
    margin-bottom: 12px;
    padding: 16px;
  }

  .ap-wishlist-page .wishlist-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .ap-wishlist-page .wishlist-title h2 {
    font-size: clamp(26px, 7.5vw, 34px);
  }

  .ap-wishlist-page .wishlist-title .show-title-form {
    min-height: 36px;
    padding-inline: 12px;
  }

  .ap-wishlist-page .hidden-title-form {
    align-items: stretch;
    flex-direction: column;
  }

  .ap-wishlist-page .wishlist_table,
  .ap-wishlist-page .wishlist_table thead,
  .ap-wishlist-page .wishlist_table tbody,
  .ap-wishlist-page .wishlist_table tfoot,
  .ap-wishlist-page .wishlist_table tr,
  .ap-wishlist-page .wishlist_table th,
  .ap-wishlist-page .wishlist_table td {
    display: block;
    width: 100%;
  }

  .ap-wishlist-page .wishlist_table {
    background: transparent;
    border: 0;
    box-shadow: none;
    margin: 0;
  }

  .ap-wishlist-page .wishlist_table thead {
    display: none;
  }

  .ap-wishlist-page .wishlist_table tbody {
    display: grid;
    gap: 12px;
  }

  .ap-wishlist-page .wishlist_table tbody tr {
    background: #fff;
    border: 1px solid var(--ap-border);
    box-shadow: 0 10px 28px rgba(8, 8, 9, .06);
    display: grid;
    gap: 8px 12px;
    grid-template-columns: 68px minmax(0, 1fr);
    min-width: 0;
    padding: 12px;
    position: relative;
  }

  .ap-wishlist-page .wishlist_table tbody tr:hover td {
    background: transparent;
  }

  .ap-wishlist-page .wishlist_table tbody td {
    background: transparent;
    border: 0;
    min-width: 0;
    padding: 0;
    text-align: left;
  }

  .ap-wishlist-page .wishlist_table tbody td.wishlist-empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 20px 12px;
    text-align: center;
  }

  .ap-wishlist-page .wishlist_table tbody td::before {
    color: var(--ap-muted);
    display: block;
    font-family: var(--ap-font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 1;
    margin-bottom: 4px;
    text-transform: uppercase;
  }

  .ap-wishlist-page .wishlist_table tbody td.product-remove::before,
  .ap-wishlist-page .wishlist_table tbody td.product-thumbnail::before,
  .ap-wishlist-page .wishlist_table tbody td.product-name::before,
  .ap-wishlist-page .wishlist_table tbody td.product-add-to-cart::before {
    content: none;
  }

  .ap-wishlist-page .wishlist_table tbody td.product-price::before {
    content: none !important;
  }

  .ap-wishlist-page .wishlist_table tbody td.product-stock-status::before {
    content: none !important;
  }

  .ap-wishlist-page .wishlist_table tbody td.product-remove {
    min-width: 0 !important;
    padding: 0;
    position: absolute;
    right: 10px;
    top: 10px;
    width: 32px !important;
    z-index: 2;
  }

  .ap-wishlist-page .wishlist_table tbody td.product-thumbnail {
    display: block !important;
    grid-column: 1;
    grid-row: 1 / span 4;
    min-width: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 68px !important;
  }

  .ap-wishlist-page .wishlist_table .product-thumbnail a,
  .ap-wishlist-page .wishlist_table .product-thumbnail img {
    height: 64px;
    width: 64px;
  }

  .ap-wishlist-page .wishlist_table tbody td.product-name,
  .ap-wishlist-page .wishlist_table tbody td.product-price,
  .ap-wishlist-page .wishlist_table tbody td.product-stock-status,
  .ap-wishlist-page .wishlist_table tbody td.product-add-to-cart {
    grid-column: 2;
    max-width: 100%;
    min-width: 0 !important;
    padding-right: 0;
    text-align: left;
    width: 100% !important;
  }

  .ap-wishlist-page .wishlist_table .product-name {
    padding-right: 34px;
  }

  .ap-wishlist-page .wishlist_table .product-name a {
    font-size: 14.5px;
    line-height: 1.35;
  }

  .ap-wishlist-page .wishlist_table .product-price .amount {
    font-size: 20px;
  }

  .ap-wishlist-page .wishlist_table .wishlist-in-stock,
  .ap-wishlist-page .wishlist_table .wishlist-out-of-stock {
    font-size: 13px;
  }

  .ap-wishlist-page .wishlist_table .product-add-to-cart .button {
    min-height: 40px;
    width: 100%;
  }

  .ap-wishlist-page .wishlist_table.mobile {
    background: transparent;
    border: 0;
    box-shadow: none;
    display: grid;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .ap-wishlist-page .wishlist_table.mobile li {
    background: #fff;
    border: 1px solid var(--ap-border);
    box-shadow: 0 10px 28px rgba(8, 8, 9, .06);
    display: block;
    margin: 0;
    min-width: 0;
    padding: 14px 48px 14px 14px;
    position: relative;
  }

  .ap-wishlist-page .wishlist_table.mobile li .item-wrapper {
    display: grid !important;
    gap: 14px;
    grid-template-columns: 84px minmax(0, 1fr);
    margin: 0 !important;
    min-width: 0;
    width: 100% !important;
  }

  .ap-wishlist-page .wishlist_table.mobile li .product-thumbnail {
    display: block !important;
    margin: 0 !important;
    max-width: none !important;
    width: 84px !important;
  }

  .ap-wishlist-page .wishlist_table.mobile li .product-thumbnail a,
  .ap-wishlist-page .wishlist_table.mobile li .product-thumbnail img {
    height: 76px;
    width: 84px;
  }

  .ap-wishlist-page .wishlist_table.mobile li .product-thumbnail a {
    align-items: center;
    background: #fff;
    display: flex;
    justify-content: center;
  }

  .ap-wishlist-page .wishlist_table.mobile li .product-thumbnail img {
    display: block;
    object-fit: contain;
  }

  .ap-wishlist-page .wishlist_table.mobile li .item-details {
    display: block !important;
    min-width: 0;
    width: 100% !important;
  }

  .ap-wishlist-page .wishlist_table.mobile li .product-name h3 {
    font-family: var(--ap-font-body);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.32;
    margin: 0 0 8px;
    text-transform: none;
  }

  .ap-wishlist-page .wishlist_table.mobile li .product-name a {
    color: var(--ap-fg);
    text-decoration: none;
  }

  .ap-wishlist-page .wishlist_table.mobile li .item-details-table,
  .ap-wishlist-page .wishlist_table.mobile li .additional-info {
    background: transparent;
    border: 0;
    box-shadow: none;
    display: block;
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .ap-wishlist-page .wishlist_table.mobile li .item-details-table tbody,
  .ap-wishlist-page .wishlist_table.mobile li .additional-info tbody,
  .ap-wishlist-page .wishlist_table.mobile li .item-details-table tr,
  .ap-wishlist-page .wishlist_table.mobile li .additional-info tr {
    display: block;
  }

  .ap-wishlist-page .wishlist_table.mobile li .item-details-table td,
  .ap-wishlist-page .wishlist_table.mobile li .additional-info td {
    background: transparent !important;
    border: 0 !important;
    display: block;
    padding: 0 !important;
    text-align: left !important;
    width: auto !important;
  }

  .ap-wishlist-page .wishlist_table.mobile li .item-details-table td.label,
  .ap-wishlist-page .wishlist_table.mobile li .additional-info td.label {
    display: none !important;
  }

  .ap-wishlist-page .wishlist_table.mobile li .item-details-table td.value,
  .ap-wishlist-page .wishlist_table.mobile li .additional-info td.value {
    min-width: 0;
  }

  .ap-wishlist-page .wishlist_table.mobile li .item-details-table .amount {
    color: var(--ap-fg);
    font-family: var(--ap-font-display);
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
  }

  .ap-wishlist-page .wishlist_table.mobile li .additional-info-wrapper {
    margin: 7px 0 0 98px;
    min-width: 0;
    padding: 0;
    width: auto !important;
  }

  .ap-wishlist-page .wishlist_table.mobile li .additional-info-wrapper .product-remove {
    margin: 0 !important;
    position: absolute;
    right: 12px;
    text-align: left;
    top: 12px;
    width: 34px !important;
    z-index: 2;
  }

  .ap-wishlist-page .wishlist_table.mobile li .product-add-to-cart {
    margin-top: 10px;
    text-align: left;
  }

  .ap-wishlist-page .wishlist_table.mobile li .product-add-to-cart .button {
    margin: 0 !important;
    min-height: 42px;
    width: 100% !important;
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  .ap-wishlist-page .wishlist-title {
    align-items: center;
    flex-direction: row;
  }

  .ap-wishlist-page .wishlist-title h2 {
    font-size: clamp(30px, 4.4vw, 36px);
  }
}

@media (max-width: 767px) {
  .ap-wishlist-page .wishlist-title h2 {
    font-size: clamp(24px, 7.8vw, 32px);
  }
}
