/*
 * Qsoft Smart Product Importer — loaded only on products imported by this plugin and only styles
 * this plugin's own elements (.qpi-*). Theme, WooCommerce and other products are untouched.
 * Look modelled on the reference shop's product page.
 */

/* ---------- Specification tab ---------- */
.qpi-sp { --qpi-blue: #3749bb; --qpi-line: #eeeeee; width: 100%; font-size: 14px; line-height: 1.5; color: #111; }
.qpi-sp .qpi-sp-title { font-family: inherit !important; color: #111 !important; font-size: 20px !important; font-weight: 700 !important; line-height: 1.3 !important; margin: 0 0 20px !important; padding: 0 !important; text-transform: none !important; letter-spacing: 0 !important; border: 0 !important; }
.qpi-sp .qpi-sp-group { margin: 0 0 20px; }
.qpi-sp .qpi-sp-head { display: block; background: rgba(55, 73, 187, .05); color: var(--qpi-blue); font-size: 16px; font-weight: 600; line-height: 1.4; padding: 10px 20px; border-radius: 5px; margin: 0 0 4px; }
.qpi-sp .qpi-sp-head span { color: inherit; font: inherit; }
.qpi-sp .qpi-sp-row { display: flex; align-items: flex-start; border-bottom: 1px solid var(--qpi-line); margin: 0; }
.qpi-sp .qpi-sp-name { flex: 0 0 30%; max-width: 30%; padding: 12px 20px; color: #666; font-weight: 400; box-sizing: border-box; word-break: break-word; }
.qpi-sp .qpi-sp-value { flex: 1 1 auto; padding: 12px 20px 12px 0; color: #111; font-weight: 500; box-sizing: border-box; word-break: break-word; }
@media (max-width: 767px) {
	.qpi-sp { font-size: 13px; }
	.qpi-sp .qpi-sp-head { font-size: 15px; padding: 9px 12px; }
	.qpi-sp .qpi-sp-name { flex-basis: 40%; max-width: 40%; padding: 10px 12px; }
	.qpi-sp .qpi-sp-value { padding: 10px 12px 10px 0; }
}

/* ---------- Key Features (short description) ---------- */
.qpi-kf { margin: 0 0 16px; }
.qpi-kf .qpi-kf-title { font-family: inherit !important; color: #111 !important; font-size: 18px !important; font-weight: 600 !important; margin: 0 0 10px !important; padding: 0 !important; text-transform: none !important; }
.qpi-kf ul { margin: 0 0 10px !important; padding: 0 !important; list-style: none !important; }
.qpi-kf li { position: relative; margin: 0 0 8px !important; padding: 0 0 0 0 !important; color: #666; font-size: 14px; line-height: 1.5; }
.qpi-kf .qpi-kf-more { display: inline-block; color: #ef4a23; font-weight: 600; font-size: 14px; text-decoration: none; border-bottom: 1px dashed currentColor; }
.qpi-kf .qpi-kf-more:hover { color: #3749bb; }

/* ---------- Questions tab ---------- */
.qpi-qa-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid #eee; padding-bottom: 14px; margin-bottom: 14px; }
.qpi-qa-head h2 { font-family: inherit !important; color: #111 !important; font-size: 20px !important; font-weight: 700 !important; margin: 0 0 6px !important; text-transform: none !important; }
.qpi-qa-head p { margin: 0; color: #666; font-size: 14px; }
.qpi-qa .qpi-qa-toggle { border: 2px solid #3749bb !important; background: #fff !important; color: #3749bb !important; border-radius: 5px; padding: 8px 18px; font-weight: 600; cursor: pointer; }
.qpi-qa .qpi-qa-toggle:hover { background: #3749bb !important; color: #fff !important; }
.qpi-qa-form { display: none; background: #f5f6fb; border-radius: 6px; padding: 16px; margin-bottom: 16px; }
.qpi-qa-open .qpi-qa-form { display: block; }
.qpi-qa-form input[type=text], .qpi-qa-form input[type=email], .qpi-qa-form textarea { width: 100%; box-sizing: border-box; }
.qpi-qa-row { display: flex; gap: 10px; }
.qpi-qa-row input { flex: 1; }
.qpi-hp { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }
.qpi-qa-notice { background: #edfaef; color: #00701a; padding: 10px 12px; border-radius: 4px; }
.qpi-qa-empty { color: #666; text-align: center; padding: 24px 0; }
.qpi-qa-item { border-bottom: 1px solid #eee; padding: 14px 0; }
.qpi-qa-item p { margin: 0 0 6px; font-size: 14px; }
.qpi-q { font-weight: 600; color: #111; }
.qpi-q span, .qpi-a span { display: inline-block; min-width: 24px; color: #3749bb; font-weight: 700; }
.qpi-a { color: #444; }
.qpi-a-wait { color: #999; font-style: italic; }
.qpi-qa-meta { color: #999; font-size: 12px !important; }

/* Used only if you choose to place specs / FAQ inside the description (Settings). */
.qpi-spec-table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.qpi-spec-table td, .qpi-spec-table th { border: 1px solid #eee; padding: 8px 12px; text-align: left; vertical-align: top; }
.qpi-faq h3 { font-size: 1.05em; margin: 1.2em 0 .3em; }
.qpi-figure { margin: 1.5em 0; text-align: center; }
.qpi-figure img { max-width: 100%; height: auto; }
.qpi-figure figcaption { font-size: .9em; color: #666; }
