/* Product card proportions and palette from the supplied screenshot. */
body :is(#featured,#systems,.sector-system-list) {display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,338px),338px));gap:25px;justify-content:center;align-items:stretch;}
body :is(.system-card,.gallery-card) {width:100%;min-width:0;min-height:446px;height:100%;padding:15px;border:1px solid rgba(212,175,55,.25);border-radius:18px;background:#18181c;box-shadow:0 4px 15px rgba(0,0,0,.3);display:flex;flex-direction:column;overflow:hidden;}
body :is(.system-card,.gallery-card):hover {background:#222228;border-color:#d4af37;}
body :is(.system-card,.gallery-card) .card-img-holder {position:relative;display:block;flex-shrink:0;width:100%;height:210px;overflow:hidden;border-radius:12px;margin:0 0 15px;}
body :is(.system-card,.gallery-card) .card-img-holder > img {display:block;width:100%;height:210px;object-fit:cover;border-radius:12px;margin:0;background:#0f0f11;}
body :is(.system-card,.gallery-card) .card-img-holder > :is(.badge-code,.badge-category) {position:absolute;inset:auto;top:15px;grid-area:auto;max-width:calc(50% - 22px);margin:0;padding:6px 14px;min-height:36px;background:rgba(15,15,17,.85);backdrop-filter:blur(8px);border:1px solid rgba(212,175,55,.25);border-radius:20px;color:#d4af37;font-family:inherit;font-size:12px;font-weight:700;line-height:1.5;white-space:normal;overflow-wrap:anywhere;z-index:3;box-shadow:0 4px 10px rgba(0,0,0,.4);}
body :is(.system-card,.gallery-card) .card-img-holder > .badge-category {right:15px;left:auto;}
body :is(.system-card,.gallery-card) .card-img-holder > .badge-code {left:15px;right:auto;direction:ltr;cursor:pointer;}
body :is(.system-card,.gallery-card) .badge-code > span {display:none;}
body :is(.system-card,.gallery-card) .gallery-info {padding:0;display:flex;flex-direction:column;gap:8px;flex:1;min-height:0;}
body :is(.system-card,.gallery-card) .gallery-info h3 {margin:0;font-size:18px;font-weight:700;line-height:1.6;color:#d4af37;overflow-wrap:anywhere;}
body :is(.system-card,.gallery-card) .gallery-info p {margin:0;font-size:14px;line-height:1.6;color:#a1a1a6;overflow-wrap:anywhere;}
body :is(.system-card,.gallery-card) .project-summary {min-height:44px;}
body :is(.system-card,.gallery-card) .system-price {min-height:24px;margin:0;display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#d4af37;}
body :is(.system-card,.gallery-card) .system-price .price-label {color:#a1a1a6;}
body :is(.system-card,.gallery-card) .card-main-actions {display:flex;gap:8px;margin-top:auto;padding-top:12px;}
body :is(.system-card,.gallery-card) :is(.btn-preview,.btn-chat-icon) {display:flex;align-items:center;justify-content:center;gap:8px;min-height:47px;height:auto;border:1px solid rgba(212,175,55,.25);border-radius:12px;background:rgba(212,175,55,.1);color:#d4af37;font-size:14px;font-weight:700;text-decoration:none;padding:10px 12px;}
body :is(.system-card,.gallery-card) .btn-preview {flex:1;}
body :is(.system-card,.gallery-card) .btn-chat-icon {width:45px;flex:0 0 45px;padding:8px;}
body :is(.system-card,.gallery-card) .card-sub-actions {display:flex;gap:8px;margin-top:8px;}
body :is(.system-card,.gallery-card) .btn-sub-action {display:flex;align-items:center;justify-content:center;gap:6px;flex:1;min-width:0;min-height:40px;height:auto;padding:8px 10px;border:0;border-radius:12px;background:linear-gradient(135deg,#bf953f,#fcf6ba,#b38728,#fbf5b7,#aa771c);color:#0d0d0d;font-size:13px;font-weight:700;line-height:1.5;text-align:center;box-shadow:0 4px 12px rgba(212,175,55,.2);}
@media(max-width:380px){body :is(.system-card,.gallery-card) .card-img-holder > :is(.badge-code,.badge-category){padding:6px 9px;font-size:11px;}body :is(.system-card,.gallery-card) .btn-sub-action{padding:8px 6px;font-size:12px;}}
