/* =========================================================
   Product cards: white, clean, rounded, soft shadow
   Used by: square, round, linear, wall washer, ground burial,
            spot, up-down, neon strip, safety pages
   ========================================================= */

/* ---------- Product card ---------- */
.sq-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .07);
    padding: 16px 16px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease;
}
.sq-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .13);
}

/* Photo area: white, soft border, same square size for every card */
.sq-img {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    overflow: hidden;
}
.sq-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform .5s ease;
}
.sq-card:hover .sq-img img { transform: scale(1.06); }
.sq-img .sq-empty { color: #868e96; font-weight: 600; }

/* Title with a small red line under it */
.sq-card h3 {
    color: #d9232d;
    font-weight: 800;
    font-size: 19px;
    text-transform: uppercase;
    margin: 16px 0 12px;
    padding-bottom: 12px;
    position: relative;
}
.sq-card h3::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: #d9232d;
    border-radius: 3px;
    transform: translateX(-50%);
}

/* Text */
.sq-card p {
    font-size: 13px;
    line-height: 1.6;
    color: #555;
    text-align: left;
    margin-bottom: 10px;
}
.sq-card p.sq-common { color: #888; font-size: 12px; }
.sq-watt {
    font-size: 13px;
    color: #222;
    background: #faf3f3;
    border-radius: 8px;
    padding: 8px 10px;
    margin-bottom: 14px;
}

/* TDS buttons (always at the bottom of the card) */
.sq-tds {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 8px;
}
.sq-tds a, .sq-tds span {
    font-size: 13px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 20px;
    text-decoration: none;
    display: inline-block;
}
.sq-tds a { background: #d9232d; color: #fff; transition: background .3s; }
.sq-tds a:hover { background: #222; color: #fff; }
.sq-tds span { background: #f1f3f5; color: #868e96; }

/* ---------- Type cards (flood-lights, linear-wall-washer, ground-burial) ---------- */
.fl-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .07);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}
.fl-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .13);
}
.fl-card .category-image {
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 18px;
}
.fl-card .category-image img { width: 100%; height: 100%; object-fit: contain; }
.fl-card .category-content { background: #fff; border-top: 3px solid #d9232d; }
.fl-card .category-content h2 {
    font-size: 18px;
    text-transform: uppercase;
    text-align: center;
}

/* ---------- Neon strip page ---------- */
.np-wrap {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 40px;
    align-items: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .07);
    padding: 28px;
}
.np-img {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
}
.np-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.np-info h2 { color: #d9232d; font-weight: 800; font-size: 34px; text-transform: uppercase; margin-bottom: 14px; }
.np-info p { font-size: 15px; line-height: 1.7; color: #555; margin-bottom: 22px; }
.np-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.np-table th, .np-table td { padding: 12px 16px; border: 1px solid #eee; text-align: left; font-size: 15px; }
.np-table th { background: #faf3f3; color: #222; }
.np-tds a, .np-tds span { font-size: 14px; font-weight: 600; padding: 8px 18px; border-radius: 20px; text-decoration: none; display: inline-block; }
.np-tds a { background: #d9232d; color: #fff; }
.np-tds a:hover { background: #222; color: #fff; }
.np-tds span { background: #f1f3f5; color: #868e96; }
@media (max-width: 991px) {
    .np-wrap { grid-template-columns: 1fr; padding: 18px; }
    .np-info h2 { font-size: 28px; }
}

/* ---------- Facade page: ---------- */
.facade-grid .category-card { height: 100%; }
.facade-grid .category-image {
    aspect-ratio: 3 / 2;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.facade-grid .category-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}