/* Plugins page: search, categories, sort and view switch, and the grid cards in the new look (owner 02/12/2026):
   rounded fields, pill buttons and pills like the home page. Loaded last on plugins.html. */
/* Search */
html body .search-form{height:52px;padding:0 16px;border:1px solid rgba(20,20,19,.2);border-radius:12px;background:#fff}
html body .search-form:focus-within{border-color:#141413;box-shadow:0 0 0 3px rgba(20,20,19,.1)}
html body .search-form svg{stroke:#6b665c}
html body .search-form input{font-size:15px}
html body .search-form input::placeholder{color:#a39d90}
html body .search-form kbd{border:1px solid #d9d1c2;border-radius:6px;color:#6b665c}

/* Categories: pills like the filter chips on the home page */
html body .filter-group h2{color:#6b665c;font-size:11px;font-weight:600;letter-spacing:.12em}
html body .category-list{gap:6px}
html body .category-button{min-height:38px;padding:0 14px;border:1px solid #d9d1c2;border-radius:999px;background:transparent;color:#141413;font-size:13px;font-weight:500;transition:border-color .15s,background .15s,color .15s}
html body .category-button:hover{border-color:#141413;background:transparent;color:#141413}
html body .category-button.is-active{border-color:#141413;background:#141413;color:#fff;font-weight:600}
html body .category-count{color:#8a8579}
html body .category-button.is-active .category-count{color:rgba(255,255,255,.65)}
html body .sidebar-note{border-top-color:#e4ded3}

/* Sort and view switch */
html body .sort-control select{padding:7px 14px;border:1px solid #d9d1c2;border-radius:999px;background-color:#fff;color:#141413;font-size:13px;font-weight:500;outline-offset:3px}
html body .view-switch{padding:3px;border:1px solid #d9d1c2;border-radius:999px;background:#fff}
html body .view-button{width:32px;height:30px;border-radius:999px}
html body .view-button.is-active{background:#141413;color:#fff}
html body .results-toolbar{border-bottom-color:#e4ded3}

/* Grid cards: the same card as on the home page, with the button as a pill */
html body .product-grid:not(.is-list){gap:16px}
html body .product-grid:not(.is-list) .product-card{border-color:#e4ded3;transition:transform .18s,border-color .18s,box-shadow .18s}
html body .product-grid:not(.is-list) .product-card:hover{transform:translateY(-2px);border-color:#cfc9bd;box-shadow:0 12px 28px -14px rgba(0,0,0,.35)}
html body .product-grid:not(.is-list) .artwork{padding:0;background:#0b0c0f}
html body .product-grid:not(.is-list) .card-foot{margin-top:8px;padding-top:0;border-top:0}
html body .product-grid:not(.is-list) .add-button{min-height:38px;padding:0 18px;border-radius:999px;font-size:13px;font-weight:600}
html body .product-grid:not(.is-list) .add-button:hover{background:#2b2a27;border-color:#2b2a27;color:#fff}
html body .product-grid:not(.is-list) .add-button.is-added{background:#fff;border-color:#141413;color:#141413}

/* Compact top of the page (owner 02/12/2026: "the top takes too much room"): title, line and bundle link on one row, a slimmer search, less space above the list */
html body .catalog-page .page-intro{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 18px;padding:26px 0 14px}
html body .catalog-page .page-intro h1{margin:0;font-size:clamp(30px,4vw,40px);letter-spacing:-.045em;line-height:1.1}
html body .catalog-page .page-intro .intro-copy{margin:0;font-size:14px}
html body .catalog-page .page-intro .intro-link{margin-left:auto}
html body .search-form{height:48px}
html body .store-layout{padding:22px 0 80px;gap:36px}
@media(max-width:620px){html body .catalog-page .page-intro .intro-link{margin-left:0;flex-basis:100%}}

/* Minimal search and categories, borderless cards (owner 03/12/2026: "card không viền", "search và category gọn hơn, tối giản hơn") */
html body .search-form{height:42px;padding:0 14px;border:0;border-radius:10px;background:rgba(20,20,19,.055);box-shadow:none}
html body .search-form:focus-within{background:#fff;box-shadow:0 0 0 1px rgba(20,20,19,.18),0 6px 18px -10px rgba(0,0,0,.25)}
html body .search-form kbd{display:none}
html body .search-form input{font-size:14px}
html body .search-form svg{width:17px;height:17px}
html body .filter-group h2{margin:0 0 6px 10px;color:#a39d90;font-size:10.5px;letter-spacing:.12em}
html body .category-list{gap:1px}
html body .category-button{min-height:32px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:#6b665c;font-size:13.5px;font-weight:450}
html body .category-button:hover{border:0;background:rgba(20,20,19,.045);color:#141413}
html body .category-button.is-active{border:0;background:rgba(20,20,19,.075);color:#141413;font-weight:600}
html body .category-count,html body .category-button.is-active .category-count{color:#a39d90;font-size:12px;font-weight:450}
html body .sort-control select{padding:6px 10px;border:0;border-radius:8px;background-color:transparent}
html body .sort-control select:hover{background-color:rgba(20,20,19,.045)}
html body .view-switch{padding:3px;border:0;border-radius:10px;background:rgba(20,20,19,.055)}
html body .view-button{width:30px;height:28px;border-radius:8px}
html body .view-button.is-active{background:#fff;color:#141413;box-shadow:0 1px 3px rgba(0,0,0,.12)}
html body .results-toolbar{border-bottom:0;margin-bottom:6px;padding-bottom:0}
html body .product-grid:not(.is-list) .product-card,html body .product-grid:not(.is-list) .product-card:hover{border:0}

/* Categories as a row of pills like the Bundles page, plugin type as a drop-down, no sidebar (owner 03/12/2026) */
html body .store-layout{display:block;padding-top:18px}
html body .plugin-type-filter{display:none!important}
html body .results-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 16px;min-height:0;margin:0 0 10px;padding:0;border:0}
html body #category-list.chip-row{display:flex;flex-wrap:nowrap;gap:8px;min-width:0;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
html body #category-list.chip-row::-webkit-scrollbar{display:none}
html body #category-list .category-button{flex:0 0 auto;width:auto;min-height:36px;padding:0 15px;border:1px solid rgba(20,20,19,.28);border-radius:999px;background:transparent;color:#141413;font-size:13px;font-weight:500}
html body #category-list .category-button:hover{border-color:#141413;background:transparent}
html body #category-list .category-button.is-active{border-color:#141413;background:#141413;color:#fbf7f1;font-weight:500}
html body #category-list .category-count{display:none}
html body .toolbar-controls{gap:8px}
html body .sort-control select{min-width:0;padding:8px 30px 8px 14px;border:0;border-radius:999px;background-color:rgba(20,20,19,.055);font-size:13px;font-weight:500}
html body .sort-control select:hover{background-color:rgba(20,20,19,.085)}
html body .sort-control>span:not(.visually-hidden){display:none}
html body .results-count{margin:0 0 12px;color:#8a8579;font-size:12px}
@media(max-width:760px){html body .results-toolbar{flex-direction:column;align-items:stretch}html body .toolbar-controls{justify-content:space-between}}
/* no light fringe at the rounded corners: the card itself is clear, its text area is white */
html body .product-grid:not(.is-list) .product-card:not(.promo-card){background:transparent}
html body .product-grid:not(.is-list) .product-card:not(.promo-card) .card-info{background:#fff}
html body .product-grid:not(.is-list){grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1100px){html body .product-grid:not(.is-list){grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){html body .product-grid:not(.is-list){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){html body .product-grid:not(.is-list){grid-template-columns:1fr}}
html body .sort-control select{width:auto}
@media(max-width:760px){html body .toolbar-controls{flex-wrap:nowrap;gap:6px;width:100%}html body .toolbar-controls .sort-control{flex:1 1 0;min-width:0}html body .toolbar-controls .sort-control select{width:100%;min-width:0}html body .view-switch{flex:0 0 auto}}
