/**
* Theme Name:        avanam-glownis
* Theme URI:         https://templatemela.com/
* Template:          avanam
* Author:            TemplateMela
* Author URI:        #
* Description:       This is a child theme of Avanam, generated by TemplateMela.
* Version:           1.0.0
* License:           GNU General Public License v3.0 (or later)
* License URI:       https://www.gnu.org/licenses/gpl-3.0.html
* Text Domain:       avanam-glownis
* Requires at least: 6.2
* Tested up to:      6.6
* Requires PHP:      7.4
* Tags: translation-ready, two-columns, right-sidebar, left-sidebar, footer-widgets, blog, custom-logo, custom-background, custom-menu, rtl-language-support, editor-style, threaded-comments, custom-colors, featured-images, wide-blocks, full-width-template, theme-options, e-commerce

*/

/*
* Snippet: Turn WooCommerce product tabs into accordions 2025<br> * Author: John Cook <br> * URL: https://wcsuccessacademy.com/?p=824<br> * Tested with WooCommerce 9.3.3<br> * "Accordian CSS"
*/

div.prettyskin-custom-tab {
  padding: 20px;
}

div.prettyskin-custom-tab {
  font-size: 16px;
  color: #333333;
  font-weight: 400;
}

div.prettyskin-custom-tab p strong {
  font-weight: 600;
  color: #222;
}

div.prettyskin-custom-tab .usage {
  margin-bottom: 10px;
}

:is(.yith-ywar-product-page, .woocommerce-reviews-panel)
  .yith-ywar-reviews-list {
  display: block !important;
  column-count: 1;
  column-gap: 18px;
  margin-top: 24px;
}

:is(.yith-ywar-product-page, .woocommerce-reviews-panel)
  .yith-ywar-reviews-list
  .yith-ywar-single-review {
  display: inline-block !important;
  width: 100%;
  margin: 0 0 18px !important;
  padding: 18px !important;
  break-inside: avoid;
  page-break-inside: avoid;
  background: #fffdf6 !important;
  border: 1px solid #f0e8ce !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 22px rgba(58, 45, 22, 0.06) !important;
  color: #2f2a24;
}

:is(.yith-ywar-product-page, .woocommerce-reviews-panel)
  .yith-ywar-reviews-list
  .yith-ywar-single-review.featured-review {
  background: #fff8e6 !important;
  border-color: #f0d178 !important;
}

:is(.yith-ywar-product-page, .woocommerce-reviews-panel)
  .yith-ywar-reviews-list
  .yith-ywar-single-review[data-badge]:not([data-badge=""])::before {
  position: static;
  display: inline-flex;
  width: auto;
  height: auto;
  margin: 0 0 12px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #f0c84b;
  color: #3d2c00;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  transform: none;
  content: attr(data-badge);
}

:is(.yith-ywar-product-page, .woocommerce-reviews-panel)
  .yith-ywar-reviews-list
  .yith-ywar-single-review[data-badge]:not([data-badge=""])::after {
  display: none !important;
  content: none !important;
}

:is(.yith-ywar-product-page, .woocommerce-reviews-panel)
  .yith-ywar-reviews-list
  .yith-ywar-single-review
  .review-user-group {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 0 12px !important;
}

:is(.yith-ywar-product-page, .woocommerce-reviews-panel)
  .yith-ywar-reviews-list
  .yith-ywar-single-review
  .review-user-avatar {
  flex: 0 0 34px;
  width: 34px !important;
  height: 34px !important;
  margin: 0 !important;
}

:is(.yith-ywar-product-page, .woocommerce-reviews-panel)
  .yith-ywar-reviews-list
  .yith-ywar-single-review
  .review-user-avatar
  img {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  object-fit: cover;
}

:is(.yith-ywar-product-page, .woocommerce-reviews-panel)
  .yith-ywar-reviews-list
  .yith-ywar-single-review
  .review-user-avatar
  span {
  font-size: 15px !important;
}

:is(.yith-ywar-product-page, .woocommerce-reviews-panel)
  .yith-ywar-reviews-list
  .yith-ywar-single-review
  .review-info {
  min-width: 0;
  text-align: left !important;
}

:is(.yith-ywar-product-page, .woocommerce-reviews-panel)
  .yith-ywar-reviews-list
  .yith-ywar-single-review
  .review-user {
  margin: 0 0 2px !important;
  color: #27231f;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.25;
}

:is(.yith-ywar-product-page, .woocommerce-reviews-panel)
  .yith-ywar-reviews-list
  .yith-ywar-single-review
  .review-user
  .verified {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  color: #7b6226;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  padding: 0 8px !important;
  border-radius: 5px !important;
  text-transform: uppercase;
  vertical-align: middle;
}

:is(.yith-ywar-product-page, .woocommerce-reviews-panel)
  .yith-ywar-reviews-list
  .yith-ywar-single-review
  .review-user
  .verified
  img {
  width: 12px;
  height: 12px;
}

:is(.yith-ywar-product-page, .woocommerce-reviews-panel)
  .yith-ywar-reviews-list
  .yith-ywar-single-review
  .review-date {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #8c8173 !important;
  font-size: 11px !important;
  line-height: 1.25;
}

:is(.yith-ywar-product-page, .woocommerce-reviews-panel)
  .yith-ywar-reviews-list
  .yith-ywar-single-review
  .review-rating {
  margin-top: 5px !important;
}

:is(.yith-ywar-product-page, .woocommerce-reviews-panel)
  .yith-ywar-reviews-list
  .yith-ywar-single-review
  .review-title {
  margin: 0 0 7px !important;
  color: #29231d !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

:is(.yith-ywar-product-page, .woocommerce-reviews-panel)
  .yith-ywar-reviews-list
  .yith-ywar-single-review
  .review-content {
  margin: 0 !important;
  color: #4f463d !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
}

:is(.yith-ywar-product-page, .woocommerce-reviews-panel)
  .yith-ywar-reviews-list
  .yith-ywar-single-review
  .review-attachments {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 12px 0 0 !important;
}

:is(.yith-ywar-product-page, .woocommerce-reviews-panel)
  .yith-ywar-reviews-list
  .yith-ywar-single-review
  .single-attachment {
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
}

:is(.yith-ywar-product-page, .woocommerce-reviews-panel)
  .yith-ywar-reviews-list
  .yith-ywar-single-review
  .single-attachment
  img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

:is(.yith-ywar-product-page, .woocommerce-reviews-panel)
  .yith-ywar-reviews-list
  .yith-ywar-single-review
  .review-actions {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 0 0 !important;
  padding-top: 10px;
  border-top: 1px solid rgba(180, 159, 104, 0.22);
}

:is(.yith-ywar-product-page, .woocommerce-reviews-panel)
  .yith-ywar-reviews-list
  .yith-ywar-single-review
  .helpful-count {
  color: #8c8173 !important;
  font-size: 11px !important;
  line-height: 1.35;
}

:is(.yith-ywar-product-page, .woocommerce-reviews-panel)
  .yith-ywar-reviews-list
  .yith-ywar-single-review
  .buttons-wrapper {
  display: flex !important;
  align-items: center;
  gap: 8px;
}

:is(.yith-ywar-product-page, .woocommerce-reviews-panel)
  .yith-ywar-reviews-list
  .yith-ywar-single-review
  .action-buttons {
  color: #7b6226 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

:is(.yith-ywar-product-page, .woocommerce-reviews-panel)
  .yith-ywar-reviews-list
  .load-more-reviews {
  display: block;
  column-span: all;
  width: 100%;
  margin: 18px 0 0;
  text-align: center;
}

:is(.yith-ywar-product-page, .woocommerce-reviews-panel)
  .yith-ywar-reviews-list
  .load-more-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  background: #1f1b16;
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
}

.woocommerce-reviews-panel > h4:first-child {
  display: none !important;
}
/** Hide revieews can only be left by logged in customers */
.woocommerce-reviews-panel
  .yith-ywar-main-wrapper
  > .yith-ywar-review-form-message {
  display: none !important;
}

@media screen and (min-width: 1024px) {
  .woocommerce-reviews-panel .yith-ywar-main-wrapper {
    display: grid;
    grid-template-columns: minmax(140px, 1fr) minmax(0, 2fr) minmax(0, 3fr);
    gap: 18px 24px;
    align-items: stretch;
  }

  .woocommerce-reviews-panel .yith-ywar-stats-wrapper,
  .woocommerce-reviews-panel .yith-ywar-reviews-wrapper {
    display: contents !important;
  }

  .woocommerce-reviews-panel .yith-ywar-average-rating-box,
  .woocommerce-reviews-panel .yith-ywar-graph-box,
  .woocommerce-reviews-panel .yith-ywar-reviews-with-attachments {
    margin: 0 !important;
  }

  .woocommerce-reviews-panel .yith-ywar-average-rating-box {
    grid-column: 1;
    height: 160px !important;
    min-height: 0 !important;
    box-sizing: border-box;
  }

  .woocommerce-reviews-panel .yith-ywar-graph-box {
    grid-column: 2;
    gap: 4px !important;
    height: 160px !important;
    min-height: 0 !important;
    box-sizing: border-box;
  }

  .woocommerce-reviews-panel .yith-ywar-reviews-with-attachments {
    grid-column: 3;
    font-size: 0;
    min-width: 0;
  }

  .woocommerce-reviews-panel
    .yith-ywar-reviews-with-attachments
    .preview-gallery {
    height: 160px;
  }

  .woocommerce-reviews-panel .yith-ywar-reviews-with-attachments > * {
    font-size: initial;
  }

  .woocommerce-reviews-panel .yith-ywar-pending-reviews-list {
    grid-column: 1 / -1;
    margin: 0 !important;
    width: 100%;
  }

  .woocommerce-reviews-panel .yith-ywar-reviews-list,
  .woocommerce-reviews-panel .yith-ywar-edit-forms,
  .woocommerce-reviews-panel .yith-ywar-review-form-message,
  .woocommerce-reviews-panel .woocommerce-noreviews,
  .woocommerce-reviews-panel #review_form_wrapper,
  .woocommerce-reviews-panel .comment-respond {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
  }
}

@media screen and (min-width: 640px) {
  :is(.yith-ywar-product-page, .woocommerce-reviews-panel)
    .yith-ywar-reviews-list {
    column-count: 2;
  }
}

@media screen and (min-width: 1024px) {
  :is(.yith-ywar-product-page, .woocommerce-reviews-panel)
    .yith-ywar-reviews-list {
    column-count: 3;
  }
}

@media screen and (min-width: 1440px) {
  :is(.yith-ywar-product-page, .woocommerce-reviews-panel)
    .yith-ywar-reviews-list {
    column-count: 4;
  }
}

/* YITH loads the product-tab review list inside .woocommerce-reviews-panel. */
.woocommerce-reviews-panel
  .yith-ywar-reviews-wrapper
  > .yith-ywar-reviews-list {
  display: block !important;
  columns: auto !important;
  column-count: 1 !important;
  -webkit-column-count: 1 !important;
  column-gap: 18px !important;
  -webkit-column-gap: 18px !important;
}

.woocommerce-reviews-panel
  .yith-ywar-reviews-wrapper
  > .yith-ywar-reviews-list
  > .yith-ywar-single-review {
  display: inline-block !important;
  width: 100% !important;
  break-inside: avoid !important;
  -webkit-column-break-inside: avoid !important;
  page-break-inside: avoid !important;
}

@media screen and (min-width: 640px) {
  .woocommerce-reviews-panel
    .yith-ywar-reviews-wrapper
    > .yith-ywar-reviews-list {
    column-count: 2 !important;
    -webkit-column-count: 2 !important;
  }
}

@media screen and (min-width: 1024px) {
  .woocommerce-reviews-panel
    .yith-ywar-reviews-wrapper
    > .yith-ywar-reviews-list {
    column-count: 3 !important;
    -webkit-column-count: 3 !important;
  }
}

@media screen and (min-width: 1440px) {
  .woocommerce-reviews-panel
    .yith-ywar-reviews-wrapper
    > .yith-ywar-reviews-list {
    column-count: 4 !important;
    -webkit-column-count: 4 !important;
  }
}

/* Low review counts look better row-first than column-first masonry. */
.woocommerce-reviews-panel
  .yith-ywar-reviews-wrapper
  > .yith-ywar-reviews-list:has(
    > .yith-ywar-single-review:nth-child(1):last-child
  ),
.woocommerce-reviews-panel
  .yith-ywar-reviews-wrapper
  > .yith-ywar-reviews-list:has(
    > .yith-ywar-single-review:nth-child(2):last-child
  ),
.woocommerce-reviews-panel
  .yith-ywar-reviews-wrapper
  > .yith-ywar-reviews-list:has(
    > .yith-ywar-single-review:nth-child(3):last-child
  ),
.woocommerce-reviews-panel
  .yith-ywar-reviews-wrapper
  > .yith-ywar-reviews-list:has(
    > .yith-ywar-single-review:nth-child(4):last-child
  ),
.woocommerce-reviews-panel
  .yith-ywar-reviews-wrapper
  > .yith-ywar-reviews-list:has(
    > .yith-ywar-single-review:nth-child(5):last-child
  ),
.woocommerce-reviews-panel
  .yith-ywar-reviews-wrapper
  > .yith-ywar-reviews-list:has(
    > .yith-ywar-single-review:nth-child(6):last-child
  ) {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 18px;
  column-count: initial !important;
  -webkit-column-count: initial !important;
}

.woocommerce-reviews-panel
  .yith-ywar-reviews-wrapper
  > .yith-ywar-reviews-list:has(
    > .yith-ywar-single-review:nth-child(1):last-child
  )
  > .yith-ywar-single-review,
.woocommerce-reviews-panel
  .yith-ywar-reviews-wrapper
  > .yith-ywar-reviews-list:has(
    > .yith-ywar-single-review:nth-child(2):last-child
  )
  > .yith-ywar-single-review,
.woocommerce-reviews-panel
  .yith-ywar-reviews-wrapper
  > .yith-ywar-reviews-list:has(
    > .yith-ywar-single-review:nth-child(3):last-child
  )
  > .yith-ywar-single-review,
.woocommerce-reviews-panel
  .yith-ywar-reviews-wrapper
  > .yith-ywar-reviews-list:has(
    > .yith-ywar-single-review:nth-child(4):last-child
  )
  > .yith-ywar-single-review,
.woocommerce-reviews-panel
  .yith-ywar-reviews-wrapper
  > .yith-ywar-reviews-list:has(
    > .yith-ywar-single-review:nth-child(5):last-child
  )
  > .yith-ywar-single-review,
.woocommerce-reviews-panel
  .yith-ywar-reviews-wrapper
  > .yith-ywar-reviews-list:has(
    > .yith-ywar-single-review:nth-child(6):last-child
  )
  > .yith-ywar-single-review {
  display: block !important;
  margin: 0 !important;
}

@media screen and (min-width: 640px) {
  .woocommerce-reviews-panel
    .yith-ywar-reviews-wrapper
    > .yith-ywar-reviews-list:has(
      > .yith-ywar-single-review:nth-child(1):last-child
    ),
  .woocommerce-reviews-panel
    .yith-ywar-reviews-wrapper
    > .yith-ywar-reviews-list:has(
      > .yith-ywar-single-review:nth-child(2):last-child
    ),
  .woocommerce-reviews-panel
    .yith-ywar-reviews-wrapper
    > .yith-ywar-reviews-list:has(
      > .yith-ywar-single-review:nth-child(3):last-child
    ),
  .woocommerce-reviews-panel
    .yith-ywar-reviews-wrapper
    > .yith-ywar-reviews-list:has(
      > .yith-ywar-single-review:nth-child(4):last-child
    ),
  .woocommerce-reviews-panel
    .yith-ywar-reviews-wrapper
    > .yith-ywar-reviews-list:has(
      > .yith-ywar-single-review:nth-child(5):last-child
    ),
  .woocommerce-reviews-panel
    .yith-ywar-reviews-wrapper
    > .yith-ywar-reviews-list:has(
      > .yith-ywar-single-review:nth-child(6):last-child
    ) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (min-width: 1024px) {
  .woocommerce-reviews-panel
    .yith-ywar-reviews-wrapper
    > .yith-ywar-reviews-list:has(
      > .yith-ywar-single-review:nth-child(1):last-child
    ),
  .woocommerce-reviews-panel
    .yith-ywar-reviews-wrapper
    > .yith-ywar-reviews-list:has(
      > .yith-ywar-single-review:nth-child(2):last-child
    ),
  .woocommerce-reviews-panel
    .yith-ywar-reviews-wrapper
    > .yith-ywar-reviews-list:has(
      > .yith-ywar-single-review:nth-child(3):last-child
    ),
  .woocommerce-reviews-panel
    .yith-ywar-reviews-wrapper
    > .yith-ywar-reviews-list:has(
      > .yith-ywar-single-review:nth-child(4):last-child
    ),
  .woocommerce-reviews-panel
    .yith-ywar-reviews-wrapper
    > .yith-ywar-reviews-list:has(
      > .yith-ywar-single-review:nth-child(5):last-child
    ),
  .woocommerce-reviews-panel
    .yith-ywar-reviews-wrapper
    > .yith-ywar-reviews-list:has(
      > .yith-ywar-single-review:nth-child(6):last-child
    ) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (min-width: 1440px) {
  .woocommerce-reviews-panel
    .yith-ywar-reviews-wrapper
    > .yith-ywar-reviews-list:has(
      > .yith-ywar-single-review:nth-child(1):last-child
    ),
  .woocommerce-reviews-panel
    .yith-ywar-reviews-wrapper
    > .yith-ywar-reviews-list:has(
      > .yith-ywar-single-review:nth-child(2):last-child
    ),
  .woocommerce-reviews-panel
    .yith-ywar-reviews-wrapper
    > .yith-ywar-reviews-list:has(
      > .yith-ywar-single-review:nth-child(3):last-child
    ),
  .woocommerce-reviews-panel
    .yith-ywar-reviews-wrapper
    > .yith-ywar-reviews-list:has(
      > .yith-ywar-single-review:nth-child(4):last-child
    ),
  .woocommerce-reviews-panel
    .yith-ywar-reviews-wrapper
    > .yith-ywar-reviews-list:has(
      > .yith-ywar-single-review:nth-child(5):last-child
    ),
  .woocommerce-reviews-panel
    .yith-ywar-reviews-wrapper
    > .yith-ywar-reviews-list:has(
      > .yith-ywar-single-review:nth-child(6):last-child
    ) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

body {
  font-family: "Raleway", sans-serif !important;
}

.woocommerce
  .woocommerce-Price-amount:not(del .woocommerce-Price-amount):not(
    .tmcore-product-price-filter .woocommerce-Price-amount
  ) {
  font-family: "Raleway", sans-serif !important;
  font-weight: 700;
}
.woocommerce ul.products li.product h3,
.woocommerce
  ul.products
  li.product
  .product-details
  .woocommerce-loop-product__title,
.woocommerce
  ul.products
  li.product
  .product-details
  .woocommerce-loop-category__title,
.wc-block-grid__products .wc-block-grid__product .wc-block-grid__product-title {
  font-family: "Raleway", sans-serif !important;
  font-weight: 600 !important;
}

ul.products li.product .yith-ywar-product-rating.page-loop .total-reviews {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  min-height: 20px;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 4px;
  background: #e8e8e8;
  color: #888888;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  vertical-align: middle;
}

ul.products li.product .yith-ywar-product-rating.page-loop .total-reviews b {
  font: inherit;
  color: inherit;
}

.product-brand-wrapper a {
  text-transform: uppercase;
  font-weight: 500;
  color: var(--global-palette4);
}

.product-brand-wrapper a:hover {
  text-transform: uppercase;
  font-weight: 500;
  color: var(--global-palette1);
}

div.woocommerce-product-details__short-description p {
  font-weight: normal;
  font-weight: 400;
  font-size: 16px;
}

div.summary .single_add_to_cart_button {
  flex-basis: 100%;
  min-height: 3.5rem;
}

div.summary .variations_button {
  display: flex;
  align-items: center;
  gap: 10px;
}

div.summary .woocommerce-variation-add-to-cart.variations_button button {
  margin: 0;
}

div.summary form.cart {
  display: flex;
  flex-wrap: wrap;
}

div.summary form.cart button.single_add_to_cart_button {
  flex-basis: 100%;
  margin-top: 10px;
  min-height: 3.5rem;
}

.base-sticky-add-to-cart-action-wrap form.cart {
  gap: 10px;
}

/* Breadcrumbs Customization */
nav#base-breadcrumbs {
  font-weight: 300;
}

/* Filters Customization */
.yith-wcan-filters h4 {
  font-size: 14px;
}
.yith-wcan-filters {
  margin-bottom: 0px;
}

.filter-content ul li {
  font-weight: 400;
  font-weight: 14px;
}
li.filter-item label {
  display: flex;
  align-items: center;
}

li.filter-item label input[type="checkbox"] {
  margin-right: 5px;
}
.woocommerce div.product div.summary .wrap_after_button {
  border-bottom: none !important;
}

/* WooCommerce Store Notice Customization */

.woocommerce-demo-store .woocommerce-store-notice a,
.woocommerce-demo-store .woocommerce-store-notice {
  font-weight: 600 !important;
}
p.woocommerce-store-notice {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
  text-align: center; /* Center text on load */
  visibility: hidden; /* Hide by default */
}

p.woocommerce-store-notice .marquee-text {
  display: inline-block;
  white-space: nowrap;
  /* No padding-left, so it starts from center */
  /* No animation by default */
}

p.woocommerce-store-notice .marquee-text.marquee-animate {
  animation: marquee 30s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

p.woocommerce-store-notice .notice-text {
  display: flex;
  align-items: center;
  width: 100%;
}
p.woocommerce-store-notice .notice-segment {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 0;
  text-transform: uppercase;
}
p.woocommerce-store-notice .notice-separator {
  flex: 0 0 2em;
  display: flex;
  align-items: center;
  justify-content: center;
}
p.woocommerce-store-notice .notice-separator svg {
  width: 1.2em;
  height: 1.2em;
  display: block;
  margin: 0;
}
p.woocommerce-store-notice .notice-text svg {
  vertical-align: -0.125em;
  position: relative;
  top: 0;
  margin: 0 0.2em;
  display: inline-block;
  width: 1em;
  height: 1em;
}

/* Desktop: show flexbar, hide slider */
p.woocommerce-store-notice .notice-slider {
  display: none;
}
@media (max-width: 1024px) {
  /* Tablet & Mobile: hide flexbar, show slider */
  p.woocommerce-store-notice .notice-text {
    display: none !important;
  }
  p.woocommerce-store-notice .notice-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 2em;
    overflow: hidden;
    position: relative;
    height: 100%;
  }
  .notice-slider-inner {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
  }
  .notice-slider-svg {
    flex: 0 0 auto;
    width: 1.2em;
    height: 1.2em;
    margin: 0 0.5em;
    display: block;
  }
  .notice-slides-wrapper {
    flex: 1 1 0;
    position: relative;
    width: 100%;
    height: 2em;
    overflow: hidden;
    display: block;
  }
  .notice-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    transition: opacity 0.4s;
    height: 100%; /* remains 100% of wrapper, which is now 1.25em */
  }
  .notice-slide.active {
    opacity: 1;
    position: relative;
  }
  .notice-slide-text {
    flex: 1 1 0;
    text-transform: uppercase;
    text-align: center;
    font-size: 0.7em; /* Smaller font for mobile */
    white-space: nowrap;
    line-height: 2em;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .notice-segment {
    font-size: 0.7em; /* Smaller font for mobile */
  }
  p.woocommerce-store-notice.woo-static-store-notice.demo_store {
    min-height: 2em;
    height: 2em;
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
  }
}

/* List of brands in Menu should be full width */
a img[src$=".svg"] {
  width: 100% !important;
}

/* Centered Thank You page layout */
.ps-thankyou {
  display: block;
}
.ps-thankyou .ps-thankyou-container {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
.ps-thankyou .ps-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column; /* stack svg then title */
  gap: 8px;
  margin: 24px 0;
}
.ps-thankyou .ps-hero-title {
  margin: 12px 0 0;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 600;
  color: #111827; /* gray-900 */
  text-align: center;
}
.ps-thankyou .ps-order-badge-wrap {
  display: flex;
  justify-content: center;
  margin: 8px 0 20px;
}
.ps-thankyou .ps-order-badge {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid #e5e7eb; /* gray-200 */
  border-radius: 10px;
  background: #ffffff;
  color: #374151; /* gray-700 */
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.06); /* subtle */
}

/* Payment Instructions card */
.ps-thankyou .ps-paycard {
  margin: 20px auto 28px;
  background: #fffbeb; /* yellow-50 */
  border-radius: 16px;
  padding: 24px;
  max-width: 1140px;
}
.ps-thankyou .ps-paycard-title {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  color: #111827; /* gray-900 */
  margin: 0 0 12px;
}
.ps-thankyou .ps-paycard-intro,
.ps-thankyou .ps-paycard-note {
  font-size: 18px;
  color: #374151; /* gray-700 */
  margin: 8px 0 18px;
}
.ps-thankyou .ps-paycard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
  margin: 8px 0 8px;
}
.ps-thankyou .ps-paycard-label {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}
.ps-thankyou .ps-paycard-text {
  font-size: 22px;
  color: #374151;
}
@media (max-width: 640px) {
  .ps-thankyou .ps-paycard {
    padding: 18px;
  }
  .ps-thankyou .ps-paycard-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .ps-thankyou .ps-paycard-title {
    font-size: 24px;
  }
  .ps-thankyou .ps-paycard-label {
    font-size: 20px;
  }
  .ps-thankyou .ps-paycard-text {
    font-size: 18px;
  }
}
.ps-thankyou .woocommerce-order-overview.order_details {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
.ps-thankyou .woocommerce-thankyou-order-received {
  text-align: center;
  margin: 8px auto 16px;
  font-size: 18px; /* proportionate to 24px h3 */
  line-height: 1.6;
  color: #374151; /* gray-700 */
}

/* New payment box (Zelle/MCB Juice style) */
.ps-thankyou .ps-paybox {
  max-width: 820px;
  margin: 18px auto 28px;
}
.ps-thankyou .ps-paybox-card {
  max-width: 980px;
  margin: 12px auto 24px;
  background: #fffbeb;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #fef3c7;
}
.ps-thankyou .ps-paybox-header {
  text-align: center;
}
.ps-thankyou .ps-paybox-title {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
}
/* Accent color for dynamic amounts */
.ps-thankyou .ps-amount-color,
.ps-thankyou .ps-amount-color .woocommerce-Price-amount,
.ps-thankyou .ps-amount-color .woocommerce-Price-amount .amount,
.ps-thankyou .ps-amount-color bdi {
  color: #4f46e5 !important;
}
.ps-thankyou .ps-paybox-progress {
  display: block;
  height: 6px;
  background: #e5e7eb;
  margin: 10px auto 0;
  width: 380px;
  border-radius: 9999px;
}
.ps-thankyou .ps-paybox-intro {
  text-align: center;
  font-size: 20px;
  color: #111827;
  line-height: 1.5;
  margin: 18px auto;
  max-width: 700px;
}
.ps-thankyou .ps-paypanel {
  border: 2px dashed #e5e7eb;
  border-radius: 10px;
  padding: 18px;
  background: #fff;
}
.ps-thankyou .ps-payrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 6px;
  border-bottom: 1px solid #f3f4f6;
}
.ps-thankyou .ps-payrow:last-child {
  border-bottom: 0;
}
.ps-thankyou .ps-paylabel {
  font-size: 12px;
  color: #6b7280;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.ps-thankyou .ps-payvalue {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  color: #111827;
  font-weight: 700;
}
.ps-thankyou .ps-textfield {
  width: 100%;
  max-width: 360px;
  border: 0;
  background: transparent;
  height: 32px;
  padding: 0;
  outline: none;
}
.ps-thankyou .ps-copybtn {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  border: 0;
  background: #e5e7eb;
  cursor: pointer;
  font-size: 16px;
  color: #374151;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ps-thankyou .ps-copybtn.copied {
  background: #d1fae5;
}
.ps-thankyou .ps-paybox-note {
  font-size: 18px;
  color: #374151;
  margin: 14px 0 0;
}

@media (max-width: 640px) {
  .ps-thankyou .ps-paybox-progress {
    width: 70%;
  }
  .ps-thankyou .ps-payrow {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .ps-thankyou .ps-payvalue {
    font-size: 18px;
  }
}

/* Order details card */
.ps-thankyou .ps-ordercard {
  max-width: 1140px;
  margin: 24px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.06);
  border: 1px solid #f3f4f6;
}
.ps-thankyou .ps-ordercard-head {
  padding: 16px 16px;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ps-thankyou .ps-ordercard-title {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}
.ps-thankyou .ps-orderlist {
  display: block;
}
.ps-thankyou .ps-orderheader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #f3f4f6;
  background: #fafafa;
}
.ps-thankyou .ps-orderheader-left,
.ps-thankyou .ps-orderheader-right {
  flex: 1 1 0;
}
.ps-thankyou .ps-orderheader-right {
  text-align: right;
}
.ps-thankyou .ps-orderheader-left {
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ps-thankyou .ps-orderheader-right {
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ps-thankyou .ps-orderrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #f3f4f6;
}
.ps-thankyou .ps-orderrow:last-child {
  border-bottom: 0;
}
.ps-thankyou .ps-orderleft {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.ps-thankyou .ps-thumbwrap {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eee;
}
.ps-thankyou .ps-thumbwrap img.ps-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ps-thankyou .ps-itemtext {
  display: block;
}
.ps-thankyou .ps-itemtitle {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}
.ps-thankyou .ps-qty {
  color: #6b7280;
  font-weight: 400;
}
.ps-thankyou .ps-itemmeta {
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
}
.ps-thankyou .ps-itemmeta-inline {
  white-space: nowrap;
}
.ps-thankyou .ps-itemmeta-inline .wc-item-meta {
  display: inline;
  list-style: none;
  padding: 0;
  margin: 0;
}
.ps-thankyou .ps-itemmeta-inline .wc-item-meta li {
  display: inline;
}
.ps-thankyou .ps-itemmeta-inline .wc-item-meta li + li {
  margin-left: 8px;
}
.ps-thankyou .ps-itemmeta-inline .wc-item-meta p {
  display: inline;
  margin: 0;
}
.ps-thankyou .ps-itemmeta-inline .wc-item-meta .wc-item-meta-label {
  display: inline;
  margin-right: 4px;
}
.ps-thankyou .ps-orderright {
  font-size: 14px;
  font-weight: 400; /* normal weight for line totals */
  color: #111827;
}
.ps-thankyou .ps-ordertotals {
  padding: 12px 16px 16px;
}
.ps-thankyou .ps-totalrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}
.ps-thankyou .ps-totalrow-grand .ps-total-label {
  font-weight: 700;
}
.ps-thankyou .ps-totalrow-grand .ps-total-value {
  font-weight: 800;
  font-size: 16px;
}

/* Force the shipping description to a new line */
.woocommerce .woocommerce-shipping-methods li label {
  flex-wrap: wrap !important; /* if label is flex/inline-flex */
}

.woocommerce
  .woocommerce-shipping-methods
  li
  label
  .shipping-method-description {
  display: block !important;
  flex: 0 0 100% !important; /* full-width row in flex */
  width: 100%; /* fallback */
  grid-column: 1 / -1; /* if label uses CSS grid */
  margin-top: 4px;
}

.woocommerce .woocommerce-shipping-methods li label .woocommerce-Price-amount {
  float: none !important;
}

.time-sale div.deal-text {
  font-weight: 600;
}

#shipping_method li label[for*="_chrono"]:before {
  display: none;
  content: none;
  visibility: hidden;
}

.pickup-relay-link a {
  display: block;
  background-color: #666666 !important;
  color: #fff !important;
  text-decoration: none !important;
  padding: 12px 24px !important;
  font-weight: 700 !important;
  font-size: 0.85em !important;
  letter-spacing: 0.5px !important;
  cursor: pointer !important;
  margin-top: 8px !important;
  line-height: 1.4 !important;
  width: fit-content !important;
}
