.profile-heading,.favorites-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;border-bottom:1px solid var(--line);padding-bottom:30px;margin-bottom:46px}
.profile-heading .eyebrow,.favorites-heading .eyebrow{color:var(--muted);margin:0 0 14px}.profile-heading h1,.favorites-heading h1{margin:0 0 12px}
.profile-identity{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:14px;color:var(--muted);margin:0}.profile-identity>span:last-child{display:flex;align-items:center;gap:12px;font-size:11px;text-transform:uppercase;letter-spacing:.05em}.profile-identity>span:last-child:before{content:'';width:4px;height:4px;border-radius:50%;background:var(--line)}
.profile-reset{gap:10px;font-size:11px;letter-spacing:.1em;text-transform:uppercase;white-space:nowrap}.profile-reset svg{width:15px;height:15px}
.profile-orders-heading{display:flex;align-items:baseline;justify-content:space-between;gap:24px;margin-bottom:24px}.profile-orders-heading>div{display:flex;align-items:baseline;gap:14px}.profile-orders-heading h2{margin:0}.profile-orders-heading span,.profile-orders-heading>p{font-size:12px;color:var(--muted);margin:0}
.profile-order{border:1px solid var(--line);background:var(--paper);min-width:0}.profile-order-meta{display:flex;align-items:center;gap:36px;padding:24px 30px;border-bottom:1px solid var(--line);font-size:12px}.order-meta-label{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:var(--muted);margin-bottom:6px}.profile-order-meta h3{font-family:Didot,'Times New Roman',serif;font-size:25px;line-height:1.2;margin:0}.profile-order-status{margin-left:auto;display:inline-flex;align-items:center;gap:8px;font-size:10px;text-transform:uppercase;letter-spacing:.1em;padding:8px 12px;border:1px solid var(--line);background:#fff;white-space:nowrap}.profile-order-status>span{width:6px;height:6px;background:var(--ink);border-radius:50%}
.profile-order-content{display:flex;align-items:center;gap:28px;padding:30px}.profile-order-preview{display:flex;align-items:center;gap:20px;flex:1;min-width:0}.profile-order-images{display:flex;align-items:center;flex-shrink:0;gap:2px;max-width:158px}.profile-order-images>div{width:50px;min-width:0;overflow:hidden}.profile-order-images img{display:block;width:100%;height:auto;padding:0}.profile-order-images .image-placeholder{display:block;font-size:8px;padding:2px}.profile-order-copy{min-width:0}.profile-order-copy>p{font-size:14px;margin:0 0 5px;line-height:1.6}.profile-order-copy .muted{font-size:12px}.profile-order-copy .text-link{font-size:11px;text-transform:uppercase;letter-spacing:.1em;gap:8px}.profile-order-copy svg{width:16px;height:16px}.profile-order-total{white-space:nowrap;text-align:right}.profile-order-total strong{font-family:Didot,'Times New Roman',serif;font-size:27px;font-weight:400}.profile-order-content>form{flex-shrink:0}.profile-order-content .primary-button{font-size:11px;letter-spacing:.08em;text-transform:uppercase;padding-inline:24px}
.favorites-heading{margin-bottom:30px}.favorites-heading>div:first-child>p:last-child{font-size:13px;color:var(--muted);margin:0}.favorites-heading>div:first-child>p:last-child span{color:var(--ink);margin-left:6px}.favorites-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}.favorites-actions form{margin:0}.favorites-actions .secondary-button{font-size:10px;text-transform:uppercase;letter-spacing:.1em;white-space:nowrap}.favorites-filters{display:flex;border:1px solid var(--line);background:var(--paper);padding:3px}.favorites-filters a{display:flex;align-items:center;justify-content:center;min-height:38px;padding:8px 12px;font-size:11px;color:var(--muted);text-align:center}.favorites-filters a[aria-current=page]{background:#fff;color:var(--ink);box-shadow:0 0 0 1px var(--line)}
#favorites-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:36px 24px;grid-auto-rows:1fr;align-items:stretch}.favorite-visual{position:relative;flex-shrink:0;width:100%;aspect-ratio:135/146;overflow:hidden;line-height:0}.favorite-visual>img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center;padding:0;margin:0}.favorite-visual>.image-placeholder{display:grid;place-items:center;height:100%;background:var(--paper);line-height:1.5}.favorite-category{position:absolute;top:12px;left:12px;max-width:calc(100% - 70px);padding:5px 8px;background:#fff;border:1px solid var(--line);font-size:8px;text-transform:uppercase;letter-spacing:.09em;line-height:1.5;color:var(--muted)}.favorite-remove-icon{position:absolute;right:8px;top:8px;display:grid;place-items:center;width:40px;height:40px;padding:0;background:#fff;border:1px solid var(--line)}.favorite-remove-icon svg{width:17px;height:17px;fill:currentColor}.favorite-remove-icon:hover{background:var(--paper)}
#favorites-grid .product-info{padding:16px 0 0}#favorites-grid h2{font-size:16px;line-height:1.45;margin:0 0 8px}#favorites-grid .product-description{font-size:12px;line-height:1.65;margin-bottom:12px;display:block;overflow:visible}#favorites-grid .product-price{font-size:13px;padding:0;margin:auto 0 16px}#favorites-grid .primary-button{font-size:10px;letter-spacing:.08em;text-transform:uppercase;min-height:44px}#favorites-grid .text-button{font-size:10px;color:var(--muted);text-underline-offset:3px;min-height:36px;padding:8px 0}
@media(max-width:1200px){.favorites-heading{align-items:flex-start;flex-direction:column;gap:22px}.favorites-actions{justify-content:flex-start;width:100%}.profile-order-meta{gap:24px}.profile-order-content{flex-wrap:wrap;gap:18px}.profile-order-preview{flex-basis:calc(100% - 170px)}.profile-order-content>form{margin-left:auto}.profile-order-images{max-width:126px}.profile-order-images>div{width:40px}}
@media(max-width:950px){#favorites-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 18px}.profile-order-meta{flex-wrap:wrap;gap:18px 28px}.profile-order-meta>div:first-child{flex-basis:calc(50% - 28px)}.profile-order-status{margin-left:0}}
@media(max-width:700px){.profile-heading{flex-direction:column;align-items:flex-start;gap:22px;margin-bottom:32px}.profile-orders-heading{align-items:flex-start;flex-direction:column;gap:8px}.profile-order-meta,.profile-order-content{padding:22px}.profile-order-preview{flex-basis:100%;align-items:flex-start}.profile-order-total{text-align:left}.profile-order-content>form{margin-left:auto}#favorites-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 16px}.favorite-category{top:8px;left:8px;font-size:7px;padding:4px;max-width:calc(100% - 60px)}.favorites-filters a{padding:8px 10px;font-size:10px}}
@media(max-width:420px){.profile-identity{font-size:12px}.profile-order-meta{gap:16px}.profile-order-meta>div:first-child{flex-basis:100%}.profile-order-images{flex-direction:column;gap:4px}.profile-order-preview{gap:14px}.profile-order-copy>p{font-size:13px}.profile-order-content>form{width:100%}.profile-order-total strong{font-size:25px}.favorites-actions{align-items:stretch}.favorites-filters{width:100%}.favorites-filters a{flex:1}.favorites-actions form{width:100%}.favorites-actions .secondary-button{width:100%}#favorites-grid{grid-template-columns:1fr;gap:30px}.favorite-category{font-size:8px;top:12px;left:12px;max-width:calc(100% - 75px)}#favorites-grid h2{font-size:16px}}

/* One product preview per order, with compact slide controls. */
.order-carousel{flex:0 0 180px;min-width:0;max-width:180px}.order-carousel-frame{display:block;position:relative;width:100%;aspect-ratio:135/146;padding:0;overflow:hidden;border:1px solid var(--line);background:var(--paper);touch-action:pan-y}.order-carousel-frame:disabled{opacity:1;cursor:default}.order-carousel-slide{display:block;position:absolute;inset:0}.order-carousel-slide img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;padding:0}.order-carousel-slide .image-placeholder{display:grid;place-items:center;height:100%;font-size:10px;padding:8px}.order-carousel-quantity{position:absolute;right:7px;top:7px;background:#fff;border:1px solid var(--line);padding:1px 6px;font-size:10px;line-height:1.5}.order-carousel-dots{position:relative;display:flex;justify-content:safe center;overflow-x:auto;scrollbar-width:thin;max-width:100%;gap:0}.order-carousel-dots button{display:grid;place-items:center;flex:0 0 24px;height:28px;border:0;padding:0;background:transparent}.order-carousel-dots button span{width:5px;height:5px;border-radius:4px;background:var(--line)}.order-carousel-dots button[aria-pressed=true] span{width:16px;background:var(--ink)}.profile-order-copy .order-carousel-caption{font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:8px}.order-carousel-caption:empty{display:none}
@media(max-width:700px){.order-carousel{flex-basis:145px;max-width:145px}}
@media(max-width:420px){.order-carousel{flex-basis:120px;max-width:120px}.profile-order-copy .order-carousel-caption{font-size:9px;letter-spacing:.05em}}

.profile-order-copy .order-carousel-name{font-size:18px;line-height:1.5}.profile-order-copy .order-carousel-item-quantity{font-size:13px}.profile-order-copy .order-carousel-caption{font-size:11px}@media(max-width:420px){.profile-order-preview{flex-wrap:wrap}.profile-order-copy .order-carousel-name{font-size:16px}.profile-order-copy .order-carousel-caption{font-size:10px}}
