/*
 * WomanShop.Ec — replica of Shopify's Dawn theme as configured on womanshop.ec
 * (Assistant 400/700, #121212 on white, square buttons, 40px variant pills,
 * #334FB4 sale badge, 1200px page width). Measurements taken from the live
 * store. Breakpoints follow Dawn: 750px and 990px.
 */

:root {
  --color-fg: #121212;
  --color-fg-75: rgba(18, 18, 18, 0.75);
  --color-fg-55: rgba(18, 18, 18, 0.55);
  --color-border: rgba(18, 18, 18, 0.08);
  --color-border-strong: rgba(18, 18, 18, 0.1);
  --color-media-bg: rgba(18, 18, 18, 0.04);
  --color-sale: #334fb4;
  --color-whatsapp: #2db742;
  --font: "Assistant", sans-serif;
  --page-width: 1200px;
  --header-bottom: 0px;
}

/* ---- Base ----------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: var(--color-fg-75);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.6px;
  -webkit-font-smoothing: antialiased;
}

body.overflow-hidden {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  color: var(--color-fg);
  font-family: var(--font);
  font-weight: 400;
  letter-spacing: 0.6px;
  line-height: 1.3;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul[role="list"],
.list-menu,
.list-social,
.list-payment,
.menu-drawer__list,
.menu-drawer__subpanel ul,
.header__submenu,
.product-grid,
.facets__list,
.pagination__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.visually-hidden,
.screen-reader-text {
  position: absolute !important;
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  word-wrap: normal !important;
}

.skip-to-content-link:focus {
  z-index: 9999;
  overflow: auto;
  width: auto;
  height: auto;
  padding: 10px 20px;
  clip: auto;
  background: #fff;
}

.icon {
  display: block;
  flex-shrink: 0;
}

/* Sides only (longhands): sections that combine .page-width with their own
   vertical padding or margin (.section-padding, .announcement-bar__message...)
   keep it. */
.page-width {
  width: 100%;
  max-width: var(--page-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.section-padding {
  padding-top: 36px;
  padding-bottom: 36px;
}

.center {
  margin-top: 30px;
  text-align: center;
}

.title {
  margin-bottom: 30px;
  font-size: 24px;
}

.underlined-link {
  color: var(--color-fg);
  text-underline-offset: 3px;
}

.rte a {
  color: var(--color-fg);
  text-underline-offset: 3px;
}

@media (min-width: 750px) {
  .page-width {
    padding-left: 50px;
    padding-right: 50px;
  }

  .small-only {
    display: none !important;
  }
}

@media (max-width: 749px) {
  .small-hide {
    display: none !important;
  }
}

/* ---- Buttons ------------------------------------------------------------- */

.button,
.woocommerce .button,
.wp-element-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 122px;
  /* Dawn: 45px + 1px border on each side. */
  min-height: 47px;
  margin: 0;
  padding: 0 30px;
  border: 0;
  border-radius: 0;
  background: var(--color-fg);
  box-shadow: 0 0 0 1px var(--color-fg);
  color: #fff;
  font-family: var(--font);
  font-size: 15px;
  letter-spacing: 1px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow 0.1s ease;
}

.button:hover,
.woocommerce .button:hover {
  box-shadow: 0 0 0 2px var(--color-fg);
}

.button:disabled,
.button.disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.button--secondary {
  background: #fff;
  color: var(--color-fg);
}

.button--inverse {
  background: #fff;
  box-shadow: 0 0 0 1px #fff;
  color: var(--color-fg);
}

.button--inverse:hover {
  box-shadow: 0 0 0 2px #fff;
}

/* ---- Announcement bar + header -------------------------------------------- */

.section-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
}

.admin-bar .section-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .section-header {
    top: 0;
  }
}

.announcement-bar {
  border-bottom: 1px solid var(--color-border);
}

.announcement-bar__message {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 10px;
  padding-bottom: 10px;
  color: var(--color-fg);
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 1.3;
  text-align: center;
}

.header-wrapper {
  border-bottom: 1px solid var(--color-border);
}

.header {
  display: grid;
  grid-template-areas: "left-icons heading icons";
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

.header__drawer {
  grid-area: left-icons;
}

.header__heading-link {
  grid-area: heading;
  justify-self: center;
}

.header__heading-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.header__inline-menu {
  display: none;
  grid-area: navigation;
}

.header__icons {
  display: flex;
  grid-area: icons;
  justify-content: flex-end;
  align-items: center;
  margin-right: -12px;
}

.header__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 44px;
  height: 44px;
  color: var(--color-fg);
  cursor: pointer;
  list-style: none;
}

.header__icon::-webkit-details-marker {
  display: none;
}

.header__icon .icon {
  width: 20px;
  height: 20px;
  transition: transform 0.1s ease;
}

.header__icon:hover .icon {
  transform: scale(1.07);
}

.header__icon--cart .icon {
  width: 44px;
  height: 44px;
}

.cart-count-bubble {
  position: absolute;
  bottom: 8px;
  left: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 100%;
  background: var(--color-fg);
  color: #fff;
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0;
}

.cart-count-bubble.is-empty {
  display: none;
}

@media (min-width: 990px) {
  .header {
    grid-template-areas: "heading navigation icons";
    grid-template-columns: auto auto 1fr;
    column-gap: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .header__drawer {
    display: none;
  }

  .header__heading-link {
    justify-self: start;
    margin-right: 20px;
  }

  .header__heading-logo {
    width: 80px;
    height: 80px;
  }

  .header__inline-menu {
    display: block;
  }
}

/* Inline menu */

.list-menu {
  display: flex;
  flex-wrap: wrap;
  margin-left: -12px;
}

.list-menu > li {
  position: relative;
}

.header__menu-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px;
  color: var(--color-fg-75);
  font-size: 14px;
  letter-spacing: 0.6px;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}

.header__menu-item::-webkit-details-marker {
  display: none;
}

.header__menu-item:hover {
  color: var(--color-fg);
}

.header__menu-item:hover span,
.header__menu-item.is-active span,
details[open] > .header__menu-item span {
  color: var(--color-fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.header__menu-item .icon-caret {
  width: 10px;
  height: 6px;
  transition: transform 0.2s ease;
}

details[open] > .header__menu-item .icon-caret {
  transform: rotate(180deg);
}

.header__submenu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 30;
  min-width: 200px;
  padding: 20px 0;
  border: 1px solid var(--color-border-strong);
  background: #fff;
  box-shadow: 0 4px 5px rgba(18, 18, 18, 0.05);
}

.header__submenu-item {
  display: block;
  padding: 9.5px 20px;
  color: var(--color-fg-75);
  font-size: 14px;
  line-height: 1.3;
  text-decoration: none;
}

.header__submenu-item:hover {
  color: var(--color-fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Search modal */

.header__search > summary {
  list-style: none;
}

.search-modal {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  min-height: 100%;
  border-bottom: 1px solid var(--color-border);
  background: #fff;
}

.search-modal__form {
  display: flex;
  align-items: center;
  gap: 10px;
}

.field {
  position: relative;
  display: flex;
  width: 100%;
}

.field__input {
  width: 100%;
  min-height: 45px;
  padding: 0 15px;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 0 0 1px var(--color-fg-55);
  color: var(--color-fg);
  font-family: var(--font);
  font-size: 16px;
  letter-spacing: 0.4px;
  outline: none;
  -webkit-appearance: none;
}

.field__input:focus {
  box-shadow: 0 0 0 2px var(--color-fg-75);
}

.field__input::placeholder {
  color: var(--color-fg-75);
}

.field__label {
  position: absolute !important;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
}

.field__button,
.search-modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-fg);
  cursor: pointer;
}

.field__button {
  position: absolute;
  right: 0;
  top: 0;
}

.field__button .icon,
.search-modal__close .icon {
  width: 18px;
  height: 18px;
}

.search-modal .field__input {
  padding-right: 44px;
}

/* Mobile menu drawer */

.menu-drawer-container > summary {
  list-style: none;
  margin-left: -12px;
}

.menu-drawer-container .icon-close,
.menu-drawer-container[open] .icon-hamburger {
  display: none;
}

.menu-drawer-container[open] .icon-close {
  display: block;
}

.menu-drawer {
  position: fixed;
  top: var(--header-bottom);
  left: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 375px;
  border-right: 1px solid var(--color-border-strong);
  background: #fff;
  animation: drawer-in 0.2s ease;
}

.menu-drawer-container[open]::before {
  content: "";
  position: fixed;
  top: var(--header-bottom);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 39;
  background: rgba(18, 18, 18, 0.5);
}

@keyframes drawer-in {
  from {
    transform: translateX(-20px);
    opacity: 0;
  }
}

.menu-drawer__inner {
  flex: 1;
  overflow-y: auto;
  padding: 20px 0;
}

.menu-drawer__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 11px 32px;
  border: 0;
  background: none;
  color: var(--color-fg);
  font-family: var(--font);
  font-size: 18px;
  letter-spacing: 0.6px;
  line-height: 1.3;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}

.menu-drawer__item::-webkit-details-marker {
  display: none;
}

.menu-drawer__item:hover {
  background: var(--color-media-bg);
}

.menu-drawer__item .icon-arrow {
  width: 14px;
  height: 10px;
}

.menu-drawer__sub[open] > .menu-drawer__item {
  display: none;
}

.menu-drawer__back {
  justify-content: flex-start;
  gap: 10px;
}

.icon--flip {
  transform: rotate(180deg);
}

.menu-drawer__utility {
  padding: 24px 32px;
  background: rgba(18, 18, 18, 0.03);
}

.menu-drawer__account {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-fg);
  font-size: 14px;
  text-decoration: none;
}

.menu-drawer__account .icon {
  width: 18px;
  height: 19px;
}

.menu-drawer__utility .list-social {
  margin-top: 16px;
  margin-left: -11px;
}

/* ---- Social + footer ------------------------------------------------------ */

.list-social {
  display: flex;
  flex-wrap: wrap;
}

.list-social__link {
  display: flex;
  padding: 11px;
  color: var(--color-fg);
  transition: transform 0.1s ease;
}

.list-social__link:hover {
  transform: scale(1.07);
}

.list-social__link .icon {
  width: 18px;
  height: 18px;
}

.footer {
  padding-top: 36px;
  padding-bottom: 36px;
  border-top: 1px solid var(--color-border);
  background: #fff;
}

.footer__content-top .list-social {
  justify-content: center;
  margin-left: -11px;
}

.footer__content-bottom {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.footer__content-bottom-wrapper {
  display: flex;
  justify-content: center;
}

.footer__content-bottom-wrapper + .footer__content-bottom-wrapper {
  margin-top: 20px;
}

.list-payment {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.copyright__content {
  font-size: 11px;
  letter-spacing: 1px;
}

.copyright__content a {
  text-decoration: none;
}

.copyright__content a:hover {
  text-decoration: underline;
}

/* Dawn's policy links next to the copyright. */
.footer__content-bottom-wrapper:has(.policies) {
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 20px;
}

.policies {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 750px) {
  .footer__content-top .list-social {
    justify-content: flex-start;
  }

  .footer__content-bottom-wrapper {
    justify-content: flex-end;
  }

  .footer__content-bottom-wrapper + .footer__content-bottom-wrapper {
    justify-content: flex-start;
  }
}

/* ---- Home: image banner ----------------------------------------------------- */

.banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 340px;
  overflow: hidden;
}

.banner__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.3;
}

.banner__content {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

.banner__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.banner__heading {
  color: #fff;
  font-size: 30px;
}

.banner__box .button {
  margin-top: 20px;
}

@media (min-width: 750px) {
  .banner {
    min-height: 560px;
  }

  .banner__heading {
    font-size: 40px;
  }

  .banner__content {
    padding: 35px 35px 70px;
  }
}

/* ---- Product grid + card --------------------------------------------------- */

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

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}

@media (min-width: 990px) {
  .product-grid,
  .woocommerce ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 8px;
    row-gap: 8px;
  }
}

.card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 269 / 358;
  background: var(--color-media-bg);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0, 0, 0.3, 1);
}

.card:hover .card__media img {
  transform: scale(1.03);
}

.card__badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
}

.card__information {
  padding: 13px 0 17px;
}

.card__heading {
  color: var(--color-fg);
  font-size: 12px;
  letter-spacing: 0.6px;
  line-height: 1.3;
}

.card:hover .card__heading {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.card__information .price {
  margin-top: 7px;
  font-size: 14px;
}

@media (min-width: 750px) {
  .card__heading {
    font-size: 13px;
  }

  .card__information .price {
    font-size: 16px;
  }
}

/* ---- Price + badges ---------------------------------------------------------- */

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 10px;
  color: var(--color-fg);
  letter-spacing: 1px;
  line-height: 1.5;
}

.price-item--regular {
  color: var(--color-fg-75);
}

.price .woocommerce-Price-amount {
  white-space: nowrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 40px;
  background: var(--color-sale);
  color: #fff;
  font-size: 12px;
  letter-spacing: 1px;
  line-height: 1;
  white-space: nowrap;
}

.badge--soldout {
  background: var(--color-fg);
}

/* ---- Collection page ------------------------------------------------------------ */

.collection-hero {
  padding-top: 25px;
  padding-bottom: 25px;
}

.collection-hero__title {
  font-size: 30px;
}

.collection-hero__description {
  margin-top: 10px;
  max-width: 600px;
}

@media (min-width: 750px) {
  .collection-hero__title {
    font-size: 40px;
  }
}

.collection {
  padding-bottom: 36px;
}

.facets__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 20px;
}

.mobile-facets > summary {
  list-style: none;
}

.mobile-facets__open {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-fg);
  font-size: 14px;
  cursor: pointer;
}

.mobile-facets__open .icon {
  width: 20px;
  height: 20px;
}

.facet-filters {
  display: none;
  align-items: center;
  gap: 10px;
}

.facet-filters__label {
  color: rgba(18, 18, 18, 0.85);
  font-size: 14px;
}

.select {
  position: relative;
  display: flex;
  align-items: center;
}

.select__select {
  padding: 5px 20px 5px 0;
  border: 0;
  background: transparent;
  color: var(--color-fg-75);
  font-family: var(--font);
  font-size: 14px;
  letter-spacing: 0.6px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.select__select:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.select .icon-caret {
  position: absolute;
  right: 0;
  width: 10px;
  height: 6px;
  color: var(--color-fg);
  pointer-events: none;
}

.product-count {
  margin: 0;
  color: var(--color-fg-75);
  font-size: 14px;
}

.collection__body {
  display: flex;
  gap: 30px;
}

.collection__products {
  flex: 1;
  min-width: 0;
}

.facets__sidebar {
  display: none;
}

.facets__sidebar.is-open {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  width: 85vw;
  max-width: 375px;
  overflow-y: auto;
  padding: 0 25px 25px;
  background: #fff;
  box-shadow: 0 0 0 100vmax rgba(18, 18, 18, 0.5);
}

.facets__panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.facets__heading {
  color: rgba(18, 18, 18, 0.85);
  font-size: 14px;
}

.facets__close {
  display: flex;
  padding: 10px;
  border: 0;
  background: none;
  color: var(--color-fg);
  cursor: pointer;
}

.facets__close .icon {
  width: 18px;
  height: 18px;
}

.facets__disclosure {
  border-top: 1px solid var(--color-border-strong);
}

.facets__disclosure:last-of-type {
  border-bottom: 1px solid var(--color-border-strong);
}

.facets__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  color: var(--color-fg-75);
  font-size: 14px;
  cursor: pointer;
  list-style: none;
}

.facets__summary::-webkit-details-marker {
  display: none;
}

.facets__summary:hover {
  color: var(--color-fg);
}

.facets__summary:hover span {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.facets__summary .icon-caret {
  width: 10px;
  height: 6px;
  color: var(--color-fg);
  transition: transform 0.2s ease;
}

.facets__disclosure[open] .icon-caret {
  transform: rotate(180deg);
}

.facets__list {
  padding-bottom: 15px;
}

.facet-checkbox {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  color: var(--color-fg-75);
  font-size: 14px;
  line-height: 1.3;
  cursor: pointer;
}

.facet-checkbox input {
  position: absolute;
  opacity: 0;
}

.facet-checkbox__box {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border: 1px solid var(--color-fg-55);
}

.facet-checkbox input:checked + .facet-checkbox__box {
  border-color: var(--color-fg);
  background: var(--color-fg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 9'%3E%3Cpath fill='%23fff' d='M11.35.643a.5.5 0 01.006.707l-6.77 6.886a.5.5 0 01-.719-.006L.638 4.845a.5.5 0 11.724-.69l2.872 3.011 6.41-6.517a.5.5 0 01.707-.006h-.001z'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.facet-checkbox input:focus-visible + .facet-checkbox__box {
  outline: 2px solid var(--color-fg);
  outline-offset: 2px;
}

.facet-checkbox--disabled {
  opacity: 0.5;
  pointer-events: none;
}

.facets__price {
  padding-bottom: 15px;
}

.facets__price-note {
  margin: 0 0 10px;
  font-size: 14px;
}

.price-range {
  display: flex;
  gap: 16px;
}

.price-range__field {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 6px;
  color: var(--color-fg);
  font-size: 14px;
}

.price-range .field__input {
  min-height: 40px;
  padding: 0 10px;
  font-size: 14px;
}

.active-facets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.active-facets__button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid var(--color-fg-55);
  border-radius: 40px;
  color: var(--color-fg);
  font-size: 12px;
  text-decoration: none;
}

.active-facets__button:hover {
  border-color: var(--color-fg);
}

.active-facets__button .icon {
  width: 10px;
  height: 10px;
}

.active-facets__clear {
  color: var(--color-fg);
  font-size: 14px;
  text-underline-offset: 3px;
}

.facets__mobile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
}

.facets__mobile-actions .button {
  min-width: 0;
  padding: 0 10px;
}

@media (min-width: 990px) {
  .facets__bar {
    justify-content: flex-end;
  }

  .mobile-facets {
    display: none;
  }

  .facet-filters {
    display: flex;
  }

  .facets__sidebar {
    display: block;
    flex-shrink: 0;
    width: 260px;
  }

  .facets__panel-header {
    padding: 0 0 15px;
  }

  .facets__close,
  .facets__mobile-actions {
    display: none;
  }
}

.collection--empty {
  padding: 60px 0;
  text-align: center;
}

/* Pagination */

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.pagination__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.pagination__item .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  color: var(--color-fg);
  font-size: 16px;
  text-decoration: none;
}

.pagination__item a.page-numbers:hover,
.pagination__item .page-numbers.current {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.pagination__item .icon-caret {
  width: 10px;
  height: 6px;
}

.icon--prev {
  transform: rotate(90deg);
}

.icon--next {
  transform: rotate(-90deg);
}

/* ---- Product page ------------------------------------------------------------- */

.product-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 24px;
  padding-top: 36px;
  padding-bottom: 12px;
}

.product__media-list {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product__media-list::-webkit-scrollbar {
  display: none;
}

.product__media-item {
  display: flex;
  justify-content: center;
  flex: 0 0 100%;
  scroll-snap-align: center;
}

.product__media-item img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(18, 18, 18, 0.05);
}

.product__media-counter {
  margin: 10px 0 0;
  color: var(--color-fg-75);
  font-size: 13px;
  text-align: center;
}

.product__text {
  margin: 0 0 15px;
  font-size: 10px;
  letter-spacing: 1.3px;
  line-height: 1.2;
  text-transform: uppercase;
}

.product__title {
  margin-bottom: 15px;
  font-size: 30px;
}

.product__price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.product__price .price {
  font-size: 18px;
  letter-spacing: 1.3px;
}

.product__price .price-item--regular {
  font-size: 16px;
}

@media (min-width: 990px) {
  .product-section {
    grid-template-columns: 715fr 385fr;
    padding-bottom: 36px;
  }

  .product__media-list {
    display: grid;
    gap: 8px;
    overflow: visible;
  }

  .product__media-item img {
    width: auto;
    max-width: 100%;
    max-height: calc(100vh - 172px);
    object-fit: contain;
  }

  .product__info-wrapper {
    padding-left: 40px;
  }

  .product__info-container {
    position: sticky;
    top: 160px;
  }

  .admin-bar .product__info-container {
    top: 192px;
  }

  .product__title {
    font-size: 40px;
  }
}

/* Variation pills (built by product.js from WooCommerce's dropdowns) */

.variations_form.has-pills table.variations {
  position: absolute !important;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
}

.product-form__input {
  margin: 25px 0 0;
  padding: 0;
  border: 0;
}

.form__label {
  display: block;
  margin-bottom: 6px;
  color: var(--color-fg-75);
  font-size: 13px;
  letter-spacing: 0.4px;
  padding: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 7px 7px 0;
  padding: 10px 20px;
  border: 1px solid var(--color-fg-55);
  border-radius: 40px;
  background: #fff;
  color: var(--color-fg);
  font-family: var(--font);
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.1s ease;
}

.pill:hover {
  border-color: var(--color-fg);
}

.pill--unavailable {
  color: var(--color-fg-55);
  text-decoration: line-through;
}

.pill--active {
  border-color: var(--color-fg);
  background: var(--color-fg);
  color: #fff;
}

/* WooCommerce's own price/stock line is replaced by the price above. */
.single_variation_wrap .woocommerce-variation-price,
.single_variation_wrap .woocommerce-variation-availability,
.single_variation_wrap .woocommerce-variation-description,
.product-form .stock {
  display: none;
}

.product-form form.cart {
  margin: 0;
}

.quantity__label {
  margin-top: 25px;
}

.product-form .quantity {
  display: flex;
  width: 140px;
  min-height: 45px;
  box-shadow: 0 0 0 1px var(--color-fg-55);
}

.quantity__button {
  width: 45px;
  border: 0;
  background: none;
  color: var(--color-fg);
  font-size: 18px;
  cursor: pointer;
}

.product-form .quantity .qty {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--color-fg);
  font-family: var(--font);
  font-size: 16px;
  text-align: center;
  -moz-appearance: textfield;
}

.product-form .quantity .qty::-webkit-inner-spin-button,
.product-form .quantity .qty::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.woocommerce-variation-add-to-cart,
.product-form form.cart:not(.variations_form) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.single_add_to_cart_button {
  width: 100%;
  max-width: 440px;
  margin-top: 25px;
  background: #fff;
  color: var(--color-fg);
}

.single_add_to_cart_button.button--buy-now {
  margin-top: 10px;
  background: var(--color-fg);
  color: #fff;
  font-weight: 700;
}

.single_add_to_cart_button.disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

/* WhatsApp (Shopify app "WhatsApp Chat" look) */

.wa-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 300px;
  max-width: 100%;
  height: 65px;
  margin-top: 25px;
  padding: 0 24px 0 16px;
  border-radius: 450px;
  background: var(--color-whatsapp);
  box-shadow: 0 4px 8px 1px rgba(32, 32, 37, 0.09);
  color: #fff;
  letter-spacing: 0;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.1s ease;
}

.wa-button:hover {
  transform: translateY(-2px);
}

.wa-button .icon-whatsapp {
  width: 34px;
  height: 34px;
}

.wa-button__text {
  display: flex;
  flex-direction: column;
}

.wa-button__agent {
  color: #d5f0d9;
  font-size: 12px;
}

.wa-button__status {
  margin-left: 4px;
  padding: 1px 3px;
  border-radius: 5px;
  background: #62c971;
  color: #fff;
  font-size: 9px;
}

.wa-button__cta {
  font-size: 14px;
  font-weight: 700;
}

.wa-float {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 40;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.wa-float__bubble {
  display: none;
  width: 155px;
  margin-right: 7px;
  padding: 6px 10px;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
  color: #43474e;
  font-size: 12px;
  letter-spacing: 0;
  line-height: 1.3;
}

.wa-float__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  box-shadow: 0 6px 8px 2px rgba(0, 0, 0, 0.14);
}

.wa-float__icon .icon-whatsapp {
  width: 30px;
  height: 30px;
}

@media (min-width: 750px) {
  .wa-float__bubble {
    display: block;
  }
}

.product__description {
  margin-top: 25px;
}

.product__description p {
  margin: 0 0 10px;
}

.share-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-fg);
  font-family: var(--font);
  font-size: 14px;
  letter-spacing: 0.6px;
  cursor: pointer;
}

.share-button:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.share-button .icon {
  width: 13px;
  height: 12px;
}

/* Related products */

.related-products .related > h2 {
  margin-bottom: 30px;
  font-size: 24px;
}

/* ---- Pages, contact, notices ------------------------------------------------- */

.page-width--narrow {
  max-width: 826px;
}

.main-page-title {
  margin-bottom: 30px;
  font-size: 30px;
}

@media (min-width: 750px) {
  .main-page-title {
    font-size: 40px;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__fields {
  display: grid;
  gap: 20px;
}

@media (min-width: 750px) {
  .contact__fields {
    grid-template-columns: 1fr 1fr;
  }
}

.text-area {
  min-height: 100px;
  padding-top: 15px;
  padding-bottom: 15px;
  resize: vertical;
}

.form-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--color-fg);
}

.form-status svg {
  width: 13px;
  height: 13px;
}

.form-status--error {
  color: #b3261e;
  font-size: 14px;
}

.woocommerce-notices-wrapper:empty {
  display: none;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 20px 0;
  padding: 15px 20px;
  border: 1px solid var(--color-border-strong);
  background: #fff;
  color: var(--color-fg);
  font-size: 14px;
  list-style: none;
}

.woocommerce-error {
  border-color: #b3261e;
  color: #b3261e;
}

.woocommerce-message .button,
.woocommerce-info .button {
  order: 2;
  min-height: 38px;
  padding: 0 20px;
  font-size: 13px;
}

/* ---- Cart + checkout (WooCommerce blocks) in Dawn's style --------------------- */

.wc-block-cart,
.wc-block-checkout,
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
  font-family: var(--font);
  color: var(--color-fg);
}

.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
  min-height: 45px;
  border-radius: 0 !important;
  background: var(--color-fg) !important;
  color: #fff !important;
  font-family: var(--font);
  font-size: 15px;
  letter-spacing: 1px;
}

.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input,
.wc-block-components-textarea,
.wc-blocks-components-select .wc-blocks-components-select__select {
  border-radius: 0 !important;
  border-color: var(--color-fg-55) !important;
  font-family: var(--font) !important;
}

.wc-block-components-product-name {
  color: var(--color-fg);
  text-decoration: none;
}

.wc-block-components-sale-badge {
  border-radius: 40px;
  border: 0;
  background: var(--color-sale);
  color: #fff;
}

/* My account */

.woocommerce-account .woocommerce {
  display: grid;
  gap: 30px;
}

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

.woocommerce-MyAccount-navigation a {
  display: block;
  padding: 8px 0;
  color: var(--color-fg-75);
  text-decoration: none;
}

.woocommerce-MyAccount-navigation .is-active a {
  color: var(--color-fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  width: 100%;
  min-height: 45px;
  padding: 0 15px;
  border: 0;
  border-radius: 0;
  box-shadow: 0 0 0 1px var(--color-fg-55);
  font-family: var(--font);
  font-size: 16px;
}

@media (min-width: 750px) {
  .woocommerce-account .woocommerce {
    grid-template-columns: 220px 1fr;
  }
}

/* "Ver productos disponibles" under a sold-out product's form. */
.product__soldout-link {
  width: 100%;
  max-width: 440px;
  margin-top: 15px;
}
