@charset "UTF-8";

@font-face{font-family:Montserrat;src:url("/brand/montserrat-regular.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Montserrat;src:url("/brand/montserrat-semibold.woff2") format("woff2");font-style:normal;font-weight:600;font-display:swap}
@font-face{font-family:Montserrat;src:url("/brand/montserrat-bold.woff2") format("woff2");font-style:normal;font-weight:700;font-display:swap}

:root{
  --ink:#000000;--muted:#565656;--brand:#0066FF;--brand-hover:#0047CC;
  --brand-soft:#E1EDF5;--brand-tint:#F2F7FC;--accent:#EEFF00;
  --paper:#FFFBF0;--white:#FFFFFF;--line:#EAEAEA;--input-border:#DFDFDF;
  --warning:#7A4700;--warning-bg:#FFF3DA;--success:#1C6B3C;--success-bg:#EAF6EF;
  --danger:#B42318;--danger-bg:#FFF0EE;--sidebar:232px;--button-radius:14px;
  font-family:Montserrat,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ink);font-weight:400;font-synthesis:none;line-height:1.6;
}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);font-size:15px}
button,input,select,textarea{font:inherit}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
button:disabled{cursor:not-allowed;opacity:.55}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
h1,h2,h3,h4,p{margin:0}
h1,h2,h3,h4{font-weight:700}
button svg,a svg{flex-shrink:0}
svg{vertical-align:middle}
:where(button,a,input,select,textarea):focus-visible{outline:3px solid var(--brand-hover);outline-offset:3px;box-shadow:0 0 0 2px var(--white)}
.main h1:focus{outline:none}
.main h1:focus-visible{outline:2px solid var(--brand-hover);outline-offset:5px;border-radius:4px}
.icon{width:20px;height:20px;stroke-width:1.65;stroke:currentColor;fill:none;stroke-linecap:round;stroke-linejoin:round}
.icon.small{width:17px;height:17px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:fixed;left:12px;top:-70px;z-index:1000;padding:12px 20px;background:var(--brand);color:var(--white);border-radius:10px}
.skip-link:focus{top:12px}
.wordmark{display:flex;align-items:center;width:180px;max-width:100%;line-height:1}
.wordmark .logo{width:100%;height:auto;aspect-ratio:3200/999;object-fit:contain}
.brand-mascot{object-fit:contain}

/* Account navigation */
.layout{min-height:100vh}
.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:var(--white);border-right:1px solid var(--line);padding:29px 18px 20px;display:flex;flex-direction:column;overflow-y:auto;z-index:30}
.sidebar>.wordmark{margin-left:8px}
.sidebar-caption{margin:37px 13px 12px;color:var(--muted);font-size:11px;font-weight:600;letter-spacing:1px;text-transform:uppercase}
.nav{display:flex;flex-direction:column;gap:6px}
.nav a{display:flex;align-items:center;gap:12px;min-height:48px;padding:12px 14px;border-radius:var(--button-radius);color:var(--muted);font-size:14px;font-weight:600}
.nav a:hover{background:var(--brand-tint);color:var(--brand-hover)}
.nav a.active{background:var(--brand);color:var(--white)}
.nav-count{margin-left:auto;min-width:23px;height:23px;padding:0 6px;display:grid;place-items:center;border-radius:7px;background:var(--brand-soft);color:var(--brand-hover);font-size:11px;font-weight:600}
.nav a.active .nav-count{background:var(--white);color:var(--brand-hover)}
.sidebar-bottom{margin-top:auto;padding-top:35px}
.sidebar-user{display:flex;align-items:center;gap:11px;padding:19px 8px 6px;border-top:1px solid var(--line)}
.avatar{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;border-radius:50%;background:var(--brand-soft);color:var(--brand-hover);font-size:13px;font-weight:700}
.user-text{min-width:0}
.sidebar-user strong{display:block;font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sidebar-user small{display:block;margin-top:2px;color:var(--muted);font-size:11px}
.btn.signout{justify-content:flex-start;width:100%;margin-top:9px}
.workspace{margin-left:var(--sidebar)}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:82px;padding:16px 34px;border-bottom:1px solid var(--line);background:var(--paper)}
.topbar-left{display:flex;align-items:center;min-width:0}
.account-header-label{font-size:14px;color:var(--muted)}
.topbar-actions{display:flex;align-items:center;gap:18px;flex-shrink:0}
.store-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;font-size:14px;font-weight:600;color:var(--brand)}
.store-link:hover,.store-link.active{color:var(--brand-hover);text-decoration:underline;text-underline-offset:4px}
.top-cart{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 15px;border:1px solid var(--input-border);border-radius:var(--button-radius);background:var(--white);font-size:14px;font-weight:600}
.top-cart:hover,.top-cart[aria-current="page"]{border-color:var(--brand);color:var(--brand-hover)}
.cart-count{position:absolute;top:-7px;right:-6px;min-width:21px;height:21px;padding:0 5px;border:2px solid var(--paper);border-radius:50%;display:grid;place-items:center;background:var(--brand);color:var(--white);font-size:10px;line-height:1;font-weight:700}
.mobile-brand,.mobile-nav{display:none}
.demo-banner{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:7px 34px;background:var(--white);border-bottom:1px solid var(--line);color:var(--muted);font-size:12px;line-height:1.5}
.demo-banner strong{padding:3px 7px;border-radius:5px;background:var(--accent);color:var(--ink);font-weight:600}
.demo-banner button{flex-shrink:0;min-height:44px;padding:4px 0 4px 8px;border:0;background:transparent;color:var(--muted);font-size:12px;text-decoration:underline;text-underline-offset:3px}

/* Shared content and controls */
.main{max-width:1240px;margin:0 auto;padding:33px 34px 35px}
.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}
.page-heading>div{min-width:0}
.page-heading h1{font-size:30px;line-height:1.25;letter-spacing:-.8px;overflow-wrap:anywhere}
.page-heading p{margin-top:8px;color:var(--muted);font-size:15px;line-height:1.6}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;border:1px solid transparent;border-radius:var(--button-radius);background:var(--brand);color:var(--white);font-size:14px;font-weight:600;line-height:1.5;text-align:center;transition:background .15s,border-color .15s}
.btn:hover:not(:disabled){background:var(--brand-hover)}
.btn.secondary{background:var(--white);border-color:var(--input-border);color:var(--brand-hover)}
.btn.secondary:hover:not(:disabled){background:var(--brand-tint);border-color:var(--brand-soft)}
.btn.ghost{background:transparent;border-color:transparent;color:var(--brand-hover)}
.btn.ghost:hover:not(:disabled){background:var(--brand-tint)}
.btn.small{min-height:44px;padding:10px 13px;font-size:13px}
.btn.danger{background:var(--danger)}
.btn.danger:hover:not(:disabled){background:#8F1C13}
.btn.full{width:100%}
.icon-button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;border:0;border-radius:12px;background:transparent;color:var(--muted)}
.icon-button:hover{background:var(--brand-tint);color:var(--brand-hover)}
.text-link{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-size:13px;font-weight:600;color:var(--brand)}
.text-link:hover{color:var(--brand-hover);text-decoration:underline;text-underline-offset:3px}
.panel{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:var(--white)}
.panel-inner{padding:24px}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:18px}
.section-heading h2{font-size:18px;line-height:1.35;letter-spacing:-.3px}
.section-heading .text-link{margin:-6px 0;font-size:13px;white-space:nowrap}
.section-subtitle{margin-bottom:20px;font-size:14px;color:var(--muted)}
.badge{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:7px;background:var(--success-bg);color:var(--success);font-size:11px;line-height:1.5;font-weight:600}
.badge .dot{width:5px;height:5px;flex-shrink:0;border-radius:50%;background:currentColor}
.badge.warning{background:var(--warning-bg);color:var(--warning)}
.badge.neutral{background:var(--brand-tint);color:var(--muted)}
.badge.danger{background:var(--danger-bg);color:var(--danger)}
.page-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-top:34px;padding-top:19px;border-top:1px solid var(--line);color:var(--muted);font-size:12px}
.page-footer a{display:inline-flex;align-items:center;gap:6px;min-height:44px;color:var(--brand)}
.page-footer a:hover{text-decoration:underline;text-underline-offset:3px}
.page-footer .icon{width:14px;height:14px}

/* Home: greeting and clickable account previews */
.welcome-card{display:flex;flex-direction:column;align-items:flex-start;gap:21px;min-width:0;margin-bottom:24px;padding:28px 32px;border-radius:20px;background:var(--accent);color:var(--ink)}
.welcome-logo{display:block;width:182px;max-width:100%;height:auto;aspect-ratio:3200/999;object-fit:contain}
.welcome-card h1{min-width:0;max-width:100%;margin:0;font-size:clamp(44px,4.5vw,64px);font-weight:700;line-height:1.08;letter-spacing:-1.9px;text-transform:uppercase;overflow-wrap:anywhere;word-break:normal}
.welcome-card h1 span{white-space:normal;overflow-wrap:anywhere}
.portal-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:20px}
.portal-option{display:flex;flex-direction:column;gap:15px;min-width:0;min-height:252px;padding:20px;border:1px solid var(--line);border-radius:18px;background:var(--white);color:var(--ink);transition:border-color .15s,box-shadow .15s}
.portal-option:hover{border-color:var(--brand);box-shadow:0 4px 18px rgba(0,102,255,.06)}
.portal-option:focus-visible{outline:3px solid var(--brand-hover);outline-offset:3px;box-shadow:0 0 0 2px var(--white)}
.option-heading{display:flex;align-items:center;gap:10px;min-width:0}
.option-icon{display:grid;place-items:center;width:32px;height:32px;flex-shrink:0;border-radius:10px;background:var(--brand-tint);color:var(--brand)}
.option-icon .icon{width:19px;height:19px}
.option-heading h2{min-width:0;font-size:17px;font-weight:700;line-height:1.35;letter-spacing:-.25px;overflow-wrap:anywhere}
.option-preview{display:flex;flex:1;flex-direction:column;justify-content:center;gap:11px;min-width:0;min-height:102px;padding:14px;border-radius:12px;background:var(--brand-tint)}
.option-preview-row{display:flex;align-items:center;gap:11px;min-width:0}
.option-thumb{display:grid;place-items:center;width:48px;height:48px;flex-shrink:0;border:1px solid var(--line);border-radius:10px;background:var(--white);object-fit:contain}
.option-thumb .icon{width:24px;height:24px}
.option-avatar,.option-symbol{display:grid;place-items:center;width:48px;height:48px;flex-shrink:0;border-radius:12px;background:var(--white);color:var(--brand-hover)}
.option-avatar{border-radius:50%;background:var(--brand-soft);font-size:16px;font-weight:700}
.option-symbol .icon{width:24px;height:24px}
.option-dog-icon{display:block;width:48px;height:48px;flex-shrink:0;overflow:hidden;border-radius:50%;background:var(--accent);object-fit:contain}
.option-dog-icon img,.option-dog-icon svg{display:block;width:100%;height:100%;object-fit:contain}
.option-preview-copy{flex:1;min-width:0;overflow-wrap:anywhere}
.option-preview-copy strong{display:block;font-size:14px;font-weight:600;line-height:1.45}
.option-preview-copy small{display:block;margin-top:4px;color:var(--muted);font-size:12px;line-height:1.5}
.option-preview-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;min-width:0;font-size:12px;color:var(--muted)}
.option-preview-meta small{font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.option-preview-meta .badge{font-size:10px;padding:4px 7px}
.option-thumbnails{display:flex;align-items:center;gap:9px;min-width:0}
.option-thumbnails .option-thumb{flex:0 1 54px;min-width:0;width:54px;height:auto;aspect-ratio:1}
.option-preview-caption{margin:0;color:var(--muted);font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.option-preview-caption strong{color:var(--ink);font-weight:600}
.option-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;min-width:0;min-height:74px;text-align:center;color:var(--muted)}
.option-empty>.icon{width:24px;height:24px;color:var(--brand)}
.option-empty p{max-width:260px;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.option-button{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:44px;margin-top:auto;padding:10px 13px;border-radius:var(--button-radius);background:var(--brand);color:var(--white);font-size:13px;font-weight:600;line-height:1.5;text-align:center;transition:background .15s}
.option-button .icon{width:17px;height:17px}
.portal-option:hover .option-button,.portal-option:focus-visible .option-button{background:var(--brand-hover)}
@media(max-width:1180px){
  .portal-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
  .welcome-card{padding:27px 30px}
  .welcome-card h1{font-size:54px}
}
@media(max-width:950px){
  .welcome-card{padding:25px 26px;gap:19px}
  .welcome-logo{width:170px}
  .welcome-card h1{font-size:46px;letter-spacing:-1.4px}
  .portal-option{padding:18px;gap:14px}
  .option-heading{gap:8px}
  .option-heading h2{font-size:16px}
  .option-preview{padding:12px}
  .option-preview-row{gap:9px}
  .option-preview-copy strong{font-size:13px}
}
@media(max-width:740px){
  .welcome-card{margin-bottom:20px}
  .welcome-card h1{font-size:48px}
  .portal-options{gap:16px}
}
@media(max-width:560px){
  .welcome-card{padding:24px;gap:19px;border-radius:18px}
  .welcome-logo{width:156px}
  .welcome-card h1{font-size:42px;letter-spacing:-1.3px}
  .portal-options{grid-template-columns:minmax(0,1fr)}
  .portal-option{min-height:240px;padding:20px;gap:14px}
  .option-heading{gap:10px}
  .option-heading h2{font-size:17px}
  .option-preview{min-height:96px;padding:14px}
  .option-preview-row{gap:11px}
  .option-preview-copy strong{font-size:14px}
  .option-button{font-size:14px}
}
@media(max-width:360px){
  .welcome-card{padding:22px}
  .welcome-logo{width:146px}
  .welcome-card h1{font-size:38px;letter-spacing:-1px}
  .portal-option{padding:18px}
}

/* Order summaries and account shortcuts */
.account-overview{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:24px;align-items:start}
.order-summary-header{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.order-id{font-size:15px;font-weight:600}
.order-date{margin-top:4px;font-size:13px;color:var(--muted)}
.order-item{display:flex;align-items:center;gap:14px;padding:20px 0}
.order-item>div:not(.order-item-price){min-width:0;flex:1}
.order-thumb{width:64px;height:64px;flex-shrink:0;border:1px solid var(--line);border-radius:12px;object-fit:contain;background:var(--brand-tint)}
.order-item-title{font-size:14px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.order-item-sub{margin-top:5px;color:var(--muted);font-size:13px}
.order-item-price{margin-left:auto;flex-shrink:0;white-space:nowrap;font-size:14px;font-weight:600}
.order-more{margin-top:-5px;padding-bottom:18px;color:var(--muted);font-size:13px}
.order-summary-total{display:flex;justify-content:space-between;gap:16px;padding:17px 0;border-top:1px solid var(--line);font-size:14px}
.order-summary-total span{color:var(--muted)}
.order-summary-total strong{font-size:17px;font-weight:700}
.order-card-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:3px}
.order-card-actions .btn{flex:1 1 120px;font-size:13px}
.account-links{display:flex;flex-direction:column}
.account-link{display:grid;grid-template-columns:40px minmax(0,1fr) 17px;align-items:center;gap:13px;min-height:78px;padding:15px 0;border-bottom:1px solid var(--line)}
.account-link:last-child{border-bottom:0}
.shortcut-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--brand-tint);color:var(--brand)}
.account-link>div{min-width:0}
.account-link strong{display:block;font-size:14px;font-weight:600;line-height:1.45}
.account-link small{display:block;margin-top:4px;color:var(--muted);font-size:12px;line-height:1.55}
.account-link>.icon{color:var(--muted);width:17px;height:17px}
.account-link:hover strong{color:var(--brand-hover);text-decoration:underline;text-underline-offset:3px}

/* Order history */
.order-list{display:flex;flex-direction:column;gap:18px}
.order-list-card{padding:24px}
.order-items-preview{display:flex;flex-wrap:wrap;gap:9px;margin:19px 0 12px}
.order-items-preview .order-thumb{width:64px;height:64px}
.order-products-label{margin-bottom:16px;font-size:14px;line-height:1.65;overflow-wrap:anywhere}
.order-list-bottom{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-top:17px;border-top:1px solid var(--line)}
.order-list-meta{display:flex;flex-wrap:wrap;gap:8px 20px;font-size:13px;color:var(--muted)}
.order-list-meta strong{color:var(--ink);font-weight:600}
.actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.order-list-bottom .actions{flex-shrink:0}

/* Product catalogue and saved items */
.toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}
.search-form{position:relative;flex:1;max-width:480px}
.search-form>.icon{position:absolute;left:15px;top:15px;width:18px;height:18px;color:var(--muted)}
.search-form input{width:100%;height:48px;padding:11px 57px 11px 43px;border:1px solid var(--input-border);border-radius:var(--button-radius);background:var(--white);color:var(--ink);font-size:15px}
.search-form button{position:absolute;top:2px;right:2px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:12px;background:var(--brand-tint);color:var(--brand)}
.search-form button:hover{background:var(--brand-soft)}
.search-form button .icon{width:18px;height:18px}
.toolbar-count{flex-shrink:0;color:var(--muted);font-size:13px}
.product-grid,.product-grid.four{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.product-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:var(--white)}
.product-image-wrap{position:relative;display:flex;align-items:center;justify-content:center;height:190px;overflow:hidden;background:var(--brand-tint)}
.product-image{width:100%;height:100%;object-fit:contain;padding:18px;mix-blend-mode:multiply}
.product-image-placeholder{color:#A3B4C4}
.product-image-placeholder svg{width:64px;height:64px;stroke-width:1}
.wishlist-button{position:absolute;top:10px;right:10px;display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--line);border-radius:50%;background:var(--white);color:var(--ink);z-index:2}
.wishlist-button:hover{color:var(--brand-hover);border-color:var(--brand-soft)}
.wishlist-button.saved{color:var(--brand-hover);background:var(--brand-soft);border-color:var(--brand-soft)}
.wishlist-button.saved .icon{fill:var(--brand);stroke:var(--brand)}
.product-availability{position:absolute;bottom:10px;left:10px;right:10px;justify-content:center;text-align:center}
.product-body{display:flex;flex-direction:column;gap:12px;flex:1;padding:18px}
.product-title{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;min-height:43px;font-size:14px;font-weight:600;line-height:1.55}
.product-footer{display:grid;grid-template-columns:1fr;align-items:end;gap:12px;margin-top:auto}
.product-footer .btn{width:100%;min-height:44px;padding:10px 12px;font-size:13px}
.price{font-size:16px;font-weight:700;white-space:nowrap}
.price small{margin-left:5px;font-size:10px;font-weight:400;color:var(--muted)}
.variant-select{width:100%;min-height:44px;padding:9px 10px;border:1px solid var(--input-border);border-radius:10px;background:var(--white);color:var(--ink);font-size:13px}

/* Dog profiles */
.pet-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.pet-card{padding:24px}
.pet-feature{display:flex;align-items:center;gap:14px;margin-bottom:22px}
.pet-avatar{display:grid;place-items:center;width:56px;height:56px;flex-shrink:0;overflow:hidden;border-radius:50%;background:var(--accent)}
.pet-avatar img,.pet-avatar svg{display:block;width:100%;height:100%;object-fit:contain;border-radius:50%}
.pet-feature>div:last-child{min-width:0}
.pet-feature h3{font-size:18px;line-height:1.4;overflow-wrap:anywhere}
.pet-feature p{margin-top:4px;color:var(--muted);font-size:13px}
.pet-facts{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding-bottom:20px}
.pet-facts label{display:block;margin-bottom:5px;color:var(--muted);font-size:13px}
.pet-facts span{font-size:14px;font-weight:600;overflow-wrap:anywhere}
.pet-notes{margin-bottom:18px;padding-top:16px;border-top:1px solid var(--line);color:var(--muted);font-size:14px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}
.pet-card-add{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-height:220px;padding:24px;border:1px dashed var(--input-border);border-radius:18px;background:transparent;color:var(--brand-hover)}
.pet-card-add:hover{background:var(--white)}
.pet-card-add .plus-circle{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--brand-soft)}
.pet-card-add strong{font-size:14px;font-weight:600}

/* Account, forms and addresses */
.profile-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:24px}
.profile-account{display:flex;align-items:center;gap:13px;margin-bottom:24px}
.profile-account>div:last-child{min-width:0}
.profile-account .avatar{width:48px;height:48px;font-size:16px}
.profile-account h3{font-size:16px}
.profile-account p{margin-top:3px;color:var(--muted);font-size:14px;overflow-wrap:anywhere}
.form{display:flex;flex-direction:column;gap:18px}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.field{display:flex;flex-direction:column;min-width:0;gap:7px}
.field>span,.field>label{font-size:13px;font-weight:600}
.field input,.field select,.field textarea{width:100%;min-width:0;min-height:46px;padding:11px 12px;border:1px solid var(--input-border);border-radius:12px;background:var(--white);color:var(--ink);font-size:15px}
.field input:disabled{background:#F6F6F6;color:var(--muted)}
.field textarea{min-height:100px;resize:vertical}
.field small{color:var(--muted);font-size:12px;line-height:1.65}
.checkbox-field{display:flex;align-items:center;gap:10px;min-height:44px;color:var(--muted);font-size:14px}
.checkbox-field input{width:20px;height:20px;flex-shrink:0;margin:0;accent-color:var(--brand)}
.form-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;padding-top:8px}
.address-list{display:flex;flex-direction:column;gap:16px}
.address-card{padding:18px;border:1px solid var(--line);border-radius:13px}
.address-card-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.address-card h3{font-size:14px;font-weight:600}
.address-card address{color:var(--muted);font-size:14px;font-style:normal;line-height:1.8;overflow-wrap:anywhere}
.address-card .actions{gap:5px;margin:11px -9px -7px}
.account-extra{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:24px;padding:12px 24px}
.account-extra .account-link{flex:1;max-width:570px;min-height:70px;padding:10px 0;border:0}
.account-extra>.btn{flex-shrink:0}
.connection-note{display:flex;align-items:flex-start;gap:10px;margin-top:20px;padding:16px;border-radius:12px;background:var(--brand-tint);font-size:13px;line-height:1.7}
.connection-note .icon{width:18px;height:18px;flex-shrink:0;margin-top:2px;color:var(--brand)}

/* Cart */
.cart-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(285px,1fr);align-items:start;gap:24px}
.cart-items{padding:0 24px}
.cart-row{display:flex;align-items:center;gap:16px;padding:24px 0;border-bottom:1px solid var(--line)}
.cart-row:last-child{border-bottom:0}
.cart-row .order-thumb{width:76px;height:76px}
.cart-item-info{flex:1;min-width:0}
.cart-item-info h3{font-size:14px;font-weight:600;line-height:1.55;overflow-wrap:anywhere}
.cart-item-info p{margin-top:4px;color:var(--muted);font-size:13px}
.quantity{display:inline-flex;align-items:center;overflow:hidden;height:46px;margin-top:13px;border:1px solid var(--input-border);border-radius:12px;background:var(--white)}
.quantity button{display:grid;place-items:center;width:44px;height:44px;border:0;background:transparent;color:var(--ink)}
.quantity button:hover:not(:disabled){background:var(--brand-tint);color:var(--brand-hover)}
.quantity button .icon{width:15px;height:15px}
.quantity span{min-width:30px;padding:0 5px;text-align:center;font-size:14px;font-weight:600}
.cart-row-end{display:flex;align-items:flex-end;flex-direction:column;gap:15px;flex-shrink:0}
.cart-row-end strong{font-size:15px;white-space:nowrap;font-weight:600}
.cart-summary{padding:24px}
.cart-summary h2{margin-bottom:22px;font-size:19px;letter-spacing:-.3px}
.summary-line{display:flex;justify-content:space-between;gap:15px;margin-bottom:14px;font-size:14px}
.summary-line span{color:var(--muted)}
.summary-line>span:last-child{text-align:right}
.summary-line.total{margin-top:20px;margin-bottom:22px;padding-top:18px;border-top:1px solid var(--line)}
.summary-line.total span{color:var(--ink);font-weight:600}
.summary-line.total strong{font-size:19px}
.checkout-note{margin-top:15px;color:var(--muted);font-size:12px;line-height:1.7;text-align:center}
.cart-summary>.btn.ghost{margin-top:9px}
.demo-checkout-note{margin:16px 0;padding:14px;border-radius:12px;background:var(--warning-bg);color:var(--warning);font-size:13px;line-height:1.65}

/* Loading, empty states and feedback */
.initial-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:100vh;padding:24px;text-align:center}
.initial-loading h1{font-size:24px}
.initial-loading p{color:var(--muted);font-size:14px}
.loading-paw{font-size:44px;color:var(--brand)}
.empty-state{padding:48px 24px;border:1px dashed var(--input-border);border-radius:18px;background:var(--white);text-align:center}
.empty-icon{display:grid;place-items:center;width:56px;height:56px;margin:0 auto 18px;border-radius:16px;background:var(--brand-tint);color:var(--brand)}
.empty-icon .icon{width:27px;height:27px}
.empty-state h2{font-size:20px;line-height:1.4;letter-spacing:-.3px}
.empty-state p{max-width:360px;margin:10px auto 21px;color:var(--muted);font-size:14px;line-height:1.7}
.latest-order .empty-state{padding:28px 10px;border:0}
.page-loading{padding:55px 20px;text-align:center;color:var(--muted);font-size:14px}
.page-loading p{margin-top:12px}
.spinner{display:inline-block;width:24px;height:24px;border:2px solid var(--brand-soft);border-top-color:var(--brand);border-radius:50%;animation:spin .8s linear infinite}
.load-more{display:flex;justify-content:center;margin-top:26px}
.form-error,.error-banner{padding:13px 15px;border:1px solid #F5CCC7;border-radius:12px;background:var(--danger-bg);color:var(--danger);font-size:14px;line-height:1.65}
.form-error:empty{display:none}
.error-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:22px}
.notice{margin-bottom:22px;padding:15px 17px;border-radius:12px;background:var(--brand-soft);color:var(--ink);font-size:14px;line-height:1.65}
.notice ul{margin:8px 0 0;padding-left:20px}
.notice li+li{margin-top:4px}
.toast{position:fixed;left:50%;bottom:24px;z-index:200;max-width:min(90vw,570px);padding:14px 20px;border-radius:14px;background:var(--brand);color:var(--white);box-shadow:0 8px 30px rgba(0,0,0,.12);font-size:14px;line-height:1.6;text-align:center;opacity:0;pointer-events:none;transform:translate(-50%,12px);transition:opacity .15s,transform .15s}
.toast.visible{opacity:1;transform:translate(-50%,0)}
.toast.error{background:var(--danger)}
.error-page{max-width:600px;margin:12vh auto;padding:26px;text-align:center}
.error-page h1{margin-bottom:13px;font-size:26px;line-height:1.35}
.error-page p{margin-bottom:23px;color:var(--muted);font-size:14px}
.image-unavailable{opacity:.25}

/* Dialogs */
dialog{width:min(94vw,590px);max-height:88vh;max-height:88dvh;overflow-y:auto;padding:0;border:1px solid var(--line);border-radius:20px;background:var(--white);color:var(--ink);box-shadow:0 25px 90px rgba(0,0,0,.2)}
dialog::backdrop{background:rgba(0,0,0,.42)}
.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:23px 25px 19px;border-bottom:1px solid var(--line)}
.modal-header>div{min-width:0}
.modal-header h2{font-size:21px;line-height:1.35;letter-spacing:-.4px;overflow-wrap:anywhere}
.modal-header p{margin-top:7px;color:var(--muted);font-size:13px;line-height:1.6}
.modal-header .icon-button{margin-top:-6px;margin-right:-8px}
.modal-body{padding:24px 25px}
.modal-body .order-item{padding:16px 0;border-bottom:1px solid var(--line)}
.modal-section{margin-top:24px}
.modal-section h3{margin-bottom:12px;font-size:14px;font-weight:600}
.modal-section p,.modal-section address{color:var(--muted);font-size:14px;font-style:normal;line-height:1.8}
.tracking-link{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;margin-top:9px;padding:12px 14px;border-radius:12px;background:var(--brand-tint);color:var(--brand-hover);font-size:13px;overflow-wrap:anywhere}
.tracking-link .icon{flex-shrink:0}
.modal-order-total{display:flex;justify-content:space-between;gap:14px;padding-top:18px;font-size:15px}
.modal-order-total span{color:var(--muted)}
.modal-statuses{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.modal-wide{width:min(94vw,690px)}
.confirmation-copy{color:var(--muted);font-size:15px;line-height:1.8}
.modal-action-spaced{margin-top:22px}

/* Compact sign-in */
.signin-page{min-height:100vh;min-height:100dvh;padding:30px 32px 55px;background:var(--paper)}
.signin-header{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:1180px;margin:0 auto}
.signin-card{width:100%;max-width:480px;margin:62px auto 0;padding:35px;border:1px solid var(--line);border-radius:20px;background:var(--white)}
.signin-icon{width:54px;height:54px;margin-bottom:24px;overflow:hidden;border-radius:15px;background:var(--accent)}
.signin-icon img,.signin-icon svg{display:block;width:100%;height:100%;object-fit:contain}
.signin-card h1{font-size:32px;line-height:1.25;letter-spacing:-.7px}
.signin-intro{margin-top:11px;color:var(--muted);font-size:15px;line-height:1.75}
.welcome-setup{margin-top:22px;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:var(--brand-tint);font-size:14px;line-height:1.7}
.welcome-actions{display:flex;flex-direction:column;gap:12px;width:100%;margin-top:24px}
.welcome-actions .btn{width:100%;min-height:48px;font-size:14px}
.welcome-preview-note{margin-top:16px;color:var(--muted);font-size:13px;line-height:1.65}
.signin-card>.notice{margin-top:22px;margin-bottom:0;font-size:14px}

/* Customer entry, order freshness and shipment details */
.signin-instructions{margin-top:20px;color:var(--muted);font-size:14px;line-height:1.75}
.signin-instructions p+p{margin-top:12px}
.signin-instructions strong{color:var(--ink);font-weight:600}
.order-sync{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 22px;padding:15px 17px;border:1px solid var(--line);border-radius:13px;background:var(--white)}
.home-order-sync{padding:0;border:0;background:transparent;margin-top:-3px;margin-bottom:20px}
.order-sync-copy{flex:1;min-width:0}
.order-sync-status{font-size:13px;line-height:1.65;color:var(--muted)}
.order-sync-status time{white-space:normal}
.order-sync-help{margin-top:3px;font-size:12px;color:var(--muted);line-height:1.6}
.sync-demo-label{font-size:12px}
.order-sync-error{margin-top:7px;color:var(--danger);font-size:13px;line-height:1.65;overflow-wrap:anywhere}
.order-sync>.btn{flex-shrink:0;min-height:44px}
.order-sync>.btn[aria-disabled="true"]{cursor:progress;opacity:.7}
.order-page-error{margin-top:18px}
.shipping-summary{display:flex;flex-direction:column;gap:10px;margin:0 0 19px;padding:13px 15px;border-radius:11px;background:var(--brand-tint)}
.shipping-summary-row{display:flex;align-items:flex-start;gap:9px;min-width:0}
.shipping-summary-row>.icon{width:17px;height:17px;flex-shrink:0;margin-top:3px;color:var(--brand)}
.shipping-summary-row>div{min-width:0}
.shipping-summary-row strong{display:block;font-size:13px;font-weight:600;line-height:1.6;overflow-wrap:anywhere}
.shipping-summary-row span{display:block;margin-top:2px;font-size:12px;line-height:1.6;color:var(--muted)}
.shipping-summary-text{display:flex;align-items:flex-start;gap:7px;margin-bottom:16px;font-size:12px;line-height:1.65;color:var(--muted);overflow-wrap:anywhere}
.shipping-summary-text>.icon{flex-shrink:0;margin-top:2px;color:var(--brand)}
.option-preview .shipping-summary-text{margin:0;font-size:11px}
.order-shipping{margin-top:20px}
.order-shipping>h3{margin-bottom:13px;font-size:17px;line-height:1.4}
.shipment-card{margin-top:13px;padding:17px;border:1px solid var(--line);border-radius:13px;background:var(--white)}
.shipment-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.shipment-heading h4{font-size:14px;font-weight:600}
.shipment-facts{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:0 0 14px}
.shipment-facts>div{min-width:0}
.shipment-facts dt{margin:0 0 4px;color:var(--muted);font-size:12px}
.shipment-facts dd{margin:0;font-size:13px;line-height:1.65;overflow-wrap:anywhere}
.shipping-empty{margin:8px 0 14px;font-size:12px;line-height:1.7;color:var(--muted);overflow-wrap:anywhere}
.shipment-tracking-list{display:flex;flex-direction:column;gap:14px}
.shipment-tracking{padding-top:14px;border-top:1px solid var(--line)}
.shipment-tracking .tracking-link{min-height:44px;margin-top:9px}
.shipment-tracking .shipping-empty{margin-bottom:0}
.shipment-event-section{margin-top:17px;padding-top:15px;border-top:1px solid var(--line)}
.shipment-event-section h5{margin:0 0 12px;font-size:13px;font-weight:600}
.shipment-events{display:flex;flex-direction:column;gap:15px;margin:0;padding:0;list-style:none}
.shipment-events li{position:relative;padding-left:16px;min-width:0}
.shipment-events li::before{position:absolute;top:7px;left:0;width:6px;height:6px;border-radius:50%;background:var(--brand);content:""}
.shipment-event-title{display:flex;align-items:flex-start;justify-content:space-between;gap:9px;flex-wrap:wrap}
.shipment-event-title strong{font-size:12px;font-weight:600;line-height:1.7}
.shipment-event-title span{color:var(--muted);font-size:11px;line-height:1.8}
.shipment-events p{margin-top:4px;font-size:12px;line-height:1.7;color:var(--muted);overflow-wrap:anywhere}
.order-products>h3{font-size:16px;font-weight:700}
@media(max-width:540px){
  .order-sync{align-items:flex-start;flex-wrap:wrap;gap:12px;padding:14px}
  .home-order-sync{padding:0}
  .order-sync-copy{flex-basis:100%}
  .order-sync>.btn{font-size:12px}
  .order-sync-status,.order-sync-error{font-size:12px}
  .shipment-card{padding:14px}
  .shipment-facts{grid-template-columns:1fr;gap:10px}
  .shipment-heading{gap:9px}
  .shipment-event-title{flex-direction:column;gap:1px}
  .signin-instructions{font-size:13px}
}

@keyframes spin{to{transform:rotate(360deg)}}

@media(min-width:1500px){
  .product-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:1100px){
  .main{padding:28px}
  .topbar{padding-left:28px;padding-right:28px}
  .demo-banner{padding-left:28px;padding-right:28px}
  .account-overview{grid-template-columns:1fr}
  .account-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
  .account-link{grid-template-columns:36px minmax(0,1fr);gap:10px;border:0;padding:0;min-height:65px}
  .account-link>.icon:last-child{display:none}
  .shortcut-icon{width:36px;height:36px;border-radius:10px}
  .account-link small{font-size:11px}
  .product-grid,.product-grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}
  .order-list-bottom{align-items:flex-start;flex-direction:column;gap:15px}
  .order-list-bottom .actions{width:100%}
  .order-list-bottom .actions .btn{flex:1}
  .cart-grid{grid-template-columns:1fr}
  .cart-row .order-thumb{width:70px;height:70px}
  .profile-grid{grid-template-columns:1fr}
}
@media(max-width:950px){
  .main{padding:26px 24px}
  .topbar{padding-left:24px;padding-right:24px}
  .demo-banner{padding-left:24px;padding-right:24px}
  .page-heading h1{font-size:28px}
  .page-heading p{font-size:14px}
  .account-links{display:flex;gap:0}
  .account-link{grid-template-columns:40px minmax(0,1fr) 17px;gap:13px;padding:14px 0;border-bottom:1px solid var(--line);min-height:76px}
  .account-link:last-child{border:0;padding-bottom:0}
  .account-link:first-child{padding-top:0}
  .account-link>.icon:last-child{display:block}
  .shortcut-icon{width:40px;height:40px;border-radius:12px}
  .account-link small{font-size:12px}
  .pet-grid{grid-template-columns:1fr}
  .pet-card-add{min-height:150px}
  .account-extra .account-link{border:0;min-height:65px;padding:10px 0}
}
@media(max-width:740px){
  .sidebar{display:none}
  .workspace{margin-left:0}
  .topbar{position:sticky;top:0;z-index:20;min-height:72px;padding:13px 20px;gap:12px;background:var(--paper)}
  .account-header-label{display:none}
  .mobile-brand{display:block}
  .mobile-brand .wordmark{width:142px}
  .topbar-actions{gap:13px}
  .topbar .store-link{font-size:13px;min-width:44px}
  .top-cart{padding:9px 12px;gap:6px;font-size:13px}
  .top-cart .icon{width:18px;height:18px}
  .mobile-nav{position:fixed;inset:auto 0 0;z-index:35;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:7px 10px calc(7px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--white);box-shadow:0 -3px 16px rgba(0,0,0,.025)}
  .mobile-nav a{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;min-height:56px;padding:7px 4px;border-radius:12px;color:var(--muted);font-size:11px;font-weight:600;line-height:1.3}
  .mobile-nav a .icon{width:21px;height:21px}
  .mobile-nav a:hover,.mobile-nav a.active{background:var(--brand-tint);color:var(--brand-hover)}
  .mobile-nav .nav-count{position:absolute;top:2px;left:calc(50% + 7px);margin:0;min-width:17px;height:17px;padding:0 4px;border-radius:50%;background:var(--brand);color:var(--white);font-size:9px}
  .main{padding:26px 20px calc(95px + env(safe-area-inset-bottom))}
  .demo-banner{padding:6px 20px;font-size:11px;gap:12px}
  .demo-banner button{font-size:11px}
  .page-heading{align-items:flex-start;gap:16px;margin-bottom:23px}
  .page-heading h1{font-size:28px}
  .page-heading p{font-size:14px}
  .page-heading>.btn{flex-shrink:0}
  .account-overview,.profile-grid,.cart-grid{gap:20px}
  .panel-inner{padding:22px}
  .section-heading h2{font-size:18px}
  .product-grid,.product-grid.four{gap:16px}
  .product-image-wrap{height:185px}
  .product-title{font-size:14px}
  .field input,.field select,.field textarea,.search-form input,.variant-select{font-size:16px}
  .account-extra{margin-top:20px;padding:12px 22px}
  .page-footer{margin-top:28px;font-size:12px}
  .toast{bottom:calc(88px + env(safe-area-inset-bottom));max-width:calc(100vw - 32px);font-size:13px}
  .signin-page{padding:24px 22px 36px}
  .signin-header .wordmark{width:168px}
  .signin-header .store-link{font-size:13px}
  .signin-card{margin-top:46px;padding:30px}
}
@media(max-width:540px){
  .main{padding-left:16px;padding-right:16px}
  .topbar{padding-left:16px;padding-right:16px}
  .demo-banner{padding-left:16px;padding-right:16px}
  .page-heading{flex-wrap:wrap}
  .page-heading h1{font-size:27px}
  .page-heading p{font-size:14px}
  .page-heading>.btn{font-size:13px}
  .panel-inner{padding:20px}
  .section-heading{gap:10px}
  .section-heading h2{font-size:17px}
  .order-item{gap:12px}
  .order-thumb{width:56px;height:56px}
  .order-item-title{font-size:14px}
  .order-item-sub{font-size:12px}
  .order-item-price{font-size:13px}
  .order-card-actions{gap:9px}
  .order-card-actions .btn{font-size:13px;flex-basis:115px}
  .order-list-card{padding:20px}
  .order-items-preview .order-thumb{width:55px;height:55px}
  .order-list-meta{font-size:13px;gap:7px 15px}
  .order-list-bottom .actions{gap:9px}
  .order-list-bottom .btn{font-size:12px;padding-left:10px;padding-right:10px}
  .toolbar{align-items:flex-start;flex-direction:column;gap:9px;margin-bottom:18px}
  .search-form{width:100%;max-width:none}
  .toolbar-count{font-size:12px}
  .product-grid,.product-grid.four{gap:12px}
  .product-image-wrap{height:160px}
  .product-image{padding:12px}
  .product-body{padding:14px;gap:11px}
  .product-title{font-size:13px;min-height:41px}
  .product-footer{gap:11px}
  .product-footer .btn{font-size:12px;padding:10px 7px}
  .price{font-size:15px}
  .price small{font-size:9px;margin-left:3px}
  .wishlist-button{top:8px;right:8px}
  .product-availability{font-size:10px;left:8px;right:8px}
  .pet-card{padding:22px}
  .pet-facts{gap:14px}
  .form-row{grid-template-columns:1fr}
  .account-extra{display:flex;align-items:stretch;flex-direction:column;gap:5px;padding:12px 20px}
  .account-extra .account-link{width:100%;max-width:none}
  .account-extra>.btn{align-self:flex-start;margin-left:-10px}
  .cart-items{padding:0 20px}
  .cart-row{display:grid;grid-template-columns:60px minmax(0,1fr);align-items:start;gap:12px}
  .cart-row .order-thumb{width:60px;height:60px}
  .cart-item-info{grid-column:2}
  .cart-row-end{grid-column:2;align-items:center;justify-content:space-between;flex-direction:row;gap:16px;margin-top:-3px}
  .cart-row-end .icon-button{margin-right:-8px}
  .cart-summary{padding:22px}
  .summary-line{font-size:14px}
  .checkout-note{font-size:12px}
  .empty-state{padding:36px 20px}
  .empty-state h2{font-size:19px}
  .empty-state p{font-size:14px}
  .modal-header{padding:21px 20px 17px}
  .modal-header h2{font-size:20px}
  .modal-body{padding:22px 20px}
  .modal-header .icon-button{margin-right:-9px}
  .form-actions .btn{font-size:13px;flex:1 1 110px}
  .modal-statuses .badge{font-size:10px}
  .signin-page{padding:22px 18px 32px}
  .signin-header{gap:10px}
  .signin-header .wordmark{width:154px}
  .signin-header .store-link{font-size:12px;gap:5px}
  .signin-header .store-link .icon{width:14px;height:14px}
  .signin-card{margin-top:34px;padding:27px 24px}
  .signin-card h1{font-size:29px}
  .signin-icon{width:48px;height:48px;margin-bottom:21px}
  .signin-intro{font-size:14px}
  .welcome-setup{font-size:13px}
  .welcome-preview-note{font-size:12px}
  .page-footer{gap:8px;font-size:11px}
}
@media(max-width:360px){
  .topbar{padding-left:14px;padding-right:14px;gap:8px}
  .mobile-brand .wordmark{width:116px}
  .topbar-actions{gap:7px}
  .top-cart{padding-left:10px;padding-right:10px}
  .main{padding-left:14px;padding-right:14px}
  .panel-inner,.order-list-card{padding:18px}
  .product-grid,.product-grid.four{gap:10px}
  .product-image-wrap{height:140px}
  .product-body{padding:11px}
  .product-title{font-size:12px;min-height:38px}
  .price{font-size:14px}
  .product-footer .btn{font-size:12px}
  .cart-items{padding:0 17px}
  .signin-header .wordmark{width:134px}
  .signin-card{padding:24px 22px}
  .signin-header .store-link{font-size:11px}
  .demo-banner{padding-left:14px;padding-right:14px;font-size:10px}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
