/* =========================================================
   Product page — professional catalogue grid
   ========================================================= */

body.dp-product-page {
  font-family: 'Source Sans 3', 'Segoe UI', Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  background: #f5f0ea;
  color: #2b2118;
}

body.dp-product-page .main-menu2 li a {
  color: #2b2118 !important;
}

/* Page hero / breadcrumb */
.dp-product-hero {
  background: linear-gradient(180deg, #fff 0%, #f5f0ea 100%);
  border-bottom: 1px solid rgba(43, 33, 24, 0.08);
  padding: 36px 0 28px;
}

.dp-product-hero .dp-page-title {
  margin: 0 0 8px;
  font-family: 'Source Sans 3', 'Segoe UI', Tahoma, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #2b2118;
}

.dp-product-hero .dp-page-title span {
  color: #c0392b;
}

.dp-product-hero .breadcrumb {
  margin: 0;
  padding: 0;
  background: transparent;
  justify-content: flex-start;
}

.dp-product-hero .breadcrumb-item,
.dp-product-hero .breadcrumb-item a {
  font-size: 13px;
  font-weight: 500;
  color: #6b6560;
}

.dp-product-hero .breadcrumb-item a:hover {
  color: #c0392b;
  text-decoration: none;
}

.dp-product-hero .breadcrumb-item.active {
  color: #c0392b;
  font-weight: 600;
}

.dp-product-hero .breadcrumb-item + .breadcrumb-item::before {
  color: #b0a99f;
}

.dp-product-meta {
  margin-top: 10px;
  font-size: 14px;
  color: #6b6560;
}

.dp-product-meta strong {
  color: #2b2118;
}

/* Catalogue area */
.dp-product-catalogue {
  padding: 40px 0 80px;
}

.dp-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

@media (max-width: 1199px) {
  .dp-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .dp-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .dp-product-grid {
    grid-template-columns: 1fr;
  }
}

/* Product card */
.dp-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(43, 33, 24, 0.1);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(43, 33, 24, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.dp-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(192, 57, 43, 0.28);
  box-shadow: 0 14px 32px rgba(43, 33, 24, 0.1);
}

.dp-product-card-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  padding: 22px 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f3ee 100%);
  border-bottom: 1px solid rgba(43, 33, 24, 0.06);
  cursor: pointer;
}

.dp-product-card-media img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 168px;
  height: auto;
  object-fit: contain;
  object-position: center;
  transition: transform 0.3s ease;
}

.dp-product-card:hover .dp-product-card-media img {
  transform: scale(1.04);
}

.dp-product-card-view {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: #c0392b;
  border: 1px solid rgba(43, 33, 24, 0.1);
  box-shadow: 0 4px 12px rgba(43, 33, 24, 0.1);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  cursor: pointer;
}

.dp-product-card:hover .dp-product-card-view {
  opacity: 1;
  transform: translateY(0);
}

.dp-product-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
  padding: 16px 16px 18px;
}

.dp-product-card-title {
  margin: 0;
  font-family: 'Source Sans 3', 'Segoe UI', Tahoma, sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  color: #2b2118;
  cursor: pointer;
  transition: color 0.2s ease;
}

.dp-product-card-title:hover {
  color: #c0392b;
}

.dp-product-card-pricing {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
}

.dp-product-card-mrp {
  font-size: 13px;
  color: #9a9188;
  text-decoration: line-through;
}

.dp-product-card-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: #c0392b;
}

.dp-product-card-actions {
  margin-top: 4px;
}

.dp-product-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 14px;
  border: none;
  border-radius: 4px;
  background: linear-gradient(135deg, #c0392b, #e74c3c);
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(192, 57, 43, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dp-product-card-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(192, 57, 43, 0.3);
  color: #fff !important;
}

/* Empty state */
.dp-product-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border: 1px dashed rgba(43, 33, 24, 0.15);
  border-radius: 6px;
}

.dp-product-empty h3 {
  margin: 0 0 8px;
  font-family: 'Source Sans 3', 'Segoe UI', Tahoma, sans-serif;
  color: #2b2118;
}

.dp-product-empty p {
  margin: 0 0 18px;
  color: #6b6560;
}

/* Modal polish */
body.dp-product-page .modal-content {
  border: none;
  border-radius: 8px;
  overflow: hidden;
}

body.dp-product-page .modal-lg {
  max-width: 920px;
}

body.dp-product-page .modal-header {
  border-bottom: 1px solid rgba(43, 33, 24, 0.08);
  padding: 14px 18px;
}

body.dp-product-page .modal-body {
  padding: 24px;
}

body.dp-product-page .recipe-left img,
body.dp-product-page .recipe-left .mp {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

body.dp-product-page .recipe-right h2 {
  font-family: 'Source Sans 3', 'Segoe UI', Tahoma, sans-serif;
  font-size: 1.6rem;
  color: #2b2118;
  margin-bottom: 12px;
}

body.dp-product-page .recipe-right .price {
  display: block;
  margin-top: 8px;
  font-size: 1.05rem;
  color: #c0392b;
  font-weight: 700;
}

body.dp-product-page .recipe-right .strikethrough {
  color: #9a9188;
  font-weight: 500;
  text-decoration: line-through;
  margin-right: 6px;
}

.dp-product-card-mrp,
.dp-product-card-price,
.recipe-right .price {
  font-family: 'Source Sans 3', 'Segoe UI', Tahoma, sans-serif;
  font-variant-numeric: tabular-nums;
}
