/* ========================================
   SHREE ELECTRICALS — PRODUCT LISTING
   Shared design system (Captain reference)
======================================== */

.se-products-section {
  padding-top: 65px;
  padding-bottom: 65px;
  background-color: #f5f8f5;
}

.se-product-subtitle {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #16833a;
  margin-bottom: 10px;
}

.se-products-section .section-heading h2 {
  font-size: 34px;
  font-weight: 700;
  color: #174b2b;
  margin-bottom: 12px;
}

.se-products-section .section-heading p {
  color: #77847b;
  font-size: 15px;
  max-width: 650px;
  margin: 12px auto 0;
  line-height: 1.7;
}

.se-heading-line {
  width: 65px;
  height: 4px;
  border-radius: 5px;
  background: #16833a;
  margin: 0 auto;
}

/* Product Card */
.se-product-card {
  background: #ffffff;
  border: 1px solid #e6eee8;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s ease;
  box-shadow: 0 4px 15px rgba(23, 75, 43, 0.06);
}

.se-product-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 12px 28px rgba(23, 75, 43, 0.13);
  border-color: #b9d8c2;
}

.se-brand-label {
  background: #174b2b;
  color: #ffffff;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.se-brand-label i {
  color: #f4c542;
  margin-right: 6px;
}

.se-image-wrap {
  height: 220px;
  background: #f6faf7;
  padding: 15px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.se-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
  pointer-events: none;
}

.se-product-card:hover .se-image-wrap img {
  transform: scale(1.06);
}

.se-image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(23, 75, 43, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.se-image-overlay span {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
}

.se-product-card:hover .se-image-overlay {
  opacity: 1;
}

.se-product-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.se-product-title {
  font-size: 17px;
  font-weight: 700;
  color: #174b2b;
  line-height: 1.5;
  min-height: 50px;
  margin-bottom: 14px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.se-product-title:hover {
  color: #16833a;
}

.se-product-info {
  border-top: 1px solid #edf2ee;
  margin-bottom: 18px;
}

.se-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid #edf2ee;
  font-size: 13px;
}

.se-info-row span {
  color: #68756c;
  white-space: nowrap;
}

.se-info-row span i {
  color: #16833a;
  width: 18px;
  margin-right: 4px;
}

.se-info-row strong {
  color: #333e36;
  font-weight: 600;
  text-align: right;
  overflow-wrap: anywhere;
}

.se-price-row {
  background: #f0f8f2;
  margin: 0 -8px;
  padding: 10px 8px;
}

.se-price-row strong {
  color: #16833a;
  font-size: 15px;
  font-weight: 700;
}

.se-order-btn {
  width: 100%;
  border: none;
  border-radius: 6px;
  background: #174b2b;
  color: #ffffff;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  margin-top: auto;
  transition: all 0.3s ease;
}

.se-order-btn i {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.se-order-btn:hover {
  background: #16833a;
  color: #ffffff;
}

.se-order-btn:hover i {
  background: #ffffff;
  color: #16833a;
  transform: translateX(3px);
}

/* Enquiry banner (optional page section) */
.se-enquiry-banner {
  background: linear-gradient(120deg, #174b2b, #16833a);
  border-radius: 14px;
  padding: 32px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
}

.se-enquiry-banner-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.se-enquiry-banner-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 12px;
  background: #f4c542;
  color: #174b2b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.se-enquiry-banner h3 {
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.se-enquiry-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  margin-bottom: 0;
  line-height: 1.6;
}

.se-enquiry-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: #f4c542;
  color: #174b2b;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.se-enquiry-banner-btn:hover {
  background: #ffffff;
  color: #174b2b;
  transform: translateY(-2px);
}

/* ========================================
   PRODUCT ENQUIRY MODAL
======================================== */

.se-order-modal {
  border: none;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.se-order-header {
  background: linear-gradient(135deg, #174b2b, #16833a);
  padding: 22px 25px;
  border: none;
}

.se-order-subtitle {
  display: block;
  color: #c6e8ce;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  margin-bottom: 5px;
}

.se-order-header .modal-title {
  color: #ffffff;
  font-size: 23px;
  font-weight: 700;
}

.se-order-header .btn-close {
  opacity: 1;
  box-shadow: none;
}

.se-order-modal .modal-body {
  padding: 25px;
  background: #ffffff;
}

.se-order-product-box {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 17px;
  background: #f0f8f2;
  border: 1px solid #dceee0;
  border-radius: 10px;
  margin-bottom: 25px;
}

.se-order-product-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #174b2b;
  color: #f4c542;
  font-size: 21px;
}

.se-order-product-details {
  flex: 1;
  min-width: 0;
}

.se-order-info-label {
  color: #16833a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.se-order-product-details h6 {
  font-size: 16px;
  font-weight: 700;
  color: #174b2b;
  margin: 4px 0 8px;
  overflow-wrap: anywhere;
}

.se-order-product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.se-order-product-meta > span {
  font-size: 13px;
  color: #65736a;
}

.se-order-product-meta i {
  color: #16833a;
  margin-right: 4px;
}

.se-order-product-meta .se-order-rate {
  color: #16833a;
  font-weight: 700;
  font-size: 17px;
}

.se-order-form-heading {
  margin-bottom: 20px;
}

.se-order-form-heading h6 {
  font-size: 16px;
  color: #174b2b;
  font-weight: 700;
  margin-bottom: 5px;
}

.se-order-form-heading p {
  color: #7b847d;
  font-size: 13px;
  margin-bottom: 0;
}

.se-order-field .form-label {
  color: #35463a;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.se-order-field .form-label span {
  color: #dc3545;
}

.se-order-input-wrap {
  position: relative;
}

.se-order-input-wrap > i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #16833a;
  font-size: 14px;
  z-index: 2;
}

.se-order-input-wrap .form-control {
  height: 47px;
  border: 1px solid #dfe8e1;
  border-radius: 7px;
  background: #ffffff;
  padding: 10px 14px 10px 42px;
  font-size: 14px;
  color: #333;
  box-shadow: none;
  transition: all 0.25s ease;
}

.se-order-input-wrap .form-control::placeholder {
  color: #a0aaa3;
  font-size: 13px;
}

.se-order-input-wrap .form-control:focus {
  border-color: #16833a;
  box-shadow: 0 0 0 3px rgba(22, 131, 58, 0.09);
}

.se-order-footer {
  display: flex;
  gap: 10px;
  padding: 18px 25px;
  border-top: 1px solid #edf1ee;
  background: #f9fbf9;
}

.se-order-cancel-btn {
  padding: 11px 20px;
  border: 1px solid #d8e0da;
  background: #ffffff;
  color: #56635a;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s;
}

.se-order-cancel-btn:hover {
  background: #edf1ee;
}

.se-order-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 22px;
  border: none;
  border-radius: 6px;
  background: #174b2b;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.se-order-submit-btn:hover {
  background: #16833a;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 767px) {
  .se-products-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .se-products-section .section-heading h2 {
    font-size: 27px;
  }

  .se-image-wrap {
    height: 190px;
  }

  .se-product-body {
    padding: 14px;
  }

  .se-product-title {
    font-size: 16px;
  }

  .se-enquiry-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
  }

  .se-enquiry-banner-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .se-image-wrap {
    height: 170px;
    padding: 10px;
  }

  .se-brand-label {
    padding: 10px 12px;
    font-size: 13px;
  }

  .se-info-row {
    font-size: 12px;
  }

  .se-order-btn {
    padding: 10px 12px;
    font-size: 13px;
  }

  #orderModal .modal-dialog {
    margin: 12px;
  }

  .se-order-header {
    padding: 18px 20px;
  }

  .se-order-header .modal-title {
    font-size: 20px;
  }

  .se-order-modal .modal-body {
    padding: 20px;
  }

  .se-order-product-box {
    padding: 13px;
    gap: 12px;
  }

  .se-order-product-icon {
    width: 42px;
    height: 42px;
  }

  .se-order-footer {
    padding: 15px 20px;
  }

  .se-order-cancel-btn,
  .se-order-submit-btn {
    flex: 1;
    padding: 11px 10px;
  }
}
