.catalog-toolbar { display:grid; grid-template-columns:1.8fr 1fr 1fr 1fr; gap:15px; padding:22px; border:2px solid var(--ink); border-radius:20px; background:var(--blush); box-shadow:4px 5px 0 var(--ink); }
.catalog-toolbar > div { min-width:0; }
.catalog-toolbar label, .product-detail label { display:block; font-size:11px; font-weight:700; margin-bottom:8px; }
.catalog-toolbar input, .catalog-toolbar select, .product-detail select { display:block; width:100%; height:45px; min-width:0; border:1px solid #cdb9b8; border-radius:10px; padding:10px; background:var(--white); color:var(--ink); font:13px Arial,sans-serif; margin:0; }
.catalog-notice { font-size:11px; line-height:1.8; margin:20px 0 26px; color:var(--muted); max-width:850px; }
.catalog-summary { display:flex; justify-content:space-between; gap:20px; align-items:center; margin-bottom:23px; font-size:12px; }
.catalog-summary p { margin:0; }
.text-button { border:0; border-bottom:1px solid currentColor; background:transparent; padding:5px 0; font:inherit; color:var(--ink); cursor:pointer; }
.catalog-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:25px 22px; }
.product-card { display:flex; flex-direction:column; text-align:left; padding:0; border:2px solid var(--ink); border-radius:19px; overflow:hidden; background:var(--white); color:var(--ink); box-shadow:4px 5px 0 var(--ink); transition:transform .2s,box-shadow .2s; }
.product-card:hover { transform:translateY(-5px) rotate(-1deg); box-shadow:7px 9px 0 var(--coral); }
.product-picture { display:block; position:relative; background:#fff; padding:20px 18px 10px; border-bottom:1px solid var(--line); }
.product-picture img { width:100%; height:235px; object-fit:contain; display:block; }
.product-type { position:absolute; top:12px; left:11px; background:var(--blush); color:var(--ink); border:1px solid var(--ink); border-radius:6px; padding:5px 8px; font-size:8px; font-weight:700; transform:rotate(-4deg); }
.product-card-body { display:flex; flex-direction:column; flex:1; width:100%; padding:18px 17px; }
.product-game { font-size:9px; text-transform:uppercase; letter-spacing:.09em; font-weight:700; color:var(--coral-ink); margin-bottom:11px; }
.product-card-title { display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; font-size:12px; font-weight:700; line-height:1.55; min-height:56px; margin-bottom:15px; }
.product-card-bottom { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-top:auto; }
.product-card-bottom strong { font-size:19px; }
.product-card-arrow { display:grid; place-items:center; height:29px; width:29px; border:1px solid var(--ink); border-radius:50%; background:var(--coral); font-size:18px; }
.product-stock { font-size:9px; color:var(--muted); margin-top:12px; line-height:1.5; }
.is-sold-out .product-picture { opacity:.6; }
.is-sold-out .product-stock { font-weight:700; color:var(--coral-ink); }
.catalog-empty { grid-column:1/-1; padding:35px; border:1px dashed var(--ink); border-radius:15px; font-size:14px; line-height:1.7; }
.catalog-more { margin-top:35px; }
.reviews-section { border-block:2px solid var(--ink); background:var(--blush); }
.reviews-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:25px; }
.review-card { display:flex; flex-direction:column; margin:0; padding:28px; border:2px solid var(--ink); border-radius:23px; background:var(--white); box-shadow:5px 6px 0 var(--ink); transform:rotate(-1deg); }
.review-card:nth-child(2) { transform:rotate(1deg); }
.review-badge { display:flex; gap:8px; align-items:center; font-size:10px; font-weight:700; }
.review-badge > span { width:22px; height:22px; border:1px solid var(--ink); border-radius:50%; display:grid; place-items:center; background:var(--coral); font-size:17px; }
.review-card blockquote { font-size:25px; font-family:"Trebuchet MS",Arial,sans-serif; font-weight:800; line-height:1.35; letter-spacing:-.035em; margin:27px 0; }
.review-card figcaption { display:flex; flex-direction:column; gap:8px; margin-top:auto; font-size:10px; overflow-wrap:anywhere; }
.review-card figcaption strong { font-size:12px; }
.review-card figcaption > span { color:var(--muted); }
.review-card figcaption a { margin-top:7px; text-decoration:underline; text-underline-offset:3px; }
.review-source-note { font-size:10px; line-height:1.7; color:var(--muted); margin:27px 0 0; }
.questions-section { padding-top:80px; }
.dialog-close { width:44px; height:44px; }
.product-dialog { width:min(960px,94vw); max-width:94vw; padding:25px; }
.product-detail { display:grid; grid-template-columns:1fr 1fr; gap:35px; clear:both; }
.product-detail-image { background:#fff; border:1px solid var(--line); border-radius:15px; padding:15px; align-self:start; }
.product-detail-image img { display:block; width:100%; max-height:65vh; object-fit:contain; }
.product-detail h2 { font-size:27px; margin:0 0 22px; line-height:1.2; }
.product-detail-price { font-weight:800; font-size:28px; margin-bottom:13px; }
.availability { font-size:12px; color:var(--coral-ink); font-weight:700; line-height:1.6; }
.product-description { font-size:12px; line-height:1.8; color:var(--muted); white-space:pre-line; }
.product-detail select { margin-bottom:18px; }
#product-quantity { width:80px; font-size:16px; }
#product-status { font-size:12px; line-height:1.7; margin-top:20px; }
.bag-open { border:2px solid var(--ink); border-radius:10px; padding:12px; font-size:12px; font-weight:700; background:var(--white); white-space:nowrap; }
.bag-open span { display:inline-grid; place-items:center; min-width:22px; height:22px; background:var(--coral); border-radius:50%; margin-left:7px; }
.bag-dialog { width:min(660px,94vw); padding:25px; }
.bag-dialog h2 { clear:both; font-size:31px; margin:20px 0 30px; }
.bag-item { display:grid; grid-template-columns:1fr 65px 48px; gap:15px; border-bottom:1px solid var(--line); padding:18px 0; align-items:center; font-size:12px; }
.bag-item strong { font-size:12px; line-height:1.5; }
.bag-item p { margin:8px 0 0; }
.bag-item input { margin:0; font-size:16px; }
#bag-total { font-size:19px; font-weight:800; margin-top:25px; }
#bag-status, .bag-note { font-size:11px; line-height:1.7; }
.bag-note { color:var(--muted); margin-top:20px; }
.button:disabled { opacity:.5; cursor:not-allowed; transform:none; box-shadow:none; }
@media(max-width:1100px) { .catalog-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }.product-picture img { height:230px; }.review-card { padding:23px; }.review-card blockquote { font-size:22px; } }
@media(max-width:900px) {
  .header-inner { gap:12px; }
  .header-shop { display:none; }
  .header-inner .menu-toggle { display:flex; align-items:center; gap:12px; background:var(--white); border:2px solid var(--ink); border-radius:10px; min-height:44px; padding:10px 12px; font-size:11px; font-weight:700; }
  .menu-icon { display:block; position:relative; width:16px; height:12px; border-block:1.5px solid var(--ink); }
  .menu-icon::after { content:""; position:absolute; left:0; right:0; top:4px; border-top:1.5px solid var(--ink); }
  .header-inner nav { display:none; position:absolute; top:100%; left:0; right:0; background:var(--paper); border-bottom:2px solid var(--ink); padding:14px 22px; flex-direction:column; gap:0; margin:0; }
  .header-inner nav.is-open { display:flex; }
  .header-inner nav a { padding:14px 10px; font-size:14px; }
  .header-inner .brand { margin-right:auto; }
  .header-inner .menu-toggle { order:3; }
  .bag-open { order:2; padding:8px; }
  .catalog-toolbar { grid-template-columns:1fr 1fr; }
  .catalog-grid { gap:23px 18px; }
  .product-picture { padding:18px 10px 8px; }
  .product-picture img { height:185px; }
  .product-card-body { padding:15px 13px; }
  .review-card blockquote { font-size:20px; }
  .reviews-grid { gap:18px; }
}
@media(max-width:650px) {
  .catalog-toolbar { padding:18px; gap:16px 12px; }
  .catalog-toolbar > div:first-child, .catalog-toolbar > div:last-child { grid-column:1/-1; }
  .catalog-toolbar input, .catalog-toolbar select, .product-detail select { font-size:16px; }
  .catalog-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px 14px; }
  .product-card { border-radius:15px; box-shadow:3px 4px 0 var(--ink); }
  .product-picture img { height:175px; }
  .product-picture { padding:19px 7px 7px; }
  .product-type { font-size:7px; left:7px; top:9px; padding:4px 6px; }
  .product-card-body { padding:14px 11px; }
  .product-game { font-size:8px; line-height:1.4; }
  .product-card-title { font-size:11px; min-height:52px; }
  .product-card-bottom strong { font-size:17px; }
  .product-card-arrow { width:25px; height:25px; font-size:16px; }
  .product-stock { font-size:8px; }
  .catalog-notice { font-size:10px; }
  .reviews-grid { grid-template-columns:1fr; gap:25px; padding-inline:3px; }
  .review-card { padding:25px; }
  .review-card blockquote { font-size:27px; }
  .questions-section { padding-top:55px; }
  .product-dialog { padding:17px; }
  .product-detail { grid-template-columns:1fr; gap:23px; }
  .product-detail-image img { max-height:43vh; }
  .product-detail h2 { font-size:24px; }
  .bag-dialog { padding:20px; }
  .bag-item { grid-template-columns:1fr 58px; gap:10px; }
  .bag-item .text-button { grid-column:1/-1; justify-self:start; }
}
@media(max-width:360px) { .catalog-grid { grid-template-columns:1fr; }.product-picture img { height:260px; }.product-card-title { min-height:0; }.bag-open { font-size:10px; }.bag-open span { margin-left:3px; } }
