/* Account-only presentation: native WooCommerce forms and actions are retained. */
.kf-account-dashboard .woocommerce-MyAccount-navigation{display:none}
.kf-commerce-account{max-width:980px;margin:auto}
.kf-account-dashboard .woocommerce .woocommerce-MyAccount-content{padding:0;background:none;border:0}
.kf-commerce-account .kf-account-welcome{display:flex;align-items:center;gap:20px;padding:28px;background:#fffdf9;border:1px solid #eee7d7;border-radius:12px;box-shadow:0 3px 16px #62553408}
.kf-commerce-account .kf-account-welcome h2{font-size:24px;text-align:left;margin:0 0 10px;line-height:1.6}
.kf-commerce-account .kf-account-welcome p{margin:0;font-size:16px;line-height:1.8}
.kf-account-icon{display:flex;align-items:center;justify-content:center;flex:0 0 70px;width:70px;height:70px;border-radius:50%;background:#edf1e2;color:#163e2b}
.kf-account-icon svg{width:35px;height:35px}
.kf-commerce-account .kf-account-heading{display:flex;align-items:center;gap:16px;text-align:left!important;font-size:24px;margin:30px 0 18px}
.kf-account-heading:after{content:'';height:1px;background:#a7b398;flex:1}
.kf-account-cards{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.kf-commerce-account .kf-account-card{display:flex;position:relative;align-items:flex-start;gap:18px;padding:26px 34px 24px 22px;background:#fffdf9;border:1px solid #e8e5d8;border-radius:10px;text-decoration:none!important;color:#223d2f;box-shadow:0 3px 14px #66592e08;transition:background .15s,border-color .15s}
.kf-account-card:hover{background:#f6f7ed!important;border-color:#a7b398!important}
.kf-commerce-account .kf-account-card h3{font-size:23px;text-align:left;margin:0 0 9px;line-height:1.5}
.kf-commerce-account .kf-account-card p{font-size:16px;line-height:1.8;color:#535a4e;margin:0}
.kf-account-arrow{position:absolute;right:14px;top:50%;font-size:28px;transform:translateY(-50%)}
.kf-account-recent-heading{display:flex;align-items:center;gap:16px}
.kf-account-recent-heading h2{flex:1}
.kf-account-recent-heading>a{font-size:14px;color:#234b38;white-space:nowrap}
.kf-account-empty{padding:26px;background:#fffdf9;border:1px solid #e8e5d8;border-radius:10px;text-align:center}
.kf-commerce-account .kf-account-empty p:last-child{margin:0;font-size:15px;color:#64705e}
.kf-account-order{display:flex;align-items:center;gap:20px;padding:20px;background:#fffdf9;border:1px solid #e8e5d8;border-radius:10px;margin:0 0 14px;text-decoration:none!important;color:#234b38}
.kf-account-order img{width:110px;height:110px;object-fit:cover;border-radius:5px}
.kf-account-order>div{flex:1;min-width:0}
.kf-commerce-account .kf-account-order h3{font-size:18px;text-align:left;margin:5px 0}
.kf-commerce-account .kf-account-order p{font-size:15px;margin:5px 0}
.kf-account-status{font-size:14px;padding:7px 12px;background:#eef2e1;border-radius:20px}
.kf-account-dashboard .kf-commerce-back,.kf-account-detail .kf-commerce-back{display:flex;align-items:center;justify-content:center;max-width:500px;margin:28px auto 0;padding:18px;background:#234b38;color:white;text-decoration:none;font-size:20px;border-radius:6px}
.kf-account-detail .woocommerce .woocommerce-MyAccount-navigation ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.kf-account-detail .woocommerce .woocommerce-MyAccount-navigation li{border-radius:4px;text-align:center;border-color:#d9dfcf}
.kf-account-detail .woocommerce .woocommerce-MyAccount-navigation a{padding:12px 8px;line-height:1.6;min-height:48px}
.kf-account-detail .woocommerce .woocommerce-MyAccount-navigation .is-active a{color:white}
.kf-account-detail .woocommerce .woocommerce-MyAccount-content{padding:28px;border-radius:10px;overflow-wrap:anywhere}
.kf-account-section{margin-bottom:24px;padding-bottom:18px;border-bottom:1px solid #e5e9dc}
.kf-account-section>a{font-size:14px;color:#36533e}
.kf-commerce-account .kf-account-section h2{font-size:26px;margin:18px 0 10px}
.kf-commerce-account .kf-account-section p{font-size:16px;text-align:center;margin:0}
.kf-account-detail .woocommerce form .form-row label{font-size:16px;font-weight:600;color:#234b38;line-height:1.7;margin-bottom:5px}
.kf-account-detail .woocommerce form .form-row input.input-text,.kf-account-detail .woocommerce form .form-row select{min-height:48px;font-size:16px;background:#fff;border:1px solid #bfc8b8;border-radius:3px}
.kf-account-detail .woocommerce .woocommerce-EditAccountForm{border:0;padding:0;background:none}
.kf-account-detail .woocommerce fieldset{margin:24px 0;padding:20px;border:1px solid #dce2d3;background:#fafbf5;min-width:0}
.kf-account-detail .woocommerce legend{font-weight:700;color:#234b38;padding:0 8px;font-size:19px}
.kf-account-detail .woocommerce address{line-height:1.9;overflow-wrap:anywhere}
.kf-account-detail .woocommerce .woocommerce-Address-title{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}
.kf-account-detail .woocommerce .woocommerce-Address-title h2,.kf-account-detail .woocommerce .woocommerce-Address-title h3{font-size:20px;margin:0;text-align:left}
.kf-account-detail .woocommerce .woocommerce-Address-title a{font-size:15px;min-height:44px;padding:10px;background:#eef2e8;color:#234b38}
.kf-account-detail .woocommerce .col2-set .col-1,.kf-account-detail .woocommerce .col2-set .col-2{float:none;width:100%;min-width:0}
.kf-account-detail .woocommerce :is(.woocommerce-info,.woocommerce-message,.woocommerce-error){border-top:0!important;border-radius:4px}
.kf-account-detail .woocommerce .woocommerce-orders-table .button{margin:4px;min-height:44px}
@media(max-width:600px){
 .kf-commerce-account .kf-account-welcome{padding:20px 16px;gap:14px}
 .kf-commerce-account .kf-account-welcome h2{font-size:20px}
 .kf-account-icon{flex-basis:48px;width:48px;height:48px}
 .kf-account-icon svg{width:27px;height:27px}
 .kf-account-cards{gap:10px}
 .kf-commerce-account .kf-account-card{display:block;padding:16px 20px 16px 14px}
 .kf-account-card .kf-account-icon{margin:0 0 12px}
 .kf-commerce-account .kf-account-card h3{font-size:18px;line-height:1.6}
 .kf-commerce-account .kf-account-card p{font-size:14px;line-height:1.7}
 .kf-account-arrow{right:7px;font-size:22px}
 .kf-commerce-account .kf-account-heading{font-size:21px;gap:8px}
 .kf-account-recent-heading{flex-wrap:wrap;gap:0;margin-bottom:16px}
 .kf-account-recent-heading h2{flex-basis:100%;margin-bottom:8px}
 .kf-account-recent-heading>a{margin-left:auto}
 .kf-account-order{flex-wrap:wrap;gap:12px;padding:16px}
 .kf-account-order img{width:78px;height:78px}
 .kf-account-status{margin-left:auto}
 .kf-account-detail .woocommerce .woocommerce-MyAccount-content{padding:20px 14px}
 .kf-account-detail .woocommerce .woocommerce-MyAccount-navigation ul{grid-template-columns:repeat(2,minmax(0,1fr))}
 .kf-account-detail .woocommerce form .form-row-first,.kf-account-detail .woocommerce form .form-row-last{float:none;width:100%}
 .kf-account-detail .woocommerce fieldset{padding:16px 10px}
}
.kf-commerce-account .woocommerce .kf-account-welcome p,.kf-commerce-account .woocommerce .kf-account-card p{margin:0}
.kf-commerce-account .woocommerce .kf-account-welcome h2{letter-spacing:0;font-size:22px}
.kf-account-detail .wc-address-book-add-new-address{margin:14px 0}
.kf-account-detail .address-book{display:grid;gap:16px;margin:18px 0 28px}
.kf-account-detail .wc-address-book-address{background:#f5f7ef;padding:18px;border:1px solid #dce2d3;border-radius:5px}
.kf-account-detail .wc-address-book-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.kf-account-detail .wc-address-book-meta .button{font-size:14px;min-height:44px}
.kf-account-detail .wc-address-book-meta .wc-address-book-delete{background:white!important;color:#704e40!important;border:1px solid #bcae9f!important}
@media(max-width:600px){.kf-commerce-account .woocommerce .kf-account-welcome h2{font-size:18px}.kf-commerce-account .kf-account-welcome br{display:none}.kf-commerce-account .kf-account-welcome p{font-size:14px}.kf-commerce-account .kf-account-card{padding-top:14px;padding-bottom:14px}}
/* Address overview: one primary delivery card, secondary destinations, then purchaser. */
.kf-account-detail .woocommerce .kf-address-manager{background:transparent;border:0;padding:0}
.kf-address-layout{display:flex;flex-direction:column;gap:22px}
.kf-address-manager [hidden]{display:none!important}
.kf-address-manager .kf-address-primary{float:none!important;width:100%!important;padding:26px;background:#fffdf9;border:1px solid #e1e5d8;border-radius:8px}
.kf-address-manager .kf-address-primary.u-column2{border-color:#a9b99a;background:#fcfdf7}
.kf-account-detail .woocommerce .kf-address-primary .woocommerce-Address-title{display:block;margin:0 0 8px}
.kf-account-detail .woocommerce .kf-address-primary h2{font-size:23px;text-align:left!important}
.kf-address-manager .kf-address-hint{color:#65715f;font-size:15px;line-height:1.7}
.kf-account-detail .woocommerce .kf-address-primary address{background:none;padding:12px 0 22px;border:0;font-size:17px;line-height:1.9}
.kf-address-manager .kf-address-primary>a.edit{display:inline-flex;justify-content:center;align-items:center;min-height:48px;padding:11px 24px;border:1px solid #36533e;border-radius:4px;color:#234b38;background:#fff;text-decoration:none;font-size:16px;font-weight:600}
.kf-address-manager .kf-address-primary>a.edit:hover{background:#eef3e7}
.kf-address-manager .kf-address-secondary{padding:22px 0;margin:0;border:0;background:none}
.kf-address-manager .kf-address-secondary>header{display:block!important;margin:0 0 16px}
.kf-account-detail .woocommerce .kf-address-secondary>header h3{font-size:20px;text-align:left!important;margin:0}
.kf-address-manager .kf-address-secondary .wc-address-book-address-default{display:none!important}
.kf-address-manager .kf-address-secondary .address-book{grid-template-columns:repeat(2,minmax(0,1fr));margin:0;gap:16px}
.kf-address-manager .kf-address-secondary .wc-address-book-address{background:#fffdf9;margin:0;padding:22px}
.kf-address-manager .kf-address-secondary .wc-address-book-address address{background:none;padding:8px 0 16px}
.kf-address-manager .wc-address-book-meta{border-top:1px solid #e0e6d8;padding-top:14px}
.kf-address-manager .wc-address-book-meta .button{flex:1;font-size:14px!important;white-space:normal;line-height:1.6}
.kf-address-manager .wc-address-book-meta .wc-address-book-make-default{flex-basis:100%;background:#edf3e6!important;color:#234b38!important;border:1px solid #aebb9e!important;order:3}
.kf-address-manager .wc-address-book-add-new-address{margin:18px 0 0}
.kf-address-manager .wc-address-book-add-new-address .button{display:inline-flex;align-items:center;justify-content:center;padding:13px 22px!important;min-height:48px;background:#234b38!important;color:white!important;border:1px solid #234b38!important;font-size:16px!important}
.kf-address-manager .kf-address-none{color:#65715f;font-size:15px;margin:0 0 16px!important}
.kf-billing-other{border-bottom:1px solid #dce2d3;padding:0 0 18px}
.kf-billing-other summary{padding:12px 0;font-size:15px;color:#36533e;cursor:pointer}
.kf-address-manager .kf-address-note{padding:18px;background:#eef2e7;color:#4b5c42;font-size:14px;line-height:1.9;margin:0!important;border-radius:4px}
@media(max-width:600px){.kf-address-manager .kf-address-primary{padding:22px 18px}.kf-account-detail .woocommerce .kf-address-primary h2{font-size:21px}.kf-address-manager .kf-address-primary>a.edit{width:100%;font-size:15px;padding:12px}.kf-address-manager .kf-address-secondary .address-book{grid-template-columns:1fr}.kf-address-manager .wc-address-book-add-new-address .button{width:100%}.kf-address-layout{gap:16px}.kf-address-manager .kf-address-secondary{padding:12px 0}}
.kf-account-detail .woocommerce-address-fields{max-width:650px;margin:auto}
.kf-account-detail .woocommerce-address-fields .optional{font-size:14px;color:#68745f}
.kf-account-detail .woocommerce-address-fields .form-row{margin-bottom:16px}
.kf-account-detail .woocommerce-address-fields button[type=submit]{display:block;width:100%;min-height:52px;margin-top:24px}
.kf-account-detail .woocommerce-address-fields .kf-region-field{clear:both;width:100%}

/* Member details: a single clear form with optional settings disclosed separately. */
.kf-profile-edit .woocommerce-MyAccount-navigation{display:none}
.kf-profile-edit .woocommerce .woocommerce-MyAccount-content{float:none;width:100%;max-width:680px;margin:0 auto;padding:0;background:transparent;border:0}
.kf-profile-edit .kf-account-section{border:0;margin-bottom:22px;padding:0}
.kf-profile-edit .kf-account-section>a{display:inline;padding:0}
.kf-profile-edit .woocommerce .kf-profile-card{padding:22px;background:#fffdf9;border:1px solid #e2e4d7;border-radius:5px;margin:0 0 18px}
.kf-profile-edit .woocommerce .kf-profile-card h3{margin:0 0 16px;padding:0;text-align:center;color:#234b38;font-size:21px;background:none;border:0}
.kf-profile-edit .kf-profile-names{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.kf-profile-edit .woocommerce form .kf-profile-names .form-row{width:100%;float:none;margin:0;min-width:0}
.kf-profile-edit .woocommerce .kf-profile-help{font-size:15px;line-height:1.8;margin:0 0 14px;color:#53634e}
.kf-profile-edit .kf-profile-extra{margin-top:16px}
.kf-profile-edit .kf-profile-extra summary,.kf-profile-edit .kf-profile-password summary{cursor:pointer;color:#234b38;line-height:1.7;padding:10px 0;font-weight:600}
.kf-profile-edit .kf-profile-extra summary{font-size:14px}
.kf-profile-edit .kf-profile-password{background:#f2f5ec;border:1px solid #dce2d3;border-radius:5px;padding:12px 22px;margin-bottom:24px}
.kf-profile-edit .kf-profile-password summary{font-size:18px}
.kf-profile-edit .woocommerce .kf-profile-password fieldset{padding:0;border:0;margin:0;background:transparent}
.kf-profile-edit .woocommerce .kf-profile-password .form-row{float:none;width:100%}
.kf-profile-edit .woocommerce .kf-profile-save-note{font-size:14px;text-align:center;color:#58674e;margin:20px 0 10px}
.kf-profile-edit .woocommerce .kf-profile-save{width:100%;min-height:52px;font-size:18px}
.kf-profile-edit .kf-profile-address{text-align:center;margin:28px 0 0;padding:20px 0;border-top:1px solid #dce2d3}
.kf-profile-edit .kf-profile-address p{margin:0 0 8px;font-size:15px}
.kf-profile-edit .kf-profile-address a{display:inline;padding:0;color:#234b38;text-decoration:underline;text-underline-offset:4px}
@media(max-width:600px){.kf-profile-edit .woocommerce .kf-profile-card{padding:18px 14px}.kf-profile-edit .kf-profile-password{padding:10px 14px}.kf-profile-edit .kf-profile-names{gap:10px}}
.kf-profile-edit .kf-account-section h2{display:none}.kf-profile-edit .kf-account-section>p{margin-top:18px}

/* Keep long order statuses on their own row, below the order information. */
.kf-commerce-account a.kf-account-order{display:grid;grid-template-columns:110px minmax(0,1fr);gap:12px 20px;align-items:start}
.kf-commerce-account a.kf-account-order>img{grid-column:1;grid-row:1}
.kf-commerce-account a.kf-account-order>div{grid-column:2;grid-row:1;min-width:0}
.kf-commerce-account a.kf-account-order:not(:has(>img))>div{grid-column:1/-1}
.kf-commerce-account a.kf-account-order>.kf-account-status{grid-column:1/-1;grid-row:2;justify-self:start;margin:0;max-width:100%;white-space:normal;line-height:1.6}
@media(max-width:600px){.kf-commerce-account a.kf-account-order{grid-template-columns:78px minmax(0,1fr);gap:12px}}

/* Order history uses the same quiet cards as recent orders. */
.kf-order-history{display:grid;gap:20px}.kf-history-card{padding:24px;background:#fffefb;border:1px solid #e5e4d7;border-radius:10px;min-width:0}.kf-history-card h3{margin:6px 0 18px;color:#234b38;font-size:20px}.kf-history-products{display:grid;gap:14px}.kf-history-product{display:grid;grid-template-columns:90px minmax(0,1fr);gap:16px;align-items:center}.kf-history-product img{width:90px;height:90px;object-fit:cover;border-radius:6px}.kf-history-product p{margin:0 0 6px;overflow-wrap:anywhere}.kf-history-total{margin:20px 0 12px}.kf-history-total strong{margin-left:12px}.kf-history-card .kf-account-status{display:inline-block;margin:0;white-space:normal}.kf-history-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.kf-history-actions a.button{margin:0;text-align:center}.kf-order-history+.woocommerce-pagination{display:flex;gap:12px;margin-top:20px}@media(max-width:600px){.kf-history-card{padding:18px 16px}.kf-history-product{grid-template-columns:78px minmax(0,1fr);gap:12px}.kf-history-product img{width:78px;height:78px}.kf-history-actions a.button{padding:10px 14px}}
