/* Incense Nepal B2B — quote list, price ladder, quick order, sample box, forms.
   Uses the theme's colour variables when present, with fallbacks for other themes. */

.inp-quote, .inp-qo, .inp-ladder, .inp-sample, .inp-enquiry, .inp-tier-cards, .inp-dash, .inp-sent {
	--i-ink: var(--ink, #1C1A17);
	--i-muted: var(--muted, #5C554C);
	--i-line: var(--line, #E6DCCB);
	--i-line2: var(--line-2, #EFE6D8);
	--i-sand: var(--sand, #F3F1EE);
	--i-peach: var(--peach, #FFF7F1);
	--i-accent: var(--accent, #B5561C);
	--i-accent2: var(--accent-2, #F0965B);
	--i-moss: var(--moss-dark, #3D4B36);
	--i-mossbg: var(--moss-bg, #E7EEE3);
	--i-r: var(--radius, 14px);
	--i-rs: var(--radius-sm, 10px);
}
.inp-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.inp-small { font-size: 14px; color: var(--muted, #5C554C); }
.inp-muted { color: var(--muted, #5C554C); }
.inp-r { text-align: right; }
.inp-link { background: none; border: 0; padding: 0; color: var(--accent, #B5561C); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.inp-btn-outline, a.button.inp-btn-outline, button.button.inp-btn-outline { background: transparent !important; color: var(--ink, #1C1A17) !important; border: 1.5px solid var(--ink, #1C1A17) !important; }
.inp-btn-outline:hover { background: var(--ink, #1C1A17) !important; color: #fff !important; }
.inp-btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 16px 0 0; }
.inp-box { border-radius: var(--radius-sm, 10px); padding: 14px 16px; margin: 0 0 16px; font-size: 15px; }
.inp-box-ok { background: var(--moss-bg, #E7EEE3); color: var(--moss-dark, #3D4B36); }
.inp-box-info { background: var(--sand, #F3F1EE); }
.inp-box-tip { background: var(--peach, #FFF7F1); border: 1px solid #F6D9C4; }
.inp-warn { background: #FDF1E7; color: #8A3B22; border-radius: var(--radius-sm, 10px); padding: 10px 14px; font-size: 15px; margin: 12px 0 0; }
.inp-ok { color: var(--moss-dark, #3D4B36); font-weight: 700; font-size: 15px; margin: 12px 0 0; }
.inp-tag { font-style: normal; font-size: 12px; font-weight: 700; background: var(--moss-bg, #E7EEE3); color: var(--moss-dark, #3D4B36); padding: 2px 8px; border-radius: 999px; margin-left: 6px; }
.inp-table-wrap { overflow-x: auto; margin: 0 0 16px; -webkit-overflow-scrolling: touch; }
.inp-kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent, #B5561C); margin: 0 0 8px; }
.inp-ticks { list-style: none; padding: 0; margin: 0 0 12px; columns: 2; column-gap: 24px; }
.inp-ticks li { padding-left: 24px; position: relative; margin-bottom: 6px; break-inside: avoid; }
.inp-ticks li::before { content: '✓'; position: absolute; left: 0; color: var(--moss, #4F6146); font-weight: 700; }
.inp-next { padding-left: 1.3em; }
.inp-next li { margin-bottom: 8px; }

/* Stepper */
.inp-stepper { display: inline-flex; align-items: stretch; border: 1.5px solid var(--line, #E6DCCB); border-radius: 999px; overflow: hidden; background: #fff; }
.inp-stepper button { width: 38px; border: 0; background: transparent; font-size: 18px; cursor: pointer; color: var(--ink, #1C1A17); }
.inp-stepper button:hover { background: var(--sand, #F3F1EE); }
.inp-stepper input, .inp-stepper input[type=number] { width: 64px !important; min-width: 0; height: auto; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; text-align: center; font: inherit; font-weight: 700; padding: 8px 0 !important; margin: 0; -moz-appearance: textfield; background: transparent !important; }
.inp-stepper input::-webkit-outer-spin-button, .inp-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Prices in loops and product pages */
.inp-per, .inp-from-label { font-size: .8em; color: var(--muted, #5C554C); font-weight: 400; }
.inp-from { display: block; font-size: 15px; color: var(--moss-dark, #3D4B36); font-weight: 500; margin-top: 2px; }
.inp-pack { font-size: 14px; color: var(--muted, #5C554C); margin: 2px 0 6px; }
.inp-loop-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--muted, #5C554C); margin: 4px 0 10px; }

/* Ladder */
.inp-ladder { border: 1px solid var(--line, #E6DCCB); border-radius: var(--radius, 14px); padding: 18px 20px; margin: 18px 0 14px; background: #fff; }
.inp-ladder-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; margin-bottom: 6px; }
.inp-ladder-head h2 { font-size: 18px; margin: 0; }
.inp-ladder-head span { font-size: 14px; color: var(--muted, #5C554C); }
.inp-ladder table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0; }
.inp-ladder td { padding: 10px 8px; border-top: 1px solid var(--line-2, #EFE6D8); }
.inp-ladder tr.is-active td { background: var(--sand, #F3F1EE); font-weight: 700; }
.inp-ladder tr.is-active td:first-child { border-radius: 8px 0 0 8px; }
.inp-ladder tr.is-active td:last-child { border-radius: 0 8px 8px 0; }
.inp-ladder .inp-p { font-weight: 700; }
.inp-ladder .inp-m { color: var(--moss-dark, #3D4B36); text-align: right; font-size: 14px; }
.inp-ladder .inp-dist td { color: var(--muted, #5C554C); }
.inp-calc { margin-top: 12px; background: var(--peach, #FFF7F1); border-radius: var(--radius-sm, 10px); padding: 12px 14px; }
.inp-calc-line { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; }
.inp-calc-total { font-size: 20px; }
.inp-calc-note, .inp-calc-margin { margin: 4px 0 0; font-size: 14px; color: var(--muted, #5C554C); }
.inp-calc-margin b { color: var(--moss-dark, #3D4B36); }
.inp-order-tiers-note { font-size: 14px; color: var(--muted, #5C554C); }
.inp-sample-link { margin: 14px 0 0; }

/* Tier cards (homepage) */
.inp-tier-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.inp-tier-card { position: relative; background: #fff; border: 1px solid var(--line, #E6DCCB); border-radius: var(--radius, 14px); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.inp-tier-card.is-popular { border: 2px solid var(--accent, #B5561C); }
.inp-tier-card.is-dark { background: var(--ink, #1C1A17); color: #fff; border-color: var(--ink, #1C1A17); }
.inp-tier-card.is-dark .inp-tier-perks { color: #D9D2C7; }
.inp-tier-name { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--accent, #B5561C); }
.is-dark .inp-tier-name { color: var(--accent-2, #F0965B); }
.inp-tier-title { font-family: var(--serif, Georgia, serif); font-size: 26px; line-height: 1.2; }
.inp-tier-perks { color: var(--muted-2, #4A443C); font-size: 15px; }
.inp-tier-link { color: #fff; font-weight: 700; margin-top: 6px; }
.inp-badge { position: absolute; top: -12px; left: 18px; background: var(--accent, #B5561C); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.inp-tier-table, .inp-ship-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.inp-tier-table th, .inp-tier-table td, .inp-ship-table th, .inp-ship-table td { padding: 14px 16px; border-top: 1px solid var(--line-2, #EFE6D8); text-align: left; vertical-align: top; }
.inp-tier-table thead th, .inp-ship-table thead th { background: var(--sand, #F3F1EE); border-top: 0; }
.inp-tier-table tr.is-popular { background: var(--peach, #FFF7F1); }

/* Quote list */
.inp-quote.is-busy { opacity: .6; pointer-events: none; transition: opacity .2s; }
.inp-quote-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.inp-quote-grid > * { min-width: 0; }
.inp-line-name { overflow-wrap: anywhere; }
.inp-lines { border-top: 1px solid var(--line, #E6DCCB); }
.inp-line { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto 110px; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line, #E6DCCB); }
.inp-line-thumb img { width: 88px; height: 88px; object-fit: cover; border-radius: var(--radius-sm, 10px); background: var(--sand, #F3F1EE); }
.inp-line-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.inp-line-name { font-weight: 700; color: var(--ink, #1C1A17); text-decoration: none; }
.inp-line-pack, .inp-line-hint { font-size: 14px; color: var(--muted, #5C554C); }
.inp-line-hint { color: var(--accent, #B5561C); }
.inp-line-qty { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.inp-remove { font-size: 13px; font-weight: 500; color: var(--muted, #5C554C); }
.inp-line-total { text-align: right; font-weight: 700; font-size: 17px; }
.inp-lines-foot { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; margin: 16px 0 8px; font-size: 15px; }
.inp-request { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line, #E6DCCB); }
.inp-request h2 { font-size: 26px; }
.inp-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; margin: 18px 0; }
.inp-fields p { margin: 0 0 10px; }
.inp-fields .inp-wide { grid-column: 1 / -1; }
.inp-fields label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.inp-fields input, .inp-fields select, .inp-fields textarea, .inp-catalog-form input { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line, #E6DCCB); border-radius: var(--radius-sm, 10px); font: inherit; background: #fff; color: var(--ink, #1C1A17); }
.inp-fields input:focus, .inp-fields select:focus, .inp-fields textarea:focus { border-color: var(--ink, #1C1A17); outline: none; }
.inp-send { font-size: 17px; padding: 14px 28px !important; }
.inp-send[disabled] { opacity: .5; cursor: not-allowed; }
.inp-quote-side { display: flex; flex-direction: column; gap: 16px; }
.inp-summary { background: var(--sand, #F3F1EE); border-radius: var(--radius, 14px); padding: 22px; }
.inp-summary h2 { font-size: 22px; margin: 0 0 10px !important; padding: 0; }
.inp-summary > :first-child { margin-top: 0 !important; }
.inp-summary dl, .inp-sample-calc dl { margin: 0; }
.inp-summary dl > div, .inp-sample-calc dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(0,0,0,.07); font-size: 15px; }
.inp-summary dt, .inp-sample-calc dt { margin: 0; }
.inp-summary dd, .inp-sample-calc dd { margin: 0; font-weight: 700; text-align: right; white-space: nowrap; }
.inp-fee dd { color: var(--moss-dark, #3D4B36); }
.inp-summary .inp-ship-row { flex-wrap: wrap; align-items: flex-start; }
.inp-summary .inp-ship-row dt { display: flex; flex-direction: column; gap: 6px; flex: 1 1 0; min-width: 0; font-weight: 700; }
.inp-summary .inp-ship-row dd { flex: none; }
.inp-summary .inp-ship-row select { width: 100% !important; min-width: 0; font-weight: 400; }
.inp-ship-row select, .inp-qo-shipline select, .inp-sample-calc select { width: auto; max-width: 100% !important; padding: 6px 10px; border: 1.5px solid var(--line, #E6DCCB); border-radius: 8px; font: inherit; font-size: 14px; background: #fff; }
.inp-summary .inp-total { border-bottom: 0; font-size: 18px; padding-top: 12px; }
.inp-landed { background: #fff; border-radius: var(--radius-sm, 10px); padding: 10px 12px; font-size: 14px; margin: 10px 0 0; }
.inp-tier-nudge { font-size: 14px; color: var(--accent-dark, #8A3B22); font-weight: 700; margin: 10px 0 0; }
.inp-nudge { border: 2px dashed var(--accent-2, #F0965B); border-radius: var(--radius, 14px); padding: 18px; background: #fff; }
.inp-nudge h3 { font-size: 18px; margin: 0 0 10px; }
.inp-nudge p { font-size: 14px; color: var(--muted, #5C554C); }
.inp-bar { height: 8px; background: var(--sand, #F3F1EE); border-radius: 999px; overflow: hidden; margin: 0 0 10px; }
.inp-bar span { display: block; height: 100%; background: var(--accent-2, #F0965B); border-radius: 999px; }
.inp-empty { text-align: center; padding: 48px 16px; background: var(--sand-2, #F6F5F3); border-radius: var(--radius, 14px); }
.inp-empty .inp-btn-row { justify-content: center; }

/* Thank-you */
.inp-sent { max-width: 820px; }
.inp-sent-head { margin-bottom: 18px; }
.inp-sent-table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 15px; }
.inp-sent-table th, .inp-sent-table td { padding: 10px 12px; border-top: 1px solid var(--line-2, #EFE6D8); text-align: left; }
.inp-check { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; background: var(--moss-bg, #E7EEE3); color: var(--moss-dark, #3D4B36); font-size: 22px; font-weight: 700; }

/* Quick order */
.inp-qo-tools { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.inp-qo-search input[type=search] { width: 100%; max-width: 560px; padding: 12px 16px 12px 42px; border: 1.5px solid var(--line, #E6DCCB); border-radius: 999px; font: inherit; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%235C554C' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 16px center no-repeat !important; padding-left: 42px !important; }
.inp-qo-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.inp-chip { padding: 7px 14px; border: 1.5px solid var(--line, #E6DCCB); border-radius: 999px; background: #fff; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; color: var(--ink, #1C1A17); }
.inp-chip.is-active { background: var(--ink, #1C1A17); border-color: var(--ink, #1C1A17); color: #fff; }
.inp-qo-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.inp-qo-table th { text-align: left; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted, #5C554C); padding: 10px 12px; border-bottom: 1px solid var(--line, #E6DCCB); }
.inp-qo-table td { padding: 12px; border-bottom: 1px solid var(--line-2, #EFE6D8); vertical-align: middle; }
.inp-qo-row.has-qty { background: var(--peach, #FFF7F1); }
.inp-qo-prod { display: flex; gap: 12px; align-items: center; }
.inp-qo-prod img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; flex: none; }
.inp-qo-prod a { font-weight: 700; color: var(--ink, #1C1A17); text-decoration: none; }
.inp-qo-prod small { display: block; color: var(--muted, #5C554C); font-size: 13px; }
.inp-qo-ladder > span { display: inline-block; margin-right: 10px; color: var(--muted, #5C554C); white-space: nowrap; }
.inp-qo-ladder > span.is-active { color: var(--ink, #1C1A17); font-weight: 700; }
.inp-qo-line { font-weight: 700; white-space: nowrap; }
.inp-qo-bar { position: sticky; bottom: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line, #E6DCCB); border-radius: var(--radius, 14px); padding: 14px 18px; margin-top: 16px; box-shadow: 0 -6px 24px rgba(28,26,23,.06); }
.inp-qo-sum { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; font-size: 15px; }
.inp-qo-shipline { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; min-width: 0; max-width: 100%; }
.inp-qo-sum { min-width: 0; max-width: 100%; }
.inp-qo-shipline select { min-width: 0; max-width: 100% !important; width: auto; }
.inp-qo-per, .inp-qo-nudge { flex-basis: 100%; font-size: 14px; color: var(--muted, #5C554C); }
.inp-qo-nudge { color: var(--accent, #B5561C); font-weight: 500; }
.inp-qo-nudge:empty, .inp-qo-per:empty { display: none; }
.inp-qo-none { padding: 18px; text-align: center; background: var(--sand-2, #F6F5F3); border-radius: var(--radius-sm, 10px); }

/* Sample box */
.inp-dialog { width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 48px); border: 0; border-radius: var(--radius, 14px); padding: 32px; box-shadow: 0 24px 80px rgba(28,26,23,.25); overflow: auto; }
.inp-dialog::backdrop { background: rgba(28,26,23,.5); }
.inp-dialog-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 999px; border: 0; background: var(--sand, #F3F1EE); font-size: 24px; line-height: 1; cursor: pointer; }
.inp-sample h2 { font-size: 28px; }
.inp-sample h3 { font-size: 18px; margin-top: 18px; }
.inp-sample-calc { background: var(--sand, #F3F1EE); border-radius: var(--radius-sm, 10px); padding: 16px; margin: 16px 0; }
.inp-sample-calc .inp-total { border-bottom: 0; font-size: 17px; }
.inp-sample-form { display: flex; flex-wrap: wrap; gap: 12px; }
.inp-sample-page { max-width: 760px; }

/* Enquiry + catalog forms */
.inp-topics { border: 0; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.inp-topics legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.inp-topic { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1.5px solid var(--line, #E6DCCB); border-radius: 999px; cursor: pointer; font-size: 15px; }
.inp-topic:has(input:checked) { border-color: var(--ink, #1C1A17); background: var(--ink, #1C1A17); color: #fff; }
.inp-topic input { accent-color: var(--accent, #B5561C); margin: 0; }
.inp-catalog-form { display: flex; gap: 10px; flex-wrap: wrap; max-width: 620px; }
.inp-catalog-form input { flex: 1 1 200px; width: auto; }

/* Account */
.inp-dash { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 20px 0; }
.inp-dash-card { border: 1px solid var(--line, #E6DCCB); border-radius: var(--radius, 14px); padding: 18px; }
.inp-dash-card h3 { font-size: 18px; margin: 0 0 6px; }
.inp-dash-credit { background: var(--moss-bg, #E7EEE3); border-color: var(--moss-bg, #E7EEE3); }
.inp-buy-again { list-style: none; padding: 0; margin: 0 0 16px; }
.inp-buy-again li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-2, #EFE6D8); }
.inp-buy-again img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; }
.inp-buy-again li > span { flex: 1; min-width: 0; }
.inp-buy-again small { display: block; color: var(--muted, #5C554C); }

@media (max-width: 1080px) {
	.inp-quote-grid { grid-template-columns: minmax(0, 1fr); }
	.inp-quote-side { position: static; }
	/* Phones/tablets: products, then the estimate, then the form. */
	.inp-quote-main { display: contents; }
	.inp-quote-main > * { order: 1; min-width: 0; }
	.inp-quote-side { order: 2; }
	.inp-quote-main > .inp-request { order: 3; margin-top: 8px; }
	.inp-quote-grid { gap: 24px; }
	.inp-tier-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
	.inp-line { grid-template-columns: 64px minmax(0, 1fr); gap: 10px 14px; }
	.inp-line-thumb img { width: 64px; height: 64px; }
	.inp-line-qty { grid-column: 2; flex-direction: row; justify-content: space-between; }
	.inp-line-total { grid-column: 2; text-align: left; }
	.inp-fields { grid-template-columns: 1fr; }
	.inp-tier-cards { grid-template-columns: 1fr; }
	.inp-ticks { columns: 1; }
	.inp-dialog { padding: 24px 18px; }
	.inp-qo-table thead { display: none; }
	.inp-qo-table, .inp-qo-table tbody, .inp-qo-table tr, .inp-qo-table td { display: block; width: 100%; }
	.inp-qo-table tr { border: 1px solid var(--line, #E6DCCB); border-radius: var(--radius-sm, 10px); margin-bottom: 10px; padding: 6px 4px; }
	.inp-qo-table tr[hidden] { display: none; }
	.inp-qo-table td { border: 0; padding: 6px 10px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
	.inp-qo-table td[data-title]::before { content: attr(data-title); font-size: 13px; color: var(--muted, #5C554C); }
	.inp-qo-table td.inp-qo-prod { justify-content: flex-start; }
	.inp-qo-ladder { flex-wrap: wrap; justify-content: flex-end !important; }
	.inp-qo-bar { border-radius: 0; margin: 16px -16px 0; }
	.inp-qo-bar .button { width: 100%; text-align: center; }
	.inp-qo-shipline { flex-basis: 100%; }
	.inp-qo-shipline select { flex: 1 1 0; width: 100% !important; }
	.inp-summary dl > div { font-size: 14px; }
}
