@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz@0,14..32;1,14..32&family=Poppins:wght@500;600&family=Cabin:ital,wght@0,400..700;1,400..700&display=swap');

:root{--fm-primary:#00398c;--fm-primary-hover:#00327c;--fm-secondary:#01a6e7;--fm-heading:#223646;--fm-text:#334155;--fm-muted:#6b7280;--fm-bg:#fafafa;--fm-border:#e5e7eb;--fm-surface:#fff;--fm-radius:6px}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,sans-serif;font-size:13.6px;background:var(--fm-bg);color:var(--fm-text)}body{min-height:100vh}h1,h2,h3,h4,h5,h6{font-family:Cabin,sans-serif;color:var(--fm-heading);font-weight:600}h1{font-size:40px;line-height:1.2}h2{font-size:32px;line-height:1.25}h4{font-size:22px}h5{font-size:18px}a{text-decoration:none;color:inherit}.fm-container{width:100%;max-width:96rem;margin:0 auto;padding-left:1rem;padding-right:1rem}.fm-content{padding:.5rem 0 2rem}.fm-content-pad{padding:1.5rem 1rem 2rem;max-width:96rem;margin:0 auto}.fm-title{font-size:1.25rem;font-weight:600;color:#1f2937;margin:0 0 1.5rem}.fm-subtle{color:#6b7280}.fm-row{display:flex;align-items:center}.fm-between{justify-content:space-between}.fm-gap-2{gap:.5rem}.fm-gap-4{gap:1rem}.fm-hidden{display:none!important}

/* Native equivalents of PrimeNG controls */
.fm-btn,.button{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:.45rem;min-height:38px;padding:.5rem .95rem;border:1px solid var(--fm-primary);border-radius:6px;background:var(--fm-primary);color:#fff;font:500 .85rem Inter,sans-serif;cursor:pointer;box-shadow:none;transition:background .15s,border-color .15s,opacity .15s}.fm-btn:hover,.button:hover{background:var(--fm-primary-hover);border-color:var(--fm-primary-hover)}.fm-btn.secondary,.button-secondary{background:#fff;color:#475569;border-color:#d1d5db}.fm-btn.secondary:hover,.button-secondary:hover{background:#f8fafc}.fm-btn.text{background:transparent;border-color:transparent;color:var(--fm-primary)}.fm-btn.danger{background:#dc2626;border-color:#dc2626}.fm-btn.success{background:#16a34a;border-color:#16a34a}.fm-btn.small,.button-small{min-height:32px;padding:.35rem .7rem;font-size:.78rem}.fm-btn.round{width:38px;height:38px;padding:0;border-radius:999px}.fm-btn:disabled,.button:disabled{opacity:.5;cursor:not-allowed}.fm-input,.fm-select,input[type=text],input[type=email],input[type=password],input[type=search],input[type=tel],input[type=number],select,textarea{font:inherit;color:#374151;background:#fff;border:1px solid #d1d5db;border-radius:6px;outline:none}.fm-input,input[type=text],input[type=email],input[type=password],input[type=search],input[type=tel]{min-height:42px;padding:0 .75rem}.fm-input:focus,input:focus,select:focus,textarea:focus{border-color:#00409c;box-shadow:0 0 0 1px #00409c}.fm-field{display:flex;flex-direction:column;gap:.4rem}.fm-field>label,.fm-field>span{font-size:.82rem;font-weight:600;color:#374151}.fm-field small{font-size:.72rem;color:#6b7280}.fm-float{position:relative}.fm-float input{width:100%;padding-top:.55rem}.fm-float label{position:absolute;left:.7rem;top:-.45rem;padding:0 .3rem;background:#fff;color:#6b7280;font-size:.72rem}.fm-tag{display:inline-flex;align-items:center;width:max-content;padding:.22rem .55rem;border-radius:999px;font-size:.72rem;font-weight:500}.fm-tag.info{background:#e0f2fe;color:#0369a1}.fm-tag.success{background:#dcfce7;color:#15803d}.fm-tag.warn{background:#fef3c7;color:#a16207}.fm-tag.danger{background:#fee2e2;color:#b91c1c}.fm-tag.secondary{background:#f1f5f9;color:#64748b}.fm-notice{padding:.75rem 1rem;border-radius:6px;background:#f1f5f9;color:#475569}.fm-notice.success{background:#ecfdf5;color:#047857}.fm-notice.error{background:#fef2f2;color:#b91c1c}.fm-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 1px 2px rgba(15,23,42,.05)}

/* Exact dashboard/admin menubar composition */
.fm-trial-message{position:relative;display:flex;align-items:center;justify-content:center;gap:.4rem;min-height:35px;padding:.45rem 1rem;background:#fff7ed;color:#a16207;border-bottom:1px solid #fed7aa;font-size:.78rem}.fm-trial-message button{position:absolute;right:1rem;border:0;background:transparent;color:#a16207;cursor:pointer;font-size:1rem}.fm-menubar-shell{background:#fff;border-bottom:1px solid #e5e7eb}.fm-menubar{max-width:96rem;margin:0 auto;padding:0 1rem;min-height:58px;display:flex;align-items:center}.fm-menubar>a{display:flex;align-items:center;flex:none}.fm-menubar-logo{display:block;width:6rem;height:auto}.fm-menu{display:flex;align-items:center;flex:1;margin-left:1rem}.fm-menu-item{position:relative}.fm-menu-link,.fm-menu-trigger{display:flex;align-items:center;gap:.45rem;padding:.78rem 1rem;border:0;border-radius:8px;background:transparent;color:#334155;white-space:nowrap;cursor:pointer;font:inherit}.fm-menu-link:hover,.fm-menu-trigger:hover{background:#f1f5f9}.fm-menu-link.active{background:#e2e8f0;color:var(--fm-primary);font-weight:600}.fm-menu-dropdown{position:absolute;top:calc(100% + 2px);left:0;display:none;min-width:220px;padding:.35rem;background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 12px 30px rgba(15,23,42,.16);z-index:80}.fm-menu-item.open .fm-menu-dropdown{display:block}.fm-menu-dropdown a{display:flex;align-items:center;gap:.5rem;padding:.7rem .8rem;border-radius:6px;color:#334155}.fm-menu-dropdown a:hover{background:#f8fafc}.fm-menu-end{margin-left:auto;display:flex;align-items:center;gap:1rem}.fm-header-search{display:flex;align-items:stretch}.fm-header-search input{width:270px;min-height:34px;border-radius:6px 0 0 6px;padding:0 .7rem}.fm-header-search button{min-height:34px;width:38px;padding:0;border-radius:0 6px 6px 0}.fm-cart-link{display:flex;align-items:center;gap:.45rem;padding:.45rem .55rem;color:#475569;border-radius:6px;white-space:nowrap}.fm-cart-link:hover{background:#f8fafc}.fm-avatar{width:34px;height:34px;border:0;border-radius:50%;display:grid;place-items:center;background:#f1f5f9;color:#64748b;cursor:pointer}.fm-user-wrap{position:relative}.fm-user-menu{position:absolute;right:0;top:calc(100% + 8px);display:none;width:240px;padding:.45rem;background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 14px 34px rgba(15,23,42,.16);z-index:90}.fm-user-wrap.open .fm-user-menu{display:block}.fm-user-card{display:flex;align-items:center;gap:.65rem;padding:.55rem}.fm-user-copy{min-width:0}.fm-user-copy strong,.fm-user-copy span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fm-user-copy span{font-size:.75rem;color:#64748b;margin-top:.12rem}.fm-user-group-title{padding:.55rem .7rem .3rem;color:var(--fm-primary);font-weight:700}.fm-user-menu a,.fm-user-menu button{display:flex;align-items:center;gap:.55rem;width:100%;padding:.65rem .7rem;border:0;border-radius:6px;background:transparent;color:#334155;text-align:left;cursor:pointer;font:inherit}.fm-user-menu a:hover,.fm-user-menu button:hover{background:#f8fafc}.fm-user-menu .danger{color:#ef4444}.fm-page-inner{padding:.5rem 1rem 2rem;max-width:96rem;margin:0 auto}

/* Search home */
body[data-view="search-home"]{background:#fff;overflow-x:hidden}.fm-search-home{position:relative;min-height:calc(100vh - 59px);background:#fff;overflow:hidden}.fm-search-home>.fm-search-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:1}.fm-search-home-inner{position:relative;z-index:2;max-width:42rem;margin:0 auto;padding:3rem 1rem 2rem}.fm-search-home-head{text-align:center;margin-bottom:2.5rem}.fm-search-home-head h1{font-size:2.25rem;margin:0 0 .75rem;font-weight:700}.fm-search-home-head p{margin:0;color:#4b5563;font-size:1.1rem}.fm-search-main-form{display:flex;width:100%;margin-bottom:2.5rem;box-shadow:0 8px 22px rgba(15,23,42,.08);border-radius:8px}.fm-search-main-form select{flex:0 0 165px;border-radius:6px 0 0 6px;min-height:48px;padding:0 .75rem}.fm-search-main-form input{flex:1;min-width:0;min-height:48px;border-radius:0;padding:0 .8rem}.fm-search-main-form button{min-width:94px;border-radius:0 6px 6px 0}.fm-search-tips{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;margin-bottom:2.5rem}.fm-search-tip{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:1.2rem;text-align:center;box-shadow:0 1px 3px rgba(15,23,42,.04)}.fm-tip-icon{width:42px;height:42px;display:grid;place-items:center;margin:0 auto .75rem;border-radius:50%;background:#eef5ff;color:var(--fm-primary);font-size:1rem}.fm-search-tip strong{display:block;color:#1f2937;margin-bottom:.35rem}.fm-search-tip span{display:block;color:#6b7280;font-size:.78rem;line-height:1.5}.fm-realtime{text-align:center;color:#6b7280;font-size:.78rem}.fm-realtime i{color:var(--fm-primary);margin-right:.35rem}.fm-inline-warning{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.2rem;padding:1rem 1.2rem;border-radius:10px;background:#163e62;color:#dbeafe}.fm-inline-warning strong{color:#fff}

/* Result pages */
.fm-results-page{max-width:96rem;margin:0 auto;padding:.5rem 1rem 2rem}.fm-results-head{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.5rem}.fm-results-head h5{margin:0}.fm-found{margin-left:.5rem;color:#9ca3af;font-size:.78rem;font-weight:400}.fm-mode-switch{display:inline-flex;border:1px solid #d1d5db;border-radius:6px;overflow:hidden;background:#fff}.fm-mode-switch a{display:flex;align-items:center;gap:.4rem;padding:.55rem .75rem;border-right:1px solid #e5e7eb;color:#475569}.fm-mode-switch a:last-child{border-right:0}.fm-mode-switch a.active{background:var(--fm-primary);color:#fff}.product-results,.fm-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.5rem}.product-group{display:flex;flex-direction:column;height:100%;background:#fff;padding:1.25rem;border:1px solid #d1d5db;border-radius:6px;box-shadow:0 12px 28px rgba(59,130,246,.05)}.product-group-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;padding:0!important;border:0!important}.product-group-head>div{order:2}.product-group-head .eyebrow{display:none}.product-group-head img{order:1;width:100%!important;height:160px!important;margin:1.5rem auto!important;object-fit:contain}.product-group-head h3{font-size:1.1rem!important;font-weight:800!important;line-height:1.4!important;text-transform:uppercase;margin:.3rem 0!important}.product-group-head p{color:#64748b!important;font-size:.78rem!important}.product-group>.listing-stack{display:none}.product-group-foot{margin-top:auto;padding-top:1rem!important;border:0!important;background:transparent!important;display:flex!important;justify-content:space-between!important;align-items:center!important}.product-group-foot>span{font-weight:700;color:var(--fm-heading)}.product-group-foot button{width:38px!important;height:38px!important;border-radius:999px!important;font-size:0!important}.product-group-foot button:after{content:"→";font-size:1rem}.loading-state,.empty-state{padding:1.5rem;border:1px solid #e5e7eb;border-radius:12px;background:#fff;color:#6b7280}.drugstore-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:1.5rem!important}.drugstore-column{overflow:hidden;border:1px solid #d1d5db!important;border-radius:12px!important;background:#fff!important;box-shadow:0 12px 28px rgba(59,130,246,.05)!important}.drugstore-column-head{padding:.9rem 1rem!important;border-bottom:1px solid #e5e7eb!important}.drugstore-column-head .eyebrow{display:none}.drugstore-column-head h3{margin:0!important;font-size:1rem!important;text-transform:uppercase}.drugstore-column-head>span{font-size:.75rem;color:#6b7280}.listing-stack{display:grid;gap:.5rem;max-height:563px;overflow:auto;padding:1rem;background:#fafafa}.listing-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.75rem;padding:1rem;background:#fff;border:1px solid #eef2f7;border-radius:6px}.listing-title-row{display:flex;gap:.5rem;align-items:flex-start}.listing-title-row strong{font-size:.8rem;line-height:1.4}.listing-main p{margin:.35rem 0 0;color:#64748b;font-size:.72rem}.source-pill{display:inline-flex;padding:.2rem .45rem;border-radius:999px;background:#e0f2fe;color:#0369a1;font-size:.68rem}.listing-price{display:grid;justify-items:end;gap:.45rem}.listing-price>strong{color:var(--fm-heading)}.listing-price label{display:flex;align-items:center;gap:.4rem;font-size:.7rem;color:#64748b}.listing-price input{width:70px;min-height:32px;padding:0 .4rem}.unlinked{font-size:.68rem;color:#9ca3af}.drugstore-column-foot{display:flex;justify-content:space-between;align-items:center;gap:.75rem;padding:1rem;background:#fff;border-top:1px solid #e5e7eb;font-size:.75rem}.fm-pd-layout{display:flex;justify-content:center;gap:1.5rem;max-width:120rem;margin:0 auto}.fm-pd-grid{flex:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem;max-width:96rem}.fm-comparator-aside{width:28rem;min-width:24rem}.fm-comparator-sticky{position:sticky;top:1.5rem}.fm-drawer{position:fixed;top:0;right:0;z-index:101;width:min(30rem,100%);height:100vh;overflow:auto;padding:1.25rem;background:#fff;box-shadow:-10px 0 36px rgba(15,23,42,.18)}.fm-drawer-backdrop{position:fixed;inset:0;z-index:100;background:rgba(15,23,42,.35)}

/* Droguerias */
.providers-page{width:100%!important;max-width:96rem!important;margin:0 auto!important;padding:.5rem 1rem 2rem!important}.providers-head{display:block!important;margin:0 0 1.5rem!important}.providers-head .eyebrow,.providers-head p:not(.search-status){display:none!important}.providers-head h1{margin:0!important;font-size:1.25rem!important;letter-spacing:0!important;color:#1f2937!important}.provider-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:1.5rem!important}.provider-card{position:relative!important;display:flex!important;flex-direction:column!important;justify-content:space-between!important;min-height:65px!important;padding:1.5rem!important;border:1px solid #e5e7eb!important;border-radius:12px!important;background:#fff!important;box-shadow:0 1px 2px rgba(15,23,42,.05)!important}.provider-card:hover{box-shadow:0 4px 10px rgba(15,23,42,.08)!important}.provider-card-top{display:block!important}.provider-logo-wrap{display:block!important;width:auto!important;height:auto!important;padding:0!important;border:0!important;background:transparent!important}.provider-logo-wrap img{display:block!important;width:8rem!important;height:44px!important;max-width:8rem!important;max-height:44px!important;object-fit:contain!important;object-position:left center!important;margin-bottom:1rem!important}.provider-state{position:absolute!important;top:1rem!important;right:1rem!important;width:24px!important;height:24px!important;padding:0!important;border-radius:50%!important;background:#22c55e!important;color:#fff!important;font-size:0!important;opacity:0;transform:scale(.75);display:grid!important;place-items:center!important}.provider-state:before{content:"✓"!important;width:auto!important;height:auto!important;background:transparent!important;font-size:.8rem!important}.provider-card.connected .provider-state{opacity:1;transform:scale(1)}.provider-card h2{font-family:Poppins,sans-serif!important;font-size:1.05rem!important;font-weight:600!important;text-transform:uppercase!important;margin:0 0 .5rem!important}.provider-card p{margin:0 0 1.5rem!important;color:#6b7280!important;font-size:.82rem!important;line-height:1.6!important}.provider-card-actions{margin-top:auto!important;padding:0!important;justify-content:flex-start!important}.provider-card-actions .button-danger{background:#fff!important;border-color:#d1d5db!important;color:#475569!important}.provider-dialog{width:min(520px,calc(100% - 28px));padding:0;border:0;border-radius:12px;background:transparent}.provider-dialog::backdrop{background:rgba(15,23,42,.45)}.provider-dialog-shell{padding:1.5rem;background:#fff;border-radius:12px}.provider-dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.provider-dialog-head h2{margin:0;font-size:1.4rem}.dialog-close{border:0;background:transparent;font-size:1.5rem;color:#64748b;cursor:pointer}.provider-dialog-copy{color:#64748b;line-height:1.6}.provider-field{display:flex;flex-direction:column;gap:.4rem;margin:1rem 0}.provider-field input{width:100%}.provider-options{border:0;padding:0;margin:1rem 0}.provider-option{display:flex;align-items:center;gap:.6rem;padding:.75rem;border:1px solid #e5e7eb;border-radius:6px;margin:.5rem 0}.provider-dialog-actions{display:flex;justify-content:flex-end;gap:.6rem;margin-top:1.25rem}

/* Tables + paginator */
.table-card,.admin-card,.payments-card{overflow:hidden;background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 1px 2px rgba(15,23,42,.04)}.fm-table,.admin-table,.payment-table{width:100%;border-collapse:collapse;background:#fff}.fm-table th,.fm-table td,.admin-table th,.admin-table td,.payment-table th,.payment-table td{padding:.85rem 1rem;border-bottom:1px solid #e5e7eb;text-align:left;vertical-align:middle}.fm-table th,.admin-table th,.payment-table th{color:#334155;font-size:.78rem;font-weight:600;background:#fff}.fm-table tbody tr:hover,.admin-table tbody tr:hover,.payment-table tbody tr:hover{background:#f8fafc}.fm-table-empty,.admin-empty,.payment-empty{text-align:center!important;padding:2rem!important;color:#64748b!important}.fm-paginator,.admin-pagination,.pagination{display:flex;align-items:center;justify-content:center;gap:.7rem;padding:.7rem 1rem;background:#fff;color:#64748b;border-top:1px solid #e5e7eb;font-size:.78rem}.admin-pagination{justify-content:space-between}.admin-pagination-actions{display:flex;align-items:center;gap:.5rem}.admin-search{display:flex;align-items:stretch;max-width:470px;margin-bottom:1.5rem}.admin-search input{flex:1;min-width:0;border-radius:6px 0 0 6px}.admin-search .fm-btn{border-radius:0 6px 6px 0}

/* Account */
.fm-account-page{width:100%;max-width:32rem;margin:0 auto;padding:0 1rem 2rem}.fm-account-page .fm-title{margin:1.5rem 0}.fm-org-card{border:.5px solid #e5e7eb;border-radius:10px;padding:.875rem 1rem;background:#fff;margin-bottom:1rem}.fm-org-card p{font-size:16px;font-weight:600;color:#111827;margin:0}.fm-account-form{display:flex;flex-direction:column;gap:1.5rem}.fm-account-section{display:flex;flex-direction:column;gap:1rem}.fm-account-section-title{font-size:.82rem;font-weight:600;color:#223646}.fm-account-section input{width:100%}.fm-account-submit{align-self:stretch}

/* Payment result */
.fm-payment-result-page{min-height:calc(100vh - 59px);display:flex;align-items:center;justify-content:center;padding:3rem 1rem;background:#f9fafb}.fm-payment-result-card{width:100%;max-width:24rem;padding:2rem;text-align:center;background:#fff;border:1px solid #e5e7eb;border-radius:16px}.fm-result-icon{width:64px;height:64px;display:grid;place-items:center;margin:0 auto 1.25rem;border-radius:50%;font-size:1.5rem}.fm-result-icon.success{background:#dcfce7;color:#15803d}.fm-result-icon.error{background:#fef2f2;color:#b91c1c}.fm-result-icon.warn{background:#fffbeb;color:#b45309}.fm-result-icon.neutral{background:#f3f4f6;color:#6b7280}.fm-payment-result-card h1{font-size:1.55rem;margin:.7rem 0 .25rem}.fm-payment-result-card>p{margin:.2rem 0 1.4rem;color:#6b7280;line-height:1.6}.fm-result-amount{display:block;font-size:2.25rem;color:#223646;margin-bottom:1.3rem}.fm-result-meta{border-top:1px solid #f3f4f6;padding-top:1rem;margin-bottom:1.4rem}.fm-result-meta>div{display:flex;justify-content:space-between;gap:1rem;padding:.4rem 0;font-size:.78rem}.fm-result-meta span{color:#64748b}.fm-result-meta strong{font-size:.72rem}.fm-payment-result-card .fm-btn{width:100%}

/* Onboarding/subscription */
.fm-plan-layout{max-width:64rem;margin:0 auto;padding:3.5rem 1.5rem}.fm-plan-logo{display:block;width:11rem;margin-bottom:6rem}.fm-plan-grid{display:flex;gap:2rem;align-items:flex-start}.fm-plan-summary{flex:0 0 300px}.fm-plan-summary h1{font-size:2.25rem;margin:1rem 0 1.5rem}.fm-plan-price{display:flex;align-items:baseline;gap:.5rem}.fm-plan-price strong{font-family:Cabin,sans-serif;font-size:3rem;color:var(--fm-heading)}.fm-plan-price span{font-size:1.1rem;color:#6b7280}.fm-plan-reference{font-size:.78rem;margin:.3rem 0 1.5rem}.fm-plan-feature-title{font-size:.72rem;font-weight:700;text-transform:uppercase}.fm-plan-features{list-style:none;padding:0;margin:1rem 0;display:grid;gap:1rem}.fm-plan-features li{display:flex;gap:.65rem;align-items:flex-start}.fm-plan-features i{color:var(--fm-primary)}.fm-payment-options{flex:1;min-width:0}.fm-payment-options h2{font-size:3rem;line-height:1.1;margin:0 0 1rem;font-weight:800}.fm-payment-options>p{color:#6b7280;line-height:1.6;margin:0 0 1.5rem}.fm-payment-option{position:relative;width:100%;display:block;text-align:left;padding:1.5rem;margin-bottom:1rem;background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 1px 3px rgba(15,23,42,.06);cursor:pointer}.fm-payment-option.selected{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb,0 6px 18px rgba(37,99,235,.08)}.fm-payment-option .recommended{position:absolute;top:1.5rem;right:1.5rem;background:#1d4ed8;color:#fff;padding:.25rem 1rem;border-radius:999px;font-size:.72rem;font-weight:600}.fm-payment-option h3{font-size:1.2rem;margin:0 0 1rem}.fm-payment-option p{margin:0;color:#6b7280;line-height:1.6}.fm-plan-bottom{max-width:64rem;margin:0 auto;padding:0 1.5rem 3rem;display:flex;justify-content:space-between;align-items:center;gap:2rem}.fm-important-note{max-width:37.5rem;padding:1rem;border:1px dashed #cfdbe7;border-radius:12px;background:#fff}.fm-important-note strong{display:block;color:var(--fm-heading);margin-bottom:.3rem}.fm-important-note p{margin:0;color:#6b7280;font-size:.72rem;line-height:1.5}.fm-plan-actions{display:flex;align-items:center;gap:1rem}.fm-subscription-page{max-width:96rem;margin:0 auto;padding:2.5rem 1rem}.fm-subscription-head h1{font-size:2.5rem;font-weight:800;margin:0}.fm-subscription-head p{color:#6b7280;font-size:1rem}.fm-subscription-grid{display:grid;grid-template-columns:2fr 1fr;gap:1rem;margin-top:2.5rem}.fm-subscription-main,.fm-subscription-side-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:1.5rem;box-shadow:0 1px 2px rgba(15,23,42,.04)}.fm-subscription-main{padding:2rem}.fm-subscription-plan-head{display:flex;align-items:center;gap:.8rem;margin-bottom:1rem}.fm-subscription-plan-head h2{font-size:1.5rem;margin:0}.fm-subscription-details{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;padding-top:1.5rem;margin-top:1.5rem;border-top:1px solid #e5e7eb}.fm-subscription-details span{display:block;font-size:.7rem;text-transform:uppercase;letter-spacing:.03em;color:#6b7280;font-weight:600}.fm-subscription-details strong{display:block;margin-top:.4rem}.fm-subscription-side-card h3{font-size:1.2rem;margin:0}.fm-payment-method{margin-top:1.2rem;padding:1rem;border:1px solid #e5e7eb;border-radius:10px}.fm-payment-method strong{display:block}.fm-payment-method span{display:block;margin-top:.3rem;color:#6b7280;font-size:.75rem;line-height:1.5}.fm-subscription-pay{width:100%;margin-top:1rem}

/* Bulk/history/cart helpers */
.fm-page-title-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.8rem}.fm-page-title-row h3{font-size:1.25rem;margin:0;color:#1f2937}.fm-table-shell{position:relative;overflow:auto;min-height:250px}.fm-product-image{display:block;width:64px;height:64px;object-fit:contain}.fm-history-meta{display:grid;grid-template-columns:130px 1fr;gap:.25rem 0;margin:.5rem 0 1.25rem}.fm-history-meta strong{font-weight:500}.fm-cart-stack{display:flex;flex-direction:column;gap:2rem;max-width:96rem;margin:0 auto}.cart-grid{display:flex!important;flex-direction:column!important;gap:2rem!important}.cart-group{overflow:hidden!important;border:1px solid #d1d5db!important;border-radius:6px!important;background:#fff!important;box-shadow:none!important}.cart-group-head{padding:1rem 1.5rem!important;border-bottom:1px solid #e5e7eb!important}.cart-group-head .eyebrow{display:none}.cart-group-head h2{font-size:1rem!important;text-transform:uppercase!important}.cart-product{grid-template-columns:auto 80px minmax(0,1fr) 120px 125px 100px!important;gap:1rem!important;padding:.75rem 1.5rem!important}.cart-product:before{content:"";display:block;width:64px;height:64px;background:#f8fafc;border-radius:6px;grid-column:2}.cart-product-main{grid-column:3}.cart-product-controls{grid-column:4/7!important;display:grid!important;grid-template-columns:120px 125px 100px!important;align-items:center!important;min-width:0!important}.cart-product-controls label{grid-column:2}.cart-product-controls>strong{grid-column:3}.cart-product-controls .text-button{grid-column:1;grid-row:1;color:#dc2626}.cart-group-foot{background:#fff!important;border-top:1px solid #e5e7eb!important;padding:1rem 1.5rem!important}.sync-notice{display:none!important}

/* Admin */
.admin-page{max-width:96rem!important;margin:0 auto!important;padding:.5rem 1rem 2rem!important}.admin-page-head{margin-bottom:1.5rem!important}.admin-page-head .eyebrow,.admin-page-head>div>p{display:none!important}.admin-page-head h1{font-size:1.25rem!important;letter-spacing:0!important;margin:0!important;color:#1f2937!important}.admin-toolbar{margin-bottom:1.5rem!important}.admin-toolbar .search-status{display:none}.admin-badge{display:inline-flex;padding:.2rem .55rem;border-radius:999px;font-size:.72rem}.admin-badge.info{background:#e0f2fe;color:#0369a1}.admin-badge.success{background:#dcfce7;color:#15803d}.admin-badge.warn{background:#fef3c7;color:#a16207}.admin-action{border:0;background:transparent;color:var(--fm-primary);font:inherit;cursor:pointer}.admin-action.danger{color:#dc2626}

@media(max-width:1100px){.fm-menu-link,.fm-menu-trigger{padding:.78rem .6rem}.fm-header-search{display:none}.product-results,.fm-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.provider-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.fm-pd-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fm-comparator-aside{width:22rem;min-width:20rem}.cart-product{grid-template-columns:auto minmax(0,1fr)!important}.cart-product:before{display:none}.cart-product-main{grid-column:2}.cart-product-controls{grid-column:2!important;grid-template-columns:repeat(3,auto)!important}}
@media(max-width:820px){.fm-menubar{flex-wrap:wrap;padding-top:.55rem;padding-bottom:.55rem}.fm-menu{order:3;width:100%;margin-left:0;overflow-x:auto}.fm-menu-end{margin-left:auto}.fm-menu-link,.fm-menu-trigger{padding:.55rem .65rem}.fm-search-home-inner{padding-top:2rem}.fm-search-tips{grid-template-columns:1fr}.product-results,.fm-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.drugstore-grid,.fm-pd-grid{grid-template-columns:1fr!important}.fm-comparator-aside{display:none}.provider-grid{grid-template-columns:1fr!important}.fm-plan-grid{flex-direction:column}.fm-plan-summary{flex-basis:auto;width:100%}.fm-plan-logo{margin-bottom:3rem}.fm-payment-options h2{font-size:2.25rem}.fm-plan-bottom{flex-direction:column;align-items:stretch}.fm-plan-actions{justify-content:flex-end}.fm-subscription-grid{grid-template-columns:1fr}.fm-subscription-details{grid-template-columns:1fr}}
@media(max-width:560px){.fm-cart-link span[data-cart-word]{display:none}.fm-search-main-form{flex-wrap:wrap;box-shadow:none}.fm-search-main-form select{flex:1 0 40%;border-radius:6px 0 0 6px}.fm-search-main-form input{flex:1 0 60%;border-radius:0 6px 6px 0}.fm-search-main-form button{width:100%;border-radius:6px;margin-top:.5rem}.fm-search-home-head h1{font-size:1.8rem}.product-results,.fm-product-grid{grid-template-columns:1fr}.fm-results-head{align-items:flex-start;flex-direction:column}.fm-plan-layout{padding-top:2rem}.fm-plan-logo{margin-bottom:2.5rem}.fm-payment-options h2{font-size:2rem}.fm-plan-actions{width:100%;justify-content:space-between}.fm-subscription-page{padding-top:1.5rem}.fm-subscription-head h1{font-size:2rem}.admin-search{max-width:none}.fm-history-meta{grid-template-columns:1fr}.cart-product-controls{grid-template-columns:1fr 1fr!important}.cart-product-controls label{grid-column:1}.cart-product-controls>strong{grid-column:2}.cart-product-controls .text-button{grid-column:1/3;grid-row:2;justify-self:start}}
