﻿/* ==========================================================================
   House of Serene — Kalles inner pages
   Cart, wishlist, checkout start/confirmation, account (Identity), content
   pages, blog, 404. Linked from each view's `@section head` AFTER the view's
   own inline <style>, so equal-specificity rules here win.
   Pure presentation: no ids / js-* hooks are targeted for behaviour.
   Derived from Kalles: hdt-main-heading (page title banner), hdt-cart-drawer
   (line items, totals, free-ship bar), hdt-customer (login/register/account),
   hdt-contact-form, hdt-accordion (FAQ), hdt-blog.
   ========================================================================== */

/* ── Page title banner (Kalles hdt-main-heading: photo + 0.54 overlay) ───── */
.u-banner { background: #222 url('/images/home/shop-banner.jpg') center/cover no-repeat; margin-bottom: 0; }
.u-banner::before { background: rgba(0,0,0,0.54); }
.u-banner .container { padding-top: 80px; padding-bottom: 80px; }
.u-banner h1, .u-banner .u-banner__title {
  font-family: var(--font-sans); font-size: 2.1rem; font-weight: 500; line-height: 1.1;
  color: #fff; margin: 0 0 12px; letter-spacing: 0;
}
.u-banner__crumbs { gap: 6px; font-size: 14px; color: rgba(255,255,255,.85); flex-wrap: wrap; }
.u-banner__crumbs a { color: #fff; transition: color .2s; }
.u-banner__crumbs a:hover { color: var(--accent); text-decoration: none; }
@media (max-width: 767px) {
  .u-banner .container { padding-top: 44px; padding-bottom: 44px; }
  .u-banner h1, .u-banner .u-banner__title { font-size: 1.5rem; }
}

/* ── Shared Kalles form controls ─────────────────────────────────────────── */
.auth-field input:not([type=checkbox]):not([type=radio]),
.auth-field select, .auth-field textarea,
.form-field input, .form-field textarea, .form-field select {
  border: 1px solid #ddd; border-radius: 0; min-height: 46px; padding: 10px 18px;
  font-size: 14px; color: var(--dark); background: #fff; transition: border-color .2s;
  width: 100%; max-width: 100%;
}
.form-field textarea { min-height: 150px; }
.auth-field input:focus, .auth-field select:focus, .auth-field textarea:focus,
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--dark); outline: none; }
.auth-field label, .form-field label { font-size: 14px; font-weight: 400; color: var(--dark); text-transform: none; letter-spacing: 0; }
.field-validation-error { color: var(--red); font-size: 13px; }
.auth-error { border: 1px solid var(--red); background: rgba(236,1,1,.04); border-radius: 0; color: var(--red); }
.auth-error ul { margin: 0; padding-left: 18px; }
.auth-success { border: 1px solid var(--green); background: rgba(66,132,69,.06); color: var(--green); border-radius: 0; }

/* ── Cart page (Kalles cart: bordered rows, pill qty stepper, grey totals box) ── */
.cart-page { padding-top: 60px; }
.cart-table-head {
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em;
  color: var(--dark); border-bottom: 1px solid #ddd; padding: 0 0 14px;
}
.cart-row { border-bottom: 1px solid #eee; padding: 30px 0; }
/* Kalles hdt-page-cart__img is 120px wide; the quantity pill has a foreground-coloured border. */
.cart-product-img { border-radius: 0; background: #f6f6f8; width: 120px; }
.cart-product-name { font-size: 15px; font-weight: 500; color: var(--dark); }
.cart-product-name:hover { color: var(--accent); }
.cart-product-code, .cart-product-meta, .cart-stock { font-size: 13px; color: var(--mid); }
.cart-price, .cart-total-cell { font-size: 15px; font-weight: 500; }
.cart-total-cell { color: var(--dark); }
.cart-qty { border: 1px solid var(--dark); border-radius: 40px; height: 40px; background: #fff; }
.cart-qty-btn { height: 38px; width: 34px; color: var(--dark); background: none; }
.cart-qty-btn:hover:not(:disabled) { color: var(--accent); background: none; }
.cart-qty-input { height: 38px; width: 40px; background: transparent; -moz-appearance: textfield; }
.cart-qty-input::-webkit-outer-spin-button, .cart-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-remove { color: var(--dark); }
.cart-remove:hover { color: var(--red); background: none; }
.cart-summary { background: #f6f6f8; border: 0; border-radius: 0; padding: 30px; }
.cart-summary h3 {
  font-family: var(--font-sans); font-size: 16px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .04em; border-bottom: 1px solid #ddd; padding-bottom: 14px;
}
.cart-summary .summary-row { font-size: 14px; }
.cart-summary .summary-row.total { font-size: 18px; font-weight: 600; border-top-color: #ddd; }
.cart-checkout, .cart-summary .btn-primary { height: 46px; border-radius: 40px; background: var(--dark); border-color: var(--dark); color: #fff; }
.cart-checkout:hover, .cart-summary .btn-primary:hover { background: var(--accent); border-color: var(--accent); }
.cart-continue .btn { border-radius: 40px; height: 44px; }
.cart-empty h2 { font-weight: 500; }
/* Free-shipping bar — Kalles hdt-cart-threshold look */
.fsb__track { height: 6px; background: #e6e6e6; border-radius: 6px; overflow: visible; }
.fsb__fill { background: var(--accent); border-radius: 6px; }
.fsb--done .fsb__fill { background: var(--green); }
.fsb__text { font-size: 14px; color: var(--dark); }
@media (max-width: 767px) {
  .cart-page { padding-top: 30px; }
  .cart-product-img { width: 80px; }
  .cart-summary { padding: 22px 18px; }
}

/* ── Wishlist ─────────────────────────────────────────────────────────────── */
.wishlist-count { font-size: 14px; color: var(--mid); }

/* ── Checkout start / confirmation ────────────────────────────────────────── */
.checkout-start .btn, .confirm-wrap .btn { border-radius: 40px; }
.confirm-card, .checkout-step { border-radius: 0 !important; border-color: #eee !important; }
.confirm-wrap h1 { font-family: var(--font-sans); font-weight: 500; }

/* ── Customer auth (Kalles hdt-customer) ─────────────────────────────────── */
.auth-wrap { max-width: 520px; padding: 70px 15px 90px; }
.auth-card { border: 0; border-radius: 0; padding: 0; background: transparent; }
.auth-title {
  font-family: var(--font-sans); font-size: 1.35rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .02em; text-align: left; margin-bottom: 10px;
}
.auth-subtitle { text-align: left; font-size: 14px; color: var(--mid); margin-bottom: 26px; }
.auth-wrap .btn-primary, .auth-wrap .btn-outline { height: 46px; border-radius: 40px; }
.auth-footer { text-align: left; }
.auth-footer a, .auth-check a { color: var(--dark) !important; text-decoration: underline; font-weight: 400 !important; }
.auth-footer a:hover, .auth-check a:hover { color: var(--accent) !important; }
.auth-social-btn { border: 1px solid #ddd; border-radius: 40px; height: 46px; }
.auth-social-btn:hover { border-color: var(--dark); }
.auth-fieldset { border: 1px solid #eee; border-radius: 0; }
/* Login: Kalles side-by-side "Login | New customer" */
.auth-wrap--split { max-width: 1100px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: start; }
.auth-wrap--split > .auth-card { padding: 0 60px; }
.auth-wrap--split > .auth-card:first-child { border-right: 1px solid #eee; }
.kp-perks { list-style: none; padding: 0; margin: 0 0 28px; font-size: 14px; color: var(--mid); }
.kp-perks li { position: relative; padding-left: 22px; margin-bottom: 10px; }
.kp-perks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 6px; border-left: 2px solid var(--dark); border-bottom: 2px solid var(--dark); transform: rotate(-45deg); }
@media (max-width: 767px) {
  .auth-wrap { padding: 40px 15px 60px; }
  .auth-wrap--split { grid-template-columns: 1fr; gap: 44px; }
  .auth-wrap--split > .auth-card { padding: 0; }
  .auth-wrap--split > .auth-card:first-child { border-right: 0; border-bottom: 1px solid #eee; padding-bottom: 40px; }
}

/* ── Account dashboard (left nav + content) ───────────────────────────────── */
.account-layout { gap: 40px; padding-top: 60px; padding-bottom: 80px; }
.account-nav { border: 1px solid #eee; border-radius: 0; padding: 0; background: #fff; }
.account-nav a, .account-nav button {
  display: block; width: 100%; text-align: left; border-radius: 0 !important; padding: 13px 20px;
  font-size: 14px; font-weight: 400; color: var(--dark); border-bottom: 1px solid #eee; background: none;
}
.account-nav > :last-child, .account-nav form:last-child button { border-bottom: 0; }
.account-nav a:hover { background: #f6f6f8; color: var(--accent); }
.account-nav a.active { background: var(--dark); color: #fff; }
.account-profile-header { border-radius: 0; }
.account-avatar { background: var(--dark); color: #fff; }
.account-card, .tracking-card, .order-card { border: 1px solid #eee !important; border-radius: 0 !important; box-shadow: none; }
.account-content h2, .account-card h2 { font-family: var(--font-sans); font-weight: 600; }
.account-content .btn { border-radius: 40px; }
.order-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.order-table th { text-align: left; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--dark); background: #f6f6f8; padding: 12px 14px; border-bottom: 1px solid #eee; }
.order-table td { padding: 14px; border-bottom: 1px solid #eee; vertical-align: middle; }
.order-table-wrap { border: 1px solid #eee; border-radius: 0; overflow-x: auto; }
.order-action-btn { border-radius: 40px; }
.pref-chip { border-radius: 40px; }
@media (max-width: 767px) {
  .account-layout { padding-top: 30px; padding-bottom: 50px; }
}

/* ── Static / content pages ───────────────────────────────────────────────── */
.static-page-body { max-width: 900px; margin: 0 auto; padding: 60px 0 80px; font-size: 15px; line-height: 1.8; color: #555; }
.static-page-body h2, .static-page-body h3, .static-page-title {
  font-family: var(--font-sans); color: var(--dark); font-weight: 600; margin: 32px 0 14px;
}
.static-page-body h2 { font-size: 1.35rem; }
.static-page-body h3 { font-size: 1.1rem; }
.static-page-body img { max-width: 100%; height: auto; }
.static-page-body blockquote { background: #f5f5f5; font-family: var(--font-accent); font-style: italic; padding: 28px 32px; margin: 30px 0; border: 0; }
.static-page-body a { color: var(--dark); text-decoration: underline; }
.static-page-body a:hover { color: var(--accent); }
.static-page-body table { width: 100%; border-collapse: collapse; }
.static-page-body th, .static-page-body td { border: 1px solid #eee; padding: 10px 12px; }
.policy-jump a { border-radius: 40px; }

/* FAQ / Help centre — Kalles accordion look */
.faq-item { border: 0; border-bottom: 1px solid #eee; border-radius: 0; margin: 0; background: transparent; }
.faq-item:first-of-type { border-top: 1px solid #eee; }
.faq-item summary { padding: 18px 44px 18px 0; font-size: 15px; font-weight: 500; }
.faq-item summary::after { right: 4px; color: var(--dark); }
.faq-item[open] summary { color: var(--accent); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-answer { padding: 0 0 20px; color: var(--mid); font-size: 14px; }
.help-contact { background: #f6f6f8; border: 0 !important; border-radius: 0 !important; }

/* Contact — Kalles hdt-contact-form */
.contact-layout { padding-top: 60px; }
.contact-card, .contact-info-card { border: 0 !important; border-radius: 0 !important; padding: 0 !important; background: transparent !important; }
.contact-info-card { background: #f6f6f8 !important; padding: 30px !important; }
.contact-card .btn, .contact-layout .btn-gold { background: var(--dark); border-color: var(--dark); color: #fff; border-radius: 40px; height: 46px; padding: 0 36px; }
.contact-card .btn:hover, .contact-layout .btn-gold:hover { background: var(--accent); border-color: var(--accent); }
.contact-info-row { font-size: 14px; }
@media (max-width: 991px) { .contact-layout { grid-template-columns: 1fr !important; } }

/* ── Blog (Kalles hdt-blog grid + single post) ────────────────────────────── */
.blog-grid { gap: 30px; }
.blog-card { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: transparent; }
.blog-card-img { border-radius: 0 !important; overflow: hidden; }
.blog-card-img img { transition: transform .6s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-body { padding: 18px 0 0 !important; }
.blog-card-category, .blog-post-category { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--mid); }
.blog-card h2, .blog-card h3 { font-family: var(--font-sans); font-size: 18px; font-weight: 600; line-height: 1.4; }
.blog-card a:hover h2, .blog-card a:hover h3 { color: var(--accent); }
.blog-card-meta, .blog-post-meta { font-size: 13px; color: var(--light); }
.blog-post-title { font-family: var(--font-sans); font-weight: 600; }
.blog-post-hero { border-radius: 0 !important; }
.blog-post-body { font-size: 15px; line-height: 1.85; color: #555; }
.blog-post-body img { max-width: 100%; height: auto; }
.blog-post-tag { border-radius: 40px; border: 1px solid #ddd; }
.blog-side-card { border: 0 !important; border-radius: 0 !important; padding: 0 !important; background: transparent !important; margin-bottom: 36px; }
.blog-side-card h3, .blog-side-card h4 { font-size: 15px; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; border-bottom: 1px solid #eee; padding-bottom: 12px; }
.blog-side-thumb { border-radius: 0 !important; }
.blog-related-card { border-radius: 0 !important; }

/* ── 404 / errors ────────────────────────────────────────────────────────── */
.u-error { padding: 90px 0 110px; text-align: center; }
.u-error__code { font-size: clamp(6rem, 18vw, 11rem); font-weight: 600; line-height: 1; color: var(--dark); }
.u-error h1 { font-family: var(--font-sans); font-weight: 500; font-size: 1.6rem; }
.u-error__text { color: var(--mid); }
.u-error__search input { border: 1px solid #ddd; border-radius: 40px; min-height: 46px; padding: 0 22px; max-width: 100%; }
.u-error .btn { border-radius: 40px; height: 46px; }
.kp-plain { padding-top: 60px; padding-bottom: 80px; }

/* Never allow horizontal scroll on phones */
@media (max-width: 767px) {
  .cart-page, .account-layout, .contact-layout, .blog-layout, .static-page-body { max-width: 100%; overflow-wrap: anywhere; }
}

/* Page-banner breadcrumbs (cart, wishlist, account, content pages): same Kalles chevron
   separators as the category/product breadcrumbs, one centred row, long last crumb → "…". */
.u-banner__crumbs { display: flex; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 0 10px; max-width: 100%; white-space: nowrap; }
.u-banner__crumbs > * { flex: 0 0 auto; }
.u-banner__crumbs > span:not(:last-child) {
  width: 6px; height: 6px; margin-right: 2px; font-size: 0; opacity: .85;
  border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg);
}
.u-banner__crumbs > :last-child { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* ==========================================================================
   Kalles customer pages (Theme\kalles-template\css\hdt-customer.css): login, register,
   forgot/reset password and the Account/Manage pages.
   ========================================================================== */
.kc-account { padding: 70px 15px 90px; }
.kc-account .hdt-login-content { width: 100%; max-width: 490px; margin: 0 auto; }
.kc-account .hdt-register-form { width: 100%; max-width: 551px; margin: 0 auto; }
.kc-account .hdt-form-heading { margin: 0 0 30px; font-size: 30px; font-weight: 500; line-height: 1.2; color: #222; text-align: left; text-transform: none; }
.kc-account .hdt-register-form__heading { margin-bottom: 14px; }
.kc-account .hdt-register-form__descripton { margin: 0 0 30px; font-size: 14px; line-height: 1.7; color: #878787; }

/* Floating-label fields: square 1px box, label inside, shrinks up on focus / when filled. */
.kc-account .hdt-field { position: relative; margin: 0 0 15px; }
.kc-account .hdt-field > .hdt-input,
.kc-account .hdt-field > input.hdt-input {
  display: block; width: 100%; height: 50px; margin: 0; padding: 15px 18px; border: 1px solid #ddd; border-radius: 0; background: #fff;
  font: 400 14px/normal var(--font-sans); color: #222; outline: none; box-shadow: none; transition: border-color .15s ease;
}
.kc-account .hdt-field > .hdt-input::placeholder { opacity: 0; }
.kc-account .hdt-field > .hdt-input:focus { border-color: #222; }
.kc-account .hdt-field > .hdt-input + label {
  position: absolute; left: 18px; top: 0; height: 50px; display: flex; align-items: center; margin: 0; pointer-events: none;
  font-size: 14px; font-weight: 400; color: #878787; transform-origin: left top; transition: transform .2s ease-in-out;
}
.kc-account .hdt-field > .hdt-input:focus + label,
.kc-account .hdt-field > .hdt-input:not(:placeholder-shown) + label,
.kc-account .hdt-field > .hdt-input:-webkit-autofill + label { transform: translateY(-9px) scale(.8); }
.kc-account .hdt-field > .hdt-input:focus,
.kc-account .hdt-field > .hdt-input:not(:placeholder-shown),
.kc-account .hdt-field > .hdt-input:-webkit-autofill { padding: 25px 18px 6px; }
.kc-account .hdt-required { margin-left: 4px; color: #e24c4c; }
.kc-account .input-validation-error { border-color: #eb001b !important; }
.kc-account .field-validation-error { display: block; margin-top: 5px; font-size: 13px; color: #eb001b; }
.kc-account .hdt-form-message--error { margin: 0 0 25px; padding: 10px 13px; border: 1px solid #eb001b; background: rgba(235, 0, 27, .04); color: #eb001b; font-size: 14px; }
.kc-account .hdt-form-message--error ul { margin: 0; padding-left: 18px; }

/* Static-label fields (postcode + Find, country select). */
.kc-account .hdt-field.kc-static > label { display: block; margin: 0 0 6px; font-size: 13px; color: #878787; }
.kc-account .hdt-field.kc-static input, .kc-account .hdt-field.kc-static select {
  height: 50px; padding: 0 18px; border: 1px solid #ddd; border-radius: 0; background: #fff; font-size: 14px; color: #222; width: 100%;
}
.kc-account .hdt-field.kc-static .btn { height: 50px; padding: 0 20px; border-radius: 0; }
.kc-account .kc-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.kc-account .kc-fieldset { margin: 25px 0 10px; padding: 0; border: 0; }
.kc-account .kc-legend { display: block; width: 100%; margin: 0 0 15px; padding: 0 0 10px; border-bottom: 1px solid #eee; font-size: 16px; font-weight: 500; color: #222; }
.kc-account .kc-hint { margin-top: 5px; font-size: 12px; color: #878787; }

/* Row: remember me · forgot password. */
.kc-account__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 5px 0 25px; }
.kc-account .kc-check { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; color: #555; cursor: pointer; }
.kc-account .kc-check--block { display: flex; align-items: flex-start; margin: 5px 0 10px; line-height: 1.6; }
.kc-account .kc-check input { width: 16px; height: 16px; margin: 0; flex: 0 0 16px; accent-color: #222; }
.kc-account .kc-check--block input { margin-top: 4px; }
.kc-account .kc-account__captcha { margin: 0 0 20px; }
.kc-account a.hdt-link-recover, .kc-account a.hdt-link-register, .kc-account a.hdt-link-login, .kc-account .kc-check a {
  color: #222; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .3s ease;
}
.kc-account a.hdt-link-recover:hover, .kc-account a.hdt-link-register:hover, .kc-account a.hdt-link-login:hover, .kc-account .kc-check a:hover { color: var(--accent); }

/* Dark full-width button. */
.kc-account .kc-account__submit {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 50px; margin: 0; border: 0; border-radius: 0;
  background: #222; color: #fff; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; cursor: pointer; transition: background-color .25s;
}
.kc-account .kc-account__submit:hover { background: var(--accent); }
.kc-account .hdt-register-form__submit { margin-top: 20px; }
.kc-account .kc-account__alt { margin: 22px 0 0; font-size: 14px; color: #878787; }
.kc-account .kc-account__or { display: flex; align-items: center; gap: 14px; margin: 22px 0; font-size: 13px; color: #878787; }
.kc-account .kc-account__or::before, .kc-account .kc-account__or::after { content: ""; flex: 1; height: 1px; background: #eee; }
.kc-account .kc-account__social { display: flex; align-items: center; justify-content: center; gap: 10px; height: 50px; border: 1px solid #ddd; color: #222; text-decoration: none; font-size: 14px; font-weight: 500; }
.kc-account .kc-account__social:hover { border-color: #222; }

/* ── Account/Manage: sidebar (1fr) · content (3fr) ───────────────────────── */
.account-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 30px; align-items: start; padding-block: 50px 80px; }
.hdt-account-nav { position: sticky; top: 100px; }
.hdt-account-nav ul { margin: 0; padding: 0; list-style: none; border: 1px solid #ddd; }
.hdt-account-nav li > a, .hdt-account-nav li .signout {
  display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 15px; border: 0; border-bottom: 1px solid #eee; border-radius: 0;
  background: none; color: #222; font: 400 14px/1.6 var(--font-sans); text-align: left; text-decoration: none; cursor: pointer; transition: color .25s, background-color .25s;
}
.hdt-account-nav li:last-child > *, .hdt-account-nav li:last-child .signout { border-bottom: 0; }
.hdt-account-nav li form { margin: 0; padding: 0; border: 0; }
.hdt-account-nav li > a:hover, .hdt-account-nav li .signout:hover { color: var(--accent); }
.hdt-account-nav li.is--active > a { background: #f1f1f1; color: #222; font-weight: 500; }
.hdt-account-nav svg { flex: 0 0 16px; }
.account-profile-header { display: none; } /* Kalles greets in the content ("Hello, Name") instead */
.hdt-account-hello { margin: 0 0 10px; font-size: 16px; color: #222; }
.hdt-account-hello a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.hdt-account-hello a:hover { color: var(--accent); }
.kc-account-intro { margin: 0 0 30px; font-size: 14px; line-height: 1.7; color: #878787; }
.account-content .account-card { margin: 0 0 30px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.account-content .account-card h3, .account-content h2 { margin: 0 0 15px; padding: 0 0 10px; border-bottom: 1px solid #eee; font-size: 18px; font-weight: 500; color: #222; }
.account-content .btn, .account-content .order-action-btn { border-radius: 0; }
.account-content input:not([type=checkbox]):not([type=radio]), .account-content select, .account-content textarea { border-radius: 0; border-color: #ddd; }
/* Kalles tables: 1px outer + cell borders; phones = stacked rows with dashed separators. */
.account-content table { width: 100%; border-collapse: collapse; border-spacing: 0; margin-bottom: 20px; box-shadow: 0 0 0 1px #ddd; font-size: 14px; }
.account-content th, .account-content td { padding: 10px; border: 1px solid #ddd; text-align: left; }
.account-content th { font-weight: 500; color: #222; background: #fafafa; }

@media (max-width: 1149px) { .account-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); } }
@media (max-width: 767px) {
  .kc-account { padding: 40px 15px 60px; }
  .kc-account .hdt-form-heading { font-size: 22px; margin-bottom: 20px; }
  .kc-account .kc-row { grid-template-columns: minmax(0, 1fr); }
  .account-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 30px 60px; }
  .hdt-account-nav { position: static; }
  .account-content table, .account-content thead, .account-content tbody, .account-content tr, .account-content td { display: block; box-shadow: none; }
  .account-content thead { display: none; }
  .account-content tr { padding: 0 0 15px; margin: 0 0 15px; border-bottom: 1px dashed #ddd; }
  .account-content td { display: flex; justify-content: space-between; gap: 15px; padding: 4px 0; border: 0; text-align: right; }
  .account-content td[data-label]::before { content: attr(data-label); font-weight: 600; color: #222; text-align: left; }
}