/* ===== Product Grid ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

/* ===== Product Card ===== */
.product-card {
    background: rgba(241, 247, 252, 1); /* Light background for readability */
    backdrop-filter: blur(14px) saturate(180%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;    
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}

/* ===== Product Image ===== */
.product-image {
    background: rgba(255,255,255,0.05);
    text-align: center;
    padding: 1rem;
}

.product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* ===== Product Info ===== */
.product-info {
    padding: 1.2rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c4964;
    margin-bottom: 0.4rem;
}

.product-info p {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    color: #444;
}

/* ===== Line-by-Line Specs ===== */
.spec-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.spec-item {
    font-size: 0.9rem;
    line-height: 1.4;
    padding: 0.4rem 0.6rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    display: flex;
    flex-wrap: wrap;
}

.spec-key {
    font-weight: 600;
    color: #0a3d62;
    margin-right: 0.4rem;
}

.spec-value {
    color: #333;
    flex: 1;
}

/* ===== Description ===== */
.description {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
}

/* ===== Product Buttons ===== */
.product-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.product-actions .btn {
  flex: 1;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-cart {
  background-color: #0077b6; /* Synthonics brand blue */
  color: #fff;
}

.btn-cart:hover {
  background-color: #005f8d;
  transform: translateY(-1px);
  color: #fff;
}

.btn-quote {
  background-color: #00b4d8; /* Accent blue */
  color: #fff;
}

.btn-quote:hover {
  background-color: #0093ad;
  transform: translateY(-1px);
  color: #fff;
}

.btn i {
  margin-right: 0.35rem;
}


.cas-badge {
    display: inline-block;
    background: #f4f6f8; /* soft neutral background */
    color: #0a3d62; /* brand deep blue */
    padding: 0.25rem 0.75rem;    
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    border: 1px solid rgba(10, 61, 98, 0.15); /* subtle border */
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    margin-left: 0.4rem;
    vertical-align: middle;
    transition: all 0.2s ease;
}

.cas-badge:hover {
    background: #e8eef3; /* slightly darker on hover */
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}




/* ===== Responsive ===== */
@media (max-width: 600px) {
    .product-info h2 {
        font-size: 1.2rem;
    }
    .spec-item {
        font-size: 0.85rem;
    }
}


.search-form {
  max-width: 500px;
  margin: 0 auto;
}

.search-form .form-control {
  border-radius: 50px 0 0 50px;
  border: 1px solid #ccc;
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  color: #333;
  background-color: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-form .form-control:focus {
  border-color: #0077b6; /* Synthonics brand blue */
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.15);
  outline: none;
}

.search-form .form-control::placeholder {
  color: #888;
}

.search-form .btn {
  border-radius: 0 50px 50px 0;
  background: linear-gradient(135deg, #0077b6, #00b4d8);
  border: none;
  padding: 0 1.25rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.search-form .btn i {
  font-size: 1.1rem;
}

.search-form .btn:hover {
  background: linear-gradient(135deg, #00b4d8, #0077b6);
}
