/* Account presentation; WooCommerce owns forms, endpoints and actions. */
/* Mobile orders: separate each order so dates, totals and actions are easy to scan. */
@media(max-width:640px){
 body.woocommerce-account .woocommerce table.shop_table.woocommerce-orders-table{display:block;border:0;background:transparent;border-radius:0;overflow:visible;margin:0}
 body.woocommerce-account .woocommerce table.woocommerce-orders-table thead{display:none}
 body.woocommerce-account .woocommerce table.woocommerce-orders-table tbody{display:grid;gap:18px}
 body.woocommerce-account .woocommerce table.woocommerce-orders-table tr{display:block;padding:6px 16px 16px;background:#2c3a45;border:1px solid #627480;border-radius:12px;overflow:hidden}
 body.woocommerce-account .woocommerce table.shop_table.woocommerce-orders-table td{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;padding:14px 0;border:0;border-bottom:1px solid #ffffff18;background:transparent!important;color:#f4f6f8;font-size:16px;line-height:1.5;text-align:right!important}
 body.woocommerce-account .woocommerce table.woocommerce-orders-table td::before{content:attr(data-title);float:none;color:#c3cfd7;font-size:14px;font-weight:600;text-align:left}
 body.woocommerce-account .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-number{font-size:19px;font-weight:750}
 body.woocommerce-account .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-total .amount{color:#efd094;font-weight:750}
 body.woocommerce-account .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions{border:0;padding:16px 0 0;display:flex;gap:10px}
 body.woocommerce-account .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions::before{display:none}
 body.woocommerce-account .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions a.button{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;margin:0;font-size:16px}
}

body.woocommerce-account{background:#293640;--gold:#dfb66b;--muted:#c8d0d5}
body.woocommerce-account .content-wrap{max-width:1280px;margin:42px auto 64px;padding:0 28px;background:transparent;border:0;box-shadow:none}
body.woocommerce-account .content-wrap h1{font-size:clamp(30px,4vw,44px);letter-spacing:-1.3px;margin:0 0 30px}
body.woocommerce-account.logged-in .content-wrap article>.woocommerce{display:grid;grid-template-columns:230px minmax(0,1fr);gap:26px;align-items:start}
body.woocommerce-account .woocommerce::before,body.woocommerce-account .woocommerce::after{display:none}
body.woocommerce-account .woocommerce-notices-wrapper{grid-column:1/-1}
body.woocommerce-account .woocommerce-notices-wrapper:empty{display:none}
body.woocommerce-account .woocommerce-MyAccount-navigation{float:none;width:100%;background:#233039;border:1px solid #4c5c68;border-radius:16px;padding:12px}
body.woocommerce-account .woocommerce-MyAccount-navigation ul{padding:0;margin:0;list-style:none}
body.woocommerce-account .woocommerce-MyAccount-navigation li{border:0;margin:3px 0;border-radius:9px;background:transparent}
body.woocommerce-account .woocommerce-MyAccount-navigation li a{display:flex;align-items:center;gap:12px;padding:13px 12px;font-size:14px;font-weight:600;color:#d2dbe1;text-decoration:none;min-height:46px}
body.woocommerce-account .woocommerce-MyAccount-navigation li a::before{content:"";display:block;width:18px;height:18px;flex:0 0 18px;border:1.5px solid currentColor;border-radius:5px;opacity:.8}
body.woocommerce-account .woocommerce-MyAccount-navigation-link--orders a::before{border-radius:2px;box-shadow:inset 0 5px #ffffff12}
body.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-address a::before{width:14px;flex-basis:14px;height:18px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);margin:0 2px}
body.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-account a::before{border-radius:50%}
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active{background:#dfb66b1a;border:0}
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{color:#efc985}
body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover{background:#ffffff08;border-radius:9px;color:#fff}
body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout{margin-top:14px!important;border-top:1px solid #4c5c68!important;border-radius:0!important;padding-top:8px}
body.woocommerce-account .woocommerce-MyAccount-content{float:none;width:100%;min-width:0;background:#233039;border:1px solid #4c5c68;border-radius:16px;padding:28px}
.pmt-account-welcome{display:flex;justify-content:space-between;align-items:center;gap:24px;padding-bottom:28px;border-bottom:1px solid #4c5c68;margin-bottom:24px}
.pmt-account-welcome .eyebrow{font-size:10px;letter-spacing:1.8px;color:#dfb66b}
.pmt-account-welcome h2{font-size:clamp(24px,3vw,32px);line-height:1.2;margin:10px 0;letter-spacing:-.8px}
.pmt-account-welcome p{color:#bfcbd3;font-size:14px;margin:0}
body.woocommerce-account .pmt-account-create{display:inline-flex;gap:18px;align-items:center;white-space:nowrap;background:#dfb66b;color:#233039!important;padding:13px 18px;border-radius:9px;font-size:13px;font-weight:750;text-decoration:none}
.pmt-account-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
body.woocommerce-account .pmt-account-card{display:block;padding:22px;background:#303e49;border:1px solid #53636f;border-radius:12px;text-decoration:none;transition:border-color .15s,background .15s}
body.woocommerce-account .pmt-account-card:hover{background:#374753;border-color:#dfb66b}
.pmt-account-icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;background:#dfb66b14;border:1px solid #dfb66b40;border-radius:11px;color:#dfb66b;margin-bottom:18px}
.pmt-account-icon svg{width:23px;height:23px}
.pmt-account-card h3{display:flex;justify-content:space-between;gap:12px;font-size:18px;margin:0 0 8px;color:#f4f3ef}
.pmt-account-card h3 span{color:#dfb66b}
.pmt-account-card p{font-size:13px;line-height:1.6;color:#c8d2d9;margin:0}
body.woocommerce-account .woocommerce button.button,body.woocommerce-account .woocommerce a.button{background:#dfb66b;color:#233039;border:0;border-radius:8px;padding:13px 18px;font-weight:700}
body.woocommerce-account .woocommerce input.input-text,body.woocommerce-account .woocommerce select,body.woocommerce-account .woocommerce textarea{border-radius:8px;min-height:46px;padding:10px 12px;background:#1e2a33;border:1px solid #637481;color:#fff}
body.woocommerce-account .woocommerce label{color:#e0e6ea;font-size:14px}
body.woocommerce-account .woocommerce fieldset{border:1px solid #53636f;border-radius:10px;margin:24px 0;padding:20px}
body.woocommerce-account .woocommerce table.shop_table{border-radius:10px;overflow:hidden;background:#2c3a45}
body.woocommerce-account .woocommerce table.shop_table th{background:#1e2a33;padding:14px}
body.woocommerce-account .woocommerce table.shop_table td{padding:14px}
body.woocommerce-account .woocommerce-Address{padding:20px;border:1px solid #53636f;border-radius:12px;margin-bottom:18px}
body.woocommerce-account .woocommerce-Address address{font-style:normal;color:#c8d2d9;line-height:1.8}
body.woocommerce-account #customer_login{display:grid;grid-template-columns:1fr 1fr;gap:28px}
body.woocommerce-account #customer_login::before,body.woocommerce-account #customer_login::after{display:none}
body.woocommerce-account #customer_login>div{float:none;width:100%;background:#233039;border:1px solid #4c5c68;border-radius:16px;padding:28px}
body.woocommerce-account #customer_login h2{margin:0 0 20px;font-size:25px}
body.woocommerce-account #customer_login form{padding:0;margin:0;border:0}
body.woocommerce-account .woocommerce-privacy-policy-text,body.woocommerce-account .lost_password{font-size:13px;color:#c8d2d9}
body.woocommerce-account a:focus-visible,body.woocommerce-account button:focus-visible{outline:3px solid #dfb66b;outline-offset:3px}
@media(max-width:900px){.pmt-account-welcome{align-items:flex-start;flex-direction:column}body.woocommerce-account.logged-in .content-wrap article>.woocommerce{grid-template-columns:190px minmax(0,1fr);gap:18px}.pmt-account-cards{grid-template-columns:1fr}}
@media(max-width:640px){body.woocommerce-account .content-wrap{padding:0 16px;margin:28px auto 40px}body.woocommerce-account.logged-in .content-wrap article>.woocommerce{display:block}body.woocommerce-account .woocommerce-MyAccount-navigation{margin-bottom:20px;padding:8px}body.woocommerce-account .woocommerce-MyAccount-navigation ul{display:grid;grid-template-columns:1fr 1fr;gap:4px}body.woocommerce-account .woocommerce-MyAccount-navigation li a{font-size:12px;padding:10px 8px;gap:8px}body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout{margin-top:3px!important;border-top:0!important;padding-top:0}body.woocommerce-account .woocommerce-MyAccount-content{padding:20px}.pmt-account-card{padding:18px}body.woocommerce-account #customer_login{grid-template-columns:1fr;gap:20px}body.woocommerce-account #customer_login>div{padding:22px}.pmt-account-create{width:100%;justify-content:space-between}}
@media(prefers-reduced-motion:reduce){.pmt-account-card{transition:none!important}}


/* Saved-design controls. Existing forms retain their nonces and actions. */
body.woocommerce-account .pmt-design-body details{margin-top:20px;border-top:1px solid #53636f;padding-top:14px}
body.woocommerce-account .pmt-design-body details>summary{display:flex;align-items:center;justify-content:space-between;list-style:none;cursor:pointer;min-height:44px;color:#dce5eb;font-size:14px;font-weight:650}
body.woocommerce-account .pmt-design-body details>summary::-webkit-details-marker{display:none}
body.woocommerce-account .pmt-design-body details>summary::after{content:"+";color:#dfb66b;font-size:24px;font-weight:400}
body.woocommerce-account .pmt-design-body details[open]>summary::after{content:"−"}
body.woocommerce-account .pmt-manage-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;background:#1e2a3380;border:1px solid #53636f80;border-radius:12px;padding:16px;margin-top:10px}
body.woocommerce-account .pmt-manage-row .pmt-design-action{display:flex;gap:10px;margin:0;min-width:0;align-items:end}
body.woocommerce-account .pmt-manage-row .pmt-design-action:has(input[value="rename"]){grid-column:1/-1}
body.woocommerce-account .pmt-manage-row label{display:block;flex:1;min-width:0}
body.woocommerce-account .pmt-manage-row label .screen-reader-text{position:static!important;width:auto;height:auto;clip:auto;clip-path:none;overflow:visible;display:block;margin-bottom:8px;color:#afbec9;font-size:11px;font-weight:700;letter-spacing:.8px;text-transform:uppercase}
body.woocommerce-account .pmt-manage-row input[name="design_name"]{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;height:46px;padding:10px 12px;border:1px solid #647582;border-radius:8px;background:#18252e;color:#f4f3ef;font:inherit;font-size:14px}
body.woocommerce-account .pmt-manage-row button,body.woocommerce-account .pmt-design-primary button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:11px 15px;border:1px solid #71818d;border-radius:8px;background:#344550;color:#f4f3ef;font:inherit;font-size:13px;font-weight:650;cursor:pointer;line-height:1.4}
body.woocommerce-account .pmt-manage-row button{width:100%}
body.woocommerce-account .pmt-manage-row .pmt-design-action:has(input[value="rename"]) button{background:#dfb66b;border-color:#dfb66b;color:#233039;width:auto;flex-shrink:0}
body.woocommerce-account .pmt-manage-row .pmt-design-action:has(input[value="delete"]) button{background:transparent;border-color:#bd7c7777;color:#f0aaa3}
body.woocommerce-account .pmt-manage-row button::before{content:"";display:block;width:17px;height:17px;flex:0 0 17px;background:currentColor;mask:var(--pmt-action-icon) center/contain no-repeat}
body.woocommerce-account .pmt-manage-row .pmt-design-action:has(input[value="rename"]){--pmt-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m16%203%205%205-12%2012-6%201%201-6zM13%206l5%205%22%2F%3E%3C%2Fsvg%3E")}
body.woocommerce-account .pmt-manage-row .pmt-design-action:has(input[value="duplicate"]){--pmt-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%228%22%20y%3D%228%22%20width%3D%2213%22%20height%3D%2213%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M16%208V3H3v13h5%22%2F%3E%3C%2Fsvg%3E")}
body.woocommerce-account .pmt-manage-row .pmt-design-action:has(input[value="delete"]){--pmt-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%206h18M9%206V3h6v3M5%206l1%2015h12l1-15M10%2010v7M14%2010v7%22%2F%3E%3C%2Fsvg%3E")}
body.woocommerce-account .pmt-manage-row button:hover{filter:brightness(1.12)}
body.woocommerce-account .pmt-design-primary{display:flex;flex-wrap:wrap;gap:10px}
body.woocommerce-account .pmt-design-primary .pmt-design-action{margin:0}
@media(max-width:640px){
 body.woocommerce-account .pmt-manage-row{padding:12px;gap:10px}
 body.woocommerce-account .pmt-manage-row .pmt-design-action:has(input[value="rename"]){flex-direction:column;align-items:stretch}
 body.woocommerce-account .pmt-manage-row .pmt-design-action:has(input[value="rename"]) button{width:100%}
 body.woocommerce-account .pmt-manage-row input[name="design_name"]{font-size:16px;height:48px}
 body.woocommerce-account .pmt-manage-row button{min-height:48px;padding:10px;font-size:12px}
 body.woocommerce-account .pmt-design-primary>a,body.woocommerce-account .pmt-design-primary>form{width:100%}
 body.woocommerce-account .pmt-design-primary button{width:100%}
}

/* Clear icon navigation and touch-friendly account layout. */
body.woocommerce-account .woocommerce-MyAccount-navigation li a::before{display:none}
.pmt-account-nav-title{display:block;padding:12px 12px 16px;color:#aabac5;font-size:10px;font-weight:750;letter-spacing:1.8px}
.pmt-nav-icon{width:20px;height:20px;flex:0 0 20px}
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active{box-shadow:inset 3px 0 #dfb66b;background:#dfb66b18}
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active .pmt-nav-icon{color:#efc985}
body.woocommerce-account .pmt-account-card{min-height:180px;position:relative}
body.woocommerce-account .pmt-account-card:active{background:#3d4d59}
body.woocommerce-account .pmt-account-welcome h2{overflow-wrap:anywhere}
body.woocommerce-account .woocommerce-MyAccount-content{overflow-wrap:anywhere}
body.woocommerce-account .woocommerce-MyAccount-content .form-row{min-width:0}
body.woocommerce-account .woocommerce-MyAccount-content input,body.woocommerce-account .woocommerce-MyAccount-content select,body.woocommerce-account .woocommerce-MyAccount-content textarea{max-width:100%}
@media(min-width:901px){body.woocommerce-account .woocommerce-MyAccount-navigation{position:sticky;top:24px}}
@media(max-width:640px){
 body.woocommerce-account .content-wrap h1{font-size:30px;margin-bottom:20px}
 body.woocommerce-account .woocommerce-MyAccount-navigation{padding:10px;background:#233039}
 .pmt-account-nav-title{padding:3px 5px 10px}
 body.woocommerce-account .woocommerce-MyAccount-navigation ul{gap:6px}
 body.woocommerce-account .woocommerce-MyAccount-navigation li{margin:0!important;border-radius:10px!important;border:1px solid #4c5c6866!important}
 body.woocommerce-account .woocommerce-MyAccount-navigation li a{box-sizing:border-box;min-height:48px;gap:8px;padding:10px 9px;line-height:1.35;font-size:12px}
 body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active{border-color:#dfb66b88!important;box-shadow:none;background:#dfb66b20}
 .pmt-nav-icon{width:21px;height:21px;flex-basis:21px}
 body.woocommerce-account .woocommerce-MyAccount-content{padding:18px;border-radius:14px}
 .pmt-account-welcome{gap:18px;padding-bottom:22px;margin-bottom:18px}
 .pmt-account-welcome h2{font-size:27px}
 .pmt-account-welcome p{font-size:13px;line-height:1.65}
 body.woocommerce-account .pmt-account-create{min-height:48px;font-size:14px}
 /* The full account menu above already provides these shortcuts on mobile. */
 body.woocommerce-account .pmt-account-cards{display:none}
 body.woocommerce-account .pmt-account-card{min-height:0;padding:18px 18px 18px 76px}
 .pmt-account-icon{position:absolute;left:18px;top:18px;width:40px;height:40px;margin:0}
 .pmt-account-card h3{font-size:16px}
 .pmt-account-card p{font-size:13px}
 body.woocommerce-account .woocommerce .form-row-first,body.woocommerce-account .woocommerce .form-row-last{float:none;width:100%}
 body.woocommerce-account .woocommerce input.input-text,body.woocommerce-account .woocommerce select,body.woocommerce-account .woocommerce textarea{font-size:16px;min-height:48px}
 body.woocommerce-account .woocommerce button.button,body.woocommerce-account .woocommerce a.button{min-height:46px;line-height:1.4}
 body.woocommerce-account .woocommerce-MyAccount-content table{width:100%;table-layout:auto}
 body.woocommerce-account .woocommerce-Address{float:none!important;width:100%!important;padding:16px}
 body.woocommerce-account .woocommerce-MyAccount-content fieldset{padding:14px;margin:20px 0}
 body.woocommerce-account .woocommerce-MyAccount-content legend{font-size:16px;padding:0 6px}
}

