/* Artel shop archive */
.asf-shop {
	--navy: #011248;
	--gold: #D9A949;
	--gold-dk: #8C6A24;
	--line: #E4E1DB;
	--card-line: #ECE6DA;
	--cream: #FBFAF7;
	--muted: #8A8A8A;
	--img-bg: #EEECE9;
	font-family: "Jost", sans-serif;
	color: var(--navy);
	background: #fff;
}
.asf-shop *, .asf-shop *::before, .asf-shop *::after { box-sizing: border-box; }
.asf-shop [hidden] { display: none !important; }
.asf-shop button { font-family: inherit; }
html.asf-lock, html.asf-lock body { overflow: hidden; }

.asf-shop__wrap { padding: 32px 80px 96px; max-width: none; }

/* breadcrumb */
.asf-crumbs { font-size: 13px; line-height: 1.4; color: var(--muted); margin: 0 0 30px; }
.asf-crumbs a { color: var(--muted); text-decoration: none; }
.asf-crumbs a:hover { color: var(--navy); }
.asf-crumbs__sep { margin: 0 6px; }
.asf-crumbs [aria-current] { color: var(--navy); }

/* head */
.asf-shop__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.asf-shop__title { font-family: inherit; font-weight: 400; font-size: clamp(34px, 2.65vw, 51px); line-height: 1.1; letter-spacing: 0; color: var(--navy); margin: 0 0 14px; text-transform: none; }
.asf-shop__count { margin: 0; font-size: 14px; color: #555; }
.asf-shop__tools { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

.asf-tool { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; border-radius: 2px; transition: border-color .2s; }
.asf-tool:hover { border-color: var(--navy); }
.asf-tool svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.asf-tool__n { color: var(--gold-dk); letter-spacing: 0; }

.asf-view { display: inline-flex; border: 1px solid var(--line); border-radius: 2px; overflow: hidden; height: 40px; }
.asf-view__btn { width: 42px; height: 38px; display: grid; place-items: center; background: #fff; border: 0; cursor: pointer; color: var(--navy); padding: 0; }
.asf-view__btn + .asf-view__btn { border-left: 1px solid var(--line); }
.asf-view__btn svg { width: 16px; height: 16px; fill: currentColor; }
.asf-view__btn.is-active { background: var(--navy); color: #fff; }

.asf-sort select { appearance: none; -webkit-appearance: none; height: 40px; min-width: 200px; padding: 0 40px 0 16px; border: 1px solid var(--line); border-radius: 2px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5l3-3' fill='none' stroke='%23011248' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 14px center / 12px; color: var(--navy); font: 13px/1 "Jost", sans-serif; cursor: pointer; box-shadow: none; }
.asf-sort select:focus { outline: none; border-color: var(--navy); }

/* grid */
.asf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.asf-grid[data-cols="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.asf-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--card-line); border-radius: 6px; overflow: hidden; transition: box-shadow .3s, transform .3s; }
.asf-card[hidden] { display: none !important; }
.asf-card:hover { box-shadow: 0 14px 34px -14px rgba(1, 18, 72, .22); }
.asf-card__media { position: relative; background: var(--img-bg); }
.asf-card__img { display: block; aspect-ratio: 1 / 1; overflow: hidden; }
.asf-card__img img, .asf-card__photo { display: block; width: 100% !important; height: 100% !important; object-fit: cover; transition: transform .6s ease; max-width: none; }
.asf-card:hover .asf-card__img img { transform: scale(1.04); }

.asf-card__badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; pointer-events: none; }
.asf-card__badge { display: inline-block; padding: 4px 9px 3px; background: var(--navy); color: var(--gold); font-size: 10px; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase; border-radius: 2px; }
.asf-card__badge--pro { background: var(--gold); color: var(--navy); }

.asf-card__actions { position: absolute; top: 14px; right: 14px; display: flex; flex-direction: column; gap: 8px; }
.asf-card__act { width: 34px; height: 34px; border-radius: 50%; background: #fff !important; border: 0; display: grid !important; place-items: center; color: var(--navy) !important; cursor: pointer; padding: 0 !important; margin: 0 !important; box-shadow: 0 2px 8px rgba(1, 18, 72, .08); transition: opacity .25s, transform .25s, background .2s; text-decoration: none !important; position: relative; min-height: 0 !important; line-height: 1 !important; }
.asf-card__act svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.asf-card__act i { font-size: 14px; line-height: 1; }
.asf-card__act .c-wishlist__btn-icon { position: absolute; inset: 0; display: grid; place-items: center; }
.asf-card__act .c-wishlist__btn-icon--active { opacity: 0; }
.asf-card__act.c-wishlist__btn--active .c-wishlist__btn-icon--active,
.asf-card__act.active .c-wishlist__btn-icon--active { opacity: 1; color: var(--gold-dk); }
.asf-card__act.c-wishlist__btn--active .c-wishlist__btn-icon--normal,
.asf-card__act.active .c-wishlist__btn-icon--normal { opacity: 0; }
.asf-card__act:hover { background: var(--navy) !important; color: #fff !important; }
.asf-card__act--bag, .asf-card__act--view { opacity: 0; transform: translateX(6px); }
.asf-card:hover .asf-card__act--bag, .asf-card:hover .asf-card__act--view,
.asf-card:focus-within .asf-card__act--bag, .asf-card:focus-within .asf-card__act--view { opacity: 1; transform: none; }
.asf-card__act.loading { opacity: .5 !important; }
.asf-card__act.added::after { content: ""; position: absolute; top: -2px; right: -2px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.asf-card .added_to_cart { display: none !important; }

.asf-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 20px; }
.asf-card__meta { margin: 0 0 6px; font-size: 10px; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.asf-card__name { margin: 0; font-family: inherit; font-size: 16px; font-weight: 400; line-height: 1.35; letter-spacing: 0; text-transform: none; }
.asf-card__name a { color: var(--navy); text-decoration: none; }
.asf-card__name a:hover { color: var(--gold-dk); }
.asf-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 26px; }
.asf-card__price { font-size: 15px; font-weight: 500; color: var(--gold-dk); }
.asf-card__price .amount, .asf-card__price bdi { color: inherit; }
.asf-card__price del { color: var(--muted); font-weight: 400; margin-right: 6px; }
.asf-card__price ins { text-decoration: none; }
.asf-card__metals { display: inline-flex; gap: 6px; }
.asf-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--dot, #ccc); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); flex: 0 0 auto; }
.asf-card__metals .asf-dot.is-on { box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--muted); }

/* empty + load more */
.asf-empty { text-align: center; padding: 60px 20px; color: #555; }
.asf-empty p { margin: 0 0 18px; font-size: 16px; }
.asf-more { display: flex; flex-direction: column; align-items: center; margin-top: 56px; }
.asf-more__label { margin: 0 0 14px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.asf-more__bar { width: 220px; height: 2px; background: var(--line); margin-bottom: 22px; position: relative; overflow: hidden; }
.asf-more__bar span { position: absolute; left: 0; top: 0; bottom: 0; background: var(--gold-dk); transition: width .4s; }

.asf-btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 28px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; border-radius: 2px; transition: background .2s, color .2s, border-color .2s; line-height: 1; white-space: nowrap; }
.asf-btn--ghost { background: #fff; color: var(--navy); border: 1px solid var(--navy); }
.asf-btn--ghost:hover { background: var(--navy); color: #fff; }
.asf-btn--solid { background: var(--navy); color: #fff; border: 1px solid var(--navy); }
.asf-btn--solid:hover { background: #0a2066; }
.asf-more__btn { height: 46px; min-width: 156px; }

/* SEO block */
.asf-seo { border-top: 1px solid var(--line); padding: 96px 80px 110px; }
.asf-seo__inner { max-width: 760px; margin: 0 auto; }
.asf-seo__title { font-family: inherit; font-weight: 400; font-size: clamp(26px, 1.65vw, 32px); line-height: 1.25; color: var(--navy); margin: 0 0 22px; letter-spacing: 0; text-transform: none; }
.asf-seo__text p { font-size: 15px; line-height: 1.85; color: #444; margin: 0 0 18px; }
.asf-seo__text a { color: var(--gold-dk); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 1px; }
.asf-seo__text a:hover { color: var(--navy); border-color: var(--navy); }

/* drawer */
.asf-drawer { position: fixed; inset: 0; z-index: 100000; visibility: hidden; pointer-events: none; }
.asf-drawer.is-open { visibility: visible; pointer-events: auto; }
.asf-drawer__overlay { position: absolute; inset: 0; background: rgba(1, 18, 72, .45); opacity: 0; transition: opacity .3s; }
.asf-drawer.is-open .asf-drawer__overlay { opacity: 1; }
.asf-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: 460px; max-width: 100%; background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s cubic-bezier(.2, .7, .2, 1); outline: none; box-shadow: -20px 0 40px -20px rgba(1, 18, 72, .25); }
.asf-drawer.is-open .asf-drawer__panel { transform: none; }
.asf-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 24px 36px; border-bottom: 1px solid var(--line); }
.asf-drawer__head h2 { margin: 0; font-family: inherit; font-weight: 400; font-size: 26px; color: var(--navy); letter-spacing: 0; text-transform: none; }
.asf-drawer__x { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--navy); padding: 0; }
.asf-drawer__x:hover { border-color: var(--navy); }
.asf-drawer__x svg { width: 12px; height: 12px; stroke: currentColor; stroke-width: 1.4; fill: none; }
.asf-drawer__body { flex: 1; overflow-y: auto; padding: 20px 36px 24px; overscroll-behavior: contain; }

.asf-chips { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 10px; position: sticky; top: -20px; background: #fff; z-index: 2; padding-top: 0; }
.asf-chip { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px 0 14px; border: 1px solid #E7D3A4; background: #FBF5E8; color: var(--gold-dk); border-radius: 16px; font-size: 12px; cursor: pointer; }
.asf-chip svg { width: 9px; height: 9px; stroke: currentColor; stroke-width: 1.4; fill: none; }
.asf-chip:hover { border-color: var(--gold-dk); }

.asf-fs { border-bottom: 1px solid var(--line); padding: 22px 0; }
.asf-fs:last-child { border-bottom: 1px solid var(--line); }
.asf-fs__head { display: flex; align-items: center; justify-content: space-between; width: 100%; background: none; border: 0; padding: 0; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); cursor: pointer; }
.asf-fs__chev { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .25s; }
.asf-fs:not(.is-open) .asf-fs__chev { transform: rotate(180deg); }
.asf-fs__body { padding-top: 16px; }
.asf-fs:not(.is-open) .asf-fs__body { display: none; }
.asf-fs__group { margin: 6px 0 8px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.asf-fs__group ~ .asf-fs__group { margin-top: 18px; }

.asf-opt { display: flex; align-items: center; gap: 12px; padding: 8px 0; cursor: pointer; font-size: 15px; color: var(--navy); position: relative; margin: 0; }
.asf-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
/* beat the theme's input[type="checkbox"] { position: relative; width: 18px; margin-right: 7px } so the hidden input takes no space */
label.asf-opt input[type="checkbox"], label.asf-opt input[type="radio"] { position: absolute !important; left: 0 !important; top: 0 !important; width: 1px !important; height: 1px !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; opacity: 0 !important; pointer-events: none; }
.asf-opt__box { width: 18px; height: 18px; border: 1px solid #C9C6C0; border-radius: 3px; flex: 0 0 auto; display: grid; place-items: center; background: #fff; transition: background .15s, border-color .15s; }
.asf-opt input:checked + .asf-opt__box { background: var(--navy); border-color: var(--navy); }
.asf-opt input:checked + .asf-opt__box::after { content: ""; width: 8px; height: 4px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.asf-opt input:focus-visible + .asf-opt__box { outline: 2px solid var(--gold); outline-offset: 2px; }
.asf-opt__label { flex: 1; }
.asf-opt__n { font-size: 12px; color: var(--muted); }
.asf-opt.is-zero { opacity: .45; }
.asf-opt .asf-dot { width: 16px; height: 16px; }

.asf-range { position: relative; height: 28px; margin: 4px 10px 6px; }
.asf-range__track { position: absolute; left: 0; right: 0; top: 13px; height: 2px; background: var(--line); }
.asf-range__fill { position: absolute; top: 0; bottom: 0; background: var(--navy); }
.asf-range input[type=range] { position: absolute; left: -10px; right: -10px; width: calc(100% + 20px); top: 0; height: 28px; margin: 0; background: none; -webkit-appearance: none; appearance: none; pointer-events: none; }
.asf-range input[type=range]::-webkit-slider-runnable-track { background: none; border: 0; height: 28px; }
.asf-range input[type=range]::-moz-range-track { background: none; border: 0; }
.asf-range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 20px; height: 20px; margin-top: 4px; border-radius: 50%; background: var(--navy); border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--navy); cursor: pointer; }
.asf-range input[type=range]::-moz-range-thumb { pointer-events: auto; width: 14px; height: 14px; border-radius: 50%; background: var(--navy); border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--navy); cursor: pointer; }
.asf-range input[type=range]:focus { outline: none; }
.asf-range input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 1.5px var(--navy), 0 0 0 5px rgba(217, 169, 73, .45); }
.asf-range__ends { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-bottom: 18px; }
.asf-range__inputs { display: flex; align-items: flex-end; gap: 14px; }
.asf-range__inputs label { flex: 1; margin: 0; }
.asf-range__lbl { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.asf-money { display: flex; align-items: center; height: 46px; border: 1px solid var(--line); border-radius: 2px; padding: 0 14px; gap: 8px; }
.asf-money:focus-within { border-color: var(--navy); }
.asf-money i { font-style: normal; color: var(--muted); font-size: 15px; }
.asf-money input { border: 0 !important; padding: 0 !important; height: 100% !important; width: 100%; font: 15px "Jost", sans-serif; color: var(--navy); background: none !important; box-shadow: none !important; -moz-appearance: textfield; min-height: 0 !important; }
.asf-money input::-webkit-outer-spin-button, .asf-money input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.asf-range__dash { color: var(--muted); padding-bottom: 14px; }

.asf-drawer__foot { display: flex; gap: 12px; padding: 20px 36px 28px; border-top: 1px solid var(--line); background: #fff; }
.asf-drawer__foot .asf-btn { height: 52px; }
.asf-drawer__foot .asf-btn--ghost { flex: 0 0 140px; }
.asf-drawer__foot .asf-btn--solid { flex: 1; gap: .4em; }

/* responsive */
@media (max-width: 1279px) {
	.asf-shop__wrap { padding: 28px 40px 80px; }
	.asf-seo { padding: 72px 40px 80px; }
	.asf-grid, .asf-grid[data-cols="4"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.asf-grid[data-cols="3"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
	.asf-shop__head { flex-direction: column; align-items: flex-start; }
	.asf-shop__tools { width: 100%; }
	.asf-sort { margin-left: auto; }
	.asf-grid, .asf-grid[data-cols="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.asf-grid[data-cols="3"] { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
	.asf-shop__wrap { padding: 20px 16px 64px; }
	.asf-seo { padding: 56px 20px 64px; }
	.asf-crumbs { margin-bottom: 18px; }
	.asf-shop__title { margin-bottom: 8px; }
	.asf-shop__head { padding-bottom: 18px; margin-bottom: 20px; gap: 16px; }
	.asf-sort select { min-width: 0; width: 100%; }
	.asf-sort { flex: 1; }
	.asf-tool { padding: 0 14px; }
	.asf-grid, .asf-grid[data-cols="4"] { gap: 12px; }
	.asf-card__body { padding: 14px 12px 14px; }
	.asf-card__name { font-size: 14px; }
	.asf-card__foot { padding-top: 16px; }
	.asf-card__price { font-size: 14px; }
	.asf-card__actions { top: 8px; right: 8px; gap: 6px; }
	.asf-card__act { width: 30px; height: 30px; }
	.asf-card__act--bag, .asf-card__act--view { opacity: 1; transform: none; }
	.asf-card__act--view { display: none !important; }
	.asf-card__badges { top: 8px; left: 8px; }
	.asf-drawer__head, .asf-drawer__body, .asf-drawer__foot { padding-left: 20px; padding-right: 20px; }
	.asf-drawer__foot .asf-btn--ghost { flex: 0 0 auto; padding: 0 18px; }
	.asf-drawer__foot .asf-btn { letter-spacing: .12em; }
}

/* theme overrides */
.asf-sort select { height: 40px !important; min-height: 40px !important; line-height: 38px !important; padding: 0 40px 0 16px !important; border: 1px solid var(--line) !important; border-radius: 2px !important; font-size: 13px !important; color: var(--navy) !important; background-color: #fff !important; margin: 0 !important; }
.asf-sort { display: inline-flex; margin: 0; }


/* Gifts: "Shop by" chips */
.asf-shop__head--chips { flex-wrap: wrap; row-gap: 22px; }
.asf-shop__head--chips .asf-shop__titles { flex: 1 1 auto; }
.asf-shopby { order: 3; flex: 0 0 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.asf-shopby__label { flex: 0 0 auto; white-space: nowrap; margin-right: 6px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.asf-shopby__chip { display: inline-flex; align-items: center; height: 34px; padding: 0 16px; border: 1px solid var(--line); border-radius: 17px; background: #fff; font-size: 13px; line-height: 1; color: var(--navy); text-decoration: none; white-space: nowrap; transition: border-color .2s, background .2s, color .2s; }
.asf-shopby__chip:hover, .asf-shopby__chip:focus-visible { border-color: var(--navy); background: var(--navy); color: #fff; outline: none; }
@media (max-width: 767px) {
	.asf-shopby { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
	.asf-shopby::-webkit-scrollbar { display: none; }
	.asf-shopby__chip { flex: 0 0 auto; }
}

/* Tablet portrait: 3 per row (2 per row in the roomy view) instead of two oversized cards */
@media (min-width: 768px) and (max-width: 1023px) {
	.asf-grid, .asf-grid[data-cols="4"] { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
	.asf-grid[data-cols="3"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
