.jr-shop {
  --jr-shop-ink: #292521;
  --jr-shop-muted: #756e67;
  --jr-shop-line: #ddd4ca;
  --jr-shop-paper: #fff;
  --jr-shop-soft: #f3eee8;
  --jr-shop-gold: #805a31;
  --jr-shop-heading: Georgia, "Times New Roman", serif;
  color: var(--jr-shop-ink);
  background: var(--jr-shop-paper);
  font-family: "Jost", Arial, sans-serif;
}

.jr-shop *, .jr-shop *::before, .jr-shop *::after { box-sizing: border-box; }
.jr-shop button, .jr-shop input, .jr-shop select { font: inherit; }
.jr-shop-shell { width: min(1480px, calc(100% - 64px)); margin-inline: auto; }

.jr-shop-hero { padding: 76px 0 70px; border-bottom: 1px solid var(--jr-shop-line); background: radial-gradient(circle at 82% 5%, rgba(154,112,65,.13), transparent 27%), linear-gradient(135deg, #f0e9e1, #fbf8f5 54%, #fff); text-align: center; }
.jr-shop-hero .jr-shop-shell { display: flex; align-items: center; flex-direction: column; }
.jr-shop-eyebrow { margin: 0 0 11px; color: var(--jr-shop-gold); font-family: "Apricots", "Brush Script MT", cursive; font-size: 24px; }
.jr-shop-hero h1 { max-width: 800px; margin: 0; font-family: var(--jr-shop-heading); font-size: clamp(40px, 5vw, 68px); font-weight: 500; letter-spacing: -.035em; line-height: 1.02; }
.jr-shop-hero p:last-child { max-width: 680px; margin: 18px 0 0; color: var(--jr-shop-muted); font-size: 15px; line-height: 1.7; }

.jr-shop-catalog { padding: 34px 0 80px; }
.jr-shop-toolbar { display: grid; grid-template-columns: minmax(280px, 1fr) auto minmax(250px, auto); align-items: center; gap: 22px; min-height: 64px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--jr-shop-line); }
.jr-shop-toolbar > p { margin: 0; color: var(--jr-shop-muted); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.jr-shop-toolbar > p strong { color: var(--jr-shop-ink); }
.jr-shop-search { display: flex; max-width: 440px; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid var(--jr-shop-line); border-radius: 999px; background: #fff; }
.jr-shop-search i { color: var(--jr-shop-gold); font-size: 13px; }
.jr-shop-search input { width: 100%; min-width: 0; height: 44px; padding: 0; border: 0; outline: 0; background: transparent; color: var(--jr-shop-ink); }
.jr-shop-search input::placeholder { color: #9a948e; }
.jr-shop-sort { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.jr-shop-sort span { color: var(--jr-shop-muted); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.jr-shop-sort select { height: 44px; min-width: 172px; padding: 0 34px 0 13px; border: 1px solid var(--jr-shop-line); border-radius: 9px; background: #fff; color: var(--jr-shop-ink); }
.jr-shop-filter-toggle { display: none; }

.jr-shop-active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: -5px 0 24px; }
.jr-shop-active-filters > span { margin-right: 4px; color: var(--jr-shop-muted); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.jr-shop-active-filters a { display: inline-flex; align-items: center; min-height: 30px; padding: 5px 10px; border: 1px solid #d8cbbb; border-radius: 999px; background: #f7f1ea; color: var(--jr-shop-gold); font-size: 10px; font-weight: 600; text-decoration: none; }
.jr-shop-active-filters .jr-shop-clear { margin-left: 4px; border-color: transparent; background: transparent; color: var(--jr-shop-ink); text-decoration: underline; text-underline-offset: 3px; }

.jr-shop-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 36px; align-items: start; }
.jr-shop-filter-overlay { display: none; }
.jr-shop-filters { position: sticky; top: 116px; min-width: 0; border: 1px solid var(--jr-shop-line); border-radius: 15px; background: #fff; box-shadow: 0 14px 42px rgba(41,37,33,.04); }
.jr-shop-filters__head { display: flex; min-height: 76px; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid var(--jr-shop-line); }
.jr-shop-filters__head > div { display: flex; flex-direction: column; gap: 1px; }
.jr-shop-filters__head span { color: var(--jr-shop-gold); font-family: "Apricots", "Brush Script MT", cursive; font-size: 18px; }
.jr-shop-filters__head strong { font-family: var(--jr-shop-heading); font-size: 19px; font-weight: 600; }
.jr-shop-filters__head button { display: none; border: 0; background: transparent; color: var(--jr-shop-ink); font-size: 27px; }
.jr-shop-filters form { padding: 0 20px 12px; }
.jr-shop-filters details { border-bottom: 1px solid var(--jr-shop-line); }
.jr-shop-filters details:last-child { border-bottom: 0; }
.jr-shop-filters summary { display: flex; min-height: 58px; align-items: center; justify-content: space-between; color: var(--jr-shop-ink); font-size: 12px; font-weight: 700; letter-spacing: .08em; list-style: none; text-transform: uppercase; cursor: pointer; }
.jr-shop-filters summary::-webkit-details-marker { display: none; }
.jr-shop-filters summary i { color: var(--jr-shop-gold); font-size: 10px; transition: transform .2s ease; }
.jr-shop-filters details[open] summary i { transform: rotate(180deg); }
.jr-shop-filter-list, .jr-shop-color-list { display: grid; gap: 5px; padding: 0 0 18px; }
.jr-shop-filter-list label, .jr-shop-color-list label { display: grid; min-height: 34px; grid-template-columns: 17px minmax(0, 1fr) auto; align-items: center; gap: 9px; color: var(--jr-shop-muted); font-size: 12px; cursor: pointer; }
.jr-shop-filter-list input, .jr-shop-color-list input { width: 16px; height: 16px; margin: 0; accent-color: var(--jr-shop-gold); }
.jr-shop-filter-list small, .jr-shop-color-list small { color: #aaa39c; font-size: 10px; }
.jr-shop-color-list label { grid-template-columns: 0 18px minmax(0, 1fr) auto; }
.jr-shop-color-list input { opacity: 0; }
.jr-color-swatch { display: block; width: 16px; height: 16px; border: 1px solid rgba(41,37,33,.17); border-radius: 50%; box-shadow: 0 0 0 2px #fff; }
.jr-shop-color-list input:checked + .jr-color-swatch { outline: 2px solid var(--jr-shop-gold); outline-offset: 2px; }
.jr-color-swatch--gold { background: #c9a253; }
.jr-color-swatch--silver { background: linear-gradient(135deg, #f6f6f6, #aaa); }
.jr-color-swatch--rose-gold { background: #c98f83; }
.jr-color-swatch--ruby-red { background: #922b3b; }
.jr-color-swatch--emerald-green { background: #17634d; }
.jr-color-swatch--multicolor { background: conic-gradient(#b54c66, #d7ad4a, #47927e, #7964aa, #b54c66); }
.jr-color-swatch--crystal { background: radial-gradient(circle at 35% 30%, #fff, #d9e0e4 55%, #aeb9c0); }
.jr-shop-price-filter { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-bottom: 18px; }
.jr-shop-price-filter label { display: flex; min-width: 0; flex-direction: column; gap: 5px; color: var(--jr-shop-muted); font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.jr-shop-price-filter input { width: 100%; min-width: 0; height: 38px; padding: 0 9px; border: 1px solid var(--jr-shop-line); border-radius: 7px; color: var(--jr-shop-ink); }
.jr-shop-price-filter button { grid-column: 1 / -1; min-height: 38px; border: 1px solid var(--jr-shop-gold); border-radius: 7px; background: var(--jr-shop-gold); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.jr-shop-filters__mobile-actions { display: none; }

.jr-shop-results { min-width: 0; }
.jr-shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.jr-shop .rd-tab-product-card { width: auto; min-width: 0; height: 100%; flex: none; border-color: #dcd5ce; border-radius: 1px; background: #fff; overflow: hidden; }
.jr-shop .rd-tab-product-card__media { aspect-ratio: 1 / 1.02; background: #f4f0eb; }
.jr-shop .rd-tab-product-card__face { background: #f4f0eb; }
.jr-shop .rd-tab-product-card__image { object-fit: contain; }
.jr-shop .rd-tab-product-card__content { padding: 16px 15px 15px; }
.jr-shop .rd-tab-product-card__category { margin-bottom: 6px; font-size: 11px; letter-spacing: .08em; }
.jr-shop .rd-tab-product-card__title { font-family: var(--jr-shop-heading); font-size: 16px; }
.jr-shop .rd-tab-product-card__price { font-size: 17px; }
.jr-shop .rd-tab-product-card__compare { font-size: 12px; }
.jr-shop .rd-tab-product-card__tag { border-color: rgba(128,90,49,.2); border-radius: 999px; color: var(--jr-shop-gold); }
.jr-shop-empty { display: grid; min-height: 440px; place-items: center; align-content: center; padding: 50px 25px; border: 1px solid var(--jr-shop-line); background: var(--jr-shop-soft); text-align: center; }
.jr-shop-empty > i { margin-bottom: 20px; color: var(--jr-shop-gold); font-size: 36px; }
.jr-shop-empty h2 { margin: 0; font-family: var(--jr-shop-heading); font-size: 31px; font-weight: 500; }
.jr-shop-empty p { max-width: 440px; margin: 12px 0 20px; color: var(--jr-shop-muted); font-size: 13px; line-height: 1.65; }
.jr-shop-empty a { color: var(--jr-shop-gold); font-size: 12px; font-weight: 700; text-underline-offset: 4px; }
.jr-shop-pagination { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 48px; }
.jr-shop-pagination a { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--jr-shop-line); border-radius: 50%; color: var(--jr-shop-ink); font-size: 12px; text-decoration: none; }
.jr-shop-pagination a:hover, .jr-shop-pagination a.is-active { border-color: var(--jr-shop-gold); background: var(--jr-shop-gold); color: #fff; }

@media (min-width: 1380px) {
  .jr-shop-layout { grid-template-columns: 286px minmax(0, 1fr); gap: 42px; }
  .jr-shop-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 25px; }
}

@media (max-width: 1050px) {
  .jr-shop-shell { width: min(100% - 40px, 940px); }
  .jr-shop-toolbar { grid-template-columns: auto minmax(220px, 1fr) auto; }
  .jr-shop-filter-toggle { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; padding: 0 14px; border: 1px solid var(--jr-shop-line); border-radius: 9px; background: #fff; color: var(--jr-shop-ink); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
  .jr-shop-filter-toggle b { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; background: var(--jr-shop-gold); color: #fff; font-size: 9px; }
  .jr-shop-toolbar > p { display: none; }
  .jr-shop-layout { display: block; }
  .jr-shop-filter-overlay { position: fixed; inset: 0; z-index: 5000; display: block; background: rgba(41,37,33,.46); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s; }
  .jr-shop-filters { position: fixed; top: 0; right: 0; bottom: 0; z-index: 5010; width: min(390px, 92vw); overflow-y: auto; border: 0; border-radius: 0; box-shadow: -18px 0 55px rgba(41,37,33,.18); transform: translateX(100%); transition: transform .3s cubic-bezier(.22,1,.36,1); }
  .jr-shop-filters__head { position: sticky; top: 0; z-index: 2; background: #fff; }
  .jr-shop-filters__head button { display: block; }
  .jr-shop-filters form { padding-bottom: 86px; }
  .jr-shop-filters__mobile-actions { position: sticky; right: 0; bottom: 0; left: 0; z-index: 3; display: grid; grid-template-columns: .7fr 1.3fr; gap: 8px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--jr-shop-line); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
  .jr-shop-filters__mobile-actions a, .jr-shop-filters__mobile-actions button { display: grid; min-height: 45px; place-items: center; border: 1px solid var(--jr-shop-gold); border-radius: 8px; background: #fff; color: var(--jr-shop-gold); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
  .jr-shop-filters__mobile-actions button { background: var(--jr-shop-gold); color: #fff; }
  .jr-shop.is-filter-open .jr-shop-filter-overlay { opacity: 1; visibility: visible; }
  .jr-shop.is-filter-open .jr-shop-filters { transform: translateX(0); }
  body.jr-shop-filter-locked { overflow: hidden; }
}

@media (max-width: 760px) {
  .jr-shop-shell { width: calc(100% - 24px); }
  .jr-shop-hero { padding: 48px 0 45px; }
  .jr-shop-eyebrow { font-size: 20px; }
  .jr-shop-hero h1 { font-size: clamp(34px, 11vw, 48px); }
  .jr-shop-hero p:last-child { font-size: 13px; }
  .jr-shop-catalog { padding: 22px 0 62px; }
  .jr-shop-toolbar { grid-template-columns: auto 1fr; gap: 9px; margin-bottom: 16px; padding-bottom: 16px; }
  .jr-shop-search { max-width: none; }
  .jr-shop-sort { grid-column: 1 / -1; justify-content: space-between; }
  .jr-shop-sort select { flex: 1; }
  .jr-shop-active-filters { margin-top: 0; }
  .jr-shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .jr-shop .rd-tab-product-card__media { aspect-ratio: 1 / 1.05; }
  .jr-shop .rd-tab-product-card__content { padding: 11px 8px 12px; }
  .jr-shop .rd-tab-product-card__category { margin-bottom: 4px; font-size: 9px; }
  .jr-shop .rd-tab-product-card__title { margin-bottom: 6px; font-size: 13px; }
  .jr-shop .rd-tab-product-card__price { font-size: 14px; }
  .jr-shop .rd-tab-product-card__compare { display: block; margin: 4px 0 0; font-size: 10px; }
  .jr-shop .rd-tab-product-card__tag { top: 8px; left: 8px; padding: 5px 8px; font-size: 8px; }
  .jr-shop-pagination { margin-top: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .jr-shop *, .jr-shop *::before, .jr-shop *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
