/* Deepnet Product Add to Cart */
.dnpac-wrapper { max-width: 400px; width: 100%; box-sizing: border-box; font: 14px/1.4 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color:#111; }
.dnpac-title { margin: 0 0 10px; font-size: 18px; font-weight: bold; }
.dnpac-picker { margin-bottom: 12px; }
.dnpac-select { width: 100%; padding: 8px; box-sizing: border-box; }

.dnpac-controls { display: flex; gap: 8px; align-items: center; }
.dnpac-qty { flex: 1 1 auto; min-width: 0; padding: 8px; border: 1px solid #ccc; border-radius: 6px; }
.dnpac-action { flex: 0 0 auto; padding: 9px 14px; border-radius: 6px; border: 1px solid #0a66c2; background: #2d2d2d; color: #fff; cursor: pointer; margin-left: auto; }
.dnpac-action:hover { filter: brightness(0.95); background: #005f8a; }
.dnpac-tip { margin-top: 8px; min-height: 1em; color: #0a6; }
.is-hidden { display: none; }

/* Accessibility */
.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0 !important;
  border: 0 !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden;
  word-wrap: normal !important;
  clip-path: inset(50%);
  white-space: nowrap !important;
}

/* Thumbnail layout: title on left, image on right; image fits (no crop) and aligns with the action button's right edge */
.dnpac-head { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 10px; 
  margin-bottom: 10px;
  font-weight: bold; 
}
.dnpac-head .dnpac-title { 
  margin: 0; 
  flex: 1 1 auto; 
  min-width: 0; 
}
.dnpac-thumb { 
  width: 96px; 
  height: 64px; 
  object-fit: contain;   /* resize to fit, do NOT crop */
  object-position: center center;
  border: none;
  background: transparent;
}
