/* Tienda like the Shopify collection page (inc/shop.php). */
.pfshop { --ink: #1d1d1b; --muted: #5f5f5a; --serif: "Instrument Serif", "Times New Roman", Georgia, serif; max-width: 1120px; margin: 0 auto; padding: 30px 16px 100px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; color: var(--ink); font-size: 15px; line-height: 1.5; }
.pfshop * { box-sizing: border-box; }
.pfshop [hidden] { display: none !important; }
.pfshop-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.pfshop .search { flex: 1 1 280px; display: flex; align-items: center; gap: 10px; margin: 0; border: 1px solid #d6d6d2; border-radius: 8px; padding: 0 14px; background: transparent; }
.pfshop .search:focus-within { outline: 2px solid var(--ink); outline-offset: 1px; }
.pfshop .search svg { width: 15px; height: 15px; fill: none; stroke: var(--muted); stroke-width: 2; flex: none; }
.pfshop .search input { all: unset; flex: 1; min-width: 0; padding: 12px 0; font-size: 14px; }
.pfshop .search input::placeholder { color: #8d8d88; }
.pfshop .chips { display: flex; gap: 8px; flex-wrap: wrap; }
.pfshop .chips a { display: inline-block; font-size: 13px; padding: 11px 18px; border-radius: 8px; border: 1px solid #d6d6d2; color: var(--muted); text-decoration: none; line-height: 1.5; }
.pfshop .chips a:hover { color: var(--ink); }
.pfshop .chips a[aria-current="page"] { border: 2px solid var(--ink); padding: 10px 17px; color: var(--ink); }
.pfshop .pf-sort { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 0 auto; font-size: 13px; color: var(--muted); }
.pfshop .pf-sort select { font: inherit; font-size: 13px; color: var(--ink); min-height: 0; padding: 10px 32px 10px 12px; border: 1px solid #d6d6d2; border-radius: 8px; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 14px; appearance: none; -webkit-appearance: none; cursor: pointer; }
@media (max-width: 640px) {
	.pfshop .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
	.pfshop .chips::-webkit-scrollbar { display: none; }
	.pfshop .chips > * { flex: none; }
	.pfshop .pf-sort { margin-left: 0; }
}
/* star serum banner */
.pfshop .pf-star { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; align-items: center; padding: 14px; border-radius: 20px; background: #14212c; color: #fff; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.pfshop .pf-star:hover { transform: translateY(-2px); box-shadow: 0 24px 50px -30px rgb(20 33 44 / .6); }
.pfshop .pf-star img { width: 120px; height: 150px; object-fit: cover; border-radius: 14px; display: block; }
.pfshop .pf-star__k { margin: 0 0 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #9fc0dc; }
.pfshop .pf-star__k::before { content: "\2605  "; color: #f2b632; }
.pfshop .pf-star h2 { margin: 0; color: #fff; font-size: clamp(22px, 3vw, 30px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.pfshop .pf-star__r { margin: 8px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; }
.pfshop .pf-star__r i { font-style: normal; color: #f2b632; letter-spacing: 2px; }
.pfshop .pf-star__tag { margin: 6px 0 0; font-size: 12.5px; color: #b9cbdb; }
.pfshop .pf-star__go { grid-column: 1 / -1; justify-self: start; display: inline-block; margin-top: 2px; padding: 12px 20px; border-radius: 99px; background: #c9dbea; color: #14212c; font-weight: 600; font-size: 14px; }
@media (min-width: 760px) {
	.pfshop .pf-star { grid-template-columns: 150px minmax(0, 1fr) auto; padding: 16px 28px 16px 16px; }
	.pfshop .pf-star img { width: 150px; height: 180px; }
	.pfshop .pf-star__go { grid-column: auto; margin: 0; padding: 14px 22px; }
}
/* grid and cards */
.pfshop .pf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 18px; }
.pfshop .no-results { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 60px 0; }
.pfshop .card-p { display: grid; gap: 10px; align-content: start; color: var(--ink); min-width: 0; }
.pfshop .card-p .img { position: relative; aspect-ratio: 1 / 1; border-radius: 12px; background: linear-gradient(160deg, #ececea, #dcdcd9); overflow: hidden; }
.pfshop .card-p .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pfshop .card-p:hover .img img { transform: scale(1.03); }
.pfshop .card-p .cover { position: absolute; inset: 0; z-index: 1; }
.pfshop .card-p.soldout .img { filter: grayscale(1) opacity(.75); }
.pfshop .quick { position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; padding: 0; border-radius: 50%; border: 0; background: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); z-index: 2; transition: transform .15s; }
.pfshop .quick:hover { transform: scale(1.08); }
.pfshop .quick svg { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 2; }
.pfshop .quick.is-loading svg { opacity: .3; }
.pfshop .quick.is-done { background: #1f6f43; }
.pfshop .quick.is-done svg { stroke: #fff; }
.pfshop .sold { position: absolute; left: 14px; bottom: 14px; background: #fff; border-radius: 6px; font-size: 12px; padding: 6px 12px; z-index: 2; }
.pfshop .card-p h3 { margin: 0; font-size: 16px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }
.pfshop .card-p h3 a { color: inherit; text-decoration: none; }
.pfshop .card-p h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pfshop .card-p .price { font-size: 15px; font-variant-numeric: tabular-nums; margin-top: -6px; }
.pfshop .pager { display: flex; justify-content: center; gap: 8px; font-size: 14px; }
.pfshop .pager a, .pfshop .pager span { padding: 8px 14px; border-radius: 8px; border: 1px solid #d6d6d2; color: var(--ink); text-decoration: none; }
.pfshop .pager .current { border: 2px solid var(--ink); padding: 7px 13px; }
@media (max-width: 900px) { .pfshop .pf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
	.pfshop .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 12px; }
	.pfshop .card-p h3 { font-size: 14px; }
	.pfshop .card-p .price { font-size: 13px; }
	.pfshop .quick { width: 32px; height: 32px; right: 8px; bottom: 8px; }
}
.pfshop > * { min-width: 0; }
