/* YCP post-purchase: thank-you page, view-order, order-tracking result, My Account (inc/postpurchase.php).
   Enqueued only on those pages, after ycp-sitewide. Same tokens as css/sitewide_v1.css (hex, as there): ink #0E0F13,
   text #2A2C33, muted #4A4C55, line #E3E4E9, field #D9DAE2, soft #F6F6F8, stage #F2F2F5, indigo #565B83 / #3F4366.
   One filled primary per view; inputs 48px; Hebrew is never letter-spaced or upper-cased. */

/* ---------- shared: cards, buttons, status pills ---------- */
.ycp-pp-card{background:#fff;border:1px solid #E3E4E9;border-radius:20px;padding:24px;margin:0 0 20px;box-shadow:0 12px 40px rgba(14,15,19,.05)}
.ycp-pp-card__h{font-size:19px!important;line-height:1.35!important;font-weight:700!important;color:#0E0F13!important;margin:0 0 14px!important;letter-spacing:normal!important;text-transform:none!important}
.ycp-pp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:8px 0 0}
.ycp-pp-grid>.ycp-pp-card{margin:0}
.ycp-pp-grid>.ycp-pp-card:only-child{grid-column:1/-1}
.ycp-pp-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 22px;border-radius:999px;font-size:15px;font-weight:600;line-height:1.2;text-decoration:none!important;transition:background-color .15s ease,border-color .15s ease,color .15s ease}
.ycp-pp-btn--primary{background:#565B83;color:#fff!important;border:1px solid #565B83}
.ycp-pp-btn--primary:hover,.ycp-pp-btn--primary:focus-visible{background:#3F4366;border-color:#3F4366;color:#fff!important}
.ycp-pp-btn--ghost{background:#fff;color:#3F4366!important;border:1px solid #D9DAE2}
.ycp-pp-btn--ghost:hover,.ycp-pp-btn--ghost:focus-visible{border-color:#565B83;color:#3F4366!important}
.ycp-pp-btn:focus-visible,.ycp-pp-card a:focus-visible,.woocommerce-MyAccount-navigation a:focus-visible,.ycp-dash a:focus-visible{outline:2px solid #565B83;outline-offset:2px}
.ycp-pp-svg{width:20px;height:20px;flex:none}
.ycp-pp-icon3d{display:block;width:64px;height:64px;object-fit:contain}
mark.ycp-ostatus{display:inline-flex;align-items:center;gap:6px;padding:4px 12px;border-radius:999px;font-size:13px;font-weight:600;line-height:1.4;white-space:nowrap;background:#EDEEF4;color:#3F4366}
mark.ycp-ostatus::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
mark.ycp-ostatus--completed{background:#E6F3EC;color:#1D5E3A}
mark.ycp-ostatus--on-hold,mark.ycp-ostatus--pending{background:#FFF3DF;color:#6E4300}
mark.ycp-ostatus--cancelled,mark.ycp-ostatus--refunded,mark.ycp-ostatus--checkout-draft{background:#F0F0F3;color:#4A4C55}
mark.ycp-ostatus--failed{background:#FBEFF0;color:#7A2430}

/* ---------- thank-you: hero ---------- */
.ycp-ty{display:flex;align-items:center;gap:28px;margin:0 0 20px;padding:32px;border-radius:24px;background:#F6F6F8;border:1px solid #E3E4E9}
.ycp-ty__icon{position:relative;flex:none;width:112px;height:112px;display:grid;place-items:center;border-radius:28px;background:#fff}
.ycp-ty__img{width:96px!important;height:96px!important;object-fit:contain}
.ycp-ty__badge{position:absolute;inset-block-end:-6px;inset-inline-start:-6px;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#565B83;color:#fff;box-shadow:0 0 0 4px #F6F6F8}
.ycp-ty__badge .ycp-pp-svg{width:20px;height:20px}
.ycp-ty__sym{color:#7A2430}.ycp-ty__sym .ycp-pp-svg{width:56px;height:56px}
.ycp-ty__eyebrow{margin:0 0 6px!important;font-size:14px;font-weight:600;color:#4A4C55}
.ycp-ty__title{margin:0 0 8px!important;font-size:30px!important;line-height:1.25!important;font-weight:700!important;color:#0E0F13!important;letter-spacing:normal!important;text-wrap:balance}
.ycp-ty__sub{margin:0!important;font-size:17px;line-height:1.6;color:#2A2C33;max-width:56ch}
.ycp-ty--failed{background:#FFF;border-color:#EBC9CD}
/* Woo's own "thank you" line: the hero says it, keep it for assistive tech only */
.ycp-ty~.woocommerce-thankyou-order-received{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(1px,1px,1px,1px)!important;clip-path:inset(50%)!important;margin:-1px!important;padding:0!important;border:0!important}

/* ---------- thank-you: overview strip (Woo's ul.order_details) ---------- */
.woocommerce .woocommerce-order ul.woocommerce-order-overview{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:0;margin:0 0 20px!important;padding:0!important;list-style:none;background:#fff;border:1px solid #E3E4E9;border-radius:20px;overflow:hidden}
.woocommerce .woocommerce-order ul.woocommerce-order-overview::before,.woocommerce .woocommerce-order ul.woocommerce-order-overview::after{display:none}
.woocommerce .woocommerce-order ul.woocommerce-order-overview li{float:none!important;margin:0!important;padding:16px 20px!important;border:0!important;border-inline-start:1px solid #E3E4E9!important;font-size:13px!important;line-height:1.5!important;color:#4A4C55;text-transform:none!important;letter-spacing:normal!important}
.woocommerce .woocommerce-order ul.woocommerce-order-overview li:first-child{border-inline-start:0!important}
.woocommerce .woocommerce-order ul.woocommerce-order-overview li strong{display:block;margin-top:4px;font-size:17px!important;font-weight:700;color:#0E0F13;font-variant-numeric:tabular-nums;text-transform:none!important}

/* ---------- next steps ---------- */
.ycp-steps__list{list-style:none;margin:0!important;padding:0!important;display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px}
.ycp-steps__item{display:flex;gap:14px;align-items:flex-start;margin:0!important;padding:16px;border-radius:16px;background:#F6F6F8}
.ycp-steps__n{flex:none;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#565B83;color:#fff;font-size:15px;font-weight:700;font-variant-numeric:tabular-nums}
.ycp-steps__t{display:block;margin:4px 0 4px;font-size:16px;color:#0E0F13}
.ycp-steps__x{margin:0!important;font-size:15px;line-height:1.6;color:#2A2C33}
.ycp-steps__x a{color:#565B83!important;text-decoration:underline;text-underline-offset:3px;font-weight:600}

/* ---------- help + continue browsing ---------- */
.ycp-help{display:flex;gap:20px;align-items:flex-start}
.ycp-help__icon{flex:none;width:72px;height:72px;border-radius:20px;background:#F2F2F5;display:grid;place-items:center}
.ycp-help__icon img{width:60px!important;height:60px!important;object-fit:contain}
.ycp-help__x{margin:0 0 16px!important;font-size:15px;line-height:1.6;color:#2A2C33}
.ycp-help__btns{display:flex;flex-wrap:wrap;gap:10px}
.ycp-more__list{list-style:none;margin:0 0 18px!important;padding:0!important;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.ycp-more__list li{margin:0!important}
.ycp-more__cat{display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 8px;border-radius:14px;background:#F6F6F8;color:#0E0F13!important;font-size:14px;font-weight:600;line-height:1.35;text-align:center;text-decoration:none!important;border:1px solid transparent;transition:border-color .15s ease,background-color .15s ease}
.ycp-more__cat:hover,.ycp-more__cat:focus-visible{border-color:#565B83;background:#fff}
.ycp-more__img{width:48px!important;height:48px!important;object-fit:contain}

/* ---------- order details + customer details (thank-you, view-order, tracking result) ---------- */
.woocommerce .woocommerce-order-details,.woocommerce .woocommerce-customer-details,.woocommerce .woocommerce-bacs-bank-details{background:#fff;border:1px solid #E3E4E9;border-radius:20px;padding:24px;margin:0 0 20px}
.woocommerce .woocommerce-order-details__title,.woocommerce .woocommerce-column__title,.woocommerce .woocommerce-bacs-bank-details h2,.woocommerce-OrderUpdates+h2,.woocommerce-MyAccount-content>h2{font-size:19px!important;line-height:1.35!important;font-weight:700!important;color:#0E0F13!important;margin:0 0 14px!important;letter-spacing:normal!important}
.woocommerce table.woocommerce-table--order-details{border:0!important;border-collapse:collapse!important;margin:0!important;width:100%}
.woocommerce table.woocommerce-table--order-details th,.woocommerce table.woocommerce-table--order-details td{border:0!important;border-bottom:1px solid #E3E4E9!important;padding:14px 0!important;background:transparent!important;text-align:start;vertical-align:top;font-size:15px;line-height:1.5;color:#2A2C33}
.woocommerce table.woocommerce-table--order-details thead th{padding-top:0!important;font-size:13px;font-weight:600;color:#4A4C55}
.woocommerce table.woocommerce-table--order-details .product-total,.woocommerce table.woocommerce-table--order-details tfoot td{text-align:end;font-variant-numeric:tabular-nums;white-space:nowrap}
.woocommerce table.woocommerce-table--order-details td.product-name a{color:#0E0F13!important;font-weight:600;text-decoration:none}
.woocommerce table.woocommerce-table--order-details td.product-name a:hover{color:#565B83!important}
.woocommerce table.woocommerce-table--order-details .product-quantity{color:#4A4C55;font-weight:600}
.woocommerce table.woocommerce-table--order-details tfoot th{font-weight:400;color:#4A4C55}
.woocommerce table.woocommerce-table--order-details tfoot tr:last-child th,.woocommerce table.woocommerce-table--order-details tfoot tr:last-child td{border-bottom:0!important;font-size:18px;font-weight:700;color:#0E0F13}
.woocommerce table.woocommerce-table--order-details .includes_tax,.woocommerce table.woocommerce-table--order-details small{color:#4A4C55;font-size:13px;font-weight:400}
.woocommerce .wc-item-meta{margin:6px 0 0!important;padding:0!important;list-style:none;font-size:13px;color:#4A4C55}
.woocommerce .wc-item-meta li{margin:0!important}.woocommerce .wc-item-meta p{display:inline;margin:0}
.ycp-item-origin{font-size:13px;line-height:1.5;color:#4A4C55;margin-top:4px}
.woocommerce .woocommerce-customer-details .woocommerce-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.woocommerce .woocommerce-customer-details .woocommerce-columns::before,.woocommerce .woocommerce-customer-details .woocommerce-columns::after{display:none}
.woocommerce .woocommerce-customer-details .woocommerce-column{float:none!important;width:auto!important;max-width:none!important;margin:0!important;padding:0!important}
.woocommerce .woocommerce-customer-details address{margin:0;padding:16px 18px!important;border:1px solid #E3E4E9!important;border-radius:14px!important;font-style:normal;line-height:1.7;color:#2A2C33;background:#fff}
.woocommerce .woocommerce-customer-details address p{margin:6px 0 0}
.woocommerce .order-again{margin:16px 0 0}
.woocommerce .order-again .button{background:#fff!important;color:#3F4366!important;border:1px solid #D9DAE2!important}
.woocommerce .order-again .button:hover{border-color:#565B83!important}

/* ---------- view-order header + order updates ---------- */
.ycp-vo{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}
.ycp-vo__n{font-size:22px;font-weight:700;color:#0E0F13}
.ycp-vo__d{font-size:15px;color:#4A4C55}
.ycp-acc--view-order .woocommerce-MyAccount-content>p:first-child,.ycp-track-page .woocommerce>p:has(.ycp-vo){margin:0 0 20px}
.woocommerce ol.woocommerce-OrderUpdates{list-style:none;margin:0 0 20px!important;padding:0!important}
.woocommerce ol.woocommerce-OrderUpdates li.note{margin:0 0 10px!important;padding:14px 18px;border-radius:14px;background:#F6F6F8;border:0}
.woocommerce ol.woocommerce-OrderUpdates .meta{margin:0 0 4px!important;font-size:13px;color:#4A4C55}
.woocommerce ol.woocommerce-OrderUpdates .description p{margin:0}

/* ---------- My Account: layout + navigation ---------- */
.woocommerce-account .woocommerce:has(>.woocommerce-MyAccount-navigation){display:grid;grid-template-columns:260px minmax(0,1fr);gap:32px;align-items:start}
.woocommerce-account .woocommerce:has(>.woocommerce-MyAccount-navigation)::before,.woocommerce-account .woocommerce:has(>.woocommerce-MyAccount-navigation)::after{display:none}
.woocommerce-account .woocommerce-MyAccount-navigation,.woocommerce-account .woocommerce-MyAccount-content{float:none!important;width:auto!important;margin:0!important;min-width:0}
.woocommerce-account .woocommerce-MyAccount-navigation{position:sticky;top:calc(var(--ycp-topbar-h,0px) + 96px)}
.woocommerce-MyAccount-navigation ul{list-style:none;margin:0!important;padding:8px!important;background:#fff;border:1px solid #E3E4E9;border-radius:20px;display:flex;flex-direction:column;gap:2px}
.woocommerce-MyAccount-navigation li{margin:0!important;padding:0!important;border:0!important}
.woocommerce-MyAccount-navigation li a{display:flex;align-items:center;gap:12px;min-height:48px;padding:0 14px;border-radius:14px;color:#2A2C33!important;font-size:15px;font-weight:600;text-decoration:none!important;transition:background-color .15s ease,color .15s ease}
.woocommerce-MyAccount-navigation li a::before{content:"";flex:none;width:20px;height:20px;background:currentColor;-webkit-mask:var(--ycp-ico) center/contain no-repeat;mask:var(--ycp-ico) center/contain no-repeat;opacity:.85}
.woocommerce-MyAccount-navigation li a:hover{background:#F6F6F8;color:#0E0F13!important}
.woocommerce-MyAccount-navigation li.is-active a{background:#EDEEF4;color:#3F4366!important}
.woocommerce-MyAccount-navigation-link--customer-logout{margin-top:6px!important;padding-top:6px!important;border-top:1px solid #E3E4E9!important}
.woocommerce-MyAccount-navigation-link--customer-logout a{color:#4A4C55!important;font-weight:500}
/* line icons (stroke SVGs as masks, so they follow the link colour) */
.woocommerce-MyAccount-navigation-link--dashboard a{--ycp-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Crect x='3.5' y='3.5' width='7' height='7' rx='2'/%3E%3Crect x='13.5' y='3.5' width='7' height='7' rx='2'/%3E%3Crect x='3.5' y='13.5' width='7' height='7' rx='2'/%3E%3Crect x='13.5' y='13.5' width='7' height='7' rx='2'/%3E%3C/svg%3E")}
.woocommerce-MyAccount-navigation-link--orders a{--ycp-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M3.5 7.5 12 3l8.5 4.5v9L12 21l-8.5-4.5z'/%3E%3Cpath d='M3.5 7.5 12 12l8.5-4.5M12 12v9'/%3E%3C/svg%3E")}
.woocommerce-MyAccount-navigation-link--downloads a{--ycp-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11m-4.5-4.5L12 15l4.5-4.5M4.5 19.5h15'/%3E%3C/svg%3E")}
.woocommerce-MyAccount-navigation-link--edit-address a{--ycp-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E")}
.woocommerce-MyAccount-navigation-link--payment-methods a{--ycp-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Crect x='3' y='5.5' width='18' height='13' rx='2.5'/%3E%3Cpath d='M3 10h18M7 15h4'/%3E%3C/svg%3E")}
.woocommerce-MyAccount-navigation-link--edit-account a{--ycp-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8.5' r='4'/%3E%3Cpath d='M4.5 20.5a7.5 7.5 0 0 1 15 0'/%3E%3C/svg%3E")}
.woocommerce-MyAccount-navigation-link--customer-logout a{--ycp-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4.5h4a1.5 1.5 0 0 1 1.5 1.5v12a1.5 1.5 0 0 1-1.5 1.5h-4M10 8l-4 4 4 4M6 12h9'/%3E%3C/svg%3E")}
.woocommerce-MyAccount-content{font-size:16px;line-height:1.65;color:#2A2C33}

/* ---------- dashboard ---------- */
.ycp-acc--dashboard .woocommerce-MyAccount-content>p:first-of-type{margin:0 0 20px;font-size:20px;line-height:1.45;color:#0E0F13}
.ycp-acc--dashboard .woocommerce-MyAccount-content>p:first-of-type a{font-size:15px;color:#565B83!important}
.ycp-acc--dashboard .woocommerce-MyAccount-content>p:nth-of-type(2){display:none} /* Woo's link list: the cards below replace it */
.ycp-dash__last{display:grid;gap:6px;margin:0 0 20px;padding:22px 24px;border-radius:20px;background:#F6F6F8;border:1px solid #E3E4E9;color:#2A2C33!important;text-decoration:none!important;transition:border-color .15s ease}
.ycp-dash__last:hover{border-color:#565B83}
.ycp-dash__k{font-size:13px;font-weight:600;color:#4A4C55}
.ycp-dash__row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.ycp-dash__row strong{font-size:20px;color:#0E0F13}
.ycp-dash__meta{font-size:15px;color:#2A2C33;font-variant-numeric:tabular-nums}
.ycp-dash__go{display:inline-flex;align-items:center;gap:4px;font-size:15px;font-weight:600;color:#565B83}
.ycp-dash__go .ycp-pp-svg{width:18px;height:18px}
.ycp-dash__grid{list-style:none;margin:0!important;padding:0!important;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}
.ycp-dash__grid li{margin:0!important}
.ycp-dash__card{height:100%;display:flex;flex-direction:column;gap:4px;padding:18px;border-radius:18px;background:#fff;border:1px solid #E3E4E9;color:#2A2C33!important;text-decoration:none!important;transition:border-color .15s ease,box-shadow .15s ease}
.ycp-dash__card:hover{border-color:#565B83;box-shadow:0 10px 30px rgba(14,15,19,.07)}
.ycp-dash__card strong{font-size:16px;color:#0E0F13}
.ycp-dash__card span:last-child{font-size:14px;color:#4A4C55}
.ycp-dash__icon{width:64px;height:64px;margin:0 0 8px;border-radius:16px;background:#F2F2F5;display:grid;place-items:center}
.ycp-dash__icon img{width:52px!important;height:52px!important;object-fit:contain}
.ycp-dash__sym{color:#565B83}.ycp-dash__sym .ycp-pp-svg{width:30px;height:30px}

/* ---------- orders table ---------- */
.woocommerce table.woocommerce-orders-table{border:1px solid #E3E4E9!important;border-radius:20px!important;border-collapse:separate!important;border-spacing:0;overflow:hidden;background:#fff;margin:0!important}
.woocommerce table.woocommerce-orders-table th,.woocommerce table.woocommerce-orders-table td{border:0!important;border-top:1px solid #E3E4E9!important;padding:16px 18px!important;vertical-align:middle;font-size:15px;color:#2A2C33;text-align:start;background:transparent}
.woocommerce table.woocommerce-orders-table thead th{border-top:0!important;background:#F6F6F8!important;font-size:13px;font-weight:600;color:#4A4C55}
.woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-number a{font-weight:700;color:#0E0F13!important;text-decoration:none}
.woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-total{font-variant-numeric:tabular-nums}
.woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions{text-align:end;white-space:nowrap}
.woocommerce table.woocommerce-orders-table .button{background:#fff!important;color:#3F4366!important;border:1px solid #D9DAE2!important;padding:8px 16px!important;font-size:14px!important;margin:2px 0 2px 6px!important}
.woocommerce table.woocommerce-orders-table .button:hover{border-color:#565B83!important;background:#fff!important}
.woocommerce .woocommerce-pagination{margin-top:16px;display:flex;gap:10px}

/* ---------- addresses ---------- */
.ycp-acc--edit-address .woocommerce-MyAccount-content>p:first-child{color:#4A4C55;font-size:15px;margin:0 0 16px}
.woocommerce .woocommerce-Addresses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.woocommerce .woocommerce-Addresses::before,.woocommerce .woocommerce-Addresses::after{display:none}
.woocommerce .woocommerce-Addresses .woocommerce-Address{float:none!important;width:auto!important;margin:0!important;padding:20px 22px;background:#fff;border:1px solid #E3E4E9;border-radius:20px}
.woocommerce .woocommerce-Address-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}
.woocommerce .woocommerce-Address-title::before,.woocommerce .woocommerce-Address-title::after{display:none}
.woocommerce .woocommerce-Address-title h2{float:none!important;margin:0!important;font-size:17px!important;font-weight:700!important;color:#0E0F13!important;letter-spacing:normal!important}
.woocommerce .woocommerce-Address-title .edit{float:none!important;display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border:1px solid #D9DAE2;border-radius:999px;font-size:14px;font-weight:600;color:#3F4366!important;text-decoration:none!important;white-space:nowrap}
.woocommerce .woocommerce-Address-title .edit:hover{border-color:#565B83}
.woocommerce .woocommerce-Address address{margin:0;font-style:normal;line-height:1.7;color:#2A2C33}

/* ---------- forms: edit address / account, login, lost + reset password ---------- */
.woocommerce-account .woocommerce form .form-row{float:none;width:auto;margin:0 0 16px!important;padding:0!important}
.woocommerce-account .woocommerce form .form-row-first,.woocommerce-account .woocommerce form .form-row-last{width:auto!important}
.woocommerce-account .woocommerce form .form-row label{display:block;margin:0 0 6px;font-size:14px;font-weight:600;line-height:1.4;color:#0E0F13}
.woocommerce-account .woocommerce form .form-row label .required{color:#7A2430;text-decoration:none}
.woocommerce-account .woocommerce form .input-text,.woocommerce-account .woocommerce form select,.woocommerce-account .woocommerce form textarea{width:100%;min-height:48px;padding:11px 16px;border:1px solid #D9DAE2!important;border-radius:12px!important;background:#fff;font:inherit;font-size:16px;line-height:1.4;color:#0E0F13;box-shadow:none}
.woocommerce-account .woocommerce form .input-text:focus,.woocommerce-account .woocommerce form select:focus,.woocommerce-account .woocommerce form textarea:focus{border-color:#565B83!important;outline:2px solid #565B83;outline-offset:1px}
.woocommerce-account .woocommerce form .form-row.woocommerce-invalid .input-text{border-color:#B3261E!important}
.woocommerce-account .woocommerce form .password-input{display:block;position:relative}
.woocommerce-account .woocommerce form .show-password-input{inset-inline-end:12px;inset-inline-start:auto;top:50%;transform:translateY(-50%)}
.woocommerce-account .woocommerce form em,.woocommerce-account .woocommerce form .description{display:block;margin-top:6px;font-size:13px;font-style:normal;color:#4A4C55}
.woocommerce-account .woocommerce form fieldset{margin:24px 0 8px;padding:20px 20px 4px;border:1px solid #E3E4E9;border-radius:16px}
.woocommerce-account .woocommerce form fieldset legend{padding:0 8px;font-size:16px;font-weight:700;color:#0E0F13}
.woocommerce-account .woocommerce form.woocommerce-EditAccountForm,.woocommerce-account .woocommerce-MyAccount-content>form{max-width:640px}
.woocommerce-account .woocommerce .woocommerce-address-fields__field-wrapper{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
.woocommerce-account .woocommerce .woocommerce-address-fields__field-wrapper .form-row-wide,.woocommerce-account .woocommerce .woocommerce-address-fields__field-wrapper .address-field{grid-column:1/-1}
.woocommerce-account .woocommerce .woocommerce-address-fields__field-wrapper .form-row-first,.woocommerce-account .woocommerce .woocommerce-address-fields__field-wrapper .form-row-last{grid-column:auto}
/* login + lost password: one centred card, one primary */
.ycp-acc--login .woocommerce,.ycp-acc--lost-password .woocommerce{max-width:480px;margin-inline:auto}
.ycp-acc--login .woocommerce>h2,.ycp-acc--login #customer_login h2{margin:0 0 16px!important;font-size:24px!important;font-weight:700!important;color:#0E0F13!important;letter-spacing:normal!important}
.woocommerce-account .woocommerce form.login,.woocommerce-account .woocommerce form.register,.woocommerce-account .woocommerce form.lost_reset_password{margin:0 0 16px!important;padding:28px!important;border:1px solid #E3E4E9!important;border-radius:20px!important;background:#fff;box-shadow:0 12px 40px rgba(14,15,19,.06);text-align:start}
.woocommerce-account .woocommerce form.lost_reset_password>p:first-child{margin:0 0 18px!important;font-size:15px;line-height:1.6;color:#2A2C33}
.woocommerce-account .woocommerce form.login .form-row:has(.woocommerce-form-login__submit){display:flex;flex-direction:column;gap:14px;margin:4px 0 0!important}
.woocommerce-account .woocommerce .woocommerce-form-login__rememberme{display:inline-flex!important;align-items:center;gap:8px;margin:0!important;font-weight:500!important;font-size:15px!important;color:#2A2C33!important;cursor:pointer}
.woocommerce-account .woocommerce .woocommerce-form-login__rememberme input{width:18px;height:18px;accent-color:#565B83;margin:0}
.woocommerce-account .woocommerce form.login button[type=submit],.woocommerce-account .woocommerce form.register button[type=submit],.woocommerce-account .woocommerce form.lost_reset_password button[type=submit]{width:100%;min-height:52px;float:none!important;margin:0!important}
.woocommerce-account .woocommerce .lost_password{margin:14px 0 0!important;text-align:center;font-size:15px}
.woocommerce-account .woocommerce .lost_password a{color:#565B83!important;text-decoration:underline;text-underline-offset:3px}
.ycp-login-note{display:flex;flex-wrap:wrap;gap:4px 8px;padding:18px 20px;border-radius:16px;background:#F6F6F8;font-size:15px;line-height:1.6;color:#2A2C33}
.ycp-login-note strong{color:#0E0F13}
.ycp-login-note a{font-weight:600;color:#565B83!important;text-decoration:underline;text-underline-offset:3px}
#customer_login.col2-set{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
#customer_login.col2-set::before,#customer_login.col2-set::after{display:none}
#customer_login .u-column1,#customer_login .u-column2{float:none!important;width:auto!important}
.ycp-acc--login .woocommerce:has(#customer_login){max-width:1000px}
/* lost-password confirmation */
.ycp-acc--lost-password .woocommerce-message{border-radius:14px}

/* ---------- notices in these views ---------- */
.ycp-acc .woocommerce-message,.ycp-acc .woocommerce-info,.ycp-acc .woocommerce-error,.ycp-ty-page .woocommerce-error,.ycp-ty-page .woocommerce-notice--error{border-radius:14px;border-top-width:0;background:#F6F6F8;color:#2A2C33;padding:14px 18px 14px 18px;padding-inline-start:48px;font-size:15px;line-height:1.55}
.ycp-acc .woocommerce-error,.ycp-ty-page .woocommerce-error,.ycp-ty-page .woocommerce-notice--error{background:#FBEFF0;color:#7A2430}
.ycp-acc .woocommerce-message:has(.button),.ycp-acc .woocommerce-info:has(.button){display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.ycp-acc .woocommerce-message .button,.ycp-acc .woocommerce-info .button{order:2;float:none!important;margin:0!important;position:static!important;background:#fff!important;color:#3F4366!important;border:1px solid #D9DAE2!important;padding:10px 20px!important;font-size:14px!important}
.ycp-ty-page .woocommerce-thankyou-order-failed-actions{display:flex;flex-wrap:wrap;gap:10px;padding:0!important;background:none!important;margin:0 0 20px!important}
.ycp-ty-page .woocommerce-thankyou-order-failed-actions::before{display:none}

/* ---------- responsive ---------- */
@media (max-width:1024px){
	.woocommerce-account .woocommerce:has(>.woocommerce-MyAccount-navigation){grid-template-columns:minmax(0,1fr);gap:20px}
	.woocommerce-account .woocommerce-MyAccount-navigation{position:static}
	/* nav becomes a row of pills that scrolls inside itself (never the page) */
	.woocommerce-MyAccount-navigation ul{flex-direction:row;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;padding:6px!important;border-radius:999px}
	.woocommerce-MyAccount-navigation ul::-webkit-scrollbar{display:none}
	.woocommerce-MyAccount-navigation li a{min-height:44px;padding:0 14px;border-radius:999px;white-space:nowrap}
	.woocommerce-MyAccount-navigation-link--customer-logout{margin:0!important;padding:0!important;border:0!important}
	.ycp-pp-grid{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:767px){
	.ycp-ty{flex-direction:column;align-items:flex-start;gap:18px;padding:22px 20px;border-radius:20px}
	.ycp-ty__icon{width:88px;height:88px;border-radius:22px}
	.ycp-ty__img{width:76px!important;height:76px!important}
	.ycp-ty__title{font-size:24px!important}
	.ycp-ty__sub{font-size:16px}
	.woocommerce .woocommerce-order ul.woocommerce-order-overview{grid-template-columns:repeat(2,minmax(0,1fr))}
	.woocommerce .woocommerce-order ul.woocommerce-order-overview li{border-inline-start:0!important;border-top:1px solid #E3E4E9!important}
	.woocommerce .woocommerce-order ul.woocommerce-order-overview li:nth-child(-n+2){border-top:0!important}
	.woocommerce .woocommerce-order ul.woocommerce-order-overview li:nth-child(even){border-inline-start:1px solid #E3E4E9!important}
	.ycp-pp-card,.woocommerce .woocommerce-order-details,.woocommerce .woocommerce-customer-details,.woocommerce .woocommerce-bacs-bank-details{padding:18px;border-radius:18px}
	.woocommerce .woocommerce-customer-details .woocommerce-columns,.woocommerce .woocommerce-Addresses,.woocommerce-account .woocommerce .woocommerce-address-fields__field-wrapper,#customer_login.col2-set{grid-template-columns:minmax(0,1fr)}
	.ycp-help{flex-direction:column;gap:14px}
	.ycp-help__btns .ycp-pp-btn,.ycp-more .ycp-pp-btn{width:100%}
	.ycp-more__list{grid-template-columns:repeat(2,minmax(0,1fr))}
	.ycp-dash__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
	.ycp-dash__card{padding:14px}
	.ycp-dash__icon{width:52px;height:52px}.ycp-dash__icon img{width:44px!important;height:44px!important}
	/* Woo's shop_table_responsive turns rows into blocks under 768px: make each order a card */
	.woocommerce table.woocommerce-orders-table{border:0!important;background:transparent;overflow:visible}
	.woocommerce table.woocommerce-orders-table thead{display:none}
	.woocommerce table.woocommerce-orders-table tr{display:block;margin:0 0 12px;padding:6px 16px;background:#fff;border:1px solid #E3E4E9;border-radius:18px}
	.woocommerce table.woocommerce-orders-table th,.woocommerce table.woocommerce-orders-table td{display:flex!important;justify-content:space-between;align-items:center;gap:12px;padding:10px 0!important;border-top:0!important;border-bottom:1px solid #EEEFF3!important;text-align:end!important;background:transparent!important}
	.woocommerce table.woocommerce-orders-table tr>*:last-child{border-bottom:0!important}
	.woocommerce table.woocommerce-orders-table td::before,.woocommerce table.woocommerce-orders-table th::before{float:none!important;font-size:13px;font-weight:600;color:#4A4C55;text-align:start}
	.woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions{flex-wrap:wrap;justify-content:flex-start}
	.woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions::before{display:none}
	.woocommerce-account .woocommerce form.login,.woocommerce-account .woocommerce form.register,.woocommerce-account .woocommerce form.lost_reset_password{padding:20px!important}
}
@media (prefers-reduced-motion:reduce){
	.ycp-pp-btn,.ycp-more__cat,.ycp-dash__last,.ycp-dash__card,.woocommerce-MyAccount-navigation li a{transition:none}
}
