.catalog-products{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,170px),1fr));gap:12px}
.shop-guest-info .guest-product-login { display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border:1px solid #49434f;border-radius:10px;background:#302c34;color:inherit;font:700 13px Cairo,Arial,sans-serif;text-decoration:none }
.shop-guest-info .shop-cap button svg { width:19px;height:19px }
.store-tile {position:relative;isolation:isolate;min-width:0;overflow:hidden;border:1px solid #35333c;border-radius:17px;background:#1b1b20;color:#faf6f8}
.product-rail>.store-tile{flex:0 0 clamp(155px,22vw,215px);scroll-snap-align:start}
.store-tile,
.category-list .category-card,
.catalog-grid .directory-card {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  aspect-ratio: 1;
  min-width: 0;
  padding: 0;
  overflow: hidden;
}
.store-tile-open {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: start;
  cursor: pointer;
}
.store-tile-open:disabled { cursor: not-allowed; opacity: 1; }
.store-tile-open:disabled .store-tile-art {
  filter: grayscale(1);
}
.store-tile-unavailable {
  position: absolute;
  inset-block-start: 8px;
  inset-inline-start: 8px;
  padding: 2px 9px;
  border: 1px solid #b74756;
  border-radius: 999px;
  background: #38171e;
  color: #ff8993;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
  white-space: nowrap;
  pointer-events: none;
}
.store-tile-art,
.category-card .category-icon,
.catalog-grid .directory-card .thumb {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}
.store-tile-art { background: #242329; color: #a9a0ac; font-size: 30px; }
.store-tile-art.no-photo { background: linear-gradient(140deg,#32262b,#24232a); color: #bd8f99; }
.store-tile-art img,
.category-icon img,
.directory-card .thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.store-tile-body,
.category-list .category-card > b,
.catalog-grid .directory-card > div {
  position: absolute;
  inset-inline-start: 6px;
  bottom: 6px;
  box-sizing: border-box;
  max-width: calc(100% - 12px);
  padding: 4px 8px;
  border-radius: 8px;
  background: rgb(20 18 24 / 88%);
  color: white;
  text-align: start;
  pointer-events: none;
}
@supports ((backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))) {
  .store-tile-body,
  .category-list .category-card > b,
  .catalog-grid .directory-card > div {
    background: rgb(20 18 24 / 68%);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
}
.store-tile-body,
.catalog-grid .directory-card > div { display: grid; gap: 1px; }
.store-tile-body b,
.category-list .category-card > b,
.catalog-grid .directory-card b { font-size: 13px; line-height: 1.5; }
.store-tile-body b,
.store-tile-body small,
.category-list .category-card > b,
.catalog-grid .directory-card b,
.catalog-grid .directory-card p { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.store-tile-body small,
.catalog-grid .directory-card p { margin: 0; font-size: 11px; line-height: 1.5; color: #f2ecf1; }
.catalog-grid .directory-card i { display: none; }
.catalog-grid { grid-template-columns: repeat(auto-fill,minmax(min(100%,170px),1fr)); }
.store-tile-open:focus-visible { outline: 2px solid white; outline-offset: -4px; z-index: 1; }
.store-tile > .shop-heart { z-index: 2; }
.shop-empty { font-size: 12px; color: #c3b9c3; }
.shop-cap button{position:relative;isolation:isolate;display:inline-grid;place-items:center;padding:0;cursor:pointer;border:0;border-radius:12px;background:transparent;color:#fff;line-height:1}
.shop-cap button::before{content:"";position:absolute;inset:5px;border-radius:10px;z-index:-1;pointer-events:none;background:rgb(255 255 255 / 12%);-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}
.shop-cap button svg{display:block;width:21px;height:21px;stroke-width:2;filter:drop-shadow(0 1px 2px #191019aa)}
.shop-cap button:focus-visible{outline:2px solid currentColor;outline-offset:-2px}
.shop-heart{
  position:relative;isolation:isolate;display:inline-grid;place-items:center;flex:none;
  width:44px;height:44px;padding:0;margin:0;border:0;background:transparent;color:#fff;cursor:pointer;
  border-radius:12px;line-height:1
}
.shop-heart::before{
  content:"";position:absolute;inset:5px;border-radius:10px;z-index:-1;pointer-events:none;
  background:rgb(255 255 255 / 12%);-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)
}
.shop-heart [data-lucide="heart"]{display:grid;place-items:center}
.shop-heart svg{display:block;width:21px;height:21px;stroke-width:2;filter:drop-shadow(0 1px 2px #191019aa)}
.shop-heart[aria-pressed=true]{color:#ff788c}
.shop-heart[aria-pressed=true] svg{fill:currentColor}
.shop-heart:focus-visible{outline:2px solid currentColor;outline-offset:-2px}
.store-tile>.shop-heart{position:absolute;inset-inline-end:3px;top:3px}
.shop-sheet{position:fixed;box-sizing:border-box;inset:0;margin:auto;width:min(510px,calc(100% - 24px));height:fit-content;max-height:90dvh;overflow:auto;overscroll-behavior:contain;padding:20px;border:1px solid #45414a;border-radius:22px;background:#1a191f;color:#f6f3f6;font:14px/1.6 Cairo,Arial,sans-serif;text-align:start;color-scheme:dark}
.shop-sheet::backdrop{background:#09080ccc;backdrop-filter:blur(4px)}html:has(.shop-sheet[open]){overflow:hidden}.shop-sheet [hidden]{display:none!important}
.shop-cap{position:relative;display:flex;align-items:flex-start;justify-content:flex-end;min-height:38px}.shop-cap img{width:calc(100% - 64px);margin-inline:auto;max-height:125px;object-fit:contain;border-radius:12px}.shop-cap button{order:2;flex:0 0 44px;width:44px;height:44px}
.shop-title{display:flex;align-items:center;gap:8px;margin:10px 0 15px}.shop-title h2{font:800 20px/1.5 Cairo,Arial,sans-serif;margin:0;overflow-wrap:anywhere}.shop-title .shop-heart{margin-inline-start:auto}.shop-offer{margin-inline-start:auto;color:#ffb4bf;background:#47232e;padding:4px 9px;border-radius:9px;font-size:10px}
.shop-modes,.shop-numbers,.shop-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.shop-modes{border:1px solid #403944;border-radius:13px;padding:4px;margin-bottom:9px}.shop-modes button,.shop-actions button{font:700 13px Cairo,Arial,sans-serif;color:inherit;background:transparent;border:0;border-radius:9px;min-height:40px;cursor:pointer}.shop-modes button[aria-pressed=true]{background:#46313a;color:#ffced5}
.shop-numbers>label,.shop-numbers>div{display:grid;align-content:center;gap:6px;min-width:0;background:#242329;border:1px solid #38353c;border-radius:14px;padding:12px;text-align:center}.shop-numbers span,.shop-limits,.shop-field small{font-size:12px;color:#c4bac5}.shop-numbers strong{font-size:21px;color:#ff9cae}
.shop-sheet input,.shop-sheet select,.shop-sheet textarea{box-sizing:border-box;width:100%;min-width:0;padding:9px 11px;border:1px solid #524b57;border-radius:10px;background:#19181e;color:inherit;font:inherit}.shop-numbers input,.shop-numbers select{text-align:center;font-weight:750}.shop-field{display:grid;gap:6px;margin:14px 0;font-weight:650}.shop-field small{font-weight:400}
.shop-limits,.shop-quantity{margin:6px 0}.shop-quantity{color:#e6d9df;font-weight:650}.shop-wallet{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #38353e;padding-top:14px;margin-top:18px}.shop-wallet a{font-weight:750;color:#a2ecbb;text-decoration:none}.shop-feedback{color:#ffbbc5}.shop-feedback:empty,.shop-quantity:empty{display:none}.shop-actions{margin-top:12px}.shop-actions button{min-height:44px;background:#302c34;border:1px solid #49434f}.shop-actions button[type=submit]{color:white;background:#c83b50;border-color:#d64f64}.shop-sheet button:disabled{opacity:.5;cursor:default}.shop-description{white-space:pre-line;overflow-wrap:anywhere;color:#c1b8c3;border-top:1px solid #38353e;padding-top:12px}
.shop-toast{position:fixed;z-index:90;inset:auto 12px 18px;max-width:430px;margin:auto;color:#d5f3df;background:#20392d;border:1px solid #496b55;border-radius:14px;padding:12px 16px;text-align:center;font:700 13px Cairo,Arial,sans-serif}.shop-toast[hidden]{display:none}.shop-empty{display:block;text-decoration:none;align-self:center}
@media(max-width:560px){.shop-sheet{inset:auto 0 0;width:100%;max-height:93dvh;border-radius:22px 22px 0 0;padding:16px 16px max(18px,env(safe-area-inset-bottom))}.catalog-products,.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.shop-cap img{max-height:100px}}

.shop-sheet.has-purchase-result {
  inset: 0;
  width: min(410px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 16px;
  direction: rtl;
  border-radius: 22px;
  background: #19191f;
  color: #faf9fb;
  box-shadow: 0 18px 70px #0008;
}
.purchase-result { position: relative; font: 650 13px/1.55 Cairo, Arial, sans-serif; }
.purchase-result button, .purchase-result a { font: inherit; }
.purchase-result-close {
  position: absolute; inset-inline-end: 0; top: 0;
  display: grid; place-items: center; width: 40px; height: 40px;
  background: #202026; border: 1px solid #35353e; color: #d7d6dc;
  border-radius: 50%; cursor: pointer; font: 24px/1 Arial !important;
}
.purchase-result-heading { padding: 12px 22px 14px; text-align: center; outline: none; }
.purchase-result:not([hidden]) { display:flex; flex-direction:column; box-sizing:border-box }
.purchase-result-heading { flex:none; box-sizing:border-box }
.purchase-result-icon { --size:54px; --glyph-size:30px }
.purchase-result-heading:has(.purchase-result-icon:is([data-glyph="check"],[data-glyph="clock"],[data-glyph="x"])) { min-height:128px; height:auto }
.purchase-result .purchase-result-icon:is([data-glyph="clock"],[data-glyph="check"],[data-glyph="x"]) { --size:76px }
.purchase-result .purchase-result-icon[data-glyph="clock"] { --glyph-size:28px; color:#ffda52; background:radial-gradient(circle,#443919 48%,transparent 50%) }
.purchase-result .purchase-result-icon[data-glyph="clock"]::after { border-width:4px; border-color:#534829; border-top-color:#ffda52; animation-duration:2s }
.purchase-result .purchase-result-icon[data-glyph="check"] { --glyph-size:54px; color:#fff; background:#12733a }
.purchase-result .purchase-result-icon[data-glyph="check"] svg { stroke-width:3.5 }
.purchase-result .purchase-result-icon[data-glyph="x"] { --size:40px; --glyph-size:22px; color:white; background:#aa3441 }
@media (prefers-reduced-motion:no-preference) {
  .shop-sheet .purchase-result[data-state="accepted"] .purchase-result-icon { animation:bqt-purchase-accept 350ms ease-out both }
  .purchase-result .purchase-result-icon[data-glyph="check"] path { animation:none }
}
@keyframes bqt-purchase-accept { from { opacity:0; transform:scale(.6) } to { opacity:1; transform:scale(1) } }
.purchase-result .purchase-result-card { flex:none; min-width:0; overflow:clip }
.purchase-result-wallet,.purchase-result-actions { flex:none }
.purchase-result .order-refund-label { text-align:center; line-height:1.3 }
.purchase-result-wallet .order-refund-label bqt-order-icon { --size:18px; --glyph-size:13px }
.purchase-result h2 { margin: 10px 0 0; font-size: 19px; line-height: 1.5; }
.purchase-result-message { margin: 6px 0 0; color: #c6c2cb; font-size: 12px; }
.purchase-result-message:empty { display: none; }
.purchase-result-card { border: 1px solid #35343d; border-radius: 16px; background: #222128; }
.purchase-result-product { display: flex; gap: 10px; align-items: center; padding: 13px; text-align: start; }
.purchase-result-product img { width: 45px; height: 45px; object-fit: cover; border-radius: 12px; }
.purchase-result-product > div { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.purchase-result-product strong,.purchase-result-product small { display: block; }
.purchase-result-product small,.purchase-result dt,.purchase-result-wallet span { color: #c6c2cb; }
.purchase-result-price { font-weight: 800; overflow-wrap: anywhere; }
.purchase-result[data-state="rejected"] .purchase-result-price { color: #ff7584; }
.purchase-result dl,.purchase-result dd { margin: 0; }
.purchase-result dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 14px; border-top: 1px solid #37353d; text-align: start; }
.purchase-result dt { flex: none; font-size: 12px; }
.purchase-result dd { overflow-wrap: anywhere; font-weight: 750; }
.purchase-result dl > .purchase-result-reply { display: grid; gap: 3px; background: #24242b; }
.purchase-result[data-state="rejected"] .purchase-result-reply { border-color: #5a323b; background: #2d222a; }
.purchase-result-reply dd { display: flex; align-items: center; gap: 8px; }
.purchase-result-reply dd span { min-width: 0; white-space: pre-wrap; }
.purchase-result-reply button { flex: none; display: grid; place-items: center; min-width: 36px; min-height: 36px; }
@media(pointer:coarse){.purchase-result-reply button { min-width: 44px; min-height: 44px; }}
.purchase-result-wallet { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 16px 2px 24px; }
.purchase-result-wallet span { font-size: 12px; }
.purchase-result-wallet bdi { display: block; font-weight: 800; color: #f6f4f8; }
.purchase-result-wallet a { color: #ffe2e6; text-decoration: none; padding: 8px 13px; border-radius: 15px; background: #302930; }
.purchase-result-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.purchase-result-actions > * { display: grid; place-items: center; min-height: 44px; border-radius: 14px; font-weight: 750; cursor: pointer; text-decoration: none; color: white; }
.purchase-result-actions button { background: #cb3149; border: 1px solid #e7475f; }
.purchase-result-actions a { background: #24232b; border: 1px solid #3c3944; }
.purchase-result :is(button,a):focus-visible { outline: 2px solid #ffbd67; outline-offset: 2px; }
.purchase-result [data-result-omitted],.purchase-result [hidden]{display:none!important}
.purchase-result {font-size:var(--result-text,13px)}
.purchase-result h2 {font-size:var(--result-title,19px);overflow-wrap:anywhere}
.purchase-result :is(.purchase-result-message,dt,.purchase-result-wallet span){font-size:var(--result-text,12px)}
.purchase-result-notes p {margin:0;padding:10px 14px;border-top:1px solid #7775;white-space:pre-wrap;overflow-wrap:anywhere}
.purchase-result .purchase-result-heading {height:auto;min-height:0;overflow-wrap:anywhere}
.purchase-result .purchase-result-close {z-index:1}
.purchase-result .purchase-result-heading:has(.purchase-result-icon[data-glyph="x"]){min-height:0}

.shop-title-copy{min-width:0}
#shopResaleBasis{margin:2px 0 0;font-size:12px;line-height:1.6;font-weight:500}
.resale-calculator {
  display:grid;
  grid-template-columns:minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap:12px;
  margin-block:9px 5px;
  padding:6px 14px;
  border:1px solid #423941;
  border-radius:13px;
  background:#252025;
  color:#fff3f5;
  text-align:start;
}
.resale-sale,.resale-summary{min-width:0}
.resale-summary{align-self:center;display:grid;grid-template-columns:16px minmax(0,1fr);gap:3px 7px}
#shopResaleQuantity{grid-column:2;justify-self:start;max-width:100%;overflow-wrap:anywhere;color:#e4d6dd;font-size:15px;font-weight:650;line-height:1.35;font-variant-numeric:tabular-nums}
#shopResaleHeading{grid-column:1/-1;display:flex;align-items:center;align-self:center;gap:7px;margin:0;font:750 14px/1.35 Cairo,Arial,sans-serif}
#shopResaleHeading i{display:inline-flex;font-size:16px;color:var(--accent-2,#fa6763)}
.resale-caption{color:#d4c5cb;font-size:11px;line-height:1.4}
.resale-sale {position:relative;display:grid;gap:3px;align-content:center;padding-inline-start:14px;border-inline-start:1px solid #494048}
.resale-sale label{padding-inline-end:24px}
.resale-money{display:flex;align-items:center;gap:8px;background:#1b181d;border:1px solid #695763;border-radius:7px;padding-inline:8px}
.resale-money:focus-within{outline:2px solid #f3a6b4;outline-offset:1px}
.resale-money #shopResalePrice{flex:1;min-width:0;height:30px;padding:0;border:0;border-radius:0;background:transparent;color:#fff;font-size:16px;font-weight:700;line-height:1.25;text-align:right;font-variant-numeric:tabular-nums;outline:0}
#shopResaleCurrency{max-width:45%;overflow-wrap:anywhere;color:#e4d6dd;font:14px/1.2 "Currency Flags",Cairo,Arial,sans-serif}
#shopResaleProfit{justify-self:start;display:inline-flex;align-items:center;gap:4px;font:700 12px/1.35 Cairo,Arial,sans-serif;font-variant-numeric:tabular-nums;color:#d4c5cb}
#shopResaleTrend{display:inline-flex;font-size:14px}
#shopResaleProfit[data-state=recommended]{color:#6edbaa}
#shopResaleProfit[data-state=below]{color:#ffb45e}
#shopResaleProfit[data-state=loss]{color:#ff9098}
#shopResaleReset{position:absolute;inset-inline-end:-4px;inset-block-start:-6px;display:grid;place-items:center;width:24px;height:24px;padding:0;border:0;border-radius:6px;background:transparent;color:#d4c5cb;cursor:pointer}
#shopResaleReset:hover,#shopResaleReset:focus-visible{color:white;background:#41363e}
#shopResaleReset [data-lucide]{display:inline-flex;font-size:14px}
@media(max-width:360px){.resale-calculator{gap:8px;padding-inline:10px}.resale-sale{padding-inline-start:10px}}
.store-tile .store-tile-art:has(img),.category-list .category-card .category-icon:has(img),.catalog-grid .directory-card .thumb:has(img),.shop-sheet #shopPhoto{background:var(--bg,#101013)}
.shop-product-glass { display:none; }
[data-checkout-blur] .shop-sheet[data-product-art]:not(.has-purchase-result) { isolation:isolate; }
[data-checkout-blur] .shop-sheet[data-product-art]:not(.has-purchase-result) .shop-product-glass {
  display:block; position:absolute; inset:0; z-index:-1; overflow:hidden; border-radius:inherit; pointer-events:none;
}
.shop-product-glass::before,.shop-product-glass::after { content:""; position:absolute; inset:0; }
.shop-product-glass::before { inset:-25px; background:var(--shop-product-art) center 42% / cover no-repeat; filter:blur(21px); }
.shop-product-glass::after { background:linear-gradient(180deg,#14141c45 0%,#13141c85 24%,#17181ee6 53%,#1a191f 94%); }
[data-checkout-blur] .shop-sheet[data-product-art] #shopPhoto { background:transparent; }
[data-checkout-blur] .shop-sheet[data-product-art] .shop-modes { background:#16151c9e; border-color:#ffffff38; }
[data-checkout-blur] .shop-sheet[data-product-art] .shop-numbers > * { background:#222128c9; border-color:#ffffff2e; }

#shopSendStatus { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap }

/* The same gutter is used for grid tracks, horizontal rails and mixed sections. */
:root { --bqt-card-gap:12px }
@media (max-width:680px) { :root { --bqt-card-gap:8px } }
#categoryList,#directory,#items,#sectionEntries,#favoriteList,#favoriteRail,#popularRail:not([data-grouped]),#searchRail,[data-home-group] {
  --auto-card-width:min(100%,max(170px,calc((100% - 9 * var(--bqt-card-gap)) / 10)));
  --auto-card-grid:repeat(auto-fill,minmax(var(--auto-card-width),1fr));
  --category-grid:var(--bqt-desktop-categories-grid,var(--auto-card-grid));
  --product-grid:var(--bqt-desktop-products-grid,var(--auto-card-grid));
  --category-width:var(--bqt-desktop-categories-width,var(--auto-card-width));
  --product-width:var(--bqt-desktop-products-width,var(--auto-card-width));
}
@media (max-width:680px) {
  #categoryList,#directory,#items,#sectionEntries,#favoriteList,#favoriteRail,#popularRail:not([data-grouped]),#searchRail,[data-home-group] {
    --category-grid:var(--bqt-mobile-categories-grid,repeat(2,minmax(0,1fr)));
    --product-grid:var(--bqt-mobile-products-grid,repeat(2,minmax(0,1fr)));
    --category-width:var(--bqt-mobile-categories-width,calc((100% - var(--bqt-card-gap)) / 2));
    --product-width:var(--bqt-mobile-products-width,calc((100% - var(--bqt-card-gap)) / 2));
  }
}
#home #categoryList,#directory { grid-template-columns:var(--category-grid);gap:var(--bqt-card-gap) }
@media (min-width:681px) {
  #home #categoryList { grid-template-columns:var(--bqt-desktop-categories-grid,repeat(3,minmax(0,1fr))) }
}
@media (min-width:901px) {
  #home #categoryList { grid-template-columns:var(--bqt-desktop-categories-grid,repeat(5,minmax(0,1fr))) }
}
#home[data-categories-layout="rail"] #categoryList > a { flex-basis:var(--category-width) }
#items,#favoriteList,#home[data-products-layout="grid"] :is(#popularRail:not([data-grouped]),#favoriteRail,[data-home-group]) {
  grid-template-columns:var(--product-grid);gap:var(--bqt-card-gap);
}
#home :is(#popularRail:not([data-grouped]),#favoriteRail,#searchRail,[data-home-group]) { gap:var(--bqt-card-gap) }
#home .product-rail > .store-tile { flex-basis:var(--product-width) }
#sectionEntries:not([hidden]) { display:flex;flex-wrap:wrap;gap:var(--bqt-card-gap) }
#sectionEntries > .directory-card { flex:0 0 var(--category-width) }
#sectionEntries > .store-tile { flex:0 0 var(--product-width) }
#sectionEntries > .shop-empty { flex-basis:100% }
