/* PRODUCTS PAGE STYLES */
.products-page {
  padding: 40px 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.product-detail .container {
  max-width: 1100px;
}

/* Title */
.product-title-main {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #0f172a;
}

/* GRID */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* IMAGE */
.product-image-wrapper {
  background: #f8fafc;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,.05);
  transition: .3s ease;
}

.product-main-image {
  width: 100%;
  border-radius: 12px;
  will-change: transform;
  transition: transform .4s ease;
}

.product-image-wrapper:hover .product-main-image {
  transform: scale(1.05);
}


.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
  overflow: hidden;
}

.product-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}
.product-card img {
    width: 100%;
    display: block;
}

.product-card h2 {
    padding: 15px;
    font-size: 18px;
    font-weight: 600;
}

.card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    padding: 20px;
}

.card-content h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.4;
}

.product-card:hover .card-link {
    text-decoration: underline;
}

.card-link {
    position: absolute;
    right: 15px;
    bottom: 15px;
    font-size: 14px;
    font-weight: 500;
    color: #111;
    background: rgba(255,255,255,0.9);
    padding: 6px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
}


.product-card:hover .card-link {
    background: #111;
    color: #fff;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
}

.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
/* INFO */
.product-> *:not(:last-child){
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 20px;
  gap: 24px;
}

.product-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #0f172a;
}

/* DESCRIPTION */
.product-description {
  font-size: 16px;
  line-height: 1.7;
  color: #475569;
}

.product-image-wrapper {
  position: relative;
  overflow: hidden;
  background: #f8fafc;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,.05);
  transition: .3s ease;
}

.product-image-wrapper:hover::after {
  opacity: 1;
}


/* TECH BOX */
.technical-box {
  background: #f8fafc;
  padding: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.technical-box h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #0f172a;
}

.technical-content {
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
}

/* BUTTON */
.btn-offer {
  display: inline-block;
  background: linear-gradient(135deg,#2563eb,#1e40af);
  color: white;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: .3s ease;
  width: fit-content;
}

.btn-offer:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37,99,235,.35);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}



