/* Tienda: fotografía a sangre, controles discretos y catálogo por variaciones. */
.studio-shop { background: #fff; color: #171717; }
.studio-shop .studio-header { transition: transform 350ms ease; }
.studio-shop .studio-header:not(.is-scrolled):not(.is-menu-open) { background: transparent; color: #fff; box-shadow: none; }
.studio-shop .studio-header .brand { color: var(--studio-blue); }
.studio-shop .studio-header:not(.is-scrolled):not(.is-menu-open) .studio-navigation,
.studio-shop .studio-header:not(.is-scrolled):not(.is-menu-open) .menu-toggle { color: #fff; }
.studio-shop .studio-header .brand__logo { filter: none; }
.studio-shop .studio-header.is-scrolled:not(.is-sticky-visible):not(.is-menu-open) { visibility: hidden; opacity: 0; pointer-events: none; transition: none; }
.shop-page { flex: 1; min-width: 0; }
.shop-hero { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: #365961; }
.shop-hero__setup { position: absolute; z-index: 1; inset: 0; display: grid; place-items: center; padding: var(--studio-gutter); color: #fff; font-size: 14px; text-align: center; }
.shop-catalog { padding: 32px clamp(22px, 2.4vw, 65px) clamp(140px, 12vw, 300px); scroll-margin-top: calc(var(--studio-header-height) + 20px); }
.shop-toolbar { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin-bottom: 20px; }
.shop-toolbar__filters { display: flex; flex-wrap: wrap; gap: clamp(12px, 1vw, 28px); }
.shop-toolbar__actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.shop-filter { position: relative; }
.shop-filter summary { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-width: 130px; min-height: 44px; padding: 9px 22px; border: 1px solid #171717; font-size: clamp(14px, 1.1vw, 19px); line-height: 1.3; cursor: pointer; list-style: none; }
.shop-filter summary::-webkit-details-marker { display: none; }
.shop-chevron { width: 11px; height: 11px; margin-top: -5px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); }
.shop-filter[open] .shop-chevron { margin-top: 5px; transform: rotate(225deg); }
.shop-filter__panel { position: absolute; z-index: 3; top: calc(100% + 10px); left: 0; width: 260px; max-width: calc(100vw - 44px); max-height: min(420px, 65vh); overflow-y: auto; padding: 16px; border: 1px solid #ccc; background: #fff; box-shadow: 0 10px 30px #0000000f; }
.shop-filter .shop-filter__option { display: flex; align-items: center; gap: 10px; min-height: 36px; margin: 0; padding-block: 5px; color: #222; font-size: 14px; line-height: 1.4; font-weight: 400; cursor: pointer; }
.shop-filter__option input { flex-shrink: 0; margin: 0; accent-color: #171717; }
.shop-color-dot { width: 18px; height: 18px; border: 1px solid #bbb; border-radius: 50%; flex-shrink: 0; }
.shop-color-dot--unset { background: repeating-linear-gradient(135deg, #ddd 0, #ddd 3px, #fff 3px, #fff 6px); }
.shop-filter__panel--price p { margin: 0 0 12px; font-size: 12px; }
.shop-filter__panel--price label { margin-top: 10px; font-size: 13px; font-weight: 400; }
#shop-min-price, #shop-max-price { width: 100%; min-width: 0; padding: 8px; border: 1px solid #bbb; border-radius: 0; background: #fff; color: #171717; font-size: 14px; }
.shop-filter .shop-filter__apply { display: block; width: 100%; margin-top: 14px; padding: 10px; border: 1px solid #171717; background: #171717; color: #fff; font-size: 12px; font-weight: 400; }
.shop-filter--order summary { justify-content: center; min-width: 44px; padding: 8px; border: 0; }
.shop-filter--order .shop-filter__panel { right: 0; left: auto; width: 285px; }
.shop-view-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 8px; border: 0; background: transparent; color: #171717; }
.shop-view-toggle:hover { background: #f3f3f3; color: #171717; }
.shop-catalog__summary { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; color: #777; font-size: 12px; }
.studio-shop .shop-catalog__summary .woocommerce-result-count { margin: 0; float: none; font-size: inherit; }
.shop-catalog__summary a { color: #555; }
.shop-catalog__status { margin: 0 0 18px; color: #555; font-size: 13px; }
.shop-catalog__retry { padding: 0; border: 0; background: transparent; color: inherit; font-size: inherit; font-weight: 400; text-decoration: underline; text-underline-offset: 3px; }
.shop-catalog__retry:hover { background: transparent; color: #111; }
.shop-catalog[aria-busy="true"] ul.products,
.shop-catalog[aria-busy="true"] .woocommerce-pagination { opacity: 0.45; pointer-events: none; }
.studio-shop .shop-catalog ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(42px, 3.8vw, 100px) clamp(16px, 1vw, 28px); margin: 0; padding: 0; }
.studio-shop .shop-catalog ul.products::before, .studio-shop .shop-catalog ul.products::after { display: none; }
.studio-shop .shop-catalog ul.products > li.product { float: none; clear: none; width: auto; min-width: 0; margin: 0; padding: 0; list-style: none; }
.shop-card__image-link { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; background: #edf0ed; }
.studio-shop .shop-catalog ul.products li.product .shop-card__image-link img { display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; }
.shop-card__image-link .shop-card__secondary { position: absolute; inset: 0; opacity: 0; transition: opacity 300ms ease; }
.shop-card__body { padding: 15px 3px 0; }
.shop-card__heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 14px; }
.studio-shop .shop-catalog ul.products li.product .shop-card__heading h2 { margin: 0; padding: 0; font-size: clamp(15px, 1.15vw, 21px); line-height: 1.35; font-weight: 600; }
.shop-card__heading a { color: #111; text-decoration: none; }
.shop-card__color-name { color: #888; font-size: clamp(14px, 1.1vw, 20px); line-height: 1.35; }
.shop-card__colors { display: flex; flex-wrap: wrap; gap: 2px; margin: 3px 0 0; }
.shop-color { display: flex; align-items: center; width: 32px; height: 28px; padding: 8px 3px; border: 0; text-decoration: none; }
.shop-color > span { display: block; width: 100%; height: 8px; border: 1px solid #00000020; }
.shop-color.is-selected > span { outline: 1px solid #333; outline-offset: 2px; }
.shop-color:focus-visible { outline-color: #171717; }
.shop-card__price { margin: 21px 0 0; color: #111; font-size: clamp(16px, 1.3vw, 24px); line-height: 1.4; }
.shop-card__price del { color: #888; font-size: 0.85em; }
.shop-card__price ins { background: transparent; text-decoration: none; }
.shop-card__excerpt { display: none; margin: 18px 0 0; color: #777; font-size: 14px; line-height: 1.6; }
.studio-shop .shop-catalog[data-view="list"] ul.products { grid-template-columns: 1fr; gap: 40px; }
.studio-shop .shop-catalog[data-view="list"] ul.products > li.product { display: grid; grid-template-columns: minmax(140px, 23%) minmax(0, 1fr); align-items: center; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid #e5e5e5; }
.shop-catalog[data-view="list"] .shop-card__body { padding: 0; }
.shop-catalog[data-view="list"] .shop-card__excerpt:not(:empty) { display: block; max-width: 600px; }
.studio-shop nav.woocommerce-pagination { margin-top: 65px; }
.studio-shop nav.woocommerce-pagination ul { border: 0; }
.studio-shop nav.woocommerce-pagination ul li { border: 0; }
.studio-shop nav.woocommerce-pagination ul li span.current { background: #f1f1f1; color: #111; }
@media (hover: hover) {
  .shop-card[data-has-secondary="true"] .shop-card__image-link:hover .shop-card__secondary,
  .shop-card[data-has-secondary="true"] .shop-card__image-link:focus-visible .shop-card__secondary { opacity: 1; }
}
@media (min-width: 1000px) {
  .studio-shop .studio-header .studio-navigation .menu { gap: clamp(30px, 4.2vw, 90px); }
  .studio-shop .studio-header .studio-navigation a { font-size: clamp(14px, 1.05vw, 21px); }
}
@media (max-width: 1000px) {
  .studio-shop .shop-catalog ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-toolbar { gap: 16px; }
  .shop-filter summary { min-width: 110px; gap: 20px; padding-inline: 14px; }
  .shop-filter--order summary { min-width: 44px; }
}
@media (max-width: 600px) {
  .shop-toolbar__filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; }
  .shop-filter summary { min-width: 0; gap: 14px; padding: 9px 12px; font-size: 14px; }
  .shop-toolbar__filters > .shop-filter:nth-child(2) .shop-filter__panel { left: 50%; transform: translateX(-50%); }
  .shop-toolbar__filters > .shop-filter:nth-child(3) .shop-filter__panel { right: 0; left: auto; }
  .shop-toolbar__actions { gap: 8px; }
  .shop-catalog { padding-top: 22px; }
  .studio-shop .shop-catalog ul.products { grid-template-columns: 1fr; gap: 42px; }
  .studio-shop .shop-catalog[data-view="list"] ul.products > li.product { grid-template-columns: 110px minmax(0, 1fr); gap: 18px; }
  .shop-card__price { margin-top: 14px; font-size: 18px; }
  .shop-card__excerpt { font-size: 12px; }
}
