/* Skapa paket – guided 4-step order flow */
.of{background:var(--cv-bg,#f5f8fc);padding:22px 0 56px;color:var(--cv-ink,#132238)}
.of *{box-sizing:border-box}
.of-wrap{max-width:1200px}
.of-head{margin:0 0 16px}
.of-eyebrow{margin:0 0 4px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--cv-green,#1a7a43)}
.of-head h1{margin:0 0 6px;font-size:clamp(24px,3vw,32px);line-height:1.15;letter-spacing:-.01em}
.of-head p{margin:0;max-width:640px;color:var(--cv-muted,#5b6b82);font-size:14.5px;line-height:1.5}

.of-steps{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 18px;padding:0;scroll-margin-top:90px}
.of-steps button{display:flex;align-items:center;gap:10px;width:100%;min-height:58px;padding:9px 12px;border:1px solid var(--cv-line,#e3e9f1);border-radius:12px;background:#fff;color:inherit;font:inherit;text-align:left;cursor:pointer}
.of-steps button:disabled{cursor:not-allowed;opacity:.55}
.of-steps i{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--cv-soft,#eef4fb);color:var(--cv-navy,#14284b);font-style:normal;font-weight:700;font-size:13px}
.of-steps span{display:grid;min-width:0}
.of-steps b{font-size:13.5px;line-height:1.25}
.of-steps small{font-size:12px;color:var(--cv-muted,#5b6b82);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.of-steps small:empty{display:none}
.of-steps li.is-active button{border-color:var(--cv-navy,#14284b);box-shadow:0 0 0 3px rgba(20,40,75,.1)}
.of-steps li.is-active i{background:var(--cv-navy,#14284b);color:#fff}
.of-steps li.is-done i{background:#e5f6ec;color:#16703d;font-size:0}
.of-steps li.is-done i::after{content:"✓";font-size:14px}

.of-shell{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:18px;align-items:start}
.of-panel{background:#fff;border:1px solid var(--cv-line,#e3e9f1);border-radius:16px;padding:22px;box-shadow:var(--cv-shadow)}
.of-panel[hidden]{display:none}
.of-panel-head{margin-bottom:16px}
.of-stepno{display:block;font-size:12px;font-weight:600;color:var(--cv-muted,#5b6b82);margin-bottom:2px}
.of-panel h2{margin:0 0 4px;font-size:21px;line-height:1.25;outline:none}
.of-lead{margin:0;color:var(--cv-muted,#5b6b82);font-size:14px;line-height:1.5}
.of-label{display:block;font-weight:600;font-size:14px;margin-bottom:6px}

.of-search{position:relative}
.of-search svg{position:absolute;left:13px;top:50%;width:19px;height:19px;transform:translateY(-50%);fill:none;stroke:var(--cv-muted,#5b6b82);stroke-width:2;stroke-linecap:round;pointer-events:none}
.of-search input{width:100%;height:48px;padding:0 14px 0 42px;border:1px solid #cfd9e6;border-radius:10px;background:#fff;font:inherit;font-size:15px;color:inherit}
.of-search--lg input{height:52px;font-size:15.5px}
.of input:focus-visible,.of textarea:focus-visible,.of select:focus-visible{outline:none;border-color:var(--cv-blue,#1d4ed8);box-shadow:0 0 0 3px rgba(29,78,216,.18)}
.of button:focus-visible,.of a:focus-visible,.of [role=option]:focus-visible{outline:3px solid rgba(29,78,216,.45);outline-offset:2px}

.of-seg{display:inline-flex;gap:4px;margin:10px 0 0;padding:3px;border-radius:10px;background:var(--cv-soft,#eef4fb)}
.of-seg button{min-height:36px;padding:0 14px;border:0;border-radius:8px;background:transparent;font:inherit;font-size:13.5px;font-weight:600;color:var(--cv-muted,#5b6b82);cursor:pointer}
.of-seg button[aria-pressed=true]{background:#fff;color:var(--cv-navy,#14284b);box-shadow:0 1px 2px rgba(16,32,64,.12)}
.of-help{margin:8px 0;font-size:12.5px;color:var(--cv-muted,#5b6b82)}
.of-plist{list-style:none;margin:0;padding:4px;max-height:360px;overflow:auto;border:1px solid var(--cv-line,#e3e9f1);border-radius:12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;overscroll-behavior:contain}
.of-plist [role=option]{display:grid;grid-template-columns:1fr auto;grid-template-areas:"n t" "c t";column-gap:10px;align-items:center;min-height:54px;padding:8px 12px;border-radius:9px;cursor:pointer;border:1px solid transparent}
.of-plist [role=option] b{grid-area:n;font-size:14.5px}
.of-plist [role=option] span{grid-area:c;font-size:12.5px;color:var(--cv-muted,#5b6b82)}
.of-plist [role=option] em{grid-area:t}
.of-plist [role=option]:hover,.of-plist .is-active{background:var(--cv-soft,#eef4fb);border-color:#cddcf0}
.of-plist [aria-selected=true]{border-color:var(--cv-navy,#14284b)}
.of-plist-empty{grid-column:1/-1;padding:16px;font-size:14px;color:var(--cv-muted,#5b6b82)}
.of-ptype{display:inline-block;padding:2px 8px;border-radius:999px;background:#eef2f7;color:#41526b;font-style:normal;font-size:11.5px;font-weight:600;white-space:nowrap}
.of-ptype.is-hakte{background:#fdf1e3;color:#8a4b0b}

.of-chosen{border:1px solid #cddcf0;background:linear-gradient(180deg,#f7faff,#fff);border-radius:14px;padding:16px 18px}
.of-chosen-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.of-chosen h3{margin:6px 0 2px;font-size:20px}
.of-chosen-top p{margin:0;color:var(--cv-muted,#5b6b82);font-size:13.5px}
.of-chosen>p{margin:10px 0 0;font-size:13.5px;line-height:1.55}
.of-facts{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.of-facts li{display:flex;gap:6px;align-items:center;padding:6px 10px;border-radius:9px;background:#fff;border:1px solid var(--cv-line,#e3e9f1);font-size:12.5px}
.of-facts span{color:var(--cv-muted,#5b6b82)}
.of-risk--low{color:#16703d}.of-risk--medium{color:#8a5a00}.of-risk--high{color:#a31d33}.of-risk--unknown{color:#5b6b82}
.of-warnline{color:#8a5a00!important;font-weight:600}
.of-fine{font-size:12px!important;color:var(--cv-muted,#5b6b82)}
.of-fine a,.of-link{color:var(--cv-blue,#1d4ed8);font-weight:600;text-decoration:none}
.of-link{background:none;border:0;padding:0;font:inherit;font-size:13.5px;cursor:pointer}

.of-groups{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.of-group{margin:0;padding:16px;border:1px solid var(--cv-line,#e3e9f1);border-radius:14px;background:#fbfcfe;min-width:0}
.of-group legend{padding:0 6px;margin-left:-6px;font-weight:700;font-size:15px}
.of-group-note{margin:0 0 10px;font-size:12.5px;color:var(--cv-muted,#5b6b82)}
.of-field{display:grid;gap:4px;margin-bottom:11px}
.of-field label{font-weight:600;font-size:13.5px}
.of-field label em{font-style:normal;font-weight:400;color:var(--cv-muted,#5b6b82)}
.of-field input,.of-field textarea{width:100%;min-height:44px;padding:10px 12px;border:1px solid #cfd9e6;border-radius:9px;background:#fff;font:inherit;font-size:15px;color:inherit}
.of-field textarea{resize:vertical;min-height:72px}
.of-field [aria-invalid=true]{border-color:#c2334a;background:#fffafa}
.of-hint{font-size:12px;color:var(--cv-muted,#5b6b82)}
.of-error{margin:6px 0 0;font-size:13px;font-weight:600;color:#a31d33}
.of-error::before{content:"! ";}
.of-error[hidden]{display:none}
.hp-field{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}

.of-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:18px;padding-top:16px;border-top:1px solid var(--cv-line,#e3e9f1)}
.of-actions .of-btn--primary{margin-left:auto}
.of-actions--sticky{position:sticky;bottom:0;z-index:5;margin:16px -22px -22px;padding:12px 22px;background:rgba(255,255,255,.96);backdrop-filter:blur(6px);border-radius:0 0 16px 16px}
.of-bar-sum{font-size:13.5px;color:var(--cv-muted,#5b6b82);margin-left:auto}
.of-bar-sum b{color:var(--cv-ink,#132238)}
.of-actions--sticky .of-btn--primary{margin-left:0}
.of-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 20px;border-radius:10px;border:1px solid transparent;font:inherit;font-size:15px;font-weight:700;text-decoration:none;cursor:pointer;white-space:nowrap}
.of-btn--primary{background:var(--cv-green,#1a7a43);color:#fff}
.of-btn--primary:hover{background:var(--cv-green-2,#18733f)}
.of-btn--primary:disabled{opacity:.7;cursor:progress}
.of-btn--ghost{background:#fff;border-color:#cfd9e6;color:var(--cv-navy,#14284b)}
.of-btn--ghost:hover{border-color:var(--cv-navy,#14284b)}
.of-btn--add{background:var(--cv-navy,#14284b);color:#fff}
.of-btn--add:hover{background:var(--cv-navy-2,#1d3561)}
.of-btn--sm{min-height:38px;padding:0 13px;font-size:13.5px;border-radius:9px}
.of-submit[aria-busy=true]::before{content:"";width:16px;height:16px;border:2px solid rgba(255,255,255,.5);border-top-color:#fff;border-radius:50%;animation:of-spin .8s linear infinite}
@keyframes of-spin{to{transform:rotate(360deg)}}

.of-browse{display:grid;gap:12px}
.of-cats{display:flex;gap:6px;overflow-x:auto;padding:2px 2px 6px;scrollbar-width:thin;scroll-snap-type:x proximity}
.of-cats button{flex:none;scroll-snap-align:start;display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 14px;border:1px solid #d6dfeb;border-radius:999px;background:#fff;font:inherit;font-size:13.5px;font-weight:600;color:var(--cv-ink,#132238);cursor:pointer}
.of-cats button small{font-size:11.5px;font-weight:600;color:var(--cv-muted,#5b6b82)}
.of-cats button[aria-pressed=true]{background:var(--cv-navy,#14284b);border-color:var(--cv-navy,#14284b);color:#fff}
.of-cats button[aria-pressed=true] small{color:rgba(255,255,255,.75)}
.of-cat-select{display:none}
.of-cat-select select{width:100%;height:46px;padding:0 12px;border:1px solid #cfd9e6;border-radius:10px;background:#fff;font:inherit;font-size:15px;font-weight:600;color:inherit}
.of-browse-meta{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;font-size:13px;color:var(--cv-muted,#5b6b82)}
.of-legend summary{cursor:pointer;color:var(--cv-blue,#1d4ed8);font-weight:600}
.of-legend[open]{flex-basis:100%;padding:12px 14px;border:1px solid var(--cv-line,#e3e9f1);border-radius:12px;background:#fbfcfe;color:var(--cv-ink,#132238)}
.of-legend ul{list-style:none;margin:10px 0 6px;padding:0;display:grid;gap:7px}
.of-legend li{display:flex;gap:8px;align-items:baseline;font-size:13px;line-height:1.45}
.of-legend p{margin:0;font-size:12px;color:var(--cv-muted,#5b6b82)}

.of-chk{display:inline-flex;align-items:center;gap:5px;padding:2px 8px;border-radius:999px;font-size:11.5px;font-weight:700;white-space:nowrap;flex:none}
.of-chk::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.of-chk--ok{background:#e5f6ec;color:#16703d}
.of-chk--warn{background:#fff3d6;color:#8a5a00}
.of-chk--bad{background:#fde7ea;color:#a31d33}
.of-chk--unknown{background:#eef2f7;color:#41526b}

.of-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:10px}
.of-card{display:flex;flex-direction:column;border:1px solid var(--cv-line,#e3e9f1);border-radius:12px;background:#fff;overflow:hidden;transition:border-color .15s}
.of-card.is-selected{border-color:#7fc59c;box-shadow:0 0 0 2px #e5f6ec}
.of-card-img{position:relative;aspect-ratio:1/1;background:#f6f8fb;overflow:hidden}
.of-card-img img{position:absolute;inset:10px;width:calc(100% - 20px);height:calc(100% - 20px);object-fit:contain}
.of-card-body{display:flex;flex-direction:column;gap:7px;padding:10px 11px 11px;flex:1}
.of-card-name{font-size:13.5px;font-weight:600;line-height:1.3;color:inherit;text-decoration:none;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.6em}
.of-card-name:hover{color:var(--cv-blue,#1d4ed8)}
.of-card-row{display:flex;justify-content:space-between;align-items:center;gap:6px;flex-wrap:wrap}
.of-card-row b{font-size:15px}
.of-card-act{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:6px}
.of-card-act .of-btn{flex:1}
.of-added{font-size:13px;font-weight:700;color:#16703d;white-space:nowrap}
.of-card-act .of-added+.of-btn{flex:0 0 auto}
.of-soldout{font-size:13px;color:var(--cv-muted,#5b6b82)}
.of-empty-search{padding:22px;border:1px dashed #cfd9e6;border-radius:12px;text-align:center}
.of-empty-search p{margin:0 0 10px}
.of-empty-search div{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
.of-more{text-align:center}

.of-summary{position:sticky;top:96px;background:#fff;border:1px solid var(--cv-line,#e3e9f1);border-radius:16px;box-shadow:var(--cv-shadow);overflow:hidden}
.of-sum-toggle{display:none}
.of-sum-body{padding:18px}
.of-sum-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:8px}
.of-sum-head h2{margin:0;font-size:17px}
.of-sum-head span{font-size:13px;color:var(--cv-muted,#5b6b82)}
.of-sum-prison{margin:0 0 10px;padding:8px 10px;border-radius:9px;background:var(--cv-soft,#eef4fb);font-size:13px}
.of-items{display:grid;gap:2px;max-height:300px;overflow:auto}
.of-review .of-items{max-height:none}
.of-item{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid #eef2f7;font-size:13.5px}
.of-item-main{display:grid;gap:3px;min-width:0}
.of-item-main b{font-weight:600;line-height:1.3}
.of-item-main .of-chk{justify-self:start}
.of-line{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--cv-muted,#5b6b82)}
.of-item-side{display:flex;align-items:flex-start;gap:6px;white-space:nowrap;font-weight:600}
.of-x{width:28px;height:28px;margin-top:-4px;border:0;border-radius:7px;background:transparent;color:var(--cv-muted,#5b6b82);font-size:18px;line-height:1;cursor:pointer}
.of-x:hover{background:#fde7ea;color:#a31d33}
.of-qty{display:inline-flex;gap:2px}
.of-qty button{width:26px;height:26px;border:1px solid #cfd9e6;border-radius:6px;background:#fff;font:inherit;font-weight:700;cursor:pointer}
.of-empty{padding:14px;border-radius:10px;background:#fbfcfe;border:1px dashed #d6dfeb;text-align:center;font-size:13.5px}
.of-empty p{margin:0 0 6px;color:var(--cv-muted,#5b6b82)}
.of-empty[hidden]{display:none}
.of-costs{margin:12px 0 0;display:grid;gap:6px;font-size:13.5px}
.of-costs div{display:flex;justify-content:space-between;gap:10px}
.of-costs div[hidden]{display:none}
.of-costs dt{color:var(--cv-muted,#5b6b82)}
.of-costs dd{margin:0;font-weight:600}
.of-costs .of-total{padding-top:8px;border-top:1px solid var(--cv-line,#e3e9f1);font-size:16px}
.of-costs .of-total dt{color:inherit;font-weight:700}
.of-costs .of-total dd{font-weight:800}
.of-paynow{margin:12px 0 0;padding:10px 12px;border-radius:10px;background:#f0f8f3;color:#20523a;font-size:12.5px;line-height:1.45}

.of-review{display:grid;gap:12px}
.of-rv{border:1px solid var(--cv-line,#e3e9f1);border-radius:12px;padding:12px 14px}
.of-rv-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.of-rv h3{margin:0;font-size:14.5px}
.of-rv p{margin:0;font-size:14px}
.of-rv dl{display:grid;grid-template-columns:auto 1fr;gap:3px 12px;margin:0;font-size:13.5px}
.of-rv dt{color:var(--cv-muted,#5b6b82)}
.of-rv dd{margin:0;overflow-wrap:anywhere}
.of-rv-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.of-rv--check{background:#fffbf1;border-color:#f3dfae}
.of-rv--check ul{margin:8px 0;padding-left:18px;font-size:13.5px;line-height:1.5;display:grid;gap:6px}
.of-rv--check .is-bad{color:#a31d33}
.of-consents{display:grid;gap:10px;margin-top:16px}
.of-check{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border:1px solid var(--cv-line,#e3e9f1);border-radius:12px;font-size:14px;line-height:1.45;cursor:pointer}
.of-check input{flex:none;width:20px;height:20px;margin:1px 0 0;accent-color:var(--cv-navy,#14284b)}
.of-check a{color:var(--cv-blue,#1d4ed8);font-weight:600}
.of-paynote{margin:14px 0 0;padding:12px 14px;border-radius:12px;background:var(--cv-soft,#eef4fb);font-size:13.5px;line-height:1.5}
.of-status{margin:10px 0 0;font-size:14px;font-weight:600}
.of-status:empty{display:none}
.of-status.is-error{padding:10px 12px;border-radius:10px;background:#fde7ea;color:#a31d33}

@media (max-width:980px){
  .of-shell{grid-template-columns:1fr}
  .of-summary{position:static;order:-1}
  .of-sum-toggle{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:52px;padding:0 16px;border:0;background:#fff;font:inherit;font-size:14.5px;font-weight:700;color:inherit;cursor:pointer}
  .of-sum-toggle b{font-weight:600;color:var(--cv-muted,#5b6b82)}
  .of-sum-toggle::after{content:"▾";margin-left:8px;color:var(--cv-muted,#5b6b82)}
  .of-summary.is-open .of-sum-toggle::after{content:"▴"}
  .of-summary:not(.is-open) .of-sum-body{display:none}
  .of-sum-body{padding-top:4px;border-top:1px solid var(--cv-line,#e3e9f1)}
  .of-sum-head{display:none}
}
@media (max-width:720px){
  .of{padding-top:14px}
  .of-steps{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
  .of-steps button{flex-direction:column;justify-content:center;gap:4px;min-height:58px;padding:6px 4px;text-align:center}
  .of-steps b{font-size:11.5px}
  .of-steps small{display:none}
  .of-panel{padding:16px;border-radius:14px}
  .of-actions--sticky{margin:14px -16px -16px;padding:10px 16px}
  .of-plist{grid-template-columns:1fr;max-height:52vh}
  .of-groups,.of-rv-pair{grid-template-columns:1fr}
  .of-cats{display:none}
  .of-cat-select{display:block}
  .of-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .of-card-act{flex-wrap:wrap}
  .of-card-act .of-btn{flex:1 1 100%}
  .of-actions{flex-wrap:wrap}
  .of-actions{flex-wrap:nowrap}
  .of-actions--sticky{flex-wrap:wrap}
  .of-actions .of-btn--primary{flex:1 1 auto;order:2}
  .of-actions .of-btn--ghost{flex:0 0 auto;order:1;padding-inline:14px}
  .of-actions--sticky .of-bar-sum{flex:1 1 100%;order:-2;margin:0;text-align:center}
  .of-chosen-top{flex-direction:column}
}
@media (prefers-reduced-motion:reduce){.of *{transition:none!important;animation:none!important}}
