.pk-toolbar,.pk-bulk,.pk-pager,.pk-product-buttons{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:16px 0}.pk-toolbar label{display:grid;gap:5px;font-size:13px;font-weight:700}.pk-toolbar input,.pk-toolbar select,.pk-bulk select{font:inherit;padding:11px;border:1px solid #c9d9dc;border-radius:8px;background:white;min-width:160px}.pk-toolbar label:first-child{flex:1}.pk-toolbar input{width:100%;box-sizing:border-box}.pk-product-table{border-collapse:collapse;width:100%;background:white}.pk-product-table th{text-align:left;background:#eef5f4;color:#38656b;font-size:12px;padding:13px 10px}.pk-product-table td{padding:12px 10px;border-bottom:1px solid #e0eaea;font-size:14px}.pk-product-table input[type=checkbox]{width:19px;height:19px;accent-color:#0d5963}.pk-product-name{display:flex;align-items:center;gap:12px;min-width:220px}.pk-product-name img{width:52px;height:52px;object-fit:contain;border-radius:6px;background:#f6f9f9}.pk-product-name small{display:block;color:#637b80;margin-top:5px}.pk-product-table .button{padding:9px 14px;min-height:36px}.pk-pager{justify-content:flex-end}.pk-managed-label{font-size:12px;color:#557078}.pk-managed-note{padding:18px;background:#e4f2f0;border-radius:10px}.pk-variant-row{display:grid;grid-template-columns:repeat(4,minmax(110px,1fr));gap:12px;padding:18px;background:#f2f7f7;border-radius:10px;margin:10px 0}.pk-variant-row label{display:grid;gap:6px;font-size:12px}.pk-variant-row input{box-sizing:border-box;width:100%}.pk-variant-row input[type=checkbox]{width:18px}.pk-variant-row button{align-self:end}.pk-form-section{grid-column:1/-1;padding:16px 0;border-top:1px solid #dce7e8}.pk-form-section h3{margin:0 0 12px}.pk-form-section>label{display:block;margin:12px 0}.pk-form-section input[type=checkbox]{width:18px;height:18px}.pk-settings-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.pk-form-heading{grid-column:1/-1;margin:16px 0 0}.pk-catalog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.pk-catalog-card{border:1px solid #dce7e8;border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:10px}.pk-catalog-card img{height:160px;width:100%;object-fit:contain}.pk-catalog-card h3,.pk-catalog-card p{margin:0}.pk-catalog-card small{margin-top:auto}.pk-catalog-card .button{font-size:13px}.product-form-dialog{max-width:1050px;width:95vw}.pk-catalog-dialog{max-width:1100px;width:92vw;border:0;border-radius:18px;padding:24px}.pk-catalog-dialog::backdrop{background:#082c35a0}#pk-product-list{overflow-x:auto}#pk-legacy{font-size:13px;color:#61767b}.pk-choice-controls{display:flex;gap:18px;flex-wrap:wrap;margin:20px 0}.pk-choice-controls label{display:grid;gap:7px;font-weight:700}.pk-choice-controls select{font:inherit;padding:12px;background:white;border:1px solid #bed4d5;border-radius:8px}.pk-choice-controls .pk-same-photo{display:flex;align-items:center;gap:8px}.custom-canvas-wrap{background:repeating-conic-gradient(#e9eded 0% 25%,#fff 0% 50%) 50%/20px 20px}.pk-category-nav{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.pk-category-nav button,.pk-category-nav a{font:inherit;text-decoration:none;display:inline-flex;align-items:center;background:#edf5f4;color:#174b53;border:1px solid #d1e3e2;padding:10px 15px;border-radius:24px;cursor:pointer}.pk-category-nav button[aria-pressed=true]{background:#0d5963;color:#fff}.pk-category-section{grid-column:1/-1;margin-top:20px}.pk-category-section h2{font-size:26px}.pk-catalog-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.pk-category-section[hidden]{display:none}.pk-catalog-products .catalog-card{height:100%}@media(max-width:760px){.pk-catalog-grid,.pk-catalog-products{grid-template-columns:1fr}.pk-variant-row{grid-template-columns:repeat(2,minmax(0,1fr))}.pk-settings-grid{grid-template-columns:1fr}.pk-product-table th,.pk-product-table td{padding:10px 7px}.pk-product-name{min-width:190px}.pk-toolbar label{width:100%}.pk-toolbar select{width:100%}.pk-bulk{padding:12px;background:#eef5f4}.product-form-dialog{width:96vw;max-height:95vh}.pk-managed-label{display:block;width:115px}}

#products-panel [hidden],#product-form-dialog [hidden],.pk-choice-controls [hidden]{display:none!important}

#product-catalog>.catalog-card[hidden]{display:none}

#category-card-form { display:grid; gap:12px; } #category-card-form label {display:grid; gap:5px;}
#category-card-image { max-width:100%; max-height:180px; object-fit:contain; }
.pk-category-nav a[aria-current=page] { background:var(--teal); color:white; }

.trial-admin-setting {margin:1rem 0;padding:.75rem 1rem;border:1px solid #ccdcd9;border-radius:.6rem;background:white;color:#12383d}
.trial-admin-setting[hidden] {display:none}
.trial-admin-setting summary {cursor:pointer;font-weight:650}
#trial-module-form fieldset {display:flex;gap:.65rem 1.5rem;flex-wrap:wrap;margin:.75rem 0;border:0;padding:0}
#trial-module-form legend {margin-bottom:.45rem}
#trial-module-form label {display:inline-flex;align-items:center;gap:.4rem}
#trial-module-form input {width:auto}
.catalog-style-choices {display:flex;flex-wrap:wrap;gap:.65rem}
.catalog-style-choices button {box-sizing:border-box;width:min(12rem,100%);padding:0 0 .45rem;overflow:hidden;background:white;color:inherit;border:2px solid #cbd9d7;border-radius:.55rem;font:inherit;cursor:pointer}
.catalog-style-choices button img {display:block;width:100%;aspect-ratio:2;object-fit:cover;margin-bottom:.4rem}
.catalog-style-choices button[aria-pressed=true] {border-color:#0d5963;background:#e6f2ef;font-weight:bold}
.trial-admin-setting [role=status]:not(:empty) {display:inline-block;margin:.45rem}

/* Within a mobile category, show products immediately. Native links retain Back history. */
@media(max-width:720px){body.pk-category-selected .pk-category-nav{display:none}}
