/* ---------- Layout: gallery | info | buy box ---------- */
@media (min-width: 992px) {
  .catalog-product-view .amtheme-product-wrap {
    display: grid !important;
    grid-template-columns: 30% minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
  }
  /* clearfix pseudo-elements must not become grid cells */
  .catalog-product-view .amtheme-product-wrap::before,
  .catalog-product-view .amtheme-product-wrap::after {
    display: none !important;
    content: none !important;
  }
  .catalog-product-view .amtheme-product-wrap > .media {
    grid-column: 1; grid-row: 1;
  }
  .catalog-product-view .amtheme-product-wrap > .amtheme-product-info {
    grid-column: 2; grid-row: 1;
  }
  .catalog-product-view .amtheme-product-wrap > .product-buybox {
    grid-column: 3; grid-row: 1;
  }
  .catalog-product-view .amtheme-product-wrap > .media,
  .catalog-product-view .amtheme-product-wrap > .amtheme-product-info,
  .catalog-product-view .amtheme-product-wrap > .product-buybox {
    width: auto !important;
    max-width: none !important;
    float: none !important;
    margin: 0 !important;
  }
  .catalog-product-view .amtheme-product-info .product-info-main {
    width: 100% !important;
    float: none !important;
  }
}

/* ---------- Cards ---------- */
.buybox-card,
.delivery-card {
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
  margin-bottom: 16px;
}

/* ---------- Price ---------- */
.buybox-card .price-box {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}
.buybox-card .price-box::before {
  content: "MRP :";
  font-size: 13px;
  color: #555;
}
.buybox-card .price-box .price {
  font-size: 26px;
  font-weight: 700;
}
.buybox-card .price-box::after {
  content: "(Inclusive of all taxes)";
  width: 100%;
  font-size: 12px;
  color: #666;
}

/* ---------- Buttons ---------- */
.buybox-card .action.tocart,
.buybox-card .action.buy-now {
  width: 100%;
  display: block;
  border-radius: 6px;
  padding: 12px;
  font-weight: 600;
  text-align: center;
  margin-top: 10px;
  cursor: pointer;
}
.buybox-card .action.buy-now {
  background: #1f8a99;
  color: #fff;
  border: 0;
}
.buybox-card .action.tocart {
  background: #fff;
  color: #1f8a99;
  border: 1px solid #1f8a99;
}

/* ---------- Delivery check ---------- */
.delivery-label {
  font-size: 13px;
  margin: 0 0 8px;
}
.delivery-date {
  color: #c0392b;
  font-weight: 600;
}
.delivery-row {
  display: flex;
}
.delivery-row input {
  flex: 1;
  border-radius: 6px 0 0 6px;
}
.delivery-row button {
  background: #145c68;
  color: #fff;
  border: 0;
  padding: 0 18px;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
}

/* ---------- Trust badges ---------- */
.trust-badges {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  font-size: 12px;
}
.trust-badges li {
  flex: 1;
}
.trust-badges .ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 6px;
  border: 2px solid #6aa0a8;
  border-radius: 50%;
  color: #1f8a99;
  font-size: 22px;
}

/* ---------- Middle column extras ---------- */
.product-extra-info .cat-badge {
  display: inline-block;
  background: #eee;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.product-extra-info p {
  margin: 0 0 10px;
}
.product-extra-info .view-details-btn {
  display: block;
  background: #7aa022;
  color: #fff;
  text-align: center;
  padding: 10px;
  border-radius: 6px;
  margin-top: 12px;
}