/* Kommissary Account Home: menu + account home. Colours match the About Us / Contact Us pages. */

/* ---------- side menu ---------- */
body.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
body.woocommerce-account .woocommerce-MyAccount-navigation li { margin: 0; padding: 0; border: 0; }
body.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: flex !important; align-items: center; gap: 12px; padding: 11px 14px !important; border-radius: 12px;
	font: 700 15px/1.3 Manrope, Arial, sans-serif !important; color: #4a423d !important; text-transform: none !important;
	letter-spacing: 0 !important; background: transparent; text-decoration: none; transition: background .15s;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li a br { display: none; }
body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: #faf6f4; }
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: #fff1ef !important; color: #e85555 !important; }
body.woocommerce-account .woocommerce-MyAccount-navigation li a::before {
	content: ""; flex: 0 0 19px; width: 19px; height: 19px; background: #8a807a;
	-webkit-mask: var(--kah-i) center / contain no-repeat; mask: var(--kah-i) center / contain no-repeat;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a::before { background: #e85555; }
body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout { border-top: 1px solid #eee3df !important; margin-top: 8px !important; padding-top: 8px !important; }
.woocommerce-MyAccount-navigation-link--dashboard { --kah-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5L12 3l9 7.5V20a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--orders { --kah-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4h6a1 1 0 0 1 1 1v1H8V5a1 1 0 0 1 1-1z'/%3E%3Cpath d='M16 5h2a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h2'/%3E%3Cpath d='M8 12h8M8 16h5'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--edit-account { --kah-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--kom-catalog { --kah-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12M7 10l5 5 5-5M4 21h16'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--customer-logout { --kah-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4M10 17l5-5-5-5M15 12H3'/%3E%3C/svg%3E"); }

/* ---------- account home ---------- */
.kah { color: #1f1a17; font: 16px/1.6 Manrope, Arial, sans-serif; }
.kah * { box-sizing: border-box; }
.kah svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kah h2, .kah h3 { font-family: Manrope, Arial, sans-serif; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; color: #1f1a17; text-transform: none; margin: 0; }
.kah a { text-decoration: none; }
.kah p:empty, .kah br { display: none; }

.kah-hello { background: #fff5f5; border-radius: 24px; padding: 34px 36px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin: 0 0 28px; }
.kah-hello h2 { font-size: clamp(28px, 3vw, 36px); margin: 0 0 6px; }
.kah-hello p { margin: 0; color: #4a423d; }
.kah .kah-btn { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1.4 Poppins, sans-serif; padding: 12px 24px; border-radius: 999px; background: #ff6b6b; color: #fff; white-space: nowrap; transition: background .15s; }
.kah .kah-btn:hover { background: #e85555; color: #fff; }
.kah .kah-btn svg { width: 18px; height: 18px; }

.kah-head { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 12px; }
.kah-head h3 { font-size: 21px; }
.kah-head a { color: #e85555; font-weight: 700; font-size: 14.5px; }

.kah-orders { border: 1px solid #eee3df; border-radius: 20px; overflow: hidden; margin: 0 0 32px; }
.kah-order { display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 16px; align-items: center; padding: 16px 22px; }
.kah-order + .kah-order { border-top: 1px solid #eee3df; }
.kah .kah-name { font-weight: 800; color: #1f1a17; }
.kah .kah-name:hover { color: #e85555; }
.kah-num { font-size: 13px; color: #8a807a; }
.kah-date { color: #4a423d; font-size: 15px; }
.kah-total { font-weight: 800; color: #1f1a17; }
.kah-total .amount { color: #1f1a17; }
.kah-total span { font-size: 13px; color: #8a807a; font-weight: 500; }
.kah-total > span:last-child { margin-left: 5px; }
.kah-acts { display: flex; gap: 8px; align-items: center; justify-content: flex-end; }
.kah-acts a { font-size: 13.5px; font-weight: 700; padding: 8px 14px; border-radius: 999px; line-height: 1.3; transition: background .15s, box-shadow .15s; }
.kah .kah-again { background: #ff6b6b; color: #fff; font-family: Poppins, sans-serif; font-weight: 600; }
.kah .kah-again:hover { background: #e85555; color: #fff; }
.kah .kah-ghost { color: #4a423d; box-shadow: inset 0 0 0 1.5px #eee3df; }
.kah .kah-ghost:hover { box-shadow: inset 0 0 0 1.5px #f3c4bd; color: #e85555; }
.kah .kah-icon { width: 36px; height: 36px; padding: 0; display: grid; place-items: center; color: #4a423d; box-shadow: inset 0 0 0 1.5px #eee3df; }
.kah .kah-icon:hover { color: #e85555; box-shadow: inset 0 0 0 1.5px #f3c4bd; }
.kah-icon svg { width: 17px; height: 17px; }

.kah-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.kah .kah-card { display: block; border: 1px solid #eee3df; border-radius: 18px; padding: 20px 14px 18px; text-align: center; color: #1f1a17; transition: transform .15s, box-shadow .15s; }
.kah .kah-card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(168,64,28,.08); color: #1f1a17; }
.kah-ic { width: 50px; height: 50px; border-radius: 15px; background: #fff1ef; color: #e85555; display: grid; place-items: center; margin: 0 auto 12px; }
.kah-ic svg { width: 25px; height: 25px; }
.kah-card b { display: block; font-size: 15px; line-height: 1.3; }
.kah-card small { display: block; font-size: 13px; color: #8a807a; margin-top: 3px; line-height: 1.35; }

@media (max-width: 1100px) { .kah-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) {
	.kah-order { grid-template-columns: 1fr auto; row-gap: 6px; }
	.kah-date { grid-column: 1; grid-row: 2; }
	.kah-total { grid-column: 2; grid-row: 1; text-align: right; }
	.kah-acts { grid-column: 1 / -1; justify-content: flex-start; }
	.kah-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) { .kah-hello { padding: 26px 22px; } .kah-order { padding: 14px 16px; } }
