/* Bounty's existing IRANSans, cream/brown tokens and native Astra shell. */
body.bounty-shop-view .site-content { background: var(--bounty-cream, #faf8f5); }
body.bounty-shop-view .site-content > .ast-container { max-width: none; padding: 0; }
body.bounty-shop-view #primary.bs-primary { width: 100%; margin: 0; padding: 0; }
.bs { --bs-sticky-top: 112px; --bs-surface: #fffdfa; --bs-deep: #4b301f; --bs-soft: #f2ebe3; box-sizing: border-box; width: 100%; max-width: 1440px; margin-inline: auto; padding: 32px 40px 80px; color: var(--bounty-ink); font-size: 15px; line-height: 1.9; }
.bs *, .bs *::before, .bs *::after { box-sizing: border-box; }
.bs [hidden] { display: none !important; }
.bs a { color: inherit; text-decoration: none; }
.bs h1, .bs h2, .bs h3, .bs p { margin: 0; color: inherit; }
.bs button, .bs input, .bs select { font: inherit; }
.bs :is(a,button,input,select,summary):focus-visible { outline: 3px solid var(--bs-deep); outline-offset: 4px; }
.bs [tabindex='-1']:focus { outline: 2px solid var(--bounty-brown); outline-offset: 4px; }
.bs-icon { flex: none; width: 22px; height: 22px; vertical-align: middle; }
.bs-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; color: var(--bounty-muted); font-size: 12px; }
.bs-breadcrumb li + li::before { content: '/'; margin-inline-end: 8px; color: var(--bounty-muted); }
.bs-breadcrumb a { text-underline-offset: 4px; }
.bs-breadcrumb a:hover { text-decoration: underline; }
.bs-intro-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.bs .bs-eyebrow { margin-bottom: 4px; color: var(--bounty-brown); font-family: Georgia, serif; font-size: 11px; letter-spacing: 2px; text-align: start; direction: ltr; width: fit-content; }
.bs h1 { font-size: clamp(30px, 3vw, 40px); line-height: 1.6; font-weight: 700; }
.bs .bs-intro-copy { max-width: 390px; color: var(--bounty-muted); font-size: 14px; padding-bottom: 6px; }
.bs-categories { display: flex; gap: 10px; overflow-x: auto; padding: 8px 4px; margin: 24px -4px 28px; scrollbar-width: thin; scrollbar-color: var(--bounty-line) transparent; }
.bs-categories a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 0 0 auto; min-height: 48px; padding: 9px 22px; border: 1px solid var(--bounty-line); border-radius: 999px; background: var(--bs-surface); color: var(--bs-deep); font-size: 14px; font-weight: 500; transition: color 160ms, background-color 160ms, border-color 160ms; }
.bs-categories a[aria-current='page'] { background: var(--bounty-brown); border-color: var(--bounty-brown); color: #fff; box-shadow: 0 4px 12px #71492f18; }
.bs-categories a:not([aria-current]):hover { border-color: var(--bounty-brown); background: var(--bs-soft); }
.bs-layout { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 28px; align-items: start; }
.bs-sidebar { min-width: 0; height: 100%; }
.bs-sidebar-slot { position: sticky; top: var(--bs-sticky-top); }
.bs-filter-panel { max-height: calc(100dvh - var(--bs-sticky-top) - 20px); overflow-y: auto; overscroll-behavior-y: contain; padding: 22px 20px 18px; border: 1px solid var(--bounty-line); border-radius: 20px; background: var(--bs-surface); scrollbar-width: thin; scrollbar-color: #bba591 transparent; }
.bs-filter-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; }
.bs .bs-filter-heading h2 { font-size: 19px; font-weight: 700; }
.bs-filter-heading a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; color: var(--bounty-brown); text-decoration: underline; text-underline-offset: 4px; }
.bs-filter-group { border-bottom: 1px solid var(--bounty-line); margin: 0; padding: 0; }
.bs-filter-group summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; padding: 12px 0; cursor: pointer; list-style: none; color: var(--bs-deep); font-size: 14px; font-weight: 600; }
.bs-filter-group summary::-webkit-details-marker { display: none; }
.bs-filter-group summary::after { content: '+'; flex: none; font: 20px/1 sans-serif; font-weight: 400; color: var(--bounty-brown); }
.bs-filter-group[open] summary::after { content: '−'; }
.bs-filter-content { min-inline-size: 0; border: 0; padding: 0 0 16px; margin: 0; }
.bs .bs-filter-help { color: var(--bounty-muted); font-size: 11px; margin-bottom: 8px; }
.bs-check { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 0; cursor: pointer; font-size: 13px; }
.bs-check input { flex: none; width: 19px; height: 19px; margin: 0; appearance: auto; accent-color: var(--bounty-brown); border-radius: 4px; }
.bs-price-inputs { display: flex; align-items: end; gap: 8px; }
.bs-price-inputs label { flex: 1; min-width: 0; display: block; font-size: 12px; color: var(--bounty-muted); }
.bs-price-inputs > span { padding-bottom: 10px; color: var(--bounty-muted); }
.bs input[type='number'] { display: block; width: 100%; min-width: 0; height: 44px; margin-top: 5px; padding: 6px 8px; border: 1px solid #bcaa9a; border-radius: 10px; background: #fff; color: var(--bounty-ink); font-size: 12px; text-align: start; direction: ltr; }
.bs input::placeholder { color: #75675d; opacity: 1; }
.bs-filter-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding-top: 18px; }
.bs .bs-button, .bs .bs-card-action .button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; border: 1px solid var(--bounty-brown); border-radius: 999px; padding: 10px 20px; background: var(--bounty-brown); color: #fff; font-size: 13px; font-weight: 600; line-height: 1.7; text-align: center; text-decoration: none; cursor: pointer; transition: background-color 160ms, box-shadow 160ms; }
.bs .bs-button:hover, .bs .bs-card-action .button:hover { background: var(--bs-deep); border-color: var(--bs-deep); color: #fff; box-shadow: 0 4px 12px #30211912; }
.bs-filter-actions .bs-button { width: 100%; }
.bs .bs-reset { min-height: 44px; padding: 7px 16px; border: 0; background: transparent; color: var(--bs-deep); font-size: 12px; cursor: pointer; }
.bs-results { min-width: 0; scroll-margin-top: calc(var(--bs-sticky-top) + 12px); }
.bs-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; padding: 0 0 18px; margin-bottom: 20px; border-bottom: 1px solid var(--bounty-line); }
.bs-result-heading h2 { font-size: 18px; line-height: 1.7; font-weight: 600; scroll-margin-top: calc(var(--bs-sticky-top) + 20px); }
.bs .bs-result-heading p { font-size: 12px; color: var(--bounty-muted); }
.bs-tools { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bs-sort-form { display: flex; align-items: center; gap: 10px; margin: 0; min-width: 0; }
.bs-sort-form label { font-size: 12px; color: var(--bounty-muted); white-space: nowrap; }
.bs select { min-width: 136px; max-width: 100%; height: 44px; padding: 5px 12px 5px 30px; border: 1px solid var(--bounty-line); border-radius: 999px; background-color: var(--bs-surface); color: var(--bs-deep); font-size: 13px; cursor: pointer; }
.bs-sort-submit { min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--bounty-brown); background: var(--bounty-brown); color: #fff; }
.bounty-shop-js .bs-sort-submit { display: none; }
.bs-active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.bs-active-filters a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 7px 12px; background: var(--bs-soft); border: 1px solid #d9c9b8; border-radius: 999px; color: var(--bs-deep); font-size: 12px; }
.bs-active-filters .bs-icon { width: 16px; height: 16px; }
.bs-active-filters .bs-clear-all { border-color: transparent; background: transparent; text-decoration: underline; text-underline-offset: 3px; }
.bs-notices:empty { display: none; }
.bounty-shop-view .bs ul.products.bs-products { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin: 0 !important; padding: 0; list-style: none; align-items: stretch; }
.bounty-shop-view .bs ul.products::before, .bounty-shop-view .bs ul.products::after { display: none !important; }
.bounty-shop-view .bs ul.products > li.product.bs-card { position: relative; width: 100% !important; min-width: 0; display: flex; flex-direction: column; float: none; clear: none; margin: 0 !important; padding: 8px; border: 1px solid var(--bounty-line); border-radius: 22px; overflow: hidden; background: var(--bs-surface); text-align: start; box-shadow: 0 3px 12px #30211904; transition: border-color 180ms, box-shadow 180ms; }
.bs-card-link { display: block; border-radius: 15px; }
.bs-card-media { position: relative; aspect-ratio: 4 / 3; border-radius: 15px; overflow: hidden; background: #f0e7de; }
.bounty-shop-view .bs ul.products .bs-card-media img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; margin: 0; object-fit: cover; object-position: center; border-radius: 0; transition: transform 350ms ease; }
.bs-image-fallback { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 100%; color: var(--bounty-brown); background: linear-gradient(135deg,#f5ece2,#eee0cf); }
.bs-image-fallback svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.bs-image-fallback span[lang='en'] { font: 28px/1.4 Georgia,serif; }
.bs-image-fallback span:last-child { font-size: 12px; }
.bs-sale { position: absolute; inset-block-start: 10px; inset-inline-start: 10px; padding: 4px 12px; border-radius: 999px; background: var(--bs-deep); color: #fff; font-size: 12px; font-weight: 600; }
.bs-card-heading { padding: 16px 12px 0; }
.bs .bs-card-category { min-height: 22px; color: var(--bounty-brown); font-size: 11px; line-height: 2; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.bounty-shop-view .bs .bs-card h3 { display: -webkit-box; min-height: 58px; margin: 5px 0 0; padding: 0; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: var(--bounty-ink); font-size: 16px; font-weight: 600; line-height: 1.8; }
.bs-card-body { display: flex; flex: 1; flex-direction: column; align-items: stretch; padding: 0 12px 10px; }
.bs .bs-card-options { min-height: 28px; margin: 4px 0 8px; color: var(--bounty-muted); font-size: 11px; line-height: 2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bs .bs-card-stock { display: flex; align-items: center; gap: 5px; min-height: 24px; color: #3b5842; font-size: 11px; line-height: 1.8; }
.bs-card-stock .bs-icon { width: 15px; height: 15px; }
.bs .bs-card-stock--unavailable { color: var(--bounty-muted); }
.bounty-shop-view .bs .bs-card .bs-card-price { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; min-height: 62px; margin: 4px 0 12px; color: var(--bs-deep); font-size: 15px; font-weight: 700; line-height: 1.9; }
.bs-card-price .woocommerce-Price-amount { white-space: nowrap; }
.bs-card-price del { color: var(--bounty-muted); font-size: 12px; font-weight: 400; opacity: 1 !important; }
.bs-card-price ins { background: transparent; text-decoration: none; }
.bs-card-action { margin-top: auto; }
.bs .bs-card-action .button { width: 100%; margin: 0 !important; min-height: 46px; padding: 10px 14px; }
.bs-card-action .added_to_cart { display: flex; justify-content: center; align-items: center; min-height: 44px; margin-top: 6px; font-size: 12px; color: var(--bs-deep); text-decoration: underline; }
.bs .woocommerce-pagination { margin-top: 32px; }
.bs .woocommerce-pagination ul { display: inline-flex; gap: 8px; margin: 0; border: 0; }
.bs .woocommerce-pagination ul li { margin: 0; border: 0; }
.bs .woocommerce-pagination ul li :is(a,span) { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 1px solid var(--bounty-line); border-radius: 50%; background: var(--bs-surface); color: var(--bs-deep); font-size: 14px; }
.bs .woocommerce-pagination ul li span.current, .bs .woocommerce-pagination ul li a:hover { background: var(--bounty-brown); border-color: var(--bounty-brown); color: #fff; }
.bs-empty { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 16px; min-height: 410px; padding: 40px 20px; border: 1px solid var(--bounty-line); border-radius: 22px; background: var(--bs-surface); text-align: center; }
.bs-empty-icon { display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: var(--bs-soft); color: var(--bounty-brown); }
.bs-empty-icon .bs-icon { width: 32px; height: 32px; }
.bs-empty h3 { font-size: 22px; }
.bs-empty p { color: var(--bounty-muted); font-size: 14px; }
.bs-mobile-filter { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--bounty-line); border-radius: 999px; background: var(--bs-surface); color: var(--bs-deep); font-size: 13px; }
.bs-filter-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--bounty-brown); }
.bs-dialog { --bs-sticky-top: 0px; position: fixed; inset: auto 0 0; width: min(100%,560px); max-width: 100%; max-height: 92dvh; height: min(820px,92dvh); margin: 0 auto; padding: 0; border: 1px solid var(--bounty-line); border-bottom: 0; border-radius: 24px 24px 0 0; background: var(--bs-surface); color: var(--bounty-ink); box-shadow: 0 -10px 50px #30211926; overscroll-behavior: contain; }
.bs-dialog:not([open]) { display: none; }
.bs-dialog[open] { display: flex; flex-direction: column; }
.bs-dialog::backdrop { background: #30211980; }
.bs-dialog-header { display: flex; align-items: center; justify-content: space-between; flex: none; gap: 16px; padding: 20px 24px 14px; border-bottom: 1px solid var(--bounty-line); }
.bs .bs-dialog-header h2 { font-size: 21px; }
.bs .bs-dialog-header p { color: var(--bounty-muted); font-size: 12px; }
.bs-dialog-close { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border: 1px solid var(--bounty-line); border-radius: 50%; padding: 0; background: transparent; color: var(--bs-deep); }
.bs-dialog-slot { min-height: 0; flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.bs-dialog .bs-filter-panel { max-height: none; overflow: visible; border: 0; border-radius: 0; padding: 8px 24px 0; }
.bs-dialog .bs-filter-heading { display: none; }
.bs-dialog .bs-filter-actions { position: sticky; bottom: 0; margin-inline: -24px; padding: 14px 24px max(14px,env(safe-area-inset-bottom)); background: var(--bs-surface); border-top: 1px solid var(--bounty-line); }
.bs-dialog .bs-filter-actions .bs-button { flex: 1; width: auto; }
.bs-feedback { position: fixed; z-index: 1001; inset-block-end: 20px; inset-inline: 20px; max-width: 480px; margin-inline: auto !important; padding: 16px 20px; border: 1px solid var(--bounty-brown); border-radius: 14px; background: #fffdfa; color: var(--bs-deep); font-size: 14px; box-shadow: 0 4px 20px #30211920; }
.bs-feedback a { text-decoration: underline; }
#bounty-shop-dynamic[aria-busy='true'] .bs-products { opacity: .6; }
@media (hover: hover) and (pointer: fine) {
 .bounty-shop-view .bs ul.products > li.bs-card:hover { border-color: #b99775; box-shadow: 0 7px 22px #71492f12; }
 .bounty-shop-view .bs ul.products .bs-card:hover img { transform: scale(1.025); }
}
@media (min-width: 1600px) { .bounty-shop-view .bs ul.products.bs-products { grid-template-columns: repeat(4,minmax(0,1fr)); } }
@media (min-width: 1024px) and (max-width: 1199px) { .bs { padding-inline: 28px; } .bs-layout { grid-template-columns: 240px minmax(0,1fr); gap: 24px; } .bounty-shop-view .bs ul.products.bs-products { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (min-width: 1024px) { .bs [data-open-filters] { display: none !important; } }
@media (max-width: 1023px) {
 .bs { padding: 24px 28px 56px; }
 .bs-layout { grid-template-columns: minmax(0,1fr); gap: 22px; }
 .bs-sidebar { height: auto; }
 .bs-sidebar-slot { position: static; }
 .bs-filter-panel { max-height: none; }
 .bounty-shop-js .bs-sidebar { display: none; }
 .bounty-shop-view .bs ul.products.bs-products { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .bs .bs-intro-copy { max-width: 290px; font-size: 13px; }
 .bs-toolbar { align-items: center; }
 .bs-sort-form label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
}
@media (max-width: 599px) {
 .bs { padding: 20px 20px 44px; }
 .bs-breadcrumb ol { margin-bottom: 12px; }
 .bs-intro-row { display: block; }
 .bs h1 { font-size: 30px; line-height: 1.6; }
 .bs .bs-eyebrow { font-size: 10px; margin-bottom: 3px; }
 .bs .bs-intro-copy { max-width: none; margin-top: 6px; padding: 0; font-size: 12px; }
 .bs-categories { margin-top: 16px; margin-bottom: 20px; gap: 8px; padding-block: 6px; }
 .bs-categories a { min-height: 44px; padding: 8px 16px; font-size: 12px; }
 .bs-toolbar { flex-wrap: wrap; gap: 12px; margin-bottom: 18px; padding-bottom: 16px; }
 .bs-result-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; }
 .bs-result-heading h2 { font-size: 16px; }
 .bs-tools { width: 100%; justify-content: space-between; }
 .bs select { min-width: 138px; }
 .bs-mobile-filter { min-width: 110px; }
 .bounty-shop-view .bs ul.products.bs-products { grid-template-columns: minmax(0,1fr); gap: 18px; }
 .bs-card-heading { padding-top: 14px; }
 .bs .bs-card-options { margin-bottom: 5px; }
 .bounty-shop-view .bs .bs-card h3 { min-height: 54px; font-size: 16px; }
 .bs .bs-card-price { min-height: 55px; }
 .bs-card-media, .bounty-shop-view .bs ul.products .bs-card-media img { aspect-ratio: 3 / 2; }
 .bs-empty { min-height: 360px; }
 .bs-empty h3 { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) { .bs *, .bs *::before, .bs *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } .bs .bs-card img { transform: none !important; } }
/* Beat Astra's archive-pagination specificity while leaving other archives intact. */
body.bounty-shop-view .bs nav.woocommerce-pagination ul li { border: 0; background: transparent; }
body.bounty-shop-view .bs nav.woocommerce-pagination ul li :is(a,span) { display: inline-flex; align-items: center; justify-content: center; }
body.bounty-shop-view .bs nav.woocommerce-pagination ul li span.current,
body.bounty-shop-view .bs nav.woocommerce-pagination ul li a:hover { background: var(--bounty-brown); color: #fff; }
