/* KADMA „Mano paskyra“ (extension/module/kadma_paskyra): įkeliama tik paskyros puslapiuose */
[id^="account-"] .breadcrumb{margin-bottom:18px}
[id^="account-"] > .row{display:flex;flex-wrap:wrap}
[id^="account-"] #content{min-height:0}
.kp-i{flex:none;vertical-align:-4px}

/* Meniu */
.kp-nav{position:sticky;top:16px;background:#fff;border:1px solid #eceae2;border-radius:16px;padding:10px;box-shadow:0 6px 24px rgba(0,0,0,.04);margin-bottom:20px}
.kp-nav-name{font-weight:700;font-size:15px;padding:8px 12px 10px;border-bottom:1px solid #f0eee6;margin-bottom:6px;color:#111}
.kp-nav-item{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;color:#333;font-size:14px;text-decoration:none;transition:background .15s,color .15s}
.kp-nav-item:hover,.kp-nav-item:focus{background:#f6f4ec;color:#111;text-decoration:none}
.kp-nav-item.kp-active{background:#111;color:#fded00;font-weight:600}
.kp-nav-item.kp-logout{color:#999;margin-top:4px;border-top:1px solid #f0eee6;border-radius:0 0 10px 10px}
.kp-nav-item.kp-logout:hover{color:#c62828;background:#fff5f5}

/* Bendri */
.kp-h1,[id^="account-"] #content > h1,[id^="account-"] #content > h2{font-size:26px;font-weight:700;margin:0 0 16px;color:#111}
.kp-card{background:#fff;border:1px solid #eceae2;border-radius:16px;padding:22px 24px;margin-bottom:18px;box-shadow:0 6px 24px rgba(0,0,0,.04)}
.kp-card h2{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#888;margin:0 0 12px}
.kp-card h2 + p{margin-bottom:16px}
.kp-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.kp-card-head h2{margin:0}
.kp-muted{color:#888;font-size:13px}
.kp-btn{display:inline-flex;align-items:center;gap:6px;background:#111;color:#fded00;border:1px solid #111;border-radius:10px;padding:10px 18px;font-weight:700;font-size:14px;text-decoration:none;line-height:1.2;white-space:nowrap}
.kp-btn:hover,.kp-btn:focus{color:#fff;text-decoration:none}
.kp-btn-ghost{background:#fff;color:#111;border-color:#d9d5c5}
.kp-btn-ghost:hover,.kp-btn-ghost:focus{color:#111;border-color:#111}
.kp-btn-sm{padding:7px 12px;font-size:13px;border-radius:8px}
.kp-link{font-weight:600;color:#111;text-decoration:underline;font-size:13px;margin-right:12px}
.kp-link-muted{color:#888}

/* Apžvalga */
.kp-hello{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;background:linear-gradient(120deg,#fff9b0,#fded00);border-radius:18px;padding:24px 26px;margin-bottom:18px}
.kp-hello h1{margin:0;font-size:28px;font-weight:800;color:#111}
.kp-hello p{margin:4px 0 0;color:#5c5728}
.kp-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px;margin-bottom:18px}
.kp-tile{display:flex;flex-direction:column;gap:2px;background:#fff;border:1px solid #eceae2;border-radius:14px;padding:16px;color:#111;text-decoration:none;transition:border-color .15s,transform .15s,box-shadow .15s}
.kp-tile:hover,.kp-tile:focus{border-color:#111;transform:translateY(-2px);box-shadow:0 10px 24px rgba(0,0,0,.06);color:#111;text-decoration:none}
.kp-tile-ico{width:40px;height:40px;border-radius:12px;background:#fff8c2;display:flex;align-items:center;justify-content:center;margin-bottom:8px}
.kp-tile b{font-size:15px}
.kp-tile small{color:#888;font-size:12px}

/* Užsakymai */
.kp-order{display:flex;align-items:center;gap:14px;padding:14px 0;border-top:1px solid #f0eee6}
.kp-card > .kp-order:first-child,.kp-card-head + .kp-order{border-top:0}
.kp-thumbs{display:flex;align-items:center;flex:none;width:132px}
.kp-thumbs img,.kp-noimg{width:48px;height:48px;border-radius:10px;border:2px solid #fff;object-fit:cover;background:#f3f1ea;margin-left:-12px;box-shadow:0 0 0 1px #eceae2}
.kp-thumbs img:first-child,.kp-thumbs .kp-noimg:first-child{margin-left:0}
.kp-noimg{display:inline-block}
.kp-more{margin-left:6px;font-size:12px;color:#888;font-weight:600}
.kp-order-main{flex:1;min-width:0;display:flex;flex-direction:column}
.kp-order-main b{font-size:15px;color:#111}
.kp-order-act{display:flex;gap:6px}
.kp-badge{display:inline-block;padding:5px 11px;border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap;background:#eef2ff;color:#3949ab}
.kp-b-wait{background:#fff4d6;color:#a86b00}
.kp-b-new{background:#e8f1ff;color:#1e5bb8}
.kp-b-paid{background:#e4f6ea;color:#1b7a3d}
.kp-b-work{background:#eef0ff;color:#4b4fb8}
.kp-b-sent{background:#f1e9ff;color:#6b3fb5}
.kp-b-done{background:#eef0ed;color:#4c5a48}
.kp-b-cancel{background:#fde9e9;color:#b3261e}
.kp-empty{text-align:center;padding:30px 10px;color:#666}
.kp-empty .kp-i{width:40px;height:40px;color:#c9c3a8}
.kp-empty p{margin:10px 0 16px}
.kp-pager{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:18px}
.kp-pager .pagination{margin:0}

/* Užsakymo informacija */
.kp-order-head{flex-wrap:wrap}
.kp-order-head .kp-h1{margin:0}
.kp-order-head-act{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.kp-steps{display:flex;list-style:none;padding:0;margin:20px 0 6px}
.kp-steps li{flex:1;text-align:center;color:#aaa;font-size:13px;position:relative}
.kp-steps li span{display:block;width:34px;height:34px;line-height:34px;margin:0 auto 6px;border-radius:50%;background:#ebe8dc;color:#999;font-weight:700;position:relative;z-index:1}
.kp-steps li:not(:first-child):before{content:"";position:absolute;top:17px;right:50%;width:100%;height:3px;background:#ebe8dc}
.kp-steps li.kp-done{color:#111}
.kp-steps li.kp-done span{background:#111;color:#fded00}
.kp-steps li.kp-done:not(:first-child):before{background:#111}
.kp-steps li.kp-now{font-weight:700}
.kp-lead{font-size:15px;margin:12px 0 2px}
.kp-grid{display:grid;grid-template-columns:3fr 2fr;gap:18px}
.kp-item{display:flex;gap:12px;padding:12px 0;border-top:1px solid #f0eee6}
.kp-card h2 + .kp-item{border-top:0}
.kp-item img,.kp-noimg-lg{width:64px;height:64px;border-radius:10px;border:1px solid #eceae2;object-fit:cover;flex:none;background:#f3f1ea}
.kp-item-main{flex:1;min-width:0}
.kp-item-act{margin-top:4px}
.kp-item-total{white-space:nowrap}
.kp-totals{width:100%;margin-top:8px}
.kp-totals td{padding:3px 0;text-align:right;color:#666}
.kp-totals td:last-child{width:110px}
.kp-totals .kp-grand td{font-size:17px;font-weight:700;color:#111;padding-top:6px}
.kp-history{list-style:none;padding:0;margin:0}
.kp-history li{padding:8px 0;border-top:1px solid #f0eee6}
.kp-history li:first-child{border-top:0}

/* OpenCart formos paskyros puslapiuose (duomenys, slaptažodis, adresai, naujienlaiškis, grąžinimai) */
[id^="account-"] #content form,[id^="account-"] #content > .table-responsive,[id^="account-"] #content > .table{background:#fff;border:1px solid #eceae2;border-radius:16px;padding:22px 24px;margin-bottom:18px;box-shadow:0 6px 24px rgba(0,0,0,.04)}
[id^="account-"] #content legend{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#888;border:0;margin-bottom:14px}
[id^="account-"] .form-control{border-radius:10px;height:auto;padding:10px 12px;border-color:#dcd8c8;box-shadow:none}
[id^="account-"] .form-control:focus{border-color:#111;box-shadow:0 0 0 3px rgba(253,237,0,.45)}
[id^="account-"] .control-label{font-weight:600}
[id^="account-"] .buttons{margin-top:6px}
[id^="account-"] .buttons .btn,[id^="account-"] #content .btn-primary{border-radius:10px;padding:10px 20px;font-weight:700}
[id^="account-"] #content .btn-primary{background:#111;border-color:#111;color:#fded00}
[id^="account-"] #content .btn-primary:hover{color:#fff}

/* Telefonas: meniu – juosta viršuje (slenkama) */
@media (max-width:767px){
	[id^="account-"] #column-right,[id^="account-"] #column-right.hidden-xs{display:block!important;order:-1;width:100%}
	.kp-nav{position:static;display:flex;gap:6px;overflow-x:auto;padding:6px;border-radius:12px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
	.kp-nav::-webkit-scrollbar{display:none}
	.kp-nav-name{display:none}
	.kp-nav-item{flex:none;padding:8px 12px;font-size:13px;white-space:nowrap}
	.kp-nav-item.kp-logout{border-top:0;margin-top:0;border-radius:10px}
	.kp-hello{padding:18px}
	.kp-hello h1{font-size:23px}
	.kp-tiles{grid-template-columns:1fr 1fr}
	.kp-order{flex-wrap:wrap}
	.kp-thumbs{width:auto}
	.kp-order-main{flex-basis:calc(100% - 140px)}
	.kp-order-act{margin-left:auto}
	.kp-grid{grid-template-columns:1fr}
	.kp-card{padding:18px}
	.kp-steps li{font-size:11px}
}
