/** PRODUCT-ATTRIBUTES **/

.Laptop-List,
.Tablets-List,
.Smartphones-List {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  list-style: none;
  padding: 6px 0 18px 0;
  margin: 0;
}

.TopRow {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 8px;
  background: var(--card);
  border-radius: 18px;
  padding: 14px 14px 12px 14px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.TopRow:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(19, 22, 90, 0.2);
}

.productImage {
  width: 100%;
  max-width: 360px;
  height: auto;
  border: 1px solid rgba(36, 25, 141, 0.12);
  object-fit: cover;
  margin-bottom: 10px;
  border-radius: 14px; 
  box-shadow: 0 8px 18px rgba(36, 25, 141, 0.12);
}

.productInfoWrapper {
  width: 100%;
  max-width: 360px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0 0 4px 0;
  margin-bottom: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.productLayout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 10px;
  margin-bottom: 10px;
}

.productName {
  font-weight: 800;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.05rem;
  flex: 2;
  text-align: left;
  color: var(--text);
}

.productPrice {
  font-weight: 800;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.05rem;
  color: var(--primary-strong);
  flex: 1;
  text-align: right;
  display: inline;
  white-space: nowrap;
}


.cartImage {
  height: 40px;
  width: 40px;
  margin-left: 10px;
  cursor: pointer;
  transition: transform 0.15s, filter 0.15s;
}
.cartImage:hover {
  transform: scale(1.12);
  filter: drop-shadow(0 6px 10px rgba(36, 25, 141, 0.35));
}

.productDescription {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem;
  margin-top: 6px;
  text-align: left;
  color: #374151;
  width: 100%;
  line-height: 1.55;
}

.productActions {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin-top: 12px;
}

.cart-btn {
  background: linear-gradient(135deg, var(--primary-strong), var(--primary));
  color: white;
  border: none;
  padding: 10px 16px;
  font-size: 0.95rem;
  cursor: pointer;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(36, 25, 141, 0.22);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.cart-btn:hover,
.cart-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(36, 25, 141, 0.26);
  outline: none;
}

.cart-btn.added {
  background: linear-gradient(135deg, #2ea043, #1f883d);
  box-shadow: 0 12px 22px rgba(32, 152, 78, 0.24);
}

@media (max-width: 980px) {
  .Laptop-List,
  .Tablets-List,
  .Smartphones-List {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .Laptop-List,
  .Tablets-List,
  .Smartphones-List {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .TopRow {
    padding: 12px 12px 10px 12px;
  }
}
 