/*------------------------------------------------------------
Woocommerce General Styles
------------------------------------------------------------*/

/* Woo Nav Cart
--------------------------------------------------*/
.woo_nav_cart {
  width: 2em;
  color: #fff;
  text-decoration: none;
  position: relative;
  margin-left: var(--space-sm);
}

.woo_nav_cart::before {
  content: "";
  height: 100%;
  width: 1px;
  background-color: #fff;
  display: block;
  position: absolute;
  left: -1em;
  top: 0;
  opacity: .25;
}

.woo_nav_cart .icon {
  font-size: var(--text-body);
}

.woo_nav_cart .count {
  position: absolute;
  border-radius: 100%;
  background-color: var(--color-accent);
  display: block;
  right: -.125em;
  top: -1em;
  width: 1.5em;
  height: 1.5em;
  line-height: 1.5;
  text-align: center;
  font-size: .9em;
  font-weight: 600;
  transition: var(--transition);
}

.woo_nav_cart:is(:active, :hover, :focus, :visited) {
  color: #fff;
}

.woo_nav_cart:hover .count {
  font-size: 1em;
}


/* Woo Products Grid 
--------------------------------------------------*/
.woocommerce ul.products li.product {
  margin-bottom: var(--space-md);
}

.woocommerce ul.products li.product a {
  text-align: center;
}

.woocommerce ul.products li.product a img {
  border: 1px solid var(--gray-1);
  border-radius: var(--box-border-rad);
  transition: var(--transition);
  padding: var(--space-md);
}

.woocommerce ul.products li.product a:hover img {
  transform: translateY(calc(var(--translateY) * -1)) scale(var(--scale));
  box-shadow: var(--box-shadow-hover);
}

.woocommerce ul.products li.product a:active img {
  transform: translateY(0) scale(1);
  box-shadow: var(--box-shadow);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: var(--text-body);
  padding: 0;
  text-wrap: balance;
  font-weight: 400;
}

.woocommerce ul.products li.product a .price {
  display: none;
}

/*------------------------------------------------------------
Woo Cart, Checkout
------------------------------------------------------------*/
:is(.woocommerce-cart, .woocommerce-checkout) {
  background-color: var(--color-primary-lightest);
}

.woo_cart_wrapper {
  padding-block: var(--space-lg);
}

.woo_cart_wrapper .content {
  width: 100%;
}

/* Cart masthead
--------------------------------------------------*/
.cart_masthead {
  width: min(90%, 1280px);
  margin: 0 auto;
  justify-content: space-between;
  align-items: center;
}

.cart_masthead .brand_name {
  font-family: var(--font-secondary);
  font-style: italic;
  font-size: var(--text-md);
}

/* Woo Cart
--------------------------------------------------*/
:is(.wc-block-cart, .wc-block-checkout) {
  justify-content: space-between;
  align-items: flex-start;
}

.woocommerce-page :is(.wc-block-components-sidebar-layout .wc-block-components-main, .wc-block-components-sidebar) {
  background-color: #fff;
  border-radius: var(--box-border-rad);
  border: 1px solid var(--gray-1);
  padding: var(--space-lg);
}

.woocommerce-page .wc-block-components-sidebar-layout .wc-block-components-main {
  width: 60%;
}

/* summary header titles */
.wc-block-cart-items__header th,
.wp-block-woocommerce-cart-order-summary-heading-block {
  font-weight: 900 !important;
  letter-spacing: 1px !important;
}

.wc-block-cart-items__header th {
  font-size: var(--text-md) !important;
}

.wp-block-woocommerce-cart-order-summary-heading-block {
  font-size: 1em !important;
}

/* Cart Items Main Block
--------------------------------------------------*/

/* product title */
.wc-block-components-product-name {
  font-size: var(--text-md) !important;
  font-family: var(--font-secondary);
}

/* product description */
.wc-block-components-product-metadata__description {
  display: none;
}

/* product total */
.wc-block-formatted-money-amount {
  font-weight: 900;
}

/* remove product link */
.wc-block-cart-item__remove-link {
  font-size: .9em !important;
}

/* product image */
.wc-block-cart-item__image {
  width: 10em;
}

/* Cart Items Sidebar
--------------------------------------------------*/

/* total labels */
.wc-block-components-sidebar .wc-block-components-totals-item__label {
  font-weight: 900;
}

/* cart / checkout submit button */
.wc-block-components-button {
  background-color: none;
  background-image: linear-gradient(45deg, var(--color-accent-light), var(--color-accent), var(--color-accent-dark));
  border: 1px solid var(--color-accent-light);
  text-decoration: none;
  font-weight: 900;
  border-radius: 50px;
  color: #fff !important;
  box-shadow: 4px 8px 16px var(--color-accent-shadow);
  height: 3em !important;
  font-size: 1em !important;
  text-transform: uppercase;
}

/* Checkout Order Summary
--------------------------------------------------*/
.wp-block-woocommerce-checkout-order-summary-block {
  border: none !important;
}

/* Checkout Order Summary
--------------------------------------------------*/
.woocommerce-order-received :is(.woocommerce-customer-details address, .woocommerce-table--order-details) {
  background-color: #fff;
}

/*------------------------------------------------------------
Product Archive
------------------------------------------------------------*/
/* .archive #content_cnt > .wrapper {
  background-color: var(--color-primary-lightest);
} */

.archive #content_cnt > .wrapper > .container {
  display: flex;
  flex-wrap: wrap;
}

.terms_sidenav,
.page-template-shop .terms_sidenav {
  width: min(100%, 25%);
}

.archive .content-area,
.page-template-shop .products_grid {
  width: min(100%, 75%);
}

.archive .woocommerce-breadcrumb {
  display: none;
}

/*--------------------------------------------------
Product Archive – Header
--------------------------------------------------*/
.archive .woocommerce-products-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.archive .page-title {
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: var(--text-xxxl);
  order: 2;
  margin: 0;
  width: min(100%, 80%)
}

.archive .tax_image {
  order: 1;
  aspect-ratio: 1/1;
  border-radius: 100%;
  width: min(15%, var(--space-xxl));
  margin-right: var(--space-sm);
}

/*--------------------------------------------------
Product Archive – Terms Sidenav
--------------------------------------------------*/
.terms_sidenav .title {
  font-size: var(--text-body);
  text-transform: uppercase;
  letter-spacing: .25px;
}

.terms_sidenav ul {
  margin-inline: 0;
}

.terms_sidenav .accordion .toggle{
  background-color: #fff;
}

.terms_sidenav ul a {
  text-decoration: none;
  color: var(--gray-8);
  transition: var(--transition);
  display: block;
  padding: var(--space-xxxs) var(--space-xxxs) var(--space-xxxs) var(--space-sm);
  border-radius: var(--space-xs);
}

.terms_sidenav ul a:hover {
  background-color: hsl(248, 100%, 96%);
}

/*------------------------------------------------------------
Single Product
------------------------------------------------------------*/
.single-product #content_cnt > .wrapper {
  padding-top: var(--space-lg);
}

.single-product .woocommerce-breadcrumb a:first-of-type {
  display: none;
}

.single-product .product {
  display: flex;
  flex-wrap: wrap;
}

.single-product .product > :is(div, section, header, ul) {
  width: 100%;
}

.single-product div.product div.images {
  pointer-events: none;
  width: min(100%, 50%);
}

/*--------------------------------------------------
Single Product – Summary
--------------------------------------------------*/
.woocommerce div.product div.summary {
  width: min(50%, 35em);
  float: none;
  margin-top: var(--space-xl);
}

.single-product .product_title {
  margin-bottom: .125em;
  font-family: var(--font-secondary);
  font-size: var(--text-xxxl);
  font-weight: bold;
  line-height: 1.125;
  text-wrap: balance;
}

.single-product .product_subtitle {
  font-weight: 400;
  font-size: var(--text-lg);
}

.single-product .woocommerce-product-details__short-description {
  margin-block: var(--space-md);
}

.single-product .woocommerce-product-details__short-description p {
  font-size: 1em;
}

/*--------------------------------------------------
Single Product – Price / Amount
--------------------------------------------------*/
.single-product .price {
  margin-bottom: 1em;
}

.single-product .amount {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-accent);
}

.single-product .woocommerce-Price-currencySymbol {
  font-size: .75em;
}

/*--------------------------------------------------
Single Product – Cart
--------------------------------------------------*/
.single-product form.cart {
  display: flex;
  align-items: center;
}

.single-product .cart button.single_add_to_cart_button {
  border-radius: 50px;
  background-color: var(--color-accent);
  padding: 1em var(--space-md);
  border: 2px solid var(--color-accent-lighter);
  margin: 0;
}

/*--------------------------------------------------
Single Product – Qty. Plus Minus Buttons
--------------------------------------------------*/

/* hide arrows from [number] input – Chrome, Safari, Edge, Opera */
.single-product input.qty::-webkit-outer-spin-button,
.single-product input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* hide arrows from [number] input – Firefox */
.single-product input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.single-product .quantity {
  align-items: center;
  margin-right: var(--space-md) !important;
  border: 1px solid var(--gray-4);
  border-radius: 50px;
  overflow: hidden;
  height: 3em;
}

.single-product .quantity .qty {
  border-radius: 0;
  padding-block: .5em;
  width: var(--space-lg);
  border: none;
  font-weight: 600;
}

.single-product .quantity :is(.minus, .plus) {
  width: 1.25em;
  height: 100%;
  font-size: var(--text-xl);
  color: var(--gray-4);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--transparent);
  transition: var(--transition);
  font-weight: 400;
  padding: 0;
}

.single-product .quantity .minus {
  border-radius: 10px 0 0 10px
}

.single-product .quantity .plus {
  border-radius: 0 10px 10px 0
}

.single-product .quantity :is(.minus, .plus):hover {
  background-color: var(--color-secondary-lighter);
  color: var(--gray-8);
}

/*--------------------------------------------------
Single Product – Tabs
--------------------------------------------------*/
.single-product .woocommerce-tabs {
  margin-bottom: var(--space-xl);
}

.single-product .author_container {
  margin-bottom: var(--space-lg);
}

/*--------------------------------------------------
Single Product – Related Categories
--------------------------------------------------*/
.chips {
  --grid-space: var(--space-sm);
}

.chips a {
  text-decoration: none;
  padding: var(--space-xs);
  align-items: center;
  justify-content: space-between;
  border-radius: 100px;
  border: 1px solid var(--gray-1);
}

.chips .img {
  aspect-ratio: 1/1;
  border-radius: 100%;
  width: min(20%, 3em);
}

.chips .name {
  font-weight: 600;
  margin: 0;
  color: var(--color-text);
  font-size: .9em;
  width: min(80%, 75%);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/*--------------------------------------------------
Single Product – Message
--------------------------------------------------*/
.woocommerce-error, .woocommerce-info, .woocommerce-message {
  border-top-width: 0;
  border-radius: var(--space-xxxs);
}

.woocommerce-message {
  background-color: hsl(180, 70%, 90%);
  color: var(--gray-8);
  border-left: .35em solid hsl(180, 60%, 40%);
}

.woocommerce-message::before {
  color: hsl(180, 60%, 40%);
}

.woocommerce-message a.button {
  background-color: #fff;
  border-radius: 50px;
}

.woocommerce-message a.button:hover {
  background-color: var(--gray-05);
}

/*------------------------------------------------------------
Responsive styles
------------------------------------------------------------*/
@media only screen and (max-width: 1200px) {
  /* @1200px */

  /*--------------------------------------------------
  Product Archive
  --------------------------------------------------*/
  .archive #content_cnt > .wrapper {
    padding-top: var(--space-lg);
  }

  .archive .content-area {
    width: 100%;
    order: 1;
  }

  .terms_sidenav {
    order: 2;
    width: 100%;
  }

  .terms_sidenav li {
    width: auto;
    display: inline-block;
    border: 1px solid var(--gray-1);
    border-radius: var(--space-xs);
    background-color: #fff;
    font-size: .925em;
  }

  .terms_sidenav li a {
    padding: var(--space-xxxs) var(--space-xs);
  }

  /*--------------------------------------------------
  Woo Cart
  --------------------------------------------------*/
  :is(.wc-block-cart, .wc-block-checkout) {
    flex-direction: column;
  }

  .woocommerce-page .wc-block-components-sidebar-layout .wc-block-components-main,
  .woocommerce-page .wc-block-components-sidebar {
    width: min(100%, 40em);
    margin: 0 auto var(--space-xl);
    padding: var(--space-md) !important;
    overflow: hidden;
  }

  .woocommerce-checkout .wc-block-components-sidebar {
    order: 1;
  }

  .woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-main {
    order: 2;
  }

  .wc-block-cart-item__image {
    width: auto;
  }


}

@media only screen and (max-width: 1024px) {
  /* @1024px */

  /*--------------------------------------------------
  nav woo cart
  --------------------------------------------------*/
  .woo_nav_cart {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .woo_nav_cart {
    width: 2.5em;
    right: 6.5em;
    margin: 0;
    top: 63%;
  }

  .woo_nav_cart .icon {
    font-size: 1.5em;
  }


  /*--------------------------------------------------
  Single Product
  --------------------------------------------------*/
  .single-product #content_cnt > .wrapper {
    padding-top: 0;
  }

  .single-product .product {
    flex-direction: column;
  }

  .single-product div.product div.images,
  .woocommerce div.product div.summary {
    width: min(100%, 40em);
    margin-inline: auto;
  }

  .woocommerce div.product div.summary {
    margin-top: 0;
  }

}

@media only screen and (max-width: 900px) {
  /* @900px */

  /*--------------------------------------------------
  Single Product
  --------------------------------------------------*/
  .single-product .product_tags li {
    width: calc(100%/3);
  }

}

@media only screen and (max-width: 600px) {
  /* @600px */

  /*--------------------------------------------------
  Single Product
  --------------------------------------------------*/
  .single-product .product_tags li {
    width: calc(100%/2);
  }

}

@media only screen and (max-width: 480px) {
  /* @480px */

  /*--------------------------------------------------
  Woo Products Grid
  --------------------------------------------------*/
  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: var(--text-body);
  }

  /*--------------------------------------------------
  Product Archive
  --------------------------------------------------*/
  .archive .page-title {
    font-size: var(--text-xxl);
    width: 100%;
    text-align: center;
  }

  .archive .tax_image {
    margin: 0 auto;
    width: min(100%, var(--space-xxl));
  }


}

@media only screen and (max-width: 400px) {
  /* @400px */

  /*--------------------------------------------------
  Single Product
  --------------------------------------------------*/
  .single-product .product_title {
    font-size: var(--text-xxl);
    text-wrap: auto;
  }

}