/* N-027 package view (inc/package-view.php) */
.ink-pkg { margin: 12px 0 6px; padding-top: 14px; border-top: 1px solid #e3e3e3; }
.ink-pkg-top { display: flex; align-items: stretch; gap: 16px; margin-bottom: 12px; }
.ink-pkg-base-price { display: flex; flex-direction: column; justify-content: center; flex: 0 0 auto; }
.ink-pkg-label { font-size: 15px; color: #333; }
.ink-pkg-amount { font-size: 36px; font-weight: 800; line-height: 1.05; color: #e2017b; white-space: nowrap; }
.ink-pkg-cur { font-size: .75em; }
.ink-pkg-short { flex: 1 1 auto; display: flex; align-items: center; background: #f1f1f1; border-radius: 6px; padding: 10px 14px; font-size: 14px; color: #333; }
.ink-pkg-short p { margin: 0; }
.ink-pkg-buybar { display: flex; align-items: center; gap: 10px; margin: 0; }
.ink-pkg-buybar .quantity { margin: 0 !important; flex: 0 0 auto; }
.ink-pkg .button { min-height: 42px; border-radius: 6px; font-size: 15px; font-weight: 700; padding: 0 16px; line-height: 1; }
.ink-pkg-buy { flex: 1 1 0; background: #1a73e8 !important; color: #fff !important; border: 0 !important; }
.ink-pkg-buy:hover { background: #155fc0 !important; }
.ink-pkg-add { background: #fff !important; color: #e2017b !important; border: 2px solid #e2017b !important; }
.ink-pkg-add:hover { background: #e2017b !important; color: #fff !important; }
.ink-pkg-buybar .ink-pkg-add { flex: 1 1 0; }
.ink-pkg-list { margin-top: 16px; }
.ink-pkg-title { font-size: 18px; font-weight: 800; margin: 0 0 8px; }
.ink-pkg-title span { border-bottom: 3px solid #e2017b; }
.ink-pkg-table { border: 1px solid #d9d9d9; border-radius: 6px; }
.ink-pkg-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; margin: 0; padding: 8px 12px; }
.ink-pkg-row + .ink-pkg-row { border-top: 1px solid #e3e3e3; }
.ink-pkg-name { font-size: 15px; color: #222; line-height: 1.3; }
.ink-pkg-row-price { font-size: 20px; font-weight: 800; color: #e2017b; white-space: nowrap; }
.ink-pkg-row .button { min-height: 36px; font-size: 14px; padding: 0 14px; white-space: nowrap; }
@media (max-width: 575px) {
	.ink-pkg-top { flex-direction: column; gap: 8px; }
	.ink-pkg-buybar { flex-wrap: wrap; }
	.ink-pkg-buybar .ink-pkg-buy { flex: 1 1 calc(100% - 130px); }
	.ink-pkg-buybar .ink-pkg-add { flex: 1 1 100%; }
	.ink-pkg-row { gap: 8px; padding: 8px 10px; }
	.ink-pkg-name { font-size: 14px; }
	.ink-pkg-row-price { font-size: 17px; }
	.ink-pkg-row .button { padding: 0 10px; font-size: 13px; }
}

/* Woodmart sets form.cart{display:flex} and form.cart>*{flex:1 1 100%}; override inside the block. */
.ink-pkg form.cart.ink-pkg-buybar { display: flex; flex-wrap: nowrap; gap: 10px; }
.ink-pkg form.cart.ink-pkg-buybar > * { flex: 1 1 0; }
.ink-pkg form.cart.ink-pkg-buybar > .quantity, .ink-pkg form.cart.ink-pkg-buybar > input[type=hidden] { flex: 0 0 auto; }
.ink-pkg form.cart.ink-pkg-row { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; }
.ink-pkg form.cart.ink-pkg-row > * { flex: none; }
.ink-pkg form.cart.ink-pkg-row .button { width: auto; }
@media (max-width: 575px) {
	.ink-pkg form.cart.ink-pkg-buybar { flex-wrap: wrap; }
	.ink-pkg form.cart.ink-pkg-buybar > .ink-pkg-add { flex: 1 1 100%; }
	.ink-pkg form.cart.ink-pkg-row { gap: 8px; }
}

/* The stock line above floats; start the block below it. */
.ink-pkg { clear: both; }
.summary-inner > p.price:empty { display: none; }
