/* Text stays selectable; navigation has its own visible link. */
.product-detail-link:after{display:none}
.product-card .copyable-field,.part-info .copyable-field{display:block;min-width:0}
.copyable-value,#part-number{min-width:0;overflow-wrap:anywhere;user-select:text;-webkit-user-select:text;cursor:text}
.product-detail-hint:focus-visible{outline:2px solid #c64e1d;outline-offset:3px}
.product-card a.product-detail-hint{position:relative;display:inline-flex;align-items:center;min-height:24px;color:#315d7d;cursor:pointer;user-select:none;text-decoration:underline;text-underline-offset:3px}
.catalogue-grid[data-view=list] .product-detail-hint{grid-column:1/-1;grid-row:3}
#parts .product-card{min-height:0;padding:16px 19px 0}
#parts .product-type{margin-bottom:10px;line-height:1.5;gap:9px}
#parts .product-card h3{font-size:20px;line-height:1.5;margin-bottom:4px}
#parts .product-card p{font-size:14px;line-height:1.55;margin-bottom:7px}
#parts .product-detail-hint{font-size:12px;line-height:1.6;margin-bottom:9px}
#parts .product-card>button{font-size:12px;padding-block:10px}
/* Compact catalogue cards keep complete descriptions and comfortable action links. */
.catalogue-grid[data-view=grid3] .product-card{min-height:0;padding:16px 18px 0}
.catalogue-grid[data-view=grid6] .product-card{min-height:0;padding:12px 12px 0}
.catalogue-grid[data-view=grid3] .catalogue-card-photo{height:132px;margin:0 0 12px}
.catalogue-grid[data-view=grid6] .catalogue-card-photo{height:84px;margin:0 0 10px}
.catalogue-grid[data-view=grid3] .catalogue-card-photo.no-photo{height:60px;flex-direction:row;gap:8px}
.catalogue-grid[data-view=grid6] .catalogue-card-photo.no-photo{height:48px;flex-direction:row;gap:6px}
.catalogue-grid[data-view=grid3] .catalogue-card-photo svg,.catalogue-grid[data-view=grid6] .catalogue-card-photo svg{width:24px;height:24px;flex-shrink:0}
.catalogue-grid[data-view=grid3] .catalogue-card-photo>span,.catalogue-grid[data-view=grid6] .catalogue-card-photo>span{font-size:12px;line-height:1.5}
.catalogue-grid[data-view=grid3] .product-type{margin-bottom:10px}
.catalogue-grid[data-view=grid6] .product-type{margin-bottom:8px}
.catalogue-grid[data-view=grid3] h3{font-size:21px;line-height:1.45;margin-bottom:5px}
.catalogue-grid[data-view=grid6] h3{font-size:18px;line-height:1.45;margin-bottom:5px}
.catalogue-grid[data-view=grid3] .product-card p,.catalogue-grid[data-view=grid6] .product-card p{line-height:1.55;margin-bottom:8px;overflow-wrap:anywhere}
.catalogue-grid[data-view=grid3] .product-detail-hint,.catalogue-grid[data-view=grid6] .product-detail-hint{margin-bottom:10px;font-size:12px;line-height:1.6}
.catalogue-grid[data-view=grid3] .catalogue-enquire,.catalogue-grid[data-view=grid6] .catalogue-enquire{min-height:44px;padding-block:11px;line-height:1.6}
.saved-catalog-tools{display:flex;align-items:center;gap:14px;font-size:13px;color:#526e83}
#catalog-refresh,.catalog-row-actions button,.catalog-restore-button{padding:7px 10px;border:1px solid #aebfce;background:#f3f7fa;color:#2f536e;border-radius:3px;font-family:inherit;font-size:12px;font-weight:600;line-height:1.5;cursor:pointer;white-space:nowrap}
.catalog-row-actions{min-width:210px!important}
.catalog-row-actions button+button{margin-inline-start:6px}
.catalog-row-actions .catalog-edit-button{background:#eaf2f8;color:#245a7f}
.catalog-row-actions .catalog-delete-button{color:#a33d26;border-color:#d9afa1;background:#fff6f2}
.catalog-row-actions button:disabled,#catalog-refresh:disabled,.catalog-restore-button:disabled{opacity:.55;cursor:wait}
.deleted-catalog{margin-top:22px;padding-top:18px;border-top:1px solid #aebfce}
.deleted-catalog summary{font-size:14px;font-weight:650;cursor:pointer;color:#425f76}
.deleted-catalog>p{font-size:13px;line-height:1.7;color:#587286;margin:12px 0}
.catalog-edit-dialog{width:min(560px,calc(100% - 32px));padding:28px;border:1px solid #97afc2;border-radius:7px;color:#203b51;box-shadow:0 20px 70px #142b4140;font-family:'Pretendard Variable','DM Sans',sans-serif}
.catalog-edit-dialog::backdrop{background:#12263899}
.catalog-edit-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}
.catalog-edit-heading p{font-size:12px;color:#607b90;margin:0 0 7px;letter-spacing:.4px}
.catalog-edit-heading h2{font-family:inherit;font-size:27px;font-weight:700;line-height:1.4;letter-spacing:-.5px;margin:0}
.catalog-edit-heading>button{font:24px/1 sans-serif;background:transparent;border:0;color:#49667d;cursor:pointer;padding:8px}
.catalog-edit-caption{font-size:13px;line-height:1.7;color:#5e788c;margin:0 0 20px}
.catalog-edit-dialog label{display:block;font-size:14px;font-weight:600;margin-bottom:16px;line-height:1.6}
.catalog-edit-dialog input{display:block;box-sizing:border-box;width:100%;border:1px solid #a6bacb;border-radius:3px;background:#f8fbfd;padding:11px 12px;margin-top:6px;font:400 15px/1.5 'Pretendard Variable','DM Sans',sans-serif;color:#243e53}
.catalog-edit-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.catalog-edit-actions{display:flex;justify-content:flex-end;align-items:center;gap:14px;margin-top:10px}
.catalog-edit-actions>button:first-child{padding:12px 18px;background:#fff;border:1px solid #a9bac8;border-radius:3px;font:600 14px 'Pretendard Variable',sans-serif;color:#526f84;cursor:pointer}
.catalog-edit-actions .button{font:600 14px 'Pretendard Variable',sans-serif;padding:13px 20px}
.catalog-edit-dialog .catalog-edit-error{padding:11px 14px;border:1px solid #e3b7a8;background:#fff5ef;color:#a23d20;font-size:13px;line-height:1.7}
@media(max-width:560px){#parts .product-card{padding-inline:16px}#parts .product-card h3{font-size:19px}.catalogue-grid[data-view=grid6] .product-card{padding-inline:11px}.catalogue-grid[data-view=grid6] h3{font-size:17px}.catalogue-grid[data-view=grid6] .catalogue-card-photo.no-photo{gap:5px}.catalogue-grid[data-view=grid6] .catalogue-card-photo svg{width:19px;height:19px}.catalog-edit-dialog{padding:23px 20px}.catalog-edit-heading h2{font-size:24px}.catalog-edit-columns{grid-template-columns:1fr;gap:0}.saved-catalog-heading{gap:10px;align-items:flex-start}.saved-catalog-tools{gap:8px}.saved-catalog-tools span{font-size:12px}}
