/* SARAIL MARKET | clean text-free product artwork + detail navigation */
.product-image {
  background: linear-gradient(145deg, #f3f8ff 0%, #e6f1ff 52%, #d8eaff 100%) !important;
  isolation: isolate;
}
.product-image::after { content: none !important; display: none !important; }
.product-image .ai-tile,
.product-image .mock-dashboard,
.product-image .paper-stack,
.product-image .guide-book { display: none !important; }
.product-image img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-width: 0;
  min-height: 0;
  object-fit: contain !important;
  object-position: center;
  padding: 10px;
  filter: drop-shadow(0 12px 15px rgba(14, 57, 111, .13));
}
.product-card:hover .product-image img { transform: scale(1.035) !important; }
.price-pending {
  display: inline-block;
  color: #64748b;
  font-size: 12px;
  font-weight: 750;
  white-space: normal;
}
.product-info .add-cart:disabled {
  background: linear-gradient(135deg, #e8eef6, #dce6f1) !important;
  color: #64748b !important;
  border: 1px solid #d1dce9 !important;
  box-shadow: none !important;
  cursor: not-allowed;
  opacity: 1;
}
.product-back-row { display:flex; justify-content:flex-start; margin:0 0 18px; }
.product-back-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:46px;
  padding:10px 19px;
  border-radius:13px;
  color:#fff !important;
  background:linear-gradient(120deg,#1265d8,#06428f);
  border:1px solid rgba(255,255,255,.35);
  box-shadow:0 7px 18px rgba(12,75,154,.18);
  text-decoration:none !important;
  font-weight:850;
  transition:transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.product-back-button:hover { transform:translateY(-2px); box-shadow:0 10px 22px rgba(12,75,154,.23); filter:brightness(1.04); }
.product-back-button:focus-visible { outline:3px solid #71c7ff; outline-offset:3px; }
.product-detail-layout { grid-template-columns:minmax(260px,.95fr) minmax(0,1.05fr); }
.product-detail-art.product-detail-image-frame {
  min-height:340px;
  padding:18px;
  background:linear-gradient(145deg,#f3f8ff,#e4f1ff 58%,#d1e6fb) !important;
  border:1px solid #d9e7f7;
  color:inherit;
}
.product-detail-art.product-detail-image-frame::before,
.product-detail-art.product-detail-image-frame::after { border-color:rgba(42,129,204,.14); }
.product-detail-art .detail-product-image {
  display:block;
  position:relative;
  z-index:2;
  width:100%;
  height:100%;
  min-height:300px;
  max-height:470px;
  object-fit:contain;
  border-radius:16px;
  filter:drop-shadow(0 18px 20px rgba(20,68,123,.14));
}
.product-detail-actions { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.product-detail-actions .button { min-width:190px; }
.product-detail-actions .button:disabled { cursor:not-allowed; opacity:.55; }
.product-back-bottom { margin-top:34px; }
@media (max-width:760px) {
  .product-detail-art.product-detail-image-frame { min-height:230px; }
  .product-detail-art .detail-product-image { min-height:210px; max-height:330px; }
  .product-back-button { min-height:42px; padding:9px 14px; font-size:13px; }
  .product-detail-actions .button { flex:1 1 100%; width:100%; }
}
@media (prefers-reduced-motion:reduce) {
  .product-back-button,.product-image img { transition:none !important; }
  .product-back-button:hover { transform:none; }
}

/* Avoid displaying placeholder cards before the live product list arrives. */
#shopGrid { visibility: hidden; }
