/*
Theme Name: Yaripandi Woo
Theme URI: https://yaripandi.com.co/
Author: Codex
Description: WordPress + WooCommerce theme inspired by the Yaripandi Shopify export.
Version: 1.0.38
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: yaripandi-woo
*/

:root {
  --yp-bg: #ffffff;
  --yp-soft: #f0f0ff;
  --yp-text: #3f3f7b;
  --yp-heading: #535366;
  --yp-muted: #5e5d89;
  --yp-border: #5b5b82;
  --yp-action: #000000;
  --yp-action-hover: #333333;
  --yp-accent: #825b5f;
  --yp-radius: 14px;
  --yp-product-radius: 17px;
  --yp-page: min(1120px, calc(100vw - 32px));
  --yp-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--yp-bg);
  color: var(--yp-text);
  font-family: var(--yp-font);
  font-size: 18px;
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--yp-heading); }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.yp-shell {
  width: var(--yp-page);
  max-width: 100%;
  margin: 0 auto;
}

.yp-site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--yp-soft);
  border-bottom: 1px solid rgba(91, 91, 130, 0.22);
}

.yp-header-inner {
  min-height: 104px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.yp-brand {
  color: var(--yp-heading);
  font-weight: 800;
  font-size: 1.45rem;
  line-height: 1;
}

.yp-brand img {
  max-height: 99px;
  width: auto;
}

.yp-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--yp-heading);
  font-size: 1.125rem;
  font-weight: 700;
}

.yp-header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.yp-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(0, 0, 0, 0.13);
  border-radius: 999px;
  padding: 6px 10px 6px 14px;
  background: rgba(255, 255, 255, 0.36);
}

.yp-search input {
  width: 160px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--yp-heading);
}

.yp-icon-button,
.yp-search button {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--yp-heading);
  cursor: pointer;
}

.yp-cart {
  position: relative;
}

.yp-cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  min-width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 999px;
  background: var(--yp-heading);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
}

.yp-hero {
  min-height: 520px;
  display: grid;
  align-items: end;
  background:
    linear-gradient(rgba(18, 18, 18, 0.4), rgba(18, 18, 18, 0.4)),
    var(--yp-hero-image, radial-gradient(circle at 20% 20%, #f0f0ff, transparent 34%), linear-gradient(135deg, #5e5d89, #825b5f));
  background-position: center;
  background-size: cover;
  color: #fff;
}

.yp-hero-content {
  width: var(--yp-page);
  margin: 0 auto;
  padding: 100px 0 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.yp-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.7rem, 4vw, 2rem);
  line-height: 1.2;
  font-weight: 800;
}

.yp-button,
.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wp-element-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--yp-radius);
  background: var(--yp-action);
  color: #fff;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.yp-button--secondary,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background: var(--yp-muted);
  color: #fff;
}

.button:not(.alt),
.woocommerce a.button:not(.alt),
.woocommerce button.button:not(.alt),
.woocommerce input.button:not(.alt),
.woocommerce .button:not(.alt) {
  background: #5e5d89;
  color: #fff;
}

.yp-button:hover,
.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--yp-action-hover);
  color: #fff;
}

.button:not(.alt):hover,
.woocommerce a.button:not(.alt):hover,
.woocommerce button.button:not(.alt):hover,
.woocommerce input.button:not(.alt):hover,
.woocommerce .button:not(.alt):hover {
  background: #000;
  color: #fff;
}

.yp-section {
  padding: 26px 0;
}

.yp-section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.yp-section-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.yp-carousel-frame {
  position: relative;
}

.yp-carousel-button {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(63, 63, 123, 0.22);
  border-radius: 999px;
  background: #fff;
  color: var(--yp-text);
  cursor: pointer;
}

.yp-carousel-frame > .yp-carousel-button {
  position: absolute;
  top: 38%;
  z-index: 4;
  transform: translateY(-50%);
  box-shadow: 0 8px 22px rgba(63, 63, 123, 0.16);
}

.yp-carousel-button--prev {
  left: -17px;
}

.yp-carousel-button--next {
  right: -17px;
}

.yp-carousel-button:hover {
  background: var(--yp-soft);
  color: var(--yp-heading);
}

.yp-carousel-button:disabled,
.yp-carousel-button.is-disabled {
  opacity: 0.34;
  cursor: not-allowed;
  pointer-events: none;
}

.yp-section-title,
.woocommerce-products-header__title,
.entry-title,
.product_title {
  margin: 0;
  color: var(--yp-heading);
  font-size: 1.35rem;
  line-height: 1.2;
  font-weight: 800;
}

.yp-link {
  color: var(--yp-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.yp-product-grid,
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.yp-products-scroll {
  display: flex;
  gap: 8px;
  max-width: 100%;
  min-width: 0;
  contain: layout paint;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  padding-bottom: 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(63, 63, 123, 0.45) transparent;
  touch-action: pan-x pan-y;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}

.yp-products-scroll > * {
  flex: 0 0 calc((100% - 24px) / 4);
  min-width: 0;
}

.yp-products-scroll:active {
  cursor: grabbing;
}

.yp-products-scroll > * {
  scroll-snap-align: start;
}

@media (min-width: 901px) {
  body.home main#primary > .yp-section .yp-section-header {
    width: min(calc((((var(--yp-page) - 24px) / 4) * 5) + 32px), calc(100vw - 32px));
    max-width: none;
    margin-right: auto;
    margin-left: 50%;
    transform: translateX(-50%);
  }

  body.home main#primary > .yp-section .yp-carousel-frame {
    width: min(calc((((var(--yp-page) - 24px) / 4) * 5) + 32px), calc(100vw - 32px));
    max-width: none;
    margin-right: auto;
    margin-left: 50%;
    transform: translateX(-50%);
  }

  body.home main#primary > .yp-section .yp-products-scroll > * {
    flex-basis: calc((var(--yp-page) - 24px) / 4);
  }
}

.yp-section .yp-shell {
  overflow-x: visible;
}

.woocommerce ul.products li.product,
.yp-product-card {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  color: var(--yp-text);
}

.woocommerce ul.products li.product a img,
.yp-product-card img,
.yp-product-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 4px solid var(--yp-border);
  border-radius: var(--yp-product-radius);
  background: #f4f4ff;
  margin: 0 0 4px;
}

.woocommerce .yp-products-scroll .yp-product-card a img,
.yp-products-scroll .yp-product-card img {
  aspect-ratio: 3 / 4;
  object-fit: contain;
}

.yp-product-placeholder {
  display: grid;
  place-items: center;
  color: var(--yp-muted);
  font-weight: 800;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.yp-product-title {
  padding: 4px 0 0;
  margin: 0;
  color: var(--yp-text);
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 400;
}

.woocommerce ul.products li.product .price,
.yp-product-price,
.price {
  display: block;
  color: var(--yp-text);
  font-size: 1rem;
  font-weight: 800;
}

.woocommerce .price del,
.yp-product-price del,
.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
  color: #d71920;
  opacity: 1;
}

.woocommerce .price del .amount,
.yp-product-price del .amount,
.woocommerce div.product p.price del .amount,
.woocommerce div.product span.price del .amount {
  color: #d71920;
}

.woocommerce span.onsale {
  top: 8px;
  right: 8px;
  left: auto;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  min-width: 140px;
  height: 60px;
  min-height: 60px;
  border-radius: 999px;
  background: #fff;
  color: #fd1010;
  line-height: 1;
  padding: 0 12px;
  font-size: 1.35rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}

.woocommerce ul.products li.product {
  position: relative;
}

.woocommerce ul.products li.product span.onsale {
  position: absolute;
  top: 10px;
  right: 10px;
  left: auto;
  width: 120px;
  min-width: 120px;
  height: 48px;
  min-height: 48px;
  font-size: 1.05rem;
}

.woocommerce div.product {
  position: relative;
}

.woocommerce div.product div.images {
  position: relative;
}

.woocommerce div.product div.images span.onsale {
  position: absolute;
  top: 10px;
  right: 10px;
  left: auto;
}

.woocommerce div.product span.onsale {
  top: 10px;
  right: 10px;
  left: auto;
}

.yp-content,
.woocommerce-page .site-main {
  width: var(--yp-page);
  margin: 0 auto;
  padding: 48px 0;
}

.post-type-archive-product .yp-content,
.tax-product_cat .yp-content,
.tax-product_tag .yp-content {
  width: min(1120px, calc(100vw - 64px));
  padding-top: 54px;
}

.post-type-archive-product .woocommerce-products-header__title,
.tax-product_cat .woocommerce-products-header__title,
.tax-product_tag .woocommerce-products-header__title {
  margin-bottom: 40px;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1;
}

.post-type-archive-product .woocommerce-result-count,
.tax-product_cat .woocommerce-result-count,
.tax-product_tag .woocommerce-result-count {
  float: right;
  margin: 0 18px 18px 0;
  color: rgba(83, 83, 102, 0.7);
  font-size: 0.95rem;
}

.yp-shop-toolbar {
  float: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 18px;
  margin: 0 0 18px;
}

.yp-shop-filters {
  display: flex;
  gap: 18px;
}

.yp-filter-popover {
  position: relative;
}

.yp-filter-popover summary {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  list-style: none;
  border: 0;
  background: transparent;
  color: var(--yp-text);
  padding: 0;
  font-size: 0.95rem;
  cursor: pointer;
}

.yp-filter-popover summary::-webkit-details-marker {
  display: none;
}

.yp-filter-popover summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.7;
}

.yp-filter-popover[open] summary::after {
  transform: rotate(225deg) translateY(-1px);
}

.yp-filter-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 10;
  min-width: 160px;
  padding: 12px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(45, 45, 70, 0.16);
  color: var(--yp-text);
}

.yp-filter-panel label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--yp-text);
  white-space: nowrap;
}

.yp-filter-panel label + label {
  margin-top: 8px;
}

.yp-filter-panel .is-muted {
  color: rgba(83, 83, 102, 0.55);
}

.yp-filter-panel--price {
  display: grid;
  grid-template-columns: minmax(90px, 1fr) auto minmax(110px, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 350px;
}

.yp-filter-panel--price label {
  min-height: 50px;
  border: 1px solid rgba(83, 83, 102, 0.16);
  border-radius: 6px;
  padding: 0 10px;
}

.yp-filter-panel--price input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--yp-text);
  text-align: right;
}

.yp-filter-panel--price p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--yp-text);
  font-size: 0.95rem;
}

.yp-filter-panel button {
  min-height: 34px;
  margin-top: 8px;
  border: 0;
  border-radius: 6px;
  background: var(--yp-muted);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
}

.yp-filter-panel--price button {
  grid-column: 1 / -1;
}

.yp-filter-panel--category {
  min-width: 220px;
  max-height: 320px;
  overflow-y: auto;
}

.yp-shop-view-toggle {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.yp-shop-view-toggle a {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  color: rgba(83, 83, 102, 0.55);
}

.yp-shop-view-toggle a.is-active,
.yp-shop-view-toggle a:hover {
  background: #f0f0ff;
  color: var(--yp-text);
}

.post-type-archive-product .woocommerce-ordering,
.tax-product_cat .woocommerce-ordering,
.tax-product_tag .woocommerce-ordering {
  float: right;
  margin: 0 0 18px;
}

.post-type-archive-product .woocommerce-ordering select,
.tax-product_cat .woocommerce-ordering select,
.tax-product_tag .woocommerce-ordering select {
  min-height: 34px;
  border: 0;
  background: transparent;
  color: var(--yp-text);
  font-size: 0.95rem;
}

.post-type-archive-product ul.products,
.tax-product_cat ul.products,
.tax-product_tag ul.products {
  clear: both;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px 12px;
}

.yp-shop-view-compact.post-type-archive-product ul.products,
.yp-shop-view-compact.tax-product_cat ul.products,
.yp-shop-view-compact.tax-product_tag ul.products {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 24px 14px;
}

.yp-shop-view-compact.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
.yp-shop-view-compact.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
.yp-shop-view-compact.tax-product_tag ul.products li.product .woocommerce-loop-product__title {
  font-size: 0.82rem;
  line-height: 1.25;
}

.yp-shop-view-compact.post-type-archive-product ul.products li.product .price,
.yp-shop-view-compact.tax-product_cat ul.products li.product .price,
.yp-shop-view-compact.tax-product_tag ul.products li.product .price {
  display: none;
}

.post-type-archive-product ul.products li.product a img,
.tax-product_cat ul.products li.product a img,
.tax-product_tag ul.products li.product a img {
  border-width: 0;
  border-radius: 0;
  aspect-ratio: 3 / 4;
  object-fit: contain;
}

.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
.tax-product_tag ul.products li.product .woocommerce-loop-product__title {
  min-height: 0;
  padding-top: 10px;
  color: #333;
  font-size: 1rem;
}

.post-type-archive-product ul.products li.product .price,
.tax-product_cat ul.products li.product .price,
.tax-product_tag ul.products li.product .price {
  color: var(--yp-text);
  font-size: 0.82rem;
  font-weight: 700;
}

.post-type-archive-product ul.products li.product .button,
.tax-product_cat ul.products li.product .button,
.tax-product_tag ul.products li.product .button {
  display: none;
}

.woocommerce nav.woocommerce-pagination {
  clear: both;
  width: 100%;
  margin-top: 28px;
}

.woocommerce nav.woocommerce-pagination ul,
.woocommerce-pagination ul.page-numbers,
.woocommerce .woocommerce-pagination ul.page-numbers {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
}

.woocommerce nav.woocommerce-pagination ul li,
.woocommerce-pagination ul.page-numbers li,
.woocommerce .woocommerce-pagination ul.page-numbers li {
  display: inline-flex;
  float: none;
  margin: 0;
  border: 0;
  list-style: none;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: inline-grid;
  min-width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  color: var(--yp-text);
  font-weight: 800;
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
  background: var(--yp-soft);
  color: var(--yp-heading);
}

.yp-product-page div.product {
  display: grid;
  grid-template-columns: minmax(460px, 1.12fr) minmax(320px, 0.88fr);
  column-gap: 44px;
  row-gap: 42px;
  align-items: start;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
  float: none;
  width: auto;
}

.woocommerce div.product div.images {
  margin-bottom: 0;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
  display: none;
}

.woocommerce div.product div.summary {
  margin-bottom: 0;
  color: var(--yp-text);
}

.woocommerce div.product div.images img {
  border-radius: 0;
}

.woocommerce div.product div.images .flex-control-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 74px));
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.woocommerce div.product div.images .flex-control-thumbs li {
  width: auto;
  float: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce div.product div.images .flex-control-thumbs li::marker {
  content: "";
}

.yp-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 44px;
  border: 0;
  background: rgba(255, 255, 255, 0.48);
  color: #535366;
  transform: translateY(-50%);
  cursor: pointer;
}

.yp-gallery-arrow:hover {
  background: rgba(255, 255, 255, 0.72);
  color: #111;
}

.yp-gallery-arrow--prev {
  left: 10px;
}

.yp-gallery-arrow--next {
  right: 10px;
}

.yp-gallery-arrow svg {
  width: 16px;
  height: 16px;
}

.woocommerce div.product div.images .flex-control-thumbs img {
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(91, 91, 130, 0.35);
  border-radius: 4px;
}

.yp-product-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.woocommerce div.product .product_title {
  margin-bottom: 0;
  color: var(--yp-text);
  font-size: 1.55rem;
}

.yp-product-share {
  display: inline-grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(91, 91, 130, 0.24);
  border-radius: 999px;
  background: #fff;
  color: var(--yp-heading);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(63, 63, 123, 0.08);
}

.yp-product-share:hover,
.yp-product-share:focus-visible {
  background: var(--yp-soft);
  color: var(--yp-heading);
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  margin: 0 0 22px;
  color: var(--yp-text);
  font-size: 1.05rem;
}

.woocommerce div.product form.cart,
.woocommerce div.product .summary > .price {
  border-bottom: 2px solid rgba(63, 63, 123, 0.9);
  padding-bottom: 18px;
}

.woocommerce div.product form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.woocommerce div.product form.cart .single_variation_wrap {
  width: 100%;
}

.woocommerce div.product form.cart .woocommerce-variation-add-to-cart {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px 20px;
}

.woocommerce div.product form.cart .variations {
  width: 100%;
  margin-bottom: 2px;
  border: 0;
}

.woocommerce div.product form.cart .variations tr {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td {
  display: block;
  padding: 0;
  line-height: 1.2;
  text-align: left;
}

.woocommerce div.product form.cart .variations label {
  color: var(--yp-text);
  font-size: 0.9rem;
  font-weight: 800;
}

.woocommerce div.product form.cart .variations select {
  width: 95px;
  min-height: 42px;
  border: 1px solid rgba(63, 63, 123, 0.25);
  border-radius: 8px;
  background: #fff;
  color: var(--yp-heading);
  padding: 8px 12px;
}

.woocommerce div.product form.cart .variations select.yp-enhanced-select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.yp-variation-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.yp-variation-option {
  min-width: 58px;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(63, 63, 123, 0.24);
  border-radius: 8px;
  background: #fff;
  color: var(--yp-heading);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.yp-variation-option.is-selected,
.yp-variation-option:hover {
  border-color: #000;
  background: #000;
  color: #fff;
}

.woocommerce div.product form.cart .reset_variations {
  display: inline-block;
  margin-left: 10px;
  color: var(--yp-muted);
  font-size: 0.82rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.quantity .qty {
  width: 95px;
  min-height: 46px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 4px;
  padding: 6px;
}

.woocommerce div.product form.cart .quantity {
  display: grid;
  gap: 6px;
  margin: 0;
}

.woocommerce div.product form.cart .quantity::before {
  content: "Cantidad";
  color: var(--yp-text);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
}

.woocommerce div.product form.cart button.single_add_to_cart_button {
  min-width: 180px;
  margin-left: 0;
  align-self: end;
}

.yp-share-swal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(20, 20, 32, 0.42);
}

.yp-share-swal-card {
  width: min(420px, 100%);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(24, 24, 48, 0.26);
  overflow: hidden;
}

.yp-share-swal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(91, 91, 130, 0.14);
}

.yp-share-swal-header h2 {
  margin: 0;
  color: var(--yp-heading);
  font-size: 1.2rem;
  line-height: 1.2;
}

.yp-share-swal-close {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  color: var(--yp-heading);
  font-size: 1.35rem;
  line-height: 1;
}

.yp-share-swal-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
}

.yp-share-option {
  display: grid;
  min-height: 126px;
  align-content: center;
  justify-items: center;
  gap: 5px;
  border: 1px solid rgba(91, 91, 130, 0.16);
  border-radius: 14px;
  background: #fafaff;
  color: var(--yp-heading);
  font-weight: 800;
  text-align: center;
  cursor: pointer;
}

.yp-share-option:hover,
.yp-share-option:focus-visible {
  border-color: rgba(91, 91, 130, 0.4);
  background: var(--yp-soft);
}

.yp-share-option svg {
  width: 38px;
  height: 38px;
  display: block;
}

.yp-share-option span {
  display: block;
  line-height: 1.15;
}

.yp-share-option--whatsapp svg {
  color: #20b455;
}

.yp-share-option--copy svg {
  color: var(--yp-heading);
}

.yp-share-feedback {
  min-height: 20px;
  margin: -8px 22px 18px;
  color: var(--yp-heading);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
}

.yp-single-description {
  color: var(--yp-text);
  font-size: 0.98rem;
  line-height: 1.62;
}

.yp-single-description p {
  margin: 0 0 14px;
}

.yp-single-description ul,
.yp-single-description ol {
  margin: 0 0 14px 18px;
  padding: 0;
}

.woocommerce div.product .woocommerce-tabs {
  display: none;
}

.woocommerce div.product .related,
.woocommerce div.product .upsells {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 28px;
  border-top: 1px solid rgba(91, 91, 130, 0.18);
}

.woocommerce div.product .related > h2,
.woocommerce div.product .upsells > h2 {
  margin: 0 0 22px;
  color: var(--yp-text);
  font-size: 1rem;
  line-height: 1.25;
}

.woocommerce div.product .related ul.products,
.woocommerce div.product .upsells ul.products {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px 12px;
}

.woocommerce div.product .related ul.products li.product a img,
.woocommerce div.product .upsells ul.products li.product a img {
  aspect-ratio: 3 / 4;
  object-fit: contain;
}

.woocommerce div.product .related ul.products li.product,
.woocommerce div.product .upsells ul.products li.product {
  position: relative;
  padding-right: 40px;
}

.woocommerce div.product .related ul.products li.product .woocommerce-loop-product__title,
.woocommerce div.product .upsells ul.products li.product .woocommerce-loop-product__title {
  padding-right: 0;
}

.woocommerce div.product .related ul.products li.product.outofstock .woocommerce-loop-product__title,
.woocommerce div.product .upsells ul.products li.product.outofstock .woocommerce-loop-product__title {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.woocommerce div.product .related ul.products li.product.outofstock .woocommerce-loop-product__title::after,
.woocommerce div.product .upsells ul.products li.product.outofstock .woocommerce-loop-product__title::after {
  content: " (Agotado)";
  color: #d71920;
  text-decoration: none;
  font: inherit;
}

.woocommerce div.product .related ul.products li.product.outofstock .button,
.woocommerce div.product .upsells ul.products li.product.outofstock .button {
  display: none;
}

.woocommerce div.product .related ul.products li.product:not(.outofstock) .button,
.woocommerce div.product .upsells ul.products li.product:not(.outofstock) .button {
  position: absolute;
  left: min(190px, calc(100% - 34px));
  right: auto;
  bottom: 34px;
  display: grid;
  width: 28px;
  min-width: 28px;
  height: 28px;
  min-height: 28px;
  padding: 0;
  border: 0;
  background: transparent !important;
  color: #20b900 !important;
  font-size: 0;
}

.woocommerce div.product .related ul.products li.product:not(.outofstock) .button::before,
.woocommerce div.product .upsells ul.products li.product:not(.outofstock) .button::before {
  content: "";
  width: 25px;
  height: 25px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.6' viewBox='0 0 24 24'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h8.88a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/%3E%3Cpath d='M10 11h6'/%3E%3Cpath d='M13 8v6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.yp-footer {
  border-top: 1px solid rgba(91, 91, 130, 0.15);
  padding: 14px 0 72px;
}

.yp-footer-top,
.yp-footer--compact .yp-footer-top {
  display: none;
}

.yp-footer--compact {
  padding-top: 10px;
}

.yp-footer-top {
  display: none;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: 20px;
  align-items: center;
}

.yp-footer h2 {
  margin: 0 0 6px;
  color: var(--yp-text);
  font-size: 1rem;
}

.yp-footer p {
  margin: 0;
  color: var(--yp-text);
  font-size: 1rem;
}

.yp-newsletter {
  display: flex;
  border: 1px solid rgba(0, 0, 0, 0.28);
  border-radius: 999px;
  overflow: hidden;
}

.yp-newsletter input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 12px 18px;
  outline: 0;
}

.yp-newsletter button {
  width: 54px;
  border: 0;
  background: transparent;
  color: var(--yp-heading);
  cursor: pointer;
}

.yp-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 0;
  font-size: 0.7rem;
  line-height: 1.2;
}

.yp-stickybar {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  left: max(16px, env(safe-area-inset-left));
  z-index: 80;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-width: 520px;
  margin: 0 auto;
  padding: 8px;
  border: 1px solid rgba(91, 91, 130, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 44px rgba(63, 63, 123, 0.18);
  backdrop-filter: blur(10px);
}

.yp-stickybar--checkout {
  grid-template-columns: minmax(0, 1fr);
  max-width: 220px;
  margin-left: 0;
  margin-right: auto;
}

.yp-stickybar-item {
  position: relative;
  display: grid;
  min-height: 54px;
  place-items: center;
  gap: 2px;
  border-radius: 13px;
  color: var(--yp-text);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.1;
}

.yp-stickybar-item:hover,
.yp-stickybar-item:focus-visible {
  background: var(--yp-muted);
  color: #fff;
}

.yp-stickybar-whatsapp {
  background: transparent;
  color: var(--yp-text);
}

.yp-stickybar-whatsapp:hover,
.yp-stickybar-whatsapp:focus-visible {
  background: var(--yp-soft);
  color: var(--yp-text);
}

.yp-stickybar-whatsapp svg {
  color: #20b455;
}

.yp-stickybar-item svg {
  width: 22px;
  height: 22px;
}

.yp-stickybar-count {
  position: absolute;
  top: 5px;
  right: calc(50% - 20px);
  display: grid;
  min-width: 18px;
  height: 18px;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--yp-text);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1;
}

.yp-marketing-opt-in-field label,
.yp-policy-opt-in-field label {
  display: inline-flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--yp-text);
  font-weight: 700;
  line-height: 1.35;
}

.yp-marketing-opt-in-field input[type="checkbox"],
.yp-policy-opt-in-field input[type="checkbox"] {
  width: 16px;
  min-width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--yp-muted);
}

.yp-marketing-opt-in-field .optional {
  display: none;
}

.yp-policy-opt-in-field a,
.yp-policy-link {
  color: #5e5d89;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.yp-cart-swal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  align-items: center;
  padding: 22px;
  background: rgba(20, 20, 36, 0.42);
  animation: ypFadeIn 160ms ease-out;
}

.yp-cart-swal.is-closing {
  animation: ypFadeOut 180ms ease-in forwards;
}

.yp-cart-swal-card {
  width: min(820px, 100%);
  overflow: hidden;
  border-radius: 3px;
  background: #fff;
  color: #333;
  box-shadow: 0 24px 70px rgba(31, 31, 58, 0.28);
}

.yp-cart-swal-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 8px 14px;
  background: var(--yp-muted);
  color: #fff;
}

.yp-cart-swal-check {
  color: #dff8e8;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
}

.yp-cart-swal h2 {
  margin: 0;
  color: #fff;
  font-size: 1.02rem;
  line-height: 1.25;
  text-transform: capitalize;
}

.yp-cart-swal-close {
  display: inline-grid;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  place-items: center;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.yp-cart-swal-body {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(250px, 0.95fr);
  gap: 28px;
  padding: 28px 32px 18px;
}

.yp-cart-swal-product {
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.yp-cart-swal-thumb {
  display: grid;
  width: 98px;
  height: 98px;
  place-items: center;
  border: 1px solid rgba(83, 83, 102, 0.12);
  background: #fff;
}

.yp-cart-swal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.yp-cart-swal-placeholder {
  color: var(--yp-muted);
  font-weight: 900;
}

.yp-cart-swal-product h3 {
  margin: 0;
  color: var(--yp-heading);
  font-size: 0.96rem;
  line-height: 1.35;
}

.yp-cart-swal-price {
  display: block;
  margin-top: 10px;
  color: var(--yp-text);
  font-size: 1rem;
}

.yp-cart-swal-product p {
  margin: 8px 0 0;
  color: var(--yp-text);
  font-weight: 800;
}

.yp-cart-swal-summary {
  display: grid;
  align-content: start;
  gap: 12px;
}

.yp-cart-swal-count {
  margin: 0 0 4px;
  color: var(--yp-heading);
  font-weight: 800;
}

.yp-cart-swal-summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--yp-text);
  font-size: 0.96rem;
}

.yp-cart-swal-summary strong {
  color: var(--yp-heading);
  font-weight: 900;
  text-align: right;
}

.yp-cart-swal-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  padding: 10px 32px 30px;
}

.yp-cart-swal-actions button,
.yp-cart-swal-actions a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 2px;
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.yp-cart-swal-continue {
  border: 1px solid rgba(94, 93, 137, 0.28);
  background: #fff;
  color: var(--yp-muted);
}

.yp-cart-swal-checkout {
  border: 1px solid var(--yp-muted);
  background: var(--yp-muted);
  color: #fff;
}

.yp-cart-swal-checkout:hover {
  color: #fff;
  background: var(--yp-heading);
}

.woocommerce-message:has(.wc-forward) {
  display: none;
}

@keyframes ypFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes ypFadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

.yp-social {
  display: flex;
  gap: 12px;
  align-items: center;
}

.yp-social a {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: var(--yp-heading);
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top-color: var(--yp-muted);
  color: var(--yp-text);
  line-height: 1.35;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
  top: 50%;
  transform: translateY(-50%);
}

.woocommerce-message .wc-forward,
.woocommerce-info .wc-forward {
  order: 2;
  flex: 0 0 auto;
  display: inline-grid !important;
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  place-items: center;
  margin-left: auto;
  padding: 0 !important;
  border-radius: 999px;
  background: var(--yp-muted) !important;
  color: #fff !important;
  font-size: 0;
}

.woocommerce-message .wc-forward::before,
.woocommerce-info .wc-forward::before {
  content: "";
  width: 22px;
  height: 22px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 8h11l-1 11h-9l-1-11Z'/%3E%3Cpath d='M8.5 7a3.5 3.5 0 0 1 7 0'/%3E%3C/svg%3E") center / contain no-repeat;
}

.woocommerce-message .wc-forward:hover,
.woocommerce-info .wc-forward:hover {
  background: #000 !important;
}

.woocommerce-checkout .yp-content {
  width: min(1120px, calc(100vw - 48px));
  padding: 38px 0;
}

body.woocommerce-checkout {
  background-color: #eceafa;
  background-image: linear-gradient(rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.38)), var(--yp-checkout-bg-image);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

.woocommerce-checkout .entry-content {
  padding: 0;
}

.woocommerce-checkout .entry-title {
  display: none;
}

.woocommerce-checkout .woocommerce-notices-wrapper,
.woocommerce-checkout .woocommerce-form-coupon-toggle {
  margin-bottom: 16px;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout form.checkout_coupon {
  display: none !important;
}

.woocommerce-checkout form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  align-items: start;
  color: #111;
}

.woocommerce-checkout #customer_details {
  grid-column: 1;
  grid-row: 1;
  padding: 44px 48px 72px;
  border-radius: 14px 0 0 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 50px rgba(63, 63, 123, 0.12);
  backdrop-filter: blur(4px);
}

.woocommerce-checkout .yp-checkout-sidebar {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  background: rgba(246, 246, 246, 0.94);
  border-left: 1px solid #ddd;
  border-radius: 0 14px 14px 0;
  padding: 42px 36px 36px;
  box-shadow: 0 18px 50px rgba(63, 63, 123, 0.12);
  backdrop-filter: blur(4px);
}

.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
  background: transparent;
  border-left: 0;
  padding-left: 0;
  padding-right: 0;
}

.woocommerce-checkout #order_review_heading {
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  color: #111;
  font-size: 1.25rem;
  line-height: 1.2;
}

.woocommerce-checkout #order_review {
  padding-top: 24px;
  padding-bottom: 0;
}

.woocommerce-checkout .col2-set {
  float: none;
  width: auto;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
  float: none;
  width: auto;
}

.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3 {
  margin: 0 0 18px;
  color: #111;
  font-size: 1.25rem;
  line-height: 1.25;
}

.woocommerce-checkout .woocommerce-additional-fields {
  margin-top: 30px;
}

.woocommerce-checkout #billing_email_field {
  margin-bottom: 10px;
}

.woocommerce-checkout .yp-marketing-opt-in-field,
.woocommerce-checkout .yp-policy-opt-in-field {
  margin-top: 10px;
  margin-bottom: 8px;
}

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

.woocommerce-checkout .form-row {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
}

.woocommerce-checkout .form-row-wide,
.woocommerce-checkout #billing_country_field,
.woocommerce-checkout #billing_address_1_field,
.woocommerce-checkout #billing_address_2_field,
.woocommerce-checkout #billing_email_field,
.woocommerce-checkout #order_comments_field {
  grid-column: 1 / -1;
}

.woocommerce-checkout label {
  display: block;
  margin: 0 0 5px;
  color: #333;
  font-size: 0.78rem;
  font-weight: 600;
}

.woocommerce-checkout label.checkbox,
.woocommerce-checkout .woocommerce-form__label-for-checkbox,
.woocommerce-checkout .wc-block-components-checkbox__label,
.woocommerce-checkout .wc-block-components-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  line-height: 1.35;
}

.woocommerce-checkout label.checkbox input[type="checkbox"],
.woocommerce-checkout .woocommerce-form__label-for-checkbox input[type="checkbox"],
.woocommerce-checkout .wc-block-components-checkbox input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin: 0;
  transform: translateY(0);
  accent-color: var(--yp-muted);
}

.woocommerce-checkout .required {
  color: #3858ff;
  text-decoration: none;
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea,
.woocommerce-checkout select,
.woocommerce-checkout .select2-container .select2-selection--single {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cfcfcf;
  border-radius: 7px;
  background: #fff;
  color: #111;
  padding: 12px 14px;
  font-size: 0.95rem;
  line-height: 1.25;
  box-shadow: none;
}

.woocommerce-checkout textarea {
  min-height: 96px;
  resize: vertical;
}

.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout .select2-container--focus .select2-selection--single {
  border-color: #1f5eff;
  outline: 2px solid rgba(31, 94, 255, 0.14);
}

.woocommerce-checkout .select2-container .select2-selection--single {
  display: flex;
  align-items: center;
}

.woocommerce-checkout .select2-container .select2-selection__rendered {
  padding: 0;
  color: #111;
}

.woocommerce-checkout .select2-container .select2-selection__arrow {
  top: 10px;
  right: 8px;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table {
  width: 100%;
  border: 0;
  border-collapse: collapse;
  color: #111;
  font-size: 0.9rem;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table th,
.woocommerce-checkout .woocommerce-checkout-review-order-table td {
  border: 0;
  border-bottom: 1px solid #dedede;
  padding: 14px 0;
  vertical-align: top;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name {
  width: 64%;
}

.woocommerce-checkout-product {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

.woocommerce-checkout-product img {
  width: 54px;
  height: 54px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(91, 91, 130, 0.18);
  background: #fff;
}

.woocommerce-checkout-product__name {
  display: block;
  min-width: 0;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table .product-total,
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td {
  text-align: right;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total td {
  border-bottom: 0;
  font-size: 1.25rem;
}

.woocommerce-checkout #payment {
  margin-top: 24px;
  border: 1px solid #cfcfcf;
  border-radius: 7px;
  background: #fff;
}

.yp-checkout-coupon {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #d9d9e8;
  border-radius: 8px;
  background: #fff;
}

.yp-checkout-coupon label {
  display: block;
  margin-bottom: 10px;
  color: var(--yp-heading);
  font-size: 0.85rem;
  font-weight: 800;
}

.yp-checkout-coupon-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.yp-checkout-coupon input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cfcfcf;
  border-radius: 7px;
  padding: 10px 12px;
}

.yp-checkout-coupon button {
  min-height: 44px;
  border-radius: 7px;
  background: #5e5d89;
  color: #fff;
  padding: 0 16px;
  white-space: nowrap;
}

.yp-checkout-coupon button:disabled {
  opacity: 0.55;
  cursor: progress;
}

.yp-checkout-coupon-message {
  margin-top: 10px;
  color: var(--yp-heading);
  font-size: 0.82rem;
  line-height: 1.4;
}

.woocommerce-checkout #payment ul.payment_methods {
  border-bottom: 1px solid #e3e3e3;
  padding: 0;
}

.woocommerce-checkout #payment ul.payment_methods li {
  padding: 16px;
}

.woocommerce-checkout #payment div.payment_box {
  margin: 0;
  background: #f8f8f8;
  color: #333;
}

.woocommerce-checkout #payment div.payment_box::before {
  display: none;
}

.woocommerce-checkout .woocommerce-privacy-policy-text {
  color: #333;
  font-size: 0.82rem;
  line-height: 1.5;
  padding: 0 16px;
}

.woocommerce-checkout #place_order {
  width: 100%;
  min-height: 52px;
  margin-top: 18px;
  border-radius: 7px;
  background: #5e5d89;
  color: #fff;
}

.woocommerce-checkout #place_order:hover {
  background: #4a4975;
  color: #fff;
}

.wc-block-cart__submit-button,
.wc-block-components-button.wc-block-cart__submit-button,
.wp-block-woocommerce-cart .wc-block-cart__submit-button {
  border-radius: 12px;
  background: #5e5d89 !important;
  color: #fff !important;
}

.wc-block-cart__submit-button:hover,
.wc-block-components-button.wc-block-cart__submit-button:hover,
.wp-block-woocommerce-cart .wc-block-cart__submit-button:hover {
  background: #4a4975 !important;
  color: #fff !important;
}

.woocommerce-checkout .yp-checkout-extra-image {
  margin-top: 18px;
  text-align: center;
}

.woocommerce-checkout .yp-checkout-extra-image img {
  width: min(100%, 320px);
  margin: 0 auto;
  border-radius: 8px;
}

.woocommerce-account .yp-content {
  width: min(1080px, calc(100vw - 48px));
  padding-top: 48px;
  padding-bottom: 72px;
}

.woocommerce-account .entry-title {
  margin: 0 0 28px;
  color: var(--yp-heading);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
}

.woocommerce-account .woocommerce {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.woocommerce-account .woocommerce-notices-wrapper {
  grid-column: 1 / -1;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  float: none;
  width: auto;
  padding: 10px;
  border: 1px solid rgba(91, 91, 130, 0.18);
  border-radius: 12px;
  background: #f7f7ff;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--yp-text);
  font-size: 0.95rem;
  font-weight: 800;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
  background: var(--yp-muted);
  color: #fff;
}

.woocommerce-account .woocommerce-MyAccount-content {
  float: none;
  width: auto;
  min-height: 360px;
  padding: 30px;
  border: 1px solid rgba(91, 91, 130, 0.16);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(63, 63, 123, 0.08);
  color: var(--yp-text);
}

.woocommerce-account .woocommerce-MyAccount-content p {
  max-width: 720px;
  margin-top: 0;
}

.woocommerce-account .woocommerce-MyAccount-content a {
  color: var(--yp-heading);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.woocommerce-account .woocommerce-MyAccount-content mark {
  background: transparent;
  color: var(--yp-heading);
  font-weight: 900;
}

.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3,
.woocommerce-account .woocommerce-form h2,
.woocommerce-account .woocommerce-form h3 {
  margin: 0 0 18px;
  color: var(--yp-heading);
  line-height: 1.2;
}

.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register,
.woocommerce-account form.edit-account,
.woocommerce-account .woocommerce-address-fields {
  display: grid;
  gap: 14px;
  max-width: 620px;
  padding: 26px;
  border: 1px solid rgba(91, 91, 130, 0.16);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(63, 63, 123, 0.08);
}

.woocommerce-account .woocommerce form .form-row {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
}

.woocommerce-account .woocommerce form label {
  display: block;
  margin-bottom: 6px;
  color: var(--yp-heading);
  font-size: 0.86rem;
  font-weight: 800;
}

.woocommerce-account .woocommerce input.input-text,
.woocommerce-account .woocommerce select,
.woocommerce-account .woocommerce textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(91, 91, 130, 0.25);
  border-radius: 8px;
  background: #fff;
  color: var(--yp-heading);
  padding: 10px 12px;
}

.woocommerce-account .woocommerce table.shop_table {
  overflow: hidden;
  border: 1px solid rgba(91, 91, 130, 0.16);
  border-radius: 10px;
  border-collapse: separate;
  border-spacing: 0;
}

.woocommerce-account .woocommerce table.shop_table th,
.woocommerce-account .woocommerce table.shop_table td {
  border-color: rgba(91, 91, 130, 0.14);
  padding: 14px;
}

.woocommerce-account .woocommerce-order-details {
  margin-bottom: 28px;
}

.woocommerce-account .woocommerce-order-details table.shop_table {
  width: 100%;
  margin-bottom: 0;
}

.woocommerce-account .woocommerce-order-details tbody td.product-name {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.yp-order-product-summary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.yp-order-product-summary .yp-order-product-thumb {
  width: 58px;
  min-width: 58px;
  height: 58px;
  border: 2px solid rgba(91, 91, 130, 0.36);
  border-radius: 8px;
  object-fit: cover;
  background: #f4f4ff;
}

.yp-order-product-name {
  min-width: 0;
}

.woocommerce-account .woocommerce-order-details .product-quantity {
  justify-self: end;
  color: var(--yp-heading);
  font-weight: 900;
  white-space: nowrap;
}

.woocommerce-account .woocommerce-customer-details {
  margin-top: 18px;
}

.woocommerce-account .woocommerce-Addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.woocommerce-account .woocommerce-Address {
  width: auto;
  padding: 20px;
  border: 1px solid rgba(91, 91, 130, 0.16);
  border-radius: 10px;
  background: #fdfdff;
}

.woocommerce-account .woocommerce-Address-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.woocommerce-order-received .yp-content {
  width: 100%;
  max-width: none;
  padding: 0;
}

.woocommerce-order-received .entry-title {
  display: none;
}

.yp-thankyou {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  min-height: calc(100vh - 92px);
  border-top: 1px solid #dedede;
  color: #111;
}

.yp-thankyou-main {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: min(720px, calc(100% - 80px));
  margin: 0 auto;
  padding: 44px 0 64px;
}

.yp-thankyou-summary {
  padding: 48px 64px;
  border-left: 1px solid #d8d8d8;
  background: #f5f5f5;
}

.yp-thankyou-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.yp-thankyou-heading p {
  margin: 0 0 4px;
  color: #707070;
  font-size: 0.92rem;
}

.yp-thankyou-heading h1 {
  margin: 0;
  color: #111;
  font-size: 1.45rem;
  line-height: 1.2;
}

.yp-thankyou-check {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid #006aff;
  border-radius: 999px;
  color: #006aff;
  font-size: 1.55rem;
  line-height: 1;
}

.yp-thankyou-card {
  width: 100%;
  max-width: 680px;
  margin-bottom: 14px;
  padding: 24px;
  border: 1px solid #d7d7d7;
  border-radius: 7px;
  background: #fff;
}

.yp-thankyou-card h2 {
  margin: 0 0 12px;
  color: #111;
  font-size: 1.08rem;
}

.yp-thankyou-card p,
.yp-thankyou-card address {
  margin: 0;
  color: #111;
  font-size: 0.96rem;
  font-style: normal;
  line-height: 1.5;
}

.yp-thankyou-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 52px;
}

.yp-thankyou-detail-grid h3 {
  margin: 0 0 8px;
  color: #111;
  font-size: 0.96rem;
}

.yp-thankyou-actions {
  display: flex;
  width: 100%;
  max-width: 680px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
}

.yp-thankyou-actions p {
  margin: 0;
  color: #333;
  font-size: 0.9rem;
}

.yp-thankyou-actions a:not(.button) {
  color: #005bd3;
  text-decoration: underline;
}

.yp-thankyou-button,
.woocommerce .yp-thankyou-button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: 7px;
  background: #005bd3;
  color: #fff;
  font-weight: 800;
}

.yp-thankyou-item {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  margin-bottom: 28px;
}

.yp-thankyou-thumb {
  position: relative;
  width: 58px;
  height: 58px;
}

.yp-thankyou-thumb img {
  width: 58px;
  height: 58px;
  border: 1px solid #dedede;
  border-radius: 4px;
  object-fit: cover;
}

.yp-thankyou-thumb span {
  position: absolute;
  top: -8px;
  right: -8px;
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.yp-thankyou-item strong {
  display: block;
  color: #111;
  font-size: 0.9rem;
  font-weight: 600;
}

.yp-thankyou-item small {
  display: block;
  margin-top: 4px;
  color: #666;
}

.yp-thankyou-totals {
  margin: 0;
}

.yp-thankyou-totals div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
  color: #111;
}

.yp-thankyou-totals dt,
.yp-thankyou-totals dd {
  margin: 0;
}

.yp-thankyou-total {
  margin-top: 20px;
  padding-top: 22px;
  border-top: 1px solid #d8d8d8;
  font-size: 1.15rem;
  font-weight: 800;
}

@media (max-width: 900px) {
  .yp-header-inner {
    grid-template-columns: 1fr auto;
    min-height: 86px;
  }

  .yp-nav {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 12px;
  }

  .yp-menu {
    flex-wrap: nowrap;
    width: max-content;
  }

  .yp-search input {
    width: 112px;
  }

  .yp-product-grid,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yp-products-scroll {
    grid-auto-columns: 60%;
  }

  .yp-products-scroll > * {
    flex-basis: 60%;
  }

  .yp-product-page div.product,
  .yp-footer-top {
    grid-template-columns: 1fr;
  }

  .yp-product-page {
    width: min(100%, var(--yp-page));
    overflow-x: hidden;
  }

  .woocommerce div.product div.images,
  .woocommerce div.product .woocommerce-product-gallery,
  .woocommerce div.product .woocommerce-product-gallery__wrapper,
  .woocommerce div.product .woocommerce-product-gallery__image,
  .woocommerce div.product .woocommerce-product-gallery__image a {
    width: 100%;
    max-width: 100%;
  }

  .woocommerce div.product div.images img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: contain;
  }

  .woocommerce div.product .related ul.products,
  .woocommerce div.product .upsells ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
  }

  .woocommerce div.product .related ul.products li.product,
  .woocommerce div.product .upsells ul.products li.product {
    padding-right: 34px;
  }

  .woocommerce div.product .related ul.products li.product .woocommerce-loop-product__title,
  .woocommerce div.product .upsells ul.products li.product .woocommerce-loop-product__title {
    font-size: 0.95rem;
    line-height: 1.28;
  }

  .woocommerce div.product .related ul.products li.product:not(.outofstock) .button,
  .woocommerce div.product .upsells ul.products li.product:not(.outofstock) .button {
    left: auto;
    right: 2px;
    bottom: 28px;
  }

  .woocommerce div.product .related ul.products li.product span.onsale,
  .woocommerce div.product .upsells ul.products li.product span.onsale {
    top: 8px;
    right: 8px;
    width: 104px;
    height: 42px;
    min-height: 42px;
    font-size: 1rem;
  }

  .woocommerce-account .yp-content {
    width: min(100vw - 32px, 100%);
    padding-top: 32px;
    padding-bottom: 52px;
  }

  .woocommerce-account .woocommerce {
    display: block;
    padding-top: 0;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation {
    position: static;
    z-index: 30;
    width: auto;
    max-width: min(calc(100vw - 32px), var(--yp-page));
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 14px;
    padding: 6px;
    overflow: visible;
    border-radius: 10px;
    background: rgba(247, 247, 255, 0.97);
  }

  .woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: auto;
    min-width: 0;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation a {
    min-height: 38px;
    justify-content: center;
    padding: 6px;
    text-align: center;
    white-space: normal;
    font-size: 0.7rem;
    line-height: 1.15;
  }

  .woocommerce-account .woocommerce-MyAccount-content {
    min-height: 0;
    padding: 22px;
    border-radius: 10px;
  }

  .woocommerce-account .woocommerce-Addresses {
    grid-template-columns: 1fr;
  }

  .woocommerce-account .woocommerce table.shop_table_responsive,
  .woocommerce-account .woocommerce table.shop_table {
    display: block;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .woocommerce-account .woocommerce table.shop_table thead {
    display: none;
  }

  .woocommerce-account .woocommerce table.shop_table tbody,
  .woocommerce-account .woocommerce table.shop_table tr,
  .woocommerce-account .woocommerce table.shop_table td {
    display: block;
    width: 100%;
  }

  .woocommerce-account .woocommerce table.shop_table tr {
    margin-bottom: 14px;
    padding: 14px;
    border: 1px solid rgba(91, 91, 130, 0.16);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(63, 63, 123, 0.07);
  }

  .woocommerce-account .woocommerce table.shop_table td {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    border: 0;
    border-bottom: 1px solid rgba(91, 91, 130, 0.1);
    padding: 10px 0;
    text-align: right;
  }

  .woocommerce-account .woocommerce table.shop_table td:last-child {
    border-bottom: 0;
  }

  .woocommerce-account .woocommerce table.shop_table td::before {
    content: attr(data-title);
    flex: 0 0 42%;
    color: var(--yp-heading);
    font-weight: 800;
    text-align: left;
  }

  .woocommerce-account .woocommerce table.shop_table .woocommerce-orders-table__cell-order-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
  }

  .woocommerce-account .woocommerce table.shop_table .woocommerce-orders-table__cell-order-actions::before {
    width: 100%;
    flex-basis: 100%;
  }

  .woocommerce-account .woocommerce table.shop_table .woocommerce-orders-table__cell-order-actions .button {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 0.86rem;
  }

  .woocommerce-account .woocommerce-order-details table.shop_table {
    display: table;
    overflow: hidden;
    border: 1px solid rgba(91, 91, 130, 0.16);
    border-radius: 12px;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    box-shadow: 0 10px 24px rgba(63, 63, 123, 0.07);
  }

  .woocommerce-account .woocommerce-order-details table.shop_table thead {
    display: table-header-group;
  }

  .woocommerce-account .woocommerce-order-details table.shop_table tbody {
    display: table-row-group;
  }

  .woocommerce-account .woocommerce-order-details table.shop_table tfoot {
    display: table-footer-group;
  }

  .woocommerce-account .woocommerce-order-details table.shop_table tr {
    display: table-row;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .woocommerce-account .woocommerce-order-details table.shop_table th,
  .woocommerce-account .woocommerce-order-details table.shop_table td {
    display: table-cell;
    width: auto;
    border-bottom: 1px solid rgba(91, 91, 130, 0.12);
    padding: 12px;
    text-align: left;
    vertical-align: middle;
  }

  .woocommerce-account .woocommerce-order-details table.shop_table .product-total,
  .woocommerce-account .woocommerce-order-details table.shop_table tfoot td {
    text-align: right;
  }

  .woocommerce-account .woocommerce-order-details table.shop_table tbody td.product-name {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
  }

  .woocommerce-account .woocommerce-order-details table.shop_table td::before {
    content: none;
  }

  .woocommerce-account .woocommerce-order-details table.shop_table tfoot tr:last-child th,
  .woocommerce-account .woocommerce-order-details table.shop_table tfoot tr:last-child td {
    border-bottom: 0;
  }

  .woocommerce-account .woocommerce-order-details {
    margin-bottom: 30px;
  }

  .woocommerce-account .woocommerce-customer-details {
    margin-top: 22px;
  }

  .yp-order-product-summary {
    align-items: flex-start;
    gap: 10px;
  }

  .yp-order-product-summary .yp-order-product-thumb {
    width: 50px;
    min-width: 50px;
    height: 50px;
  }

  .woocommerce-checkout form.checkout {
    display: block;
  }

  .yp-thankyou {
    display: block;
    min-height: 0;
  }

  .yp-thankyou-main,
  .yp-thankyou-summary {
    width: auto;
    margin: 0;
    padding: 28px 22px;
  }

  .yp-thankyou-summary {
    border-left: 0;
    border-top: 1px solid #d8d8d8;
  }

  .yp-thankyou-detail-grid {
    grid-template-columns: 1fr;
  }

  .yp-thankyou-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .woocommerce-checkout #customer_details,
  .woocommerce-checkout .yp-checkout-sidebar {
    padding: 24px 20px;
    border-left: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
  }

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

@media (max-width: 560px) {
  body { font-size: 16px; }
  .yp-brand img { max-height: 72px; }
  .yp-header-tools { gap: 4px; }
  .yp-search { padding-left: 10px; }
  .yp-search input { width: 72px; }
  .yp-section .yp-carousel-button {
    display: none;
  }
  .yp-hero { min-height: 420px; }
  .yp-hero-content { align-items: flex-start; }
  .yp-products-scroll { grid-auto-columns: 72%; }
  .yp-products-scroll > * { flex-basis: 72%; }
  .woocommerce div.product .related ul.products,
  .woocommerce div.product .upsells ul.products {
    gap: 30px 20px;
  }
  .woocommerce-account .entry-title {
    font-size: 2.2rem;
  }
  .woocommerce-account .woocommerce-form-login,
  .woocommerce-account .woocommerce-form-register,
  .woocommerce-account form.edit-account,
  .woocommerce-account .woocommerce-address-fields {
    padding: 20px;
  }
  .woocommerce-account .woocommerce {
    padding-top: 0;
  }
  .yp-footer {
    padding-top: 10px;
    padding-bottom: 74px;
  }
  .yp-section-header { align-items: flex-start; flex-direction: column; }
  .yp-footer-bottom { align-items: flex-start; flex-direction: column; }
  .woocommerce-checkout .yp-content { width: min(100vw - 28px, 100%); }
  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
  .woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
    grid-template-columns: 1fr;
  }

  .yp-cart-swal {
    align-items: end;
    padding: 12px;
  }

  .yp-cart-swal-card {
    max-height: calc(100vh - 24px);
    overflow-y: auto;
  }

  .yp-cart-swal-header {
    grid-template-columns: auto 1fr auto;
    min-height: 44px;
  }

  .yp-cart-swal h2 {
    font-size: 0.88rem;
  }

  .yp-cart-swal-body {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px 18px 14px;
  }

  .yp-cart-swal-product {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
  }

  .yp-cart-swal-thumb {
    width: 82px;
    height: 82px;
  }

  .yp-cart-swal-summary {
    padding-top: 14px;
    border-top: 1px solid rgba(83, 83, 102, 0.12);
  }

  .yp-cart-swal-actions {
    grid-template-columns: 1fr;
    padding: 10px 18px 20px;
  }

  .yp-shop-view-compact.post-type-archive-product ul.products,
  .yp-shop-view-compact.tax-product_cat ul.products,
  .yp-shop-view-compact.tax-product_tag ul.products {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px 10px;
  }

  .yp-shop-view-compact.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
  .yp-shop-view-compact.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
  .yp-shop-view-compact.tax-product_tag ul.products li.product .woocommerce-loop-product__title {
    font-size: 0.78rem;
    line-height: 1.18;
  }

  .yp-shop-view-compact.post-type-archive-product ul.products li.product span.onsale,
  .yp-shop-view-compact.tax-product_cat ul.products li.product span.onsale,
  .yp-shop-view-compact.tax-product_tag ul.products li.product span.onsale {
    top: 4px;
    right: 4px;
    width: 48px;
    min-width: 48px;
    height: 20px;
    min-height: 20px;
    padding: 0 5px;
    font-size: 0.55rem;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.12);
  }
}
