.tsgate-wordpress-content {
  min-height: 55vh;
  padding-block: 54px 80px;
}

.tsgate-entry {
  margin-bottom: 18px;
  padding: 24px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
}

.tsgate-entry h1 {
  margin-top: 0;
}

.woocommerce-notices-wrapper {
  width: min(100% - 28px, 1280px);
  margin: 18px auto 0;
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
  margin: 0 0 14px;
  padding: 13px 16px;
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  border-radius: 9px;
  color: #115e59;
  list-style: none;
}

.woocommerce-error {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}

.woocommerce-message .button,
.woocommerce-info .button {
  float: right;
  color: inherit;
  font-weight: 800;
}

.tsgate-pagination {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 28px;
}

.tsgate-pagination .page-numbers {
  min-width: 36px;
  min-height: 36px;
  display: grid;
  place-items: center;
  color: #475569;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  text-decoration: none;
}

.tsgate-pagination .current {
  color: #fff;
  background: #0f766e;
  border-color: #0f766e;
}

.filter-options .filter-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 7px;
  color: #475569;
  text-decoration: none;
}

.filter-options .filter-option small {
  color: #94a3b8;
}

.featured-product__image {
  text-decoration: none;
}

.featured-product__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 180ms ease;
}

.featured-product:hover .featured-product__image img {
  transform: scale(1.04);
}

.featured-product h3 a {
  color: inherit;
  text-decoration: none;
}

.featured-product__price .price {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.featured-product__price ins,
.product-price ins {
  color: inherit;
  text-decoration: none;
}

.featured-product__cart {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.product-gallery__stage > img.gallery-image {
  position: relative;
  z-index: 1;
  width: min(92%, 510px);
  height: auto;
  max-height: 500px;
  object-fit: contain;
}

.product-gallery__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-price .price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.tsgate-product-cart {
  margin-top: 18px;
}

.tsgate-product-cart form.cart {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 10px;
  margin: 0;
}

.tsgate-product-cart .quantity {
  min-height: 46px;
}

.tsgate-product-cart .quantity input {
  width: 100%;
  min-height: 46px;
  padding: 0 10px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  text-align: center;
}

.tsgate-product-cart .single_add_to_cart_button {
  min-height: 46px;
  color: #0f766e;
  background: #f0fdfa;
  border: 1px solid #14b8a6;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 800;
}

.tsgate-buy-now {
  width: 100%;
  margin-top: 10px;
  text-decoration: none;
}

.cart-item__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.woocommerce-cart-form .quantity {
  display: block;
}

.woocommerce-cart-form .quantity input {
  width: 100%;
  height: 100%;
}

.woocommerce-cart-form .remove-item {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  color: #b91c1c;
  text-decoration: none;
}

.tsgate-woocommerce-fields .woocommerce-billing-fields__field-wrapper,
.tsgate-woocommerce-fields .woocommerce-shipping-fields__field-wrapper,
.tsgate-woocommerce-fields .woocommerce-additional-fields__field-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tsgate-woocommerce-fields h3 {
  margin-top: 0;
}

.tsgate-woocommerce-fields .form-row {
  margin: 0;
}

.tsgate-woocommerce-fields .form-row-wide,
.tsgate-woocommerce-fields #billing_address_1_field,
.tsgate-woocommerce-fields #billing_address_2_field,
.tsgate-woocommerce-fields #order_comments_field {
  grid-column: 1 / -1;
}

.tsgate-woocommerce-fields label {
  display: block;
  margin-bottom: 7px;
  color: #334155;
  font-size: 10px;
  font-weight: 800;
}

.tsgate-woocommerce-fields input,
.tsgate-woocommerce-fields select,
.tsgate-woocommerce-fields textarea,
.select2-container .select2-selection--single {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.select2-container .select2-selection--single .select2-selection__rendered {
  padding: 0;
  line-height: 22px;
}

.tsgate-payment-placeholder {
  padding: 14px;
  color: #64748b;
  background: #f8fafc;
  border-radius: 9px;
  font-size: 11px;
}

.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  padding: 11px 0;
  border-bottom: 1px solid #edf2f7;
  text-align: left;
}

.woocommerce-checkout-payment {
  margin-top: 18px;
}

.wc_payment_methods {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wc_payment_method {
  margin-bottom: 9px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
}

.wc_payment_method label {
  font-weight: 800;
}

.payment_box {
  color: #64748b;
  font-size: 10px;
}

#place_order {
  width: 100%;
  min-height: 50px;
  color: #fff;
  background: #0f766e;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 800;
}

.woocommerce-account main > .woocommerce {
  width: min(100% - 28px, 1280px);
  margin-inline: auto;
}

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

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

.woocommerce-MyAccount-navigation a {
  display: block;
  padding: 11px 12px;
  color: #334155;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
}

.woocommerce-MyAccount-navigation .is-active a,
.woocommerce-MyAccount-navigation a:hover {
  color: #0f766e;
  background: #f0fdfa;
}

.woocommerce-MyAccount-content {
  padding: 20px;
}

.woocommerce-MyAccount-content table {
  width: 100%;
  border-collapse: collapse;
}

.woocommerce-MyAccount-content th,
.woocommerce-MyAccount-content td {
  padding: 12px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
}

.woocommerce-form-login,
.woocommerce-form-register {
  max-width: 560px;
  margin: 60px auto;
  padding: 28px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
}

@media (max-width: 760px) {
  .tsgate-product-cart form.cart,
  .tsgate-woocommerce-fields .woocommerce-billing-fields__field-wrapper,
  .tsgate-woocommerce-fields .woocommerce-shipping-fields__field-wrapper,
  .tsgate-woocommerce-fields .woocommerce-additional-fields__field-wrapper {
    grid-template-columns: 1fr;
  }

  .tsgate-woocommerce-fields .form-row-wide,
  .tsgate-woocommerce-fields #billing_address_1_field,
  .tsgate-woocommerce-fields #billing_address_2_field,
  .tsgate-woocommerce-fields #order_comments_field {
    grid-column: auto;
  }
}
