Import full product catalog
This commit is contained in:
212
app/globals.css
212
app/globals.css
@@ -215,14 +215,195 @@ select:focus, input:focus, textarea:focus { border-color: var(--blue); box-shado
|
||||
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; margin-bottom: 36px; }
|
||||
.section-heading h2 { margin: 10px 0 0; font-size: 39px; letter-spacing: -.04em; }
|
||||
.section-heading > p { max-width: 480px; margin: 0; color: #6e7a8e; line-height: 1.8; font-size: 13px; }
|
||||
.product-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
|
||||
.product-band article { min-height: 380px; border: 1px solid #dbe2ec; border-radius: 16px; overflow: hidden; background: white; transition: transform .25s, box-shadow .25s; }
|
||||
.product-band article:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(30,53,91,.12); }
|
||||
.product-band img { width: 100%; height: 245px; object-fit: cover; background: #eef2f8; }
|
||||
.product-band article div { padding: 21px; }
|
||||
.product-band span { color: var(--blue); font-size: 11px; font-weight: 750; }
|
||||
.product-band h3 { margin: 4px 0; font-size: 25px; }
|
||||
.product-band p { margin: 0; color: #8490a3; font-size: 11px; }
|
||||
.catalog-summary {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(7, 1fr);
|
||||
gap: 9px;
|
||||
margin-bottom: 22px;
|
||||
}
|
||||
.catalog-summary button {
|
||||
min-height: 76px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
align-content: center;
|
||||
gap: 5px;
|
||||
border: 1px solid #dbe2ec;
|
||||
border-radius: 12px;
|
||||
background: white;
|
||||
cursor: pointer;
|
||||
transition: border-color .2s, background .2s, transform .2s;
|
||||
}
|
||||
.catalog-summary button:hover { transform: translateY(-2px); border-color: #aac5f4; }
|
||||
.catalog-summary button.active { border-color: var(--blue); background: var(--blue-soft); }
|
||||
.catalog-summary strong { color: var(--blue); font-size: 19px; }
|
||||
.catalog-summary span { color: #748196; font-size: 10px; }
|
||||
.catalog-toolbar {
|
||||
position: sticky;
|
||||
top: 74px;
|
||||
z-index: 20;
|
||||
margin-bottom: 25px;
|
||||
padding: 14px;
|
||||
border: 1px solid #dbe2ec;
|
||||
border-radius: 15px;
|
||||
background: rgba(255,255,255,.95);
|
||||
box-shadow: 0 9px 25px rgba(30,53,91,.07);
|
||||
backdrop-filter: blur(12px);
|
||||
}
|
||||
.catalog-search { position: relative; display: flex; align-items: center; }
|
||||
.catalog-search > span {
|
||||
position: absolute;
|
||||
left: 15px;
|
||||
top: 9px;
|
||||
color: var(--blue);
|
||||
font-size: 22px;
|
||||
line-height: 1;
|
||||
transform: rotate(-18deg);
|
||||
}
|
||||
.catalog-search input { width: 100%; height: 48px; padding: 0 46px; background: #f7f9fc; }
|
||||
.catalog-search > button {
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border: 0;
|
||||
border-radius: 50%;
|
||||
color: #7f8a9d;
|
||||
background: #e9edf3;
|
||||
cursor: pointer;
|
||||
}
|
||||
.category-pills { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
|
||||
.category-pills button {
|
||||
padding: 8px 12px;
|
||||
border: 1px solid #dce3ed;
|
||||
border-radius: 999px;
|
||||
background: white;
|
||||
cursor: pointer;
|
||||
color: #68758a;
|
||||
font-size: 10px;
|
||||
}
|
||||
.category-pills button.active { border-color: var(--blue); color: white; background: var(--blue); }
|
||||
.catalog-result-count { margin: 11px 2px 0; color: #8792a3; font-size: 10px; }
|
||||
.catalog-result-count strong { color: var(--blue); font-size: 12px; }
|
||||
.catalog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
|
||||
.catalog-card {
|
||||
min-width: 0;
|
||||
border: 1px solid #dce3ed;
|
||||
border-radius: 14px;
|
||||
overflow: hidden;
|
||||
background: white;
|
||||
transition: transform .22s, border-color .22s, box-shadow .22s;
|
||||
}
|
||||
.catalog-card:hover { transform: translateY(-3px); border-color: #b7c9e7; box-shadow: 0 15px 34px rgba(30,53,91,.1); }
|
||||
.catalog-image-button {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 190px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
border: 0;
|
||||
border-bottom: 1px solid #edf0f4;
|
||||
background: linear-gradient(145deg, #f8fafe, #eef3fa);
|
||||
cursor: pointer;
|
||||
overflow: hidden;
|
||||
}
|
||||
.catalog-image-button img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
|
||||
.catalog-image-button small {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
left: 10px;
|
||||
padding: 5px 8px;
|
||||
border-radius: 6px;
|
||||
color: #315686;
|
||||
background: rgba(255,255,255,.9);
|
||||
box-shadow: 0 2px 8px rgba(31,56,93,.08);
|
||||
font-size: 8px;
|
||||
font-weight: 750;
|
||||
}
|
||||
.catalog-placeholder { color: #9eb3d3; font-size: 14px; font-weight: 800; letter-spacing: .12em; }
|
||||
.catalog-card-body { padding: 16px; }
|
||||
.catalog-card-body > p { margin: 0 0 5px; color: #8793a5; font-size: 9px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
|
||||
.catalog-card-body h3 { height: 42px; margin: 0 0 12px; overflow: hidden; font-size: 14px; line-height: 1.5; }
|
||||
.catalog-card-body dl { min-height: 83px; margin: 0; padding: 10px; border-radius: 9px; background: #f6f8fb; }
|
||||
.catalog-card-body dl div { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; font-size: 9px; }
|
||||
.catalog-card-body dt { color: #8a95a7; }
|
||||
.catalog-card-body dd { max-width: 58%; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; font-weight: 650; }
|
||||
.catalog-card-body > button {
|
||||
width: 100%;
|
||||
margin-top: 12px;
|
||||
padding: 10px 0 2px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
border: 0;
|
||||
color: var(--blue);
|
||||
background: transparent;
|
||||
cursor: pointer;
|
||||
font-size: 10px;
|
||||
font-weight: 700;
|
||||
}
|
||||
.catalog-empty { padding: 60px 20px; text-align: center; border: 1px dashed #cbd5e3; border-radius: 15px; background: white; }
|
||||
.catalog-empty p { color: #8792a4; font-size: 12px; }
|
||||
.catalog-empty button { border: 0; color: var(--blue); background: transparent; cursor: pointer; font-weight: 700; }
|
||||
.load-more-wrap { display: flex; justify-content: center; margin-top: 34px; }
|
||||
.load-more-wrap button {
|
||||
min-width: 240px;
|
||||
padding: 14px 22px;
|
||||
display: grid;
|
||||
gap: 3px;
|
||||
border: 1px solid #cbd6e6;
|
||||
border-radius: 11px;
|
||||
background: white;
|
||||
cursor: pointer;
|
||||
font-weight: 700;
|
||||
}
|
||||
.load-more-wrap button:hover { border-color: var(--blue); color: var(--blue); }
|
||||
.load-more-wrap span { color: #8c97a8; font-size: 8px; font-weight: 500; }
|
||||
.catalog-modal-backdrop {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 100;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
padding: 24px;
|
||||
background: rgba(7,14,29,.7);
|
||||
backdrop-filter: blur(8px);
|
||||
}
|
||||
.catalog-modal {
|
||||
position: relative;
|
||||
width: min(760px, 100%);
|
||||
max-height: min(820px, 92vh);
|
||||
padding: 28px;
|
||||
overflow-y: auto;
|
||||
border-radius: 18px;
|
||||
background: white;
|
||||
box-shadow: 0 30px 90px rgba(0,0,0,.3);
|
||||
}
|
||||
.catalog-modal-close {
|
||||
position: absolute;
|
||||
right: 17px;
|
||||
top: 15px;
|
||||
z-index: 2;
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
border: 0;
|
||||
border-radius: 50%;
|
||||
color: #627086;
|
||||
background: #eef2f7;
|
||||
cursor: pointer;
|
||||
font-size: 20px;
|
||||
}
|
||||
.catalog-modal-product { display: grid; grid-template-columns: 210px 1fr; align-items: center; gap: 28px; }
|
||||
.catalog-modal-image { height: 180px; display: grid; place-items: center; border-radius: 13px; overflow: hidden; background: #f2f5fa; }
|
||||
.catalog-modal-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
|
||||
.catalog-modal-product h2 { margin: 4px 0 10px; font-size: 27px; line-height: 1.3; letter-spacing: -.025em; }
|
||||
.catalog-modal-product code { color: #5d6b81; font-size: 11px; }
|
||||
.catalog-source-note { color: #96a0af; font-size: 9px; }
|
||||
.catalog-spec-table { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 25px; overflow: hidden; border: 1px solid #e0e5ed; border-radius: 11px; background: #e0e5ed; }
|
||||
.catalog-spec-table div { min-height: 48px; padding: 10px 12px; display: grid; align-content: center; gap: 4px; background: white; }
|
||||
.catalog-spec-table span { color: #8b96a7; font-size: 9px; }
|
||||
.catalog-spec-table strong { font-size: 11px; }
|
||||
.catalog-modal-actions { display: flex; align-items: center; gap: 18px; margin-top: 20px; }
|
||||
.catalog-modal-actions .panel-primary { flex: 0 0 auto; }
|
||||
.catalog-modal-actions p { margin: 0; color: #8b95a5; font-size: 9px; line-height: 1.6; }
|
||||
.how-section { padding: 100px max(32px, calc((100vw - 1180px) / 2)); display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; color: white; background: linear-gradient(135deg, #0c1528, #14284e); }
|
||||
.eyebrow.light { color: #77a5ff; }
|
||||
.how-copy h2 { margin: 18px 0; font-size: 42px; line-height: 1.15; letter-spacing: -.04em; }
|
||||
@@ -264,7 +445,20 @@ footer > span { color: #9aa4b2; font-size: 10px; }
|
||||
.capability-strip { grid-template-columns: 1fr 1fr; gap: 24px 0; padding: 28px 16px; }
|
||||
.capability-strip div:nth-child(2) { border-right: 0; }
|
||||
.section-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
|
||||
.product-band { grid-template-columns: 1fr; }
|
||||
.catalog-summary { grid-template-columns: repeat(2, 1fr); }
|
||||
.catalog-summary button:last-child { grid-column: 1 / -1; }
|
||||
.catalog-toolbar { top: 64px; }
|
||||
.catalog-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
|
||||
.catalog-image-button { height: 150px; }
|
||||
.catalog-card-body { padding: 12px; }
|
||||
.catalog-card-body h3 { height: 60px; font-size: 13px; }
|
||||
.catalog-card-body dl { min-height: 90px; }
|
||||
.catalog-modal-backdrop { padding: 10px; }
|
||||
.catalog-modal { padding: 22px 16px; }
|
||||
.catalog-modal-product { grid-template-columns: 1fr; gap: 16px; }
|
||||
.catalog-modal-image { height: 220px; }
|
||||
.catalog-spec-table { grid-template-columns: 1fr; }
|
||||
.catalog-modal-actions { align-items: stretch; flex-direction: column; }
|
||||
.products-section { padding: 75px 16px; }
|
||||
.how-section { grid-template-columns: 1fr; padding: 75px 20px; }
|
||||
footer { grid-template-columns: 1fr; justify-items: center; gap: 15px; }
|
||||
|
||||
Reference in New Issue
Block a user