.body{
    background-color: white !important;
}
.color-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* spacing between items */
    justify-content: center; /* center them horizontally */
    padding: 20px;
    background-color: white;
}

.listing_box {
    display: block;
    width: 160px; /* control how wide each item is */
    text-align: center;
    text-decoration: none;
    color: black;
}

.image-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 50px;
  /*margin-bottom: 20px;*/
  /*padding: 5px;*/
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.image-wrapper img {
  width: 100%;
  height: 200px;
  display: block;
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--dark-header);
  color: #fff;
  padding: 10px 20px;
  font-size: 24px;
  border-radius: 8px;
  pointer-events: auto;
  transition: all 0.3s ease;
  cursor: pointer;
}

.overlay-text:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  transform: translate(-50%, -50%) scale(1.1);
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.product-card {
  width: 400px;
  text-align: center;
  /*background: #fff;*/
  padding: 20px;
  border-radius: 15px;
  /*box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);*/
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
}

.product-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  margin-bottom: 15px;
}

.product-card h3 {
  font-size: 22px;
  color: #324b97;
  font-weight: 600;
}

.product-section {
    width: 100%;
    margin-top: 30px;
}

.section-header {
    font-size: 24px;
    margin-bottom: 20px;
    color: black;
    text-align: center;
}
.painted {
    width: 100%;
    height: auto;
    display: block;
  }
.modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex; justify-content: center; align-items: center;
    z-index: 9999;
}
.modal-content {
    background: #fff;
    padding: 20px;
    width: 300px;
    border-radius: 10px;
    position: relative;
}
.modal-content h2 {
    margin-top: 0;
}
.modal-content input {
    width: 100%; padding: 10px; margin: 10px 0;
}
.modal-content button {
    width: 100%; padding: 10px;
}
.modal-content .close {
    position: absolute; top: 10px; right: 15px;
    font-size: 18px; cursor: pointer;
}

/* Container for all feature icons under product */
.feature-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 8px;
    padding: 4px 0;
}

/* Each feature block (icon + name) */
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 55px;              /* give enough space for text */
    font-size: 11px;
    color: #333;
}

/* Smaller SVG/IMG icons */
.feature-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    margin-bottom: 4px;
    display: block;
}

/* Feature names (bold text, no weird breaking) */
.feature-item span {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    font-weight: bold;
    line-height: 1.2;
    white-space: normal;      /* allow wrapping only at spaces */
    word-break: keep-all;     /* don’t break inside words */
    text-align: center;
    color: #222;
}

/* Fallback circle icon */
.feature-item .fas {
    font-size: 18px;
    color: #888;
    margin-bottom: 4px;
}


