/* Dịch vụ sửa điện thoại (Figma 10:2094 / m 16:1282) + Liên hệ (10:2773 / m 16:1580) – blocks from inc/shortcodes-pages.php.
   Giới thiệu → about.css, Kho voucher → voucher.css. */
body.ldp.ldp-pg { background: var(--n-100); }
.ldp-pg .ldp-breadcrumb { padding: 12px 0 0; }

/* Desktop / mobile text variants */
.ldp-mb { display: none; }

/* Page wrapper (one shortcode per page) */
.ldp-pgx { display: flex; flex-direction: column; gap: 24px; padding-bottom: 56px; }
.ldp-pgx > .ldp-breadcrumb { padding: 22px 0 0; margin-bottom: -6px; }
.ldp-pgx .ldp-sbox { border-radius: 16px; }

/* Page head */
.ldp-pghead { padding: 8px 0 0; }
.ldp-pghead h1 { margin: 0 0 8px; font: 700 32px/1.3 var(--font); color: var(--blue-600); }
.ldp-pghead p { margin: 0; font-size: 15px; color: var(--n-500); }

/* Shared */
.ldp-sbox { background: #fff; border-radius: 20px; padding: 32px; }
.ldp-sbox .ldp-section-head { margin-bottom: 20px; }
.ldp-sbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 10px; font: 600 15px/1.2 var(--font); white-space: nowrap; transition: filter .15s var(--ease), background-color .15s var(--ease); }
.ldp-sbtn:hover { filter: brightness(.96); }
.ldp-sbtn--red { background: var(--red-500); color: #fff !important; }
.ldp-sbtn--white { background: #fff; color: var(--blue-600) !important; }
.ldp-sbtn--line { border: 1px solid #fff; color: #fff !important; }
.ldp-sbtn--line:hover { background: rgba(255, 255, 255, .12); }
.ldp-sbtn--zalo { background: #0068ff; color: #fff !important; }

/* Hero */
.ldp-shero { display: flex; align-items: center; gap: 40px; padding: 48px; border-radius: 20px; background: linear-gradient(90deg, #0f3663, #1f70c4); color: #fff; overflow: hidden; }
.ldp-shero__tx { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.ldp-shero__tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--red-500); font: 700 12px/1.2 var(--font); }
.ldp-shero h1 { margin: 0; font: 800 42px/1.25 var(--font); color: #fff; }
.ldp-shero p { margin: 0; font-size: 17px; line-height: 1.55; }
.ldp-shero__checks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.ldp-shero__checks li { display: flex; align-items: center; gap: 8px; font: 500 14px/1.5 var(--font); }
.ldp-shero__checks i { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--green); }
.ldp-shero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.ldp-shero__img { flex: 0 0 460px; height: 360px; border-radius: 20px; overflow: hidden; background: #fff; }
.ldp-shero__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* "Dịch vụ sửa chữa" – 12 groups */
.ldp-sg { display: flex; flex-direction: column; gap: 20px; }
.ldp-sg__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.ldp-pgx .ldp-sg__title { margin: 0 0 4px; font: 700 24px/1.3 var(--font); color: var(--blue-600); }
.ldp-sg__head p { margin: 0; font-size: 14px; color: #5b6b82; }
.ldp-sg__head > small { font: 500 13px/1.4 var(--font); color: #5b6b82; white-space: nowrap; }
.ldp-sg__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.ldp-sg__card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 16px; border: 1px solid #e3eaf3; border-radius: 12px; background: #fff; color: var(--n-900) !important; transition: border-color .15s var(--ease), box-shadow .15s var(--ease), background-color .15s var(--ease); }
.ldp-sg__card:hover { border-color: var(--blue-500); box-shadow: var(--shadow-sm); }
.ldp-sg__card.is-active { border-color: var(--blue-600); background: var(--blue-50); }
.ldp-sg__ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); }
.ldp-sg__card.is-active .ldp-sg__ic { background: var(--blue-600); color: #fff; }
.ldp-sg__card b { font: 700 15px/1.35 var(--font); }
.ldp-sg__price { font: 800 16px/1.2 var(--font); color: var(--red-500); }
.ldp-sg__price small { font: 400 12px/1 var(--font); color: #5b6b82; }
.ldp-sg__n { font: 500 12px/1.3 var(--font); color: var(--blue-600); }

/* "Bảng giá dịch vụ" */
.ldp-st { scroll-margin-top: calc(var(--header-h, 120px) + 12px); }
.ldp-st__head { margin-bottom: 20px; }
.ldp-pgx .ldp-st__title { margin: 0 0 6px; font: 700 26px/1.3 var(--font); color: var(--blue-600); }
.ldp-st__head p { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: 14px; line-height: 1.5; color: #5b6b82; }
.ldp-st__head p .ldp-icon { flex: none; margin-top: 2px; }
.ldp-st__body { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 24px; align-items: start; }
.ldp-st__menu { display: flex; flex-direction: column; gap: 2px; position: sticky; top: calc(var(--header-h, 120px) + 12px); }
.ldp-st__menu button { display: flex; align-items: center; gap: 10px; width: 100%; height: 40px; padding: 0 12px 0 14px; border: 0; border-radius: 10px; background: none; font: 500 14px/1.3 var(--font); color: var(--n-800); text-align: left; cursor: pointer; transition: background-color .15s var(--ease); }
.ldp-st__menu button .ldp-icon { flex: none; color: #5b6b82; }
.ldp-st__menu button span { flex: 1; min-width: 0; }
.ldp-st__menu button em { min-width: 24px; padding: 2px 6px; border-radius: 999px; background: var(--n-100); font: normal 600 11px/1.3 var(--font); color: #5b6b82; text-align: center; }
.ldp-st__menu button:hover { background: var(--n-100); }
.ldp-st__menu button.is-active { background: var(--blue-50); color: var(--blue-600); font-weight: 700; }
.ldp-st__menu button.is-active .ldp-icon { color: var(--blue-600); }
.ldp-st__menu button.is-active em { background: var(--blue-600); color: #fff; }
.ldp-st__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.ldp-pgx .ldp-st__cur { margin: 0; font: 700 20px/1.3 var(--font); color: var(--n-900); }
.ldp-st__tabs { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--n-100); }
.ldp-st__tabs button { height: 30px; padding: 0 16px; border: 0; border-radius: 999px; background: none; font: 500 13px/1 var(--font); color: #5b6b82; cursor: pointer; }
.ldp-st__tabs button.is-active { background: #fff; color: var(--n-900); font-weight: 700; box-shadow: 0 1px 3px rgba(15, 33, 64, .12); }
.ldp-st__tabs button.is-dim:not(.is-active) { opacity: .45; }
.ldp-st__panel { border: 1px solid #e3eaf3; border-radius: 12px; overflow: hidden; }
.ldp-st__th { display: flex; justify-content: space-between; padding: 12px 132px 12px 20px; background: #f6f8fb; border-bottom: 1px solid #e3eaf3; font: 500 13px/1.4 var(--font); color: #5b6b82; }
.ldp-st__grp { padding: 10px 20px; background: #f6f9fd; border-bottom: 1px solid #e3eaf3; font: 700 13px/1.3 var(--font); color: var(--blue-600); }
.ldp-st__row { display: flex; align-items: center; gap: 16px; min-height: 57px; padding: 8px 20px; border-bottom: 1px solid #edf1f6; }
.ldp-st__row:last-of-type { border-bottom: 0; }
.ldp-st__row > span { flex: 1; min-width: 0; font: 500 15px/1.45 var(--font); color: var(--n-900); }
.ldp-st__row > b { flex: none; font: 800 16px/1.3 var(--font); color: var(--red-500); white-space: nowrap; }
.ldp-st__book { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid var(--blue-600); border-radius: 8px; font: 600 13px/1 var(--font); color: var(--blue-600) !important; transition: background-color .15s var(--ease), color .15s var(--ease); }
.ldp-st__book:hover { background: var(--blue-600); color: #fff !important; }
.ldp-st__row[hidden], .ldp-st__grp[hidden] { display: none; }
.ldp-st__empty { margin: 0; padding: 24px 20px; font-size: 14px; color: #5b6b82; text-align: center; }

/* Steps */
.ldp-ssteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ldp-ssteps li { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px; text-align: center; }
.ldp-ssteps__ic { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-50); color: var(--blue-600); }
.ldp-ssteps small { font: 700 12px/1.4 var(--font); color: var(--red-500); }
.ldp-ssteps h3 { margin: 0; font: 700 16px/1.4 var(--font); color: var(--n-900); }
.ldp-ssteps p { margin: 0; max-width: 220px; font-size: 12px; line-height: 1.5; color: var(--n-500); }

/* FAQ */
.ldp-sprice { scroll-margin-top: calc(var(--header-h, 120px) + 16px); }
.ldp-sfaq { display: flex; flex-direction: column; gap: 20px; }
.ldp-sfaq details { border: 1px solid var(--n-200); border-radius: 12px; background: #fff; }
.ldp-sfaq details[open] { border-color: var(--blue-500); background: var(--blue-50); }
.ldp-sfaq summary { display: flex; align-items: center; gap: 10px; padding: 16px 20px; list-style: none; cursor: pointer; font: 600 14px/1.5 var(--font); color: var(--n-900); }
.ldp-sfaq summary::-webkit-details-marker { display: none; }
.ldp-sfaq summary .ldp-icon { margin-left: auto; flex: none; transition: transform .2s var(--ease); }
.ldp-sfaq details[open] summary { padding-bottom: 8px; }
.ldp-sfaq details[open] summary .ldp-icon { transform: rotate(180deg); }
.ldp-sfaq details > div { padding: 0 20px 16px; font-size: 14px; line-height: 1.55; color: var(--n-700); }

/* CTA */
.ldp-scta { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 32px 40px; border-radius: 20px; background: var(--red-500); color: #fff; }
.ldp-scta h2 { margin: 0 0 6px; font: 700 24px/1.3 var(--font); color: #fff; }
.ldp-scta p { margin: 0; font-size: 14px; line-height: 1.55; }
.ldp-scta__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.ldp-scta .ldp-sbtn--white { color: var(--red-500) !important; font-weight: 700; }

/* Contact */
.ldp-cbox { height: 100%; padding: 24px 32px 28px; }
.ldp-cbox h2 { margin: 0 0 8px; font: 700 22px/1.4 var(--font); color: var(--blue-600); }
.ldp-cbox__sub { margin: 0 0 18px; font-size: 13px; color: var(--n-500); }
.ldp-cbox .ldp-cinfo__row:last-child { border-bottom: 0; }
.ldp-cbox .ldp-form .ldp-btn { min-height: 46px; }
.ldp-cbox__mbtns { display: none; }
/* Fluent Forms trong khung "Gửi yêu cầu" (02/12) – giống .ldp-form cũ */
.ldp-cbox .fluentform .ff-el-group { margin-bottom: 14px; }
.ldp-cbox .fluentform .ldp-ff-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 0; }
.ldp-cbox .fluentform .ldp-ff-row2 .ff-t-cell { flex-basis: auto !important; width: auto; padding: 0 !important; }
.ldp-cbox .fluentform .ff-el-input--label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ldp .ldp-cbox .fluentform .ff-el-form-control {
	width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--n-250); border-radius: var(--r-sm); background-color: #fff; font: 400 15px/1.4 var(--font); color: var(--n-900); box-shadow: none; outline: 0; transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.ldp .ldp-cbox .fluentform textarea.ff-el-form-control { min-height: 120px; resize: vertical; }
.ldp .ldp-cbox .fluentform .ff-el-form-control:focus { border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(79, 147, 222, .18); }
.ldp-cbox .fluentform .ff-el-form-control::placeholder { color: #9ca3af; opacity: 1; }
.ldp-cbox .fluentform .ff-el-is-error .ff-el-form-control { border-color: var(--red-500); }
.ldp-cbox .fluentform .error.text-danger { margin-top: 4px; font-size: 12px; color: var(--red-500); }
.ldp-cbox .fluentform .ff_submit_btn_wrapper { margin: 0; }
.ldp .ldp-cbox .fluentform .ff-btn-submit { min-height: 46px; padding: 0 24px; border-radius: var(--r-sm); font-weight: 700; font-size: 15px; }
.ldp-cbox .ff-message-success { margin: 0; padding: 14px 16px; border: 1px solid #b7e4c7; border-radius: var(--r-sm); background: #ecfdf3; color: var(--green); font-size: 14px; box-shadow: none; }
.ldp-cbox .ff-message-success p { margin: 0; }
.ldp-smap { border-radius: 20px; overflow: hidden; background: var(--n-200); line-height: 0; }
.ldp-smap iframe { width: 100%; border: 0; display: block; }
#gui-yeu-cau { scroll-margin-top: calc(var(--header-h, 120px) + 16px); }

/* About page (legacy native Elementor widgets inside white cards) */
.ldp-pg .ldp-card-box { border: 0; border-radius: 20px; }

@media (max-width: 1200px) {
	.ldp-sg__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
	.ldp-shero__img { flex-basis: 380px; height: 320px; }
	.ldp-st__body { grid-template-columns: 220px minmax(0, 1fr); }
}
@media (max-width: 991px) {
	.ldp-dt { display: none !important; }
	.ldp-mb { display: inline; }
	.ldp-pgx { gap: 8px; padding-bottom: 24px; }
	.ldp-pgx > .ldp-breadcrumb { padding: 12px 0 4px; margin: 0; }
	.ldp-pgx--svc > .ldp-breadcrumb { display: none; }
	.ldp-pgx--svc > section { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); border-radius: 0 !important; }
	.ldp-pghead h1 { font-size: 24px; }
	.ldp-pghead p { font-size: 14px; }
	.ldp-sbox { padding: 20px 16px; border-radius: 16px; }
	.ldp-shero { flex-direction: column; align-items: stretch; gap: 16px; padding: 20px 16px 24px; border-radius: 16px; background: linear-gradient(160deg, #0f3663, #1f70c4); }
	.ldp-shero__tx { gap: 12px; }
	.ldp-shero__tag { font-size: 11px; padding: 5px 10px; }
	.ldp-shero h1 { font-size: 26px; line-height: 1.3; }
	.ldp-shero p { font-size: 14px; }
	.ldp-shero__checks { display: none; }
	.ldp-shero__img { flex: none; height: 200px; border-radius: 12px; }
	.ldp-shero__btns { width: 100%; flex-wrap: nowrap; }
	.ldp-shero__btns .ldp-sbtn { flex: 1; padding: 0 14px; min-height: 46px; }
	/* groups */
	.ldp-sg { gap: 14px; }
	.ldp-sg__head > small { display: none; }
	.ldp-pgx .ldp-sg__title { font-size: 22px; }
	.ldp-sg__head p { font-size: 13px; }
	.ldp-sg__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.ldp-sg__card { align-items: center; text-align: center; gap: 6px; padding: 12px 6px; }
	.ldp-sg__ic { width: 38px; height: 38px; border-radius: 10px; }
	.ldp-sg__ic .ldp-icon { width: 20px; height: 20px; }
	.ldp-sg__card b { font-size: 13px; }
	.ldp-sg__price { font-size: 13px; }
	.ldp-sg__price small { font: 800 13px/1 var(--font); color: var(--red-500); }
	.ldp-sg__n { display: none; }
	/* table */
	.ldp-pgx .ldp-st__title { font-size: 22px; }
	.ldp-st__head { margin-bottom: 14px; }
	.ldp-st__head p { font-size: 12px; }
	.ldp-st__body { display: block; }
	.ldp-st__menu { position: static; flex-direction: row; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 12px; padding: 0 16px; }
	.ldp-st__menu::-webkit-scrollbar { display: none; }
	.ldp-st__menu button { flex: none; width: auto; height: 34px; padding: 0 14px; border: 1px solid var(--n-250); border-radius: 999px; background: #fff; font-size: 13px; }
	.ldp-st__menu button em { display: none; }
	.ldp-st__menu button.is-active { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
	.ldp-st__menu button.is-active .ldp-icon { color: #fff; }
	.ldp-pgx .ldp-st__cur { display: none; }
	.ldp-st__bar { margin-bottom: 12px; }
	.ldp-st__tabs { display: flex; width: 100%; }
	.ldp-st__tabs button { flex: 1; padding: 0 6px; height: 34px; }
	.ldp-st__th { display: none; }
	.ldp-st__grp { padding: 9px 14px; font-size: 12px; }
	.ldp-st__row { gap: 10px; min-height: 53px; padding: 8px 8px 8px 14px; }
	.ldp-st__row > span { font-size: 14px; line-height: 1.35; }
	.ldp-st__row > b { font-size: 14px; }
	.ldp-st__book { width: 34px; height: 34px; padding: 0; justify-content: center; }
	.ldp-st__book span { display: none; }
	/* steps / faq / cta */
	.ldp-ssteps { grid-template-columns: 1fr 1fr; gap: 8px; }
	.ldp-ssteps li { padding: 8px 4px; gap: 6px; }
	.ldp-ssteps__ic { width: 48px; height: 48px; }
	.ldp-ssteps__ic .ldp-icon { width: 22px; height: 22px; }
	.ldp-ssteps h3 { font: 500 13px/1.35 var(--font); }
	.ldp-ssteps p { display: none; }
	.ldp-sfaq { gap: 10px; }
	.ldp-scta { flex-direction: column; align-items: flex-start; padding: 24px 20px; border-radius: 16px; }
	.ldp-scta h2 { font-size: 20px; }
	.ldp-scta__btns { width: 100%; }
	.ldp-scta__btns .ldp-sbtn { flex: 1; padding: 0 12px; }
	/* contact */
	.ldp-cbox { padding: 20px 16px; }
	.ldp-cbox h2 { font-size: 20px; }
	.ldp-cbox--info > h2 { display: none; }
	.ldp-cbox--info .ldp-cinfo__row { border-bottom: 0; padding: 12px 0; }
	.ldp-cbox--info .ldp-cinfo__row > a, .ldp-cbox--info .ldp-cinfo__row--zalo { display: none; }
	.ldp-cbox--info .ldp-cinfo__tx b { font-size: 13px; }
	.ldp-cbox__sub { display: none; }
	.ldp-cbox__mbtns { display: flex; gap: 8px; margin-top: 8px; }
	.ldp-cbox__mbtns .ldp-sbtn { flex: 1; min-height: 46px; padding: 0 12px; }
	.ldp-cbox__mbtns .ldp-sbtn--zalo { background: #4f93de; }
	.ldp-smap { border-radius: 16px; }
	.ldp-smap iframe { height: 320px; }
}
@media (max-width: 991px) {
	.ldp-cbox .ldp-form .ldp-btn { align-self: stretch; justify-content: center; }
	.ldp .ldp-cbox .fluentform .ff-btn-submit { width: 100%; justify-content: center; }
	.ldp-cbox .fluentform .ldp-ff-row2 { grid-template-columns: 1fr; gap: 0; }
}
