*{box-sizing:border-box}html{color-scheme:light}body{--ink:#13223c;--muted:#526174;--accent:#104eb7;--line:#dce2eb;--paper:#fff;margin:0;background:var(--paper);color:var(--ink);font:15px/1.5 "Malgun Gothic","Apple SD Gothic Neo",Arial,sans-serif;word-break:keep-all}button,input{font:inherit;color:inherit}button{cursor:pointer;background:none;border:0;padding:0}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #1974dd;outline-offset:3px}[hidden]{display:none!important}.wrap,.preview-inner{width:min(1200px,calc(100% - 144px));margin-inline:auto}.preview{background:#eff2f5;color:#374151;border-bottom:1px solid #dce2e9}.preview-inner{min-height:42px;display:flex;align-items:center;gap:18px;font-size:12px}.preview-inner>strong{font-size:11px}.preview nav{display:flex;gap:3px}.preview button{font-size:12px;padding:5px 9px;border-radius:5px;white-space:nowrap}.preview nav button{display:flex;align-items:center;gap:6px}.preview nav i{width:8px;height:8px;background:#215cbe;border-radius:50%}.preview nav button:nth-child(2) i{background:#a36843}.preview nav button:nth-child(3) i{background:#192e41}.preview button[aria-pressed=true]{background:white;box-shadow:0 1px 4px #14243d25;font-weight:bold}.preview #choose{margin-left:auto;border:1px solid #bcc5d1;background:white}.brandrow{height:86px;display:flex;align-items:center;justify-content:space-between}.brand img{display:block;width:150px}.account,.account button{display:flex;align-items:center;gap:8px}.account{gap:22px}.account button{font-size:13px;font-weight:600}.navigation{border-bottom:1px solid var(--line);border-top:1px solid var(--line)}#categories{display:flex;gap:36px}#categories a{padding:15px 0;position:relative;font-size:15px;font-weight:650;white-space:nowrap}#categories [aria-current=page]{color:var(--accent)}#categories [aria-current=page]:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:3px;background:var(--accent)}.intro{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;justify-content:space-between;margin:26px 0 27px;padding:26px 36px;background:#eaf1fc;border-radius:4px}.intro>div:first-child{z-index:1}.kicker,.channel{font-family:Arial,sans-serif}.kicker{font-size:12px;font-weight:700;letter-spacing:.12em;color:var(--accent);text-transform:uppercase}h1{margin:4px 0 5px;font-size:clamp(31px,3.5vw,49px);letter-spacing:-.075em;line-height:1.23}.intro p{margin:0;color:var(--muted);font-size:14px}.intro-art{position:absolute;right:5%;top:-20%;height:150%;width:210px;transform:skew(-20deg);display:flex;gap:9px;align-items:center;z-index:-1}.intro-art i{width:23%;height:68%;background:#c4d9f8}.intro-art i:nth-child(2){height:95%;background:#a7c8f5}.intro-art i:nth-child(3){height:120%;background:#73a3e9}.intro-art i:nth-child(4){height:160%;background:#366dc2}.tools{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.tools h2{font-size:21px;letter-spacing:-.055em;margin:0}.tools h2 span{font:600 14px Arial;color:var(--accent);margin-left:3px}.search{display:flex;align-items:center;border:1px solid var(--line);gap:8px;border-radius:6px;padding:6px 10px;color:var(--muted)}.search input{border:0;background:transparent;width:130px;font-size:13px}.search svg{width:16px}#grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.product{text-align:left;border:1px solid var(--line);border-radius:9px;overflow:hidden;background:white;transition:box-shadow .15s,transform .15s}.product:hover{transform:translateY(-3px);box-shadow:0 6px 18px #172c4614}.stage{position:relative;display:grid;place-items:center;height:clamp(188px,17vw,236px);background:var(--tint);overflow:hidden}.kakao{--tint:#faf6e8}.telegram{--tint:#eaf3fa}.dcinside{--tint:#efeff8}.zzirasi{--tint:#edf3ee}.stage img{height:83%;max-width:90%;object-fit:contain;mix-blend-mode:multiply}.channel{position:absolute;left:13px;top:10px;color:#58616f;font-size:11px;font-weight:600;letter-spacing:.04em}.card-body{padding:17px 19px 14px}.card-body h3{margin:0;font-size:21px;letter-spacing:-.075em;line-height:1.4}.card-body p{margin:6px 0 16px;font-size:13px;color:var(--muted);min-height:1.5em}.card-bottom{border-top:1px solid var(--line);padding-top:11px;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted)}.card-bottom strong{display:flex;align-items:center;gap:5px;color:var(--accent)}.card-bottom svg{width:16px}.service{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--line);padding:27px 18px;background:white;color:var(--ink);text-align:left;font-size:18px;font-weight:bold}.quick{position:fixed;right:8px;bottom:16px;z-index:2}.quick-items{background:white;border:1px solid #d4dae2;border-radius:9px;overflow:hidden;box-shadow:0 4px 18px #16253616;color:#263246}.quick-items>button{display:flex;align-items:center;flex-direction:column;gap:3px;width:62px;min-height:64px;padding:7px 2px;border-bottom:1px solid #e4e9ef;font-size:10px;font-weight:700}.quick-items img{width:25px;height:25px;object-fit:contain}.arrows{display:flex;flex-direction:column}.arrows button{flex:1;min-height:34px;font-size:17px}.arrows button+button{border-top:1px solid #e4e9ef}footer{margin-top:64px;padding:25px 0;border-top:1px solid var(--line);color:var(--muted)}footer .wrap{display:flex;align-items:center;gap:12px}footer b{font:bold 19px Arial;color:var(--ink)}footer span{font-size:12px}dialog{width:min(390px,90vw);border:1px solid #d0d8de;padding:24px;border-radius:12px;color:#17263b}dialog::backdrop{background:#111d31aa}dialog h2{margin:6px 0;font-size:22px}dialog p{font-size:14px}dialog img{width:100%;height:170px;object-fit:contain}#close{padding:9px 25px;background:#173459;color:white;border-radius:5px}#notice:not(:empty){position:fixed;bottom:20px;left:50%;transform:translateX(-50%);padding:10px 18px;background:#192839;color:white;border-radius:6px;z-index:5;font-size:13px}
/* Warm studio uses a catalog index and unframed plates. */
body[data-theme=atelier]{--paper:#faf8f3;--ink:#2c2923;--accent:#8e4829;--line:#d8d3c7;--muted:#655f55}.brand{display:block}[data-theme=atelier] .brand img{mix-blend-mode:multiply}[data-theme=atelier] header{border-bottom:1px solid var(--line)}[data-theme=atelier] .layout{width:min(1300px,calc(100% - 144px));margin:auto;display:grid;grid-template-columns:157px minmax(0,1fr);gap:28px}[data-theme=atelier] .layout .wrap{width:100%}[data-theme=atelier] .navigation{border:0;border-right:1px solid var(--line);margin-top:33px;padding-right:18px}[data-theme=atelier] #categories{flex-direction:column;gap:0}[data-theme=atelier] #categories a{text-align:left;border-bottom:1px solid var(--line);font-size:14px}[data-theme=atelier] #categories [aria-current=page]:after{width:24px;height:2px;bottom:6px}[data-theme=atelier] .intro{background:none;border-bottom:2px solid var(--ink);border-radius:0;padding:2px 0 24px;margin-top:30px;margin-bottom:17px}[data-theme=atelier] .intro-art{display:none}[data-theme=atelier] .kicker{text-transform:none;letter-spacing:0;font:italic 22px Georgia,serif}[data-theme=atelier] h1{font-family:"Batang",Georgia,serif;font-weight:600}[data-theme=atelier] #grid{gap:28px 18px}[data-theme=atelier] .product{border:0;border-radius:0;background:none}[data-theme=atelier] .stage{background:#eeeae1;height:clamp(175px,17vw,240px)}[data-theme=atelier] .channel{top:auto;bottom:8px;left:12px;font:italic 13px Georgia,serif}[data-theme=atelier] .card-body{padding:13px 0 4px}[data-theme=atelier] .card-body h3{font-size:19px}[data-theme=atelier] .product:hover{box-shadow:none}
/* Navy desk keeps the selling surface light under a technical masthead. */
body[data-theme=desk]{--paper:#f5f7fa;--ink:#13283e;--accent:#155088;--line:#cbd5df;--muted:#4c6072}[data-theme=desk] .navigation{background:#10283d;border:0}[data-theme=desk] #categories{gap:0}[data-theme=desk] #categories a{padding:14px 23px;color:#e0e9ef;border-right:1px solid #34495b}[data-theme=desk] #categories [aria-current=page]{color:white;background:#24485f}[data-theme=desk] #categories [aria-current=page]:after{background:#77cfb8}[data-theme=desk] .intro{background:#122e44;color:white;border-radius:0;padding:21px 30px;margin:16px 0 18px}[data-theme=desk] .intro p{color:#d2e0e8}[data-theme=desk] .kicker{color:#90d4c3;font-family:monospace}[data-theme=desk] .intro-art{inset:0 0 0 auto;width:35%;height:100%;transform:none;opacity:.6;background:repeating-linear-gradient(0deg,transparent 0 19px,#5f92a73b 20px),repeating-linear-gradient(90deg,transparent 0 19px,#5f92a73b 20px);mask-image:linear-gradient(90deg,transparent,#000)}[data-theme=desk] .intro-art i{display:none}[data-theme=desk] #grid{gap:14px}[data-theme=desk] .product{border-radius:2px;border-top:3px solid #24485f}[data-theme=desk] .stage{background:#edf1f5;height:clamp(170px,15vw,215px)}[data-theme=desk] .channel{font:600 11px monospace;letter-spacing:.02em;border:1px solid #bfccd7;padding:2px 6px;color:#38546b}[data-theme=desk] .card-bottom strong{background:#15364c;color:white;padding:5px 9px}[data-theme=desk] .card-body{padding:13px 16px}[data-theme=desk] .card-body p{margin-bottom:10px}
@media(max-width:1000px){.wrap,.preview-inner,[data-theme=atelier] .layout{width:calc(100% - 72px)}[data-theme=atelier] .layout{display:block}[data-theme=atelier] .navigation{padding:0;margin:0;border:0}[data-theme=atelier] #categories{flex-direction:row;gap:20px}.intro-art{right:3%}.quick{right:8px}#grid{gap:14px}.card-body{padding:12px}.card-body h3{font-size:18px}}
@media(max-width:700px){.wrap,.preview-inner,[data-theme=atelier] .layout{width:calc(100% - 32px)}.preview-inner{gap:5px;flex-wrap:wrap;padding:6px 0}.preview-inner>strong{display:none}.preview button{font-size:11px;padding:6px}.preview nav{gap:1px}.brandrow{height:69px}.brand img{width:118px}.account{gap:10px}.account button{font-size:11px;gap:3px}.account svg{width:15px}#categories,[data-theme=atelier] #categories{display:grid;grid-template-columns:1fr 1fr;gap:0}#categories a,[data-theme=atelier] #categories a,[data-theme=desk] #categories a{text-align:center;padding:9px 1px;font-size:12px}.intro,[data-theme=desk] .intro{margin:16px 0;padding:18px}.intro-art{width:70px;right:-32px;opacity:.45}.intro p{font-size:12px}.kicker{font-size:10px}h1{font-size:31px}.tools{gap:7px;margin-bottom:10px}.tools h2{font-size:17px}.search{padding:5px 6px}.search input{width:83px}.stage,[data-theme=atelier] .stage,[data-theme=desk] .stage{height:auto;aspect-ratio:1.15}.stage img{height:77%;max-width:85%;align-self:end;margin-bottom:3%}.channel,[data-theme=desk] .channel{font-size:9px;top:5px;left:6px}[data-theme=atelier] .channel{font-size:10px;top:auto;bottom:4px}#grid,[data-theme=atelier] #grid,[data-theme=desk] #grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 9px}.card-body,[data-theme=desk] .card-body{padding:10px 8px}.card-body h3,[data-theme=atelier] .card-body h3{font-size:15px}.card-body p{font-size:11px;margin:5px 0 10px;min-height:3em}.card-bottom{font-size:10px;gap:3px}.card-bottom svg{width:12px}.card-bottom strong{gap:2px}[data-theme=desk] .card-bottom strong{padding:3px}.quick{right:10px;bottom:10px}[data-theme=atelier] .intro{margin-top:17px;padding-bottom:14px}.service{font-size:15px;padding:18px 10px}.preview #choose{font-size:10px}footer{margin-top:40px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.stage img{position:absolute;left:50%;top:52%;transform:translate(-50%,-50%);width:88%;height:89%;object-fit:contain;margin:0;mask-image:linear-gradient(to bottom,transparent,#000 6%,#000 94%,transparent)}
.channel{z-index:1}
@media(max-width:700px){.stage img{width:86%;height:80%;top:56%}}

/* Blue Store */
[data-theme="store"] {
  --ink: #102940;
  --accent: #174f99;
  --line: #dce4eb;
}

[data-theme="store"] .intro {
  border: 1px solid #dce6ee;
  border-radius: 12px;
  padding: clamp(21px, 2.15vw, 34px) clamp(20px, 3vw, 45px);
  background: linear-gradient(105deg, #fafcfe 8%, #eef4fb 53%, #d4e4f5);
}

[data-theme="store"] .kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: .19em;
}

[data-theme="store"] .kicker::before {
  content: "";
  width: 23px;
  height: 2px;
  background: var(--accent);
}

[data-theme="store"] h1 {
  margin-block: 6px 8px;
  font-weight: 750;
  letter-spacing: -.065em;
}

/* Four adjacent faces form a folded blue ribbon at every viewport size. */
[data-theme="store"] .intro-art {
  display: block;
  right: 1%;
  top: 50%;
  width: clamp(210px, 31vw, 440px);
  height: auto;
  aspect-ratio: 2.9;
  transform: translateY(-48%) rotate(-8deg);
}

[data-theme="store"] .intro-art i {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

[data-theme="store"] .intro-art i:nth-child(1) {
  clip-path: polygon(0 83%, 29% 12%, 47% 17%, 18% 90%);
  background: linear-gradient(120deg, #8eabc9 4%, #e4effa 23%, #8dadd2 38%);
}

[data-theme="store"] .intro-art i:nth-child(2) {
  clip-path: polygon(29% 12%, 47% 17%, 64% 79%, 46% 74%);
  background: linear-gradient(65deg, #112e57 35%, #4179ac 55%, #98c0de 72%);
}

[data-theme="store"] .intro-art i:nth-child(3) {
  clip-path: polygon(46% 74%, 78% 0, 96% 5%, 64% 79%);
  background: linear-gradient(118deg, #4a86bc 43%, #568acc 60%, #234f88 83%);
}

[data-theme="store"] .intro-art i:nth-child(4) {
  clip-path: polygon(78% 0, 96% 5%, 100% 26%, 86% 28%);
  background: linear-gradient(130deg, #456c99 55%, #0b2847 90%);
}

[data-theme="store"] .product {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  box-shadow: 0 2px 5px #142d4509;
  transform: none;
}

[data-theme="store"] .stage {
  width: 100%;
  background: radial-gradient(ellipse at 50% 35%, white 0%, var(--tint) 97%);
  border-bottom: 1px solid #122c4310;
}

[data-theme="store"] .stage img {
  mask-image: radial-gradient(ellipse closest-side, black 75%, transparent 130%);
}

[data-theme="store"] .channel {
  left: 14px;
  top: 12px;
  color: #435873;
  letter-spacing: .06em;
}

[data-theme="store"] .card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  padding: clamp(12px, 1.45vw, 22px);
}

[data-theme="store"] .card-bottom { margin-top: auto; }
[data-theme="store"] .card-bottom strong { gap: 7px; }
[data-theme="store"] .search:focus-within { border-color: var(--accent); }

@media (prefers-reduced-motion: no-preference) {
  [data-theme="store"] .intro-art { animation: ribbon-arrive 520ms cubic-bezier(.2,.7,.3,1) both; }
  [data-theme="store"] .stage img,
  [data-theme="store"] .card-bottom svg { transition: transform 190ms ease-out; }
  [data-theme="store"] .product { transition: border-color 160ms, box-shadow 160ms; }

  @keyframes ribbon-arrive {
    from { opacity: .55; transform: translate(11px,-48%) rotate(-6deg); }
    to { opacity: 1; transform: translateY(-48%) rotate(-8deg); }
  }

  [data-theme="store"] .product:focus-visible .card-bottom svg { transform: translateX(3px); }
  @media (hover: hover) and (pointer: fine) {
    [data-theme="store"] .product:hover .stage img { transform: translate(-50%,-51%) scale(1.035); }
    [data-theme="store"] .product:hover .card-bottom svg { transform: translateX(3px); }
  }
}

@media (hover: hover) and (pointer: fine) {
  [data-theme="store"] .product:hover {
    border-color: #8ca9c9;
    box-shadow: 0 6px 17px #16395312;
  }
}

@media (max-width: 700px) {
  [data-theme="store"] .intro { padding: 18px; }
  [data-theme="store"] .intro-art {
    right: -8px;
    width: 26%;
    opacity: 1;
  }
  [data-theme="store"] .intro > div:first-child { max-width: 78%; }
  [data-theme="store"] h1 { font-size: clamp(24px, 6.8vw, 31px); }
  [data-theme="store"] .channel { left: 9px; top: 6px; }
  [data-theme="store"] .card-body { padding: 11px 9px; }
}

.quick {
  right: max(7px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
}
.quick-items { border-radius: 14px; }
.quick-items button:hover, .quick-items button:focus-visible { background: #edf4fc; }
.quick-items button:focus-visible { outline-offset: -3px; }
.arrows button { min-height: 49px; color: #244b76; }
@media (max-width: 1000px) {
  .quick-items > button { width: 50px; min-height: 54px; }
  .quick-items img { width: 22px; height: 22px; }
  .layout { margin-right: max(60px, calc(54px + env(safe-area-inset-right))); }
  [data-theme="atelier"] .layout {
    width: auto;
    margin-inline: 16px max(66px, calc(60px + env(safe-area-inset-right)));
  }
}
@media (max-width: 700px) {
  .layout .wrap { width: calc(100% - 18px); }
  [data-theme="atelier"] .layout .wrap { width: 100%; }
}
@media (max-height: 400px) {
  .quick { bottom: max(3px, env(safe-area-inset-bottom)); }
  .quick-items { max-height: 95dvh; overflow-y: auto; }
}

[data-theme="store"] .intro-art i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(108deg, transparent 36%, #ffffff85 49%, transparent 61%);
  transform: translateX(110%);
}
[data-theme="store"] .stage::before {
  content: "";
  position: absolute;
  inset: 12% 17%;
  border-radius: 50%;
  background: radial-gradient(ellipse, #fff 18%, transparent 70%);
  opacity: 0;
}
[data-theme="store"] .product:is(:hover, :focus-visible) .stage::before { opacity: 1; }

@media (prefers-reduced-motion: no-preference) {
  [data-theme="store"] .intro-art i::after { animation: ribbon-glint 1.45s .12s ease-in-out backwards; }
  [data-theme="store"] .product { animation: product-arrive 420ms cubic-bezier(.2,.75,.25,1) backwards; }
  [data-theme="store"] .product:nth-child(3n+2) { animation-delay: 65ms; }
  [data-theme="store"] .product:nth-child(3n) { animation-delay: 130ms; }
  [data-theme="store"] .stage::before { transition: opacity 240ms; }
  [data-theme="store"] dialog[open] { animation: product-arrive 200ms ease-out; }
  @keyframes ribbon-glint {
    from { transform: translateX(-110%); }
    to { transform: translateX(110%); }
  }
  @keyframes product-arrive {
    from { opacity: .65; translate: 0 10px; }
    to { opacity: 1; translate: 0 0; }
  }
}

#categories a { color: inherit; text-decoration: none; }
#categories a:last-child { margin-left: auto; }
[data-theme="atelier"] #categories a:last-child { margin-left: 0; }
.company-page { padding-bottom: 12px; }
.company-page h2 { font-size: clamp(20px, 2vw, 27px); margin: 0 0 12px; letter-spacing: -.055em; }
.company-page p { color: var(--muted); max-width: 64ch; line-height: 1.85; margin: 0 0 24px; }
.company-story { padding: 6px 0 12px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.business-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.business-list a, .support-links button {
  display: flex; padding: 18px 22px; gap: 6px; color: var(--ink); background: white;
  border: 1px solid var(--line); border-radius: 8px; text-decoration: none;
}
.business-list a { flex-direction: column; }
.business-list span { color: var(--muted); font-size: 13px; }
.business-list a:hover, .support-links button:hover { border-color: var(--accent); }
.support-links { display: flex; flex-wrap: wrap; gap: 12px; }
.support-links button { align-items: center; }
.support-links img { width: 24px; height: 24px; }
body[data-page="marketing"] { --panel-light:#f3fbf7; --panel-end:#c6e9dc; --panel-ink:#196348; --ribbon-hue:258deg; }
body[data-page="landing"] { --panel-light:#fffbf4; --panel-end:#f5dfbd; --panel-ink:#83501d; --ribbon-hue:177deg; }
body[data-page="custom"] { --panel-light:#faf7ff; --panel-end:#dfd2f1; --panel-ink:#67428c; --ribbon-hue:58deg; }
body:is([data-page="marketing"],[data-page="landing"],[data-page="custom"]) .intro {
  background:linear-gradient(105deg,var(--panel-light),var(--panel-end));
  color:#17283b;
}
body:is([data-page="marketing"],[data-page="landing"],[data-page="custom"]) .intro :is(.kicker,p) { color:var(--panel-ink); }
body:is([data-page="marketing"],[data-page="landing"],[data-page="custom"]) .intro-art { filter:hue-rotate(var(--ribbon-hue)); }
@media(max-width:1000px) {
  #categories, [data-theme="atelier"] #categories { gap: 12px; }
  [data-theme="desk"] #categories a { padding-inline: 7px; }
}
@media(max-width:800px) {
  #categories, [data-theme="atelier"] #categories { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0; }
  #categories a, [data-theme="atelier"] #categories a, [data-theme="desk"] #categories a { text-align:center; font-size:12px; padding:10px 0; }
  #categories a:last-child { margin-left:0; }
}
@media(max-width:600px) {
  .business-list { grid-template-columns: 1fr; }
}
@media(min-width:801px) {
  [data-theme="atelier"] .layout { display:block; }
  [data-theme="atelier"] .navigation { border-right:0; padding-right:0; margin-top:0; }
  [data-theme="atelier"] #categories { flex-direction:row; gap:clamp(10px,2vw,28px); }
  [data-theme="atelier"] #categories a:last-child { margin-left:auto; }
}
#categories a[aria-current="page"] { color:var(--accent); }
[data-theme="desk"] #categories a[aria-current="page"] { color:white; }

/* The company links sit above account actions; the service rail has its own row. */
header .brandrow {
  display:grid;
  grid-template-columns:1fr auto;
  grid-template-areas:"brand info" "brand account";
  align-content:center;
  gap:6px 22px;
  height:auto;
  min-height:106px;
}
header .brand { grid-area:brand; justify-self:start; }
.info-nav { grid-area:info; display:flex; justify-content:flex-end; align-items:center; gap:14px; }
.info-nav a { color:var(--muted); text-decoration:none; font-size:12px; line-height:1.6; padding:3px 0; }
.info-nav a:hover, .info-nav a[aria-current="page"] { color:var(--accent); text-decoration:underline; text-underline-offset:4px; }
header .account { grid-area:account; justify-content:flex-end; gap:5px; }
header .account :is(button,a) {
  display:inline-flex; align-items:center; justify-content:center; gap:7px;
  padding:0 13px; min-height:40px; border:1px solid transparent; border-radius:9px;
  font-size:13px; font-weight:600; color:var(--ink); text-decoration:none;
}
header .account [data-icon] { display:inline-flex; }
header .account svg { width:17px; height:17px; }
header .account :is(button,a):is(:hover,:focus-visible) { background:#eff4f9; border-color:#d7e1ea; }
header .account .login { background:#183653; color:white; box-shadow:inset 0 1px 0 #ffffff29; }
header .account .login:is(:hover,:focus-visible) { background:#23517a; color:white; border-color:#23517a; }
header .account .signup { border-color:#c8d7e5; color:#183653; }

body[data-theme] #categories {
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0;
}
body[data-theme] #categories a {
  margin:0; padding:15px 4px; text-align:center;
  font-size:clamp(13px,1.12vw,16px); line-height:1.45;
}
body[data-theme] #categories a::after {
  content:""; position:absolute; left:calc(50% - 17px); right:auto; bottom:0;
  width:34px; height:2px; background:currentColor; transform:scaleX(0); opacity:0;
}
body[data-theme] #categories a:is([aria-current="page"],:hover,:focus-visible)::after {
  transform:scaleX(1); opacity:1;
}
body[data-theme="store"] #categories a[aria-current="page"] { color:var(--panel-ink,var(--accent)); }
@media(prefers-reduced-motion:no-preference) {
  body[data-theme] #categories a::after { transition:transform 220ms ease-out,opacity 180ms; }
  header .account :is(button,a) { transition:background-color 160ms,border-color 160ms; }
  header .account [data-icon] { transition:transform 180ms ease-out; }
  header .account :is(button,a):is(:hover,:focus-visible) [data-icon] { transform:translateY(-2px); }
}
@media(max-width:700px) {
  header .brandrow { min-height:87px; gap:2px 4px; }
  header .brand img { width:clamp(92px,27vw,125px); }
  header .account { gap:2px; }
  header .account :is(button,a) { flex-direction:column; gap:2px; min-width:44px; min-height:44px; padding:3px 5px; font-size:10px; }
  header .account svg { width:16px; height:16px; }
  .info-nav { gap:14px; }
  .info-nav a { font-size:11px; padding:4px 0; }
  body[data-theme] #categories { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body[data-theme] #categories a { padding:12px 0; font-size:12px; }
}

header .account:not([data-account-state="member"]) .member-page,
header .account[data-account-state="member"] :is(.login,.signup) { display: none; }

#intro-blend { position:absolute; inset:0; z-index:-2; opacity:0; pointer-events:none; }
#cart-count { position:absolute; inset:auto -4px -4px auto; display:inline-grid; place-items:center; min-width:19px; height:19px; padding-inline:4px; border:1px solid #fff; border-radius:50%; background:#b82432; color:white; font:700 11px/1 Arial,sans-serif; }
.cart { position:relative; }
header .account .cart[data-has-items] { border-color:#b1cbe5; background:#e7f2fc; color:#174f85; }
header .account .cart[data-has-items]:is(:hover,:focus-visible) { background:#d5e9fa; }
.add-product { background:#173953; color:white; padding:10px 16px; border-radius:8px; margin:0 10px 16px 0; }
.add-product:disabled { background:#e8f3eb; color:#20573a; cursor:default; }
.site-footer { background:#f4f7fa; color:#46596d; border-top:1px solid #d4dde6; padding:16px 0; }
.site-footer .footer-layout { display:grid; grid-template-columns:minmax(0,3fr) minmax(0,2fr); align-items:center; gap:6px 18px; }
.copyright { text-align:center; font:12px/1.6 Arial,sans-serif; }
.footer-policies { display:flex; justify-content:flex-end; flex-wrap:wrap; gap:4px 14px; }
.footer-policies :is(a,button) { padding:6px 0; font-size:12px; font-weight:400; color:inherit; text-decoration:none; }

.footer-policies :is(a,button):hover { text-decoration:underline; }
@media(max-width:1000px) {
  .site-footer { padding-right:max(60px,calc(54px + env(safe-area-inset-right))); }
}
@media(max-width:760px) {
  .site-footer .footer-layout { grid-template-columns:1fr; justify-items:start; gap:12px; }
  .footer-policies { justify-content:flex-start; }
  .copyright { justify-self:center; grid-row:4; }
}
.footer-brand { display:inline-flex; justify-self:start; align-items:center; gap:7px; text-decoration:none; color:var(--ink); }
.footer-brand strong { font-size:13px; letter-spacing:-.04em; }
.business-meta { grid-column:1/-1; display:grid; gap:2px; margin:0; padding:0; list-style:none; font-size:12px; line-height:1.55; }
.business-meta li { max-width:100%; display:flex; flex-wrap:wrap; gap:0 12px; }
.business-meta li span { font:inherit; color:inherit; }
body[data-theme="store"] { background:#f7f5f0; }
[data-theme="store"] header, [data-theme="store"] .navigation { background:#fff; }
[data-theme="store"] .tools .search { background:#ffffffd9; }
[data-theme="store"] .navigation { border-color:#d4dee8; }
body[data-theme="store"] #categories a { color:#48596e; }
body[data-theme="store"] #categories a[aria-current="page"] {
  color:var(--panel-ink,var(--accent)); background:linear-gradient(0deg,#edf3f9,transparent 85%);
}
body[data-theme="store"] #categories a::after { width:24px; left:calc(50% - 12px); }
[data-theme="store"] .product:focus-visible { outline-offset:2px; }
[data-theme="store"] .tools .search:focus-within {
  box-shadow:0 0 0 3px #376ea01c;
}
@media(prefers-reduced-motion:no-preference) {
  [data-theme="store"] .search { transition:box-shadow 160ms,border-color 160ms; }
}

@media(min-width:701px) {
  [data-theme="store"] :is(.wrap,.preview-inner) { max-width:1096px; }
  [data-theme="store"] header .brandrow { min-height:85px; gap:2px 18px; }
  [data-theme="store"] header .brand img { width:135px; }
  body[data-theme="store"] #categories a { font-size:13px; padding:14px 3px; }
  [data-theme="store"] .intro { margin:19px 0; padding:15px 26px; }
  [data-theme="store"] h1 { font-size:clamp(26px,2.4vw,34px); margin:3px 0 4px; line-height:1.15; }
  [data-theme="store"] .intro p { font-size:13px; }

  [data-theme="store"] .tools { margin-bottom:12px; }
  [data-theme="store"] .tools h2 { font-size:18px; }
  [data-theme="store"] #grid { gap:18px; }
  [data-theme="store"] .stage { height:clamp(142px,12.8vw,178px); }
  [data-theme="store"] .card-body { padding:13px 16px; }
  [data-theme="store"] .card-body h3 { font-size:17px; }
  [data-theme="store"] .card-body p { margin:4px 0 10px; font-size:12px; }
  [data-theme="store"] .card-bottom { padding-top:8px; }
}
#service-engraving {
  position:absolute; right:0; top:0; height:100%; width:36%; pointer-events:none;
  color:var(--panel-ink,#245681); mask-image:linear-gradient(90deg,transparent,#000 24%);
}
#service-engraving g { opacity:.56; }
.footer-business { min-width:0; }
.footer-business .business-meta { margin-top:5px; }
.business-meta a { color:inherit; text-underline-offset:3px; }
.footer-contact { text-align:right; }
.hours { margin:4px 0 0; font-size:12px; line-height:1.65; }
@media(max-width:760px) {
  #service-engraving { width:25%; }
  .intro:has(#service-engraving:not([hidden])) > div:first-child { max-width:75%; }
  .footer-contact { text-align:left; }
  .site-footer .copyright { grid-row:3; }
  body[data-theme="store"] #categories a { padding-block:14px; }
}

#design-options { display:flex; align-items:center; gap:10px 20px; flex-wrap:wrap; padding:4px 0 10px; }
#design-options label { display:flex; align-items:center; gap:6px; font-size:12px; }
#design-options select, #inspect-footer { cursor:pointer; font:inherit; padding:5px 8px; color:#213951; border:1px solid #c3ced6; border-radius:5px; background:white; }
#inspect-footer { font-size:12px; }
body[data-theme="store"] #categories a { font-size:16px; padding-block:17px; }
.site-footer { background:#fff; border-top:0; padding-block:20px; }
.footer-layout { grid-template-columns:3fr 2fr; gap:12px; }
.copyright { grid-column:1/-1; grid-row:2; border-top:1px solid #d9dee4; padding-top:10px; }
.footer-contact { grid-column:2; grid-row:1; }
@media(max-width:760px) {
  #design-options { gap:6px 12px; }
  #design-options label { font-size:11px; }
  body[data-theme="store"] #categories a { font-size:14px; padding-block:15px; }
  .footer-layout { grid-template-columns:minmax(0,1fr); gap:10px; }
  .footer-contact { grid-column:1; grid-row:2; }
  .copyright { grid-column:1; grid-row:3; }
}

.quick .quick-items { background:transparent; box-shadow:none; border:0; border-radius:0; overflow:visible; }
.quick-items > button { background:white; border:1px solid #d5dfe5; }
.quick-items > button:first-child { border-radius:12px 12px 0 0; }
.quick-items > button:nth-child(2) { border-top:0; border-radius:0 0 12px 12px; }
.quick-items button { position:relative; }
.quick .arrows { margin-top:4px; }
.quick .arrows button { display:grid; place-items:center; border:0; background:#f4f7f9; }
.quick .arrows button:is(:hover,:focus-visible) { background:#e0eaf2; }
.arrows svg { width:21px; height:21px; fill:none; stroke:#28445c; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.rail-tip { position:absolute; top:50%; right:calc(100% + 7px); transform:translateY(-50%); background:#192d3d; color:white; white-space:nowrap; border-radius:5px; padding:6px 10px; font:500 12px/1.4 sans-serif; pointer-events:none; visibility:hidden; opacity:0; }
.quick button:is(:hover,:focus-visible) .rail-tip { visibility:visible; opacity:1; }
.quick button[data-tip-dismissed] .rail-tip { visibility:hidden; opacity:0; }

body[data-theme="store"] { background:#e8eef5; }
[data-theme="store"] #content { display:flow-root; background:linear-gradient(#e3ebf5,#f0f4f8 28rem); padding:1px clamp(10px,1.65vw,24px) clamp(24px,3vw,44px); }
[data-theme="store"] .site-footer { margin-top:0; }
@media(prefers-reduced-motion:no-preference) {
  .rail-tip { transition:opacity 150ms; }
}
[data-theme="store"] :is(.tools h2,.tools h2 span,.company-page,.company-page p,#grid>p) { color:#27394c; }
[data-theme="store"] #service-engraving { display:none; }
[data-theme="store"] .intro:has(#service-engraving:not([hidden])) {
  --tone:var(--panel-ink,#214c73);
  background:var(--panel-light,#eaf1fc); color:#172c40; border:0; border-radius:4px;
  padding:17px clamp(15px,2.5vw,34px);
}
[data-theme="store"] .intro:has(#service-engraving:not([hidden])) > div:first-child { max-width:100%; }
[data-theme="store"] .intro:has(#service-engraving:not([hidden])) .kicker { color:var(--tone); letter-spacing:.03em; }
[data-theme="store"] .intro:has(#service-engraving:not([hidden])) h1 { font-size:clamp(20px,2vw,29px); line-height:1.25; }
[data-theme="store"] .intro:has(#service-engraving:not([hidden])) p { max-width:74ch; color:#384a58; }
.quick .arrows { gap:3px; }
.quick .arrows button { border:1px solid rgba(38,59,78,.10); border-radius:8px; background:#f9fafb; }
.quick .arrows svg { width:22px; height:22px; stroke:#253d53; stroke-width:2; }
.quick .arrows button:is(:hover,:focus-visible) { background:#eaf0f5; }
.footer-contact { justify-self:end; }
@media(max-width:760px) { .footer-contact { justify-self:start; } }

[data-theme="store"] .intro:has(#service-action:not([hidden])) {
  --hero-ink:#fff;
  --hero-soft:#e1e8f3;
  --hero-bg:var(--panel-ink,#244768);
  display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:20px;
  background:var(--hero-bg); color:var(--hero-ink);
  margin:20px 0 24px; padding:clamp(16px,2vw,28px);
  border-radius:10px; border:1px solid #182b401c;
}
[data-theme="store"][data-card="outline"] .intro:has(#service-action:not([hidden])) {
  --hero-bg:white; --hero-ink:var(--panel-ink,#244768); --hero-soft:#46596c;
  border-left:4px solid var(--hero-ink);
}
[data-theme="store"][data-card="satin"] .intro:has(#service-action:not([hidden])) {
  --hero-bg:#292d32; --hero-soft:#e2e3e5; border-bottom:3px solid var(--panel-ink,#506c95);
}
[data-theme="store"] .intro:has(#service-action:not([hidden])) :is(p,.kicker) { color:var(--hero-soft); }
[data-theme="store"] .intro:has(#service-action:not([hidden])) h1 { margin:5px 0; font-size:clamp(21px,2.25vw,32px); }
[data-theme="store"] .intro:has(#service-action:not([hidden])) .kicker::before { display:none; }
#service-action { display:inline-flex; align-items:center; gap:14px; padding:10px 15px; border-radius:6px; color:#213952; background:white; border:1px solid #72879a55; font-weight:650; font-size:13px; }
#service-action svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.7; }
@media(prefers-reduced-motion:no-preference) {
  #service-action svg { transition:transform 160ms; }
  #service-action:is(:hover,:focus-visible) svg { transform:translateX(3px); }
}
@media(max-width:700px) {
  [data-theme="store"] .intro:has(#service-action:not([hidden])) { grid-template-columns:1fr; gap:10px; }
  [data-theme="store"] .intro:has(#service-action:not([hidden])) > div:first-child { max-width:100%; }
  #service-action { justify-self:start; }
}

.product { display:block; color:inherit; text-decoration:none; }
.card-body:has(.product-point-mark) { position:relative; }
.card-body:has(.product-point-mark) h3 { padding-inline-end:25px; }
.product-point-mark {
  position:absolute; inset:clamp(8px,1.3vw,16px) clamp(8px,1.45vw,18px) auto auto;
  display:grid; place-items:center; width:23px; height:23px; border:1px solid #aac7e4; border-radius:50%;
  background:#e5f0fc; color:#174f85; font:750 13px/1 Arial,sans-serif;
}
@media(max-width:700px) {
  .product-point-mark { width:18px; height:18px; font-size:11px; }
  .card-body:has(.product-point-mark) h3 { padding-inline-end:19px; }
}
[data-theme="store"][data-page="programs"] #grid { grid-auto-rows:1fr; align-items:stretch; }
[data-theme="store"] .catalog-price .vat-note { font-size:calc(.81em - 1.62px); }
[data-theme="store"] .card-bottom .catalog-price { font-size:calc(1em + 2px); color:var(--accent); font-weight:750; }
.product-detail {
  --detail-surface:#fff;
  --detail-ink:#17344f;
  --detail-soft:#edf3f9;
  --detail-header:#e5eef9;
  margin-top:clamp(16px,2.4vw,26px);
}
.product-design-options {
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-bottom:12px;
}
.product-design-options a {
  padding:6px 10px;
  border:1px solid var(--line);
  border-radius:6px;
  background:var(--detail-surface);
  color:var(--detail-ink);
  font-size:12px;
  text-decoration:none;
}
.product-design-options a[aria-current="page"] { background:var(--detail-ink); color:var(--detail-surface); }
.product-hero {
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);
  grid-template-areas:"gallery summary" "gallery order";
  grid-template-rows:auto 1fr;
  gap:clamp(14px,2vw,22px) clamp(20px,3.2vw,38px);
  align-items:start;
  margin-bottom:clamp(22px,3.2vw,40px);
  padding:clamp(13px,2.1vw,24px);
  border:1px solid var(--line);
  border-radius:13px;
  background:var(--detail-surface);
}
.product-gallery { grid-area:gallery; min-width:0; width:100%; aspect-ratio:1.25; display:grid; grid-template-rows:minmax(0,1fr) auto; }
.product-detail .product-hero { background:var(--hero-fill,#fff); }
.product-detail :is(.product-hero,.product-main) { border-radius:var(--radius,13px); box-shadow:var(--shadow,none); }
.product-detail .order-actions button { border-radius:var(--radius,6px); }
[data-product-design="ocean"] { --detail-ink:#075285; --accent:#075285; --detail-soft:#e4f7fc; --hero-fill:linear-gradient(125deg,#dcf7ff,#fff 65%); --shadow:0 8px 28px #12648a25; --radius:16px; }
[data-product-design="ink"] { --detail-ink:#182b40; --accent:#182b40; --detail-soft:#edf1f3; --hero-fill:#fff; --shadow:3px 3px 0 #243747; --radius:2px; }
[data-product-design="glacier"] { --detail-ink:#275579; --accent:#275579; --detail-soft:#e8f5fc; --hero-fill:linear-gradient(130deg,#fafdff,#d9effa); --shadow:inset 0 0 0 4px #ffffffbb,0 8px 22px #6686a328; --radius:18px; }
[data-product-design="denim"] { --detail-ink:#31466c; --accent:#31466c; --detail-soft:#edf0fa; --hero-fill:#f8f9fd; --shadow:inset 0 0 0 4px #e7ebf4; --radius:8px; }
[data-product-design="cobalt"] { --detail-ink:#153fab; --accent:#153fab; --detail-soft:#e9efff; --hero-fill:#fff; --shadow:0 4px 0 #254fc1; --radius:2px; }
[data-product-design="slate"] { --detail-ink:#344555; --accent:#344555; --detail-soft:#edf0f2; --hero-fill:linear-gradient(170deg,#fff 40%,#dce4e9); --shadow:0 1px 4px #30425040; --radius:5px; }
[data-product-design="lagoon"] { --detail-ink:#086252; --accent:#086252; --detail-soft:#e1f5ee; --hero-fill:radial-gradient(ellipse at top right,#c9f0df,transparent 65%),#fff; --shadow:0 6px 20px #134e4019; --radius:20px; }
[data-product-design="iris"] { --detail-ink:#553788; --accent:#553788; --detail-soft:#f4edfb; --hero-fill:linear-gradient(135deg,#eee4ff,#fff 52%,#f6dfef); --shadow:0 7px 24px #704b8924; --radius:14px; }
[data-product-design="midnight"] { --detail-ink:#1e385e; --accent:#1e385e; --detail-soft:#e5edf8; --hero-fill:#162d4b; --shadow:0 8px 22px #13213733; --radius:9px; }
[data-product-design="denim"] :is(.product-hero,.product-main) { outline:1px dashed #8495b6; outline-offset:-5px; }
[data-product-design="midnight"] .product-hero :is(h1,.product-lead,.order-price,.order-price strong,.vat-note) { color:#f0f6ff; }
[data-product-design="midnight"] .product-hero .add-product:not(:disabled) { background:#cce2ff; color:#162d4b; }
[data-product-design="midnight"] .purchase-links { background:white; }
@media(prefers-reduced-motion:no-preference) {
 .product-detail .order-actions button { transition:box-shadow .18s,background-color .18s; }
 .product-detail .order-actions button:hover:not(:disabled) { box-shadow:0 0 0 3px var(--detail-soft); }
}
.product-summary { grid-area:summary; min-width:0; }
.product-main {
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--detail-surface);
  min-width:0;
}
.product-order {
  grid-area:order;
  min-width:0;
  padding-top:clamp(12px,1.35vw,16px);
  border-top:1px solid var(--line);
}
.product-breadcrumb { color:var(--muted); margin-bottom:12px; font-size:13px; }
.product-breadcrumb a { color:var(--muted); text-decoration:none; }
.product-breadcrumb a:hover { color:var(--accent); text-decoration:underline; }
.product-preview-status { color:var(--muted); margin:0; }
.product-section-nav {
  position:sticky;
  top:0;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  border-bottom:1px solid var(--line);
  border-radius:10px 10px 0 0;
  background:var(--detail-surface);
}
.product-section-nav a {
  display:grid;
  place-items:center;
  min-height:44px;
  padding:8px 4px;
  border-bottom:3px solid transparent;
  color:var(--muted);
  font-size:14px;
  font-weight:650;
  text-align:center;
  text-decoration:none;
}
.product-section-nav a[aria-current="location"] { border-color:var(--accent); color:var(--accent); background:var(--detail-soft); }
.product-section-nav a:first-child { border-top-left-radius:inherit; }
.product-section-nav a:last-child { border-top-right-radius:inherit; }
.product-section-nav a:hover { color:var(--accent); }
.product-facts { margin-block:9px 13px; color:var(--ink); font-size:14px; }
.product-facts div { display:grid; grid-template-columns:clamp(72px,12vw,128px) minmax(0,1fr); gap:12px; padding-block:5px; }
.product-facts dt { color:var(--muted); }
.product-facts dd { margin:0; overflow-wrap:anywhere; }
.product-detail h1 { margin:4px 0 10px; font-size:clamp(20px,2.15vw,28px); color:var(--detail-ink); letter-spacing:-.045em; }
.product-detail h2 { margin:0 0 10px; font-size:clamp(16px,1.6vw,19px); letter-spacing:-.035em; }
.product-detail h3 { font-size:16px; margin-bottom:.4em; }
.product-detail h4 { font-size:14px; margin-bottom:.4em; }
.product-detail p { max-width:64ch; }
.product-main section { scroll-margin-top:54px; padding:clamp(16px,2.4vw,26px); }
.product-main section+section { border-top:1px solid var(--line); }
.product-main section > :last-child { margin-bottom:0; }
.product-copy { margin-top:clamp(34px,4vw,52px); }
.product-images { display:grid; gap:14px; margin-top:clamp(18px,2.5vw,28px); }
.product-images img { display:block; width:100%; height:auto; }
.product-empty { color:var(--muted); }
.product-detail ul { padding-inline-start:1.4em; }
.product-detail li+li { margin-top:.35em; }
.gallery-stage {
  display:grid;
  place-items:center;
  min-height:0;
  border:1px solid var(--line);
  border-radius:10px;
  background-color:#f5f4f7;
  background-image:var(--edge-left,none),var(--edge-right,none);
  background-position:left,right;
  background-size:50% 100%;
  background-repeat:no-repeat;
  overflow:hidden;
}
.gallery-stage img { display:block; width:100%; height:100%; min-height:0; object-fit:contain; }
.gallery-thumbs { display:flex; justify-content:safe center; gap:5px; padding:4px 2px 2px; overflow-x:auto; min-width:0; }
.gallery-thumbs button {
  display:grid; place-items:center; flex:0 0 auto; width:clamp(30px,3vw,40px); height:clamp(26px,2.5vw,34px);
  border:1px solid var(--line); border-radius:6px; background:var(--detail-surface);
}
.gallery-thumbs img { display:block; width:100%; height:100%; min-height:0; object-fit:contain; border-radius:inherit; }
.gallery-thumbs button[aria-pressed="true"] { border-color:var(--accent); box-shadow:0 0 0 1px var(--accent); }
.gallery-thumbs button:hover { background:var(--detail-soft); }
.product-lead { color:var(--muted); margin:0; }
:is(#description,#grid .card-body p,.product-lead) { white-space:pre-line; }
.order-price { display:flex; flex-wrap:wrap; align-items:baseline; gap:5px 12px; color:var(--muted); font-size:13px; }
.order-price strong { color:var(--detail-ink); font-size:clamp(21px,2.1vw,26px); letter-spacing:-.025em; }
.vat-note { font-size:.81em; font-weight:400; color:var(--muted); letter-spacing:0; white-space:nowrap; }
.order-price .vat-note { font-size:12px; }
.order-terms { margin:10px 0 0; padding:9px 11px; border-radius:6px; background:var(--detail-soft); color:var(--muted); white-space:pre-line; }
.order-actions { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); gap:8px; margin-top:14px; }
.purchase-disclosure { position:relative; min-width:0; }
.purchase-disclosure button { width:100%; white-space:nowrap; }
.product-detail .purchase-links {
  position:absolute; inset:0 auto auto calc(100% + 6px); z-index:3;
  width:min(174px,var(--purchase-space,174px));
  display:grid; gap:3px; list-style:none; margin:0; padding:4px;
  border:1px solid var(--line); border-radius:6px; background:var(--detail-surface);
  box-shadow:0 4px 12px #172c461a;
}
.product-detail .purchase-links li { margin:0; }
.purchase-links :is(a,span) {
  display:grid; grid-template-columns:18px minmax(0,1fr); align-items:center; gap:5px; min-height:44px;
  padding:3px 4px; border-radius:4px; color:var(--detail-ink); font-size:11px; line-height:1.35; text-decoration:none;
}
.purchase-links img { object-fit:contain; }
.purchase-links a:hover { color:var(--accent); background:var(--detail-soft); }
.purchase-links span { color:var(--muted); }
.order-actions button {
  display:grid;
  place-items:center;
  min-height:44px;
  padding:8px 10px;
  border:1px solid var(--line);
  border-radius:6px;
  color:var(--detail-ink);
  font-size:13px;
  font-weight:650;
  text-align:center;
  text-decoration:none;
}
.order-actions .add-product { margin:0; border-color:var(--detail-ink); color:var(--detail-surface); background:var(--detail-ink); }
.order-actions [data-purchase-contact]:hover { background:var(--detail-soft); }
.order-actions .add-product:hover:not(:disabled) { opacity:.9; }
.order-actions .add-product:disabled { border-color:var(--line); color:var(--detail-ink); background:var(--detail-soft); cursor:default; }
.product-order .cart-feedback { display:block; color:var(--muted); font-size:13px; }
.cart-feedback:not(:empty) { margin-top:.5em; }
.store-sheet { width:min(100%,840px); margin:clamp(20px,4vw,48px) auto; padding:clamp(16px,3vw,36px); border:1px solid var(--line); border-top:4px solid #17344f; background:var(--paper); }
.store-sheet h1 { margin:0 0 18px; font-size:clamp(23px,3vw,32px); }
.store-sheet h2 { margin:24px 0 8px; font-size:18px; }
.store-sheet a { color:var(--accent); }
.cart-sheet { width:min(100%,1040px); color:#17344f; }
.cart-sheet h1 { margin-bottom:clamp(13px,2vw,22px); font-size:clamp(20px,2vw,25px); }
.cart-table { width:100%; border-collapse:collapse; border-block:1px solid #d5e0eb; font-size:14px; }
.cart-table th { background:#edf3f9; font-weight:700; }
.cart-table :is(th,td) { padding:clamp(6px,1.2vw,14px); border-bottom:1px solid #d5e0eb; text-align:left; }
.cart-table :is(th,td):first-child { width:1%; text-align:center; color:#4d667e; white-space:nowrap; }
.cart-table :is(th,td):nth-child(3) { width:1%; text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap; }
.cart-table :is(th,td):last-child { width:1%; text-align:center; white-space:nowrap; }
.cart-table td:nth-child(3) { font-weight:700; }
.cart-table .cart-product { display:flex; align-items:center; gap:clamp(5px,1.1vw,12px); color:#17344f; font-weight:600; overflow-wrap:anywhere; text-decoration:none; }
.cart-product:hover span { text-decoration:underline; text-underline-offset:3px; }
.cart-product img { flex:none; width:clamp(32px,6vw,64px); height:auto; aspect-ratio:4/3; border:1px solid #d5e0eb; border-radius:5px; background:#f1f5f9; object-fit:contain; }
.cart-table button { min-height:34px; padding-inline:clamp(5px,1vw,10px); border:1px solid #d5e0eb; border-radius:5px; color:#425b73; }
.cart-table button:hover { color:#175da3; border-color:#175da3; }
.cart-actions { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:8px 12px; margin-top:12px; padding:8px 12px; border:1px solid #d5e0eb; border-radius:6px; background:#f4f7fa; }
.cart-actions .cart-total { margin:0; font-size:13px; color:#425b73; text-align:right; }
.cart-total strong { margin-inline-start:6px; font-size:14px; color:#17344f; white-space:nowrap; font-variant-numeric:tabular-nums; }
#cart-checkout-status { color:#8f2530; text-align:right; }
#cart-checkout-status:empty { display:none; }
.cart-empty { margin:0; padding:32px 12px; border-block:1px solid #d5e0eb; color:#425b73; text-align:center; }
.cart-auth-dialog { width:min(292px,calc(100% - 32px)); padding:14px 16px; border-radius:8px; }
.cart-auth-dialog .checkout-head { align-items:center; gap:8px; }
.cart-auth-dialog .checkout-head h2 { margin:0; font-size:15px; }
.cart-auth-dialog .checkout-head button { min-height:28px; padding:0 6px; font-size:12px; }
.cart-auth-dialog > p { margin:6px 0 12px; font-size:12px; color:#425b73; }
.cart-auth-actions { display:flex; align-items:center; justify-content:flex-end; gap:10px; font-size:13px; }
.cart-auth-actions .checkout-open { display:inline-grid; place-items:center; color:#fff; text-decoration:none; }
.cart-actions .checkout-open,.cart-auth-actions .checkout-open { min-height:34px; padding:5px 11px; border-radius:5px; font-size:13px; }
@media(max-width:500px){.cart-table { font-size:12px; } .cart-table :is(th,td) { padding-inline:4px; }}
.policy-sheet { line-height:1.75; overflow-wrap:anywhere; }
.policy-sheet .policy-draft { color:#2b557f; font-size:13px; margin:0 0 20px; }
.policy-sheet table { width:100%; table-layout:fixed; border-collapse:collapse; font-size:14px; }
.policy-sheet :is(th,td) { padding:8px; border:1px solid var(--line); text-align:left; vertical-align:top; }
.policy-sheet th { background:#eaf0f7; }

.member-hub {
  --member-navy:#17344f; --member-blue:#175da3; --member-line:#d5e0eb; --member-tint:#edf3f9;
  margin:clamp(20px,3vw,42px) auto clamp(30px,5vw,68px); color:var(--member-navy);
}
.member-overview {
  display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:12px;
  padding:0 0 16px; margin:0 0 20px; border-bottom:1px solid #b9cadb;
}
.member-overview h1 { margin:0; font-size:clamp(20px,2vw,26px); letter-spacing:-.05em; line-height:1.25; }
.member-overview p { display:flex; flex-wrap:wrap; align-items:center; gap:5px 8px; margin:7px 0 0; color:#415b73; overflow-wrap:anywhere; }
.member-overview p span { padding:2px 7px; border-radius:4px; background:#e1ebf4; color:#264a68; font-size:12px; }
.member-overview > div { min-width:0; }
.member-overview .member-preview-note { margin:0; font-size:12px; }
.member-overview button {
  min-height:44px; padding:6px 14px; border:1px solid #b9cadb; border-radius:6px; background:white; color:var(--member-navy); font-weight:650;
}
.member-overview button:hover { background:var(--member-tint); }
.member-layout { display:grid; grid-template-columns:minmax(150px,180px) minmax(0,1fr); gap:18px; align-items:start; }
.member-menu {
  display:grid; align-content:start; padding:5px 12px; border:1px solid var(--member-line); border-radius:8px; background:white;
}
.member-menu a {
  display:flex; align-items:center; min-height:44px; padding:6px 7px; color:var(--member-navy); font-weight:650; text-decoration:none;
}
.member-menu a + a { border-top:1px solid var(--member-line); }
.member-menu a:hover { color:var(--member-blue); background:var(--member-tint); }
.member-content { display:grid; gap:clamp(24px,3vw,36px); min-width:0; }
.member-panel { background:white; border:1px solid var(--member-line); border-radius:8px; scroll-margin-top:18px; min-width:0; }
.member-panel-heading {
  display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:4px 14px;
  margin:0; padding:14px clamp(12px,2vw,22px); border-bottom:1px solid var(--member-line);
}
.member-panel-heading h2 { margin:0; padding-left:9px; border-left:3px solid var(--member-blue); font-size:clamp(17px,2.2vw,20px); line-height:1.3; }
.member-panel-heading p { margin:0; font-size:13px; font-weight:650; color:#4c6379; }
.member-panel:target .member-panel-heading { background:var(--member-tint); border-radius:7px 7px 0 0; }
.member-program { display:grid; grid-template-columns:76px minmax(0,1fr) auto; align-items:center; gap:12px; padding:15px clamp(12px,2vw,22px); }
.member-program + .member-program { border-top:1px solid var(--member-line); }
.member-program img { display:block; width:100%; height:62px; object-fit:contain; background:#eef4f8; border-radius:6px; }
.member-program-name h3 { margin:0; font-size:15px; overflow-wrap:anywhere; }
.member-program-name h3 a { color:inherit; text-decoration:none; }
.member-program-name h3 a:hover { text-decoration:underline; }
.member-text-link { color:var(--member-blue); text-underline-offset:3px; font-size:13px; }
.member-program-points { text-align:right; min-width:0; }
.member-program-points strong { display:block; color:var(--member-blue); font-size:clamp(15px,1.9vw,21px); line-height:1.25; white-space:nowrap; }
.member-program-points small { color:#4c6379; display:block; margin-top:4px; font-size:12px; }
.member-orders { width:100%; border-collapse:collapse; font-size:13px; }
.member-orders :is(th,td) { padding:10px clamp(8px,1.8vw,19px); text-align:left; overflow-wrap:anywhere; }
.member-orders thead { background:var(--member-tint); color:#455e77; }
.member-orders tbody tr + tr { border-top:1px solid var(--member-line); }
.member-order-amount { font-variant-numeric:tabular-nums; white-space:nowrap; }
.member-order-date { white-space:nowrap; }
.member-order-number { color:#435d76; font-variant-numeric:tabular-nums; }
.member-order-number > span { display:none; }
.member-order-status { display:inline-block; padding:3px 6px; border-radius:4px; color:#2e506d; background:var(--member-tint); }
.member-order-pagination {
  display:flex; align-items:center; justify-content:center; gap:10px; padding:10px 12px;
  border-top:1px solid var(--member-line); color:#385570; font-size:13px;
}
.member-order-pagination button {
  min-width:48px; min-height:40px; padding-inline:8px; border:1px solid var(--member-line); border-radius:6px;
  color:var(--member-navy); font-weight:650;
}
.member-order-pagination button:hover:not(:disabled) { background:var(--member-tint); }
.member-order-pagination button:disabled { opacity:.46; cursor:default; }
.member-details { margin:0; padding:0 clamp(12px,2vw,22px); font-size:14px; }
.member-details div { display:grid; grid-template-columns:minmax(78px,22%) minmax(0,1fr); gap:8px; padding:10px 0; }
.member-details div + div { border-top:1px solid var(--member-line); }
.member-details dt { color:#4c6379; }
.member-details dd { margin:0; overflow-wrap:anywhere; }
.member-details dd a { display:inline-block; margin-inline-start:8px; }
.member-active-programs { padding:0; margin:0; list-style:none; }
.member-active-programs a { color:var(--member-blue); }
.member-details .member-active-programs a { margin-inline-start:0; }
.member-empty { margin:0; padding:16px clamp(12px,2vw,22px); color:#4c6379; }
.member-empty p { margin:0 0 6px; }
.member-empty a { color:var(--member-blue); }
.inquiry-sheet .feedback-heading { margin-top:12px; }
.inquiry-sheet .feedback-heading h1 { margin:0; }
.inquiry-sheet .feedback-table { min-width:0; }
.inquiry-sheet .feedback-table :is(th,td):last-child { width:88px; }
.inquiry-sheet .feedback-table td[colspan] { width:auto; }
.inquiry-answer { margin-top:12px; padding:12px; border-left:3px solid #175da3; background:#eef4fa; }
.inquiry-answer h2 { margin:0 0 6px; font-size:15px; }
.inquiry-answer textarea { display:block; width:100%; margin:5px 0; font:inherit; }
.inquiry-answer button { min-height:36px; padding-inline:8px; color:#175da3; }
.checkout-open,.checkout-dialog #checkout-form > button {
  background:#175da3; color:white; border-radius:7px; padding:9px 15px; min-height:44px; font-weight:700;
}
.checkout-dialog { width:min(500px,calc(100% - 24px)); max-height:calc(100dvh - 24px); padding:clamp(15px,3vw,26px); overflow:auto; }
.checkout-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.checkout-head :is(h2,p) { margin:0; }
.checkout-head h2 { color:#17344f; font-size:25px; }
.checkout-head button { min-height:36px; padding-inline:8px; border:1px solid #d5e0eb; border-radius:6px; }
.checkout-notice { padding:9px 10px; border-radius:5px; background:#edf3f9; color:#324e68; }
#checkout-summary ul { padding:0; margin:0; list-style:none; }
#checkout-summary li { display:flex; justify-content:space-between; gap:10px; padding:7px 0; border-bottom:1px solid #d5e0eb; }
#checkout-summary li strong { white-space:nowrap; }
#checkout-summary > p strong { color:#175da3; font-size:20px; }
#checkout-form fieldset { display:grid; gap:7px; min-width:0; padding:0; border:0; margin:0; }
#checkout-form legend { padding:0; margin-bottom:5px; font-weight:700; }
#checkout-form label { display:flex; align-items:center; gap:7px; min-height:44px; padding:7px 10px; border:1px solid #d5e0eb; border-radius:6px; cursor:pointer; }
#checkout-form label:has(:checked) { border-color:#175da3; background:#edf3f9; }
#checkout-form input { accent-color:#175da3; }
#checkout-form > button { width:100%; margin-top:8px; }
#checkout-form > button:disabled { opacity:.5; cursor:default; }
#checkout-status:empty { display:none; }
.checkout-method-note { color:#405a73; }
.mock-receipt { margin:12px 0; padding:12px 14px; border:1px solid #ccddeb; border-radius:7px; background:#edf5fc; }
.mock-receipt :is(h2,h3) { margin:0 0 8px; color:#17344f; font-size:16px; }
.mock-receipt dl { display:grid; grid-template-columns:max-content minmax(0,1fr); gap:4px 12px; margin:0; font-size:13px; }
.mock-receipt dt { color:#405a73; }
.mock-receipt dd { margin:0; color:#17344f; overflow-wrap:anywhere; }
@media(max-width:760px) {
  .member-layout { grid-template-columns:minmax(0,1fr); gap:12px; }
  .member-menu { display:flex; flex-wrap:wrap; gap:0 8px; padding:2px 7px; }
  .member-menu a + a { border-top:0; }
}
@media(max-width:580px) {
  .member-program { grid-template-columns:52px minmax(0,1fr); gap:7px 10px; }
  .member-program img { height:50px; }
  .member-program-points { grid-column:2; text-align:left; }
  .member-orders,.member-orders tbody { display:block; }
  .member-orders thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .member-orders tbody tr {
    display:grid; grid-template-columns:minmax(0,1fr) max-content max-content; align-items:center;
    grid-template-areas:"item item item" "number number number" "date amount status"; gap:4px 8px; padding:10px 12px;
  }
  .member-orders :is(th,td) { padding:0; }
  .member-orders tbody th { grid-area:item; margin-bottom:2px; }
  .member-orders td { font-size:12px; }
  .member-order-number { grid-area:number; }
  .member-order-number > span { display:inline; margin-inline-end:5px; }
  .member-order-date { grid-area:date; white-space:normal; }
  .member-order-amount { grid-area:amount; }
  .member-orders td:last-child { grid-area:status; }
  .policy-sheet :is(th,td) { padding:4px; }
}

body[data-page="programs"] #search:placeholder-shown { text-align:right; }
#detail .cart-total { font-weight:650; color:var(--ink); }
.feedback-heading { display:flex; justify-content:space-between; align-items:center; gap:8px; margin-bottom:10px; }
.feedback-heading h2 { margin:0; }
.feedback-write,.feedback-actions :is(button,a) {
  display:inline-grid; place-items:center; min-height:38px; padding:5px 10px; border:1px solid var(--line);
  border-radius:6px; color:var(--accent); font-size:13px; font-weight:650; text-decoration:none; white-space:nowrap;
}
.feedback-write:hover,.feedback-actions a:hover { background:#edf3f9; }
.feedback-table { width:100%; border-collapse:collapse; table-layout:fixed; font-size:13px; }
.feedback-table :is(th,td) { padding:9px 5px; border-bottom:1px solid var(--line); text-align:center; overflow-wrap:anywhere; }
.feedback-table thead { background:#edf3f9; }
.feedback-table th:first-child { width:76px; }
.feedback-table th:nth-child(3) { width:112px; }
.feedback-table th:last-child { width:104px; }

.feedback-table tr:not(.feedback-body) td:first-child { font-variant-numeric:tabular-nums; }
.feedback-table .feedback-body td { text-align:left; }
.feedback-table td button { color:var(--accent); text-align:center; overflow-wrap:anywhere; }
.feedback-table td button:hover { text-decoration:underline; }
.feedback-table .feedback-empty, .feedback-table td:first-child { color:var(--muted); }
.feedback-table .feedback-body td { padding:13px 10px; background:#f9fafc; color:var(--ink); }
.feedback-table .feedback-body p { margin:0 0 6px; }
.review-rating { white-space:nowrap; color:#875400; font:600 12px/1.4 Arial,sans-serif; }

.feedback-form-panel { margin:18px auto 0; padding:clamp(14px,2.6vw,28px); border:1px solid var(--line); border-radius:9px; background:var(--paper); }
.feedback-form-panel h1 { margin:0 0 14px; font-size:clamp(20px,2.1vw,28px); }
.feedback-fields { display:grid; grid-template-columns:minmax(0,2fr) repeat(2,minmax(0,1fr)); gap:10px; }
.feedback-fields label { display:grid; gap:4px; min-width:0; font-size:13px; font-weight:650; }
.feedback-fields { grid-template-columns:minmax(0,2fr) minmax(190px,1fr); align-items:end; }
.feedback-fields .privacy-choice { display:flex; align-items:center; min-height:42px; }
.feedback-fields .privacy-choice input { width:18px; min-height:18px; }
.star-picker { border:0; padding:0; margin:0; min-width:0; }
.star-picker legend { font-size:13px; font-weight:650; }
.board-login { max-width:26rem; margin:10vh auto; padding:24px; background:#fff; border:1px solid #cfddea; border-radius:12px; }
.board-login :is(form,label) { display:grid; gap:9px; }
.board-login form { gap:16px; }
.board-login input,.board-login button { padding:10px; border:1px solid #abbccc; border-radius:5px; }
.board-login button { background:#174773; color:white; }
.star-picker-row { display:flex; flex-wrap:wrap; align-items:center; gap:2px 10px; }
.star-options { display:flex; }
#rating-hint { color:#854012; font-size:13px; }
.star-picker:has(input:checked) #rating-hint { display:none; }
.star-picker label { position:relative; cursor:pointer; }
.star-picker input { position:absolute; opacity:0; inset:0; cursor:pointer; margin:0; }
.star-picker span { font-size:28px; padding:3px; color:#737e89; }
.star-picker label:has(:checked) span,.star-picker label:has(~label :checked) span { color:#a55d00; }
.star-picker label:has(:focus-visible) { outline:2px solid var(--accent); }
.feedback-fields :is(input,select) { width:100%; min-height:42px; padding:6px 9px; border:1px solid var(--line); border-radius:6px; color:var(--ink); background:var(--paper); font:inherit; }
.feedback-editor-label { display:block; margin:14px 0 6px; font-size:13px; font-weight:650; }
.feedback-editor-frame { max-width:100%; overflow:auto; }
.feedback-editor-frame iframe { display:block; width:100%; min-width:0; }
#feedback-editor { width:100%; min-height:175px; }
.feedback-actions { display:flex; gap:8px; margin-top:13px; }
.feedback-actions button { color:var(--paper); background:var(--accent); border-color:var(--accent); }
.feedback-actions button:disabled { opacity:.55; cursor:default; }
#feedback-status { color:var(--muted); }
#feedback-status:empty { display:none; }
@media(max-width:620px) {
  .feedback-fields { grid-template-columns:minmax(0,1fr); }
  .feedback-fields :is(input,select) { font-size:16px; }
  .feedback-table { font-size:12px; }
  .feedback-table :is(th,td){padding-inline:3px;}
}

body[data-theme="store"] :is(main p,main li,.site-footer li,.site-footer p,#detail p) {
  word-break:keep-all;
  overflow-wrap:anywhere;
  text-wrap:pretty;
}
body[data-theme="store"] :is(main h1,main h2,main h3) {
  word-break:keep-all;
  overflow-wrap:anywhere;
  text-wrap:balance;
}
.product-detail :is(p,li) { line-height:1.65; font-size:14px; }
@media(max-width:700px) {
  .product-hero { grid-template-columns:minmax(0,1fr); grid-template-areas:"gallery" "summary" "order"; grid-template-rows:auto; }
}
@media(max-width:350px) {
  .order-actions { grid-template-columns:minmax(0,1fr); }
}
@media(min-width:641px) and (max-width:900px) {
  body[data-theme="store"][data-page="programs"] #grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:640px) {
  .search input { font-size:16px; }
}

/* Account screens share the store masthead and purchase typography. */
body.member-screen {
  min-height:100vh; display:grid; place-items:center; padding:24px 16px; color:#142033;
  background:radial-gradient(ellipse at 16% 12%,#dce9fa,transparent 30rem),linear-gradient(135deg,#f6f9fd,#e9f2fb);
}
.member-screen a { color:#174c84; font-weight:650; }
.member-sheet { width:min(440px,100%); padding:clamp(20px,4vw,30px); background:white; border:1px solid #b9cde7; border-radius:10px; box-shadow:0 22px 56px #1f3a5c24; }
.member-sheet .member-brand { display:flex; align-items:center; gap:9px; margin-bottom:22px; color:#142033; font-weight:700; text-decoration:none; }
.member-sheet h1 { font-size:26px; margin:0; letter-spacing:-.05em; }
.member-sheet p,.member-sheet small { line-height:1.6; color:#30445f; word-break:keep-all; }
.member-sheet .member-instruction { margin:8px 0 18px; font-size:12px; color:#0f4f9c; text-underline-offset:3px; }
.member-sheet form,.member-sheet label { display:grid; gap:7px; min-width:0; }
.member-sheet label { font-size:13px; font-weight:600; color:#1f3858; }
.member-sheet form { gap:11px; }
.member-sheet input:not([type=checkbox]),.member-sheet button { width:100%; min-width:0; min-height:46px; padding:10px; border:1px solid #b9c8d7; border-radius:6px; font:inherit; }
.member-sheet button { background:#175da3; color:white; font-weight:700; }
.member-sheet button:disabled { opacity:.55; cursor:default; }
.member-sheet .accept { display:flex; align-items:flex-start; }
.member-sheet [role=status]:empty { display:none; }
.member-sheet .member-links { display:flex; flex-wrap:wrap; justify-content:space-between; gap:10px; margin-top:18px; font-size:13px; }
.member-signup { width:min(360px,100%); padding:18px 20px; border-color:#d5e0eb; border-radius:8px; box-shadow:0 6px 18px #1f3a5c14; }
.member-signup .member-brand { gap:7px; margin-bottom:12px; font-size:13px; }
.member-signup .member-brand img { width:24px; height:24px; }
.member-signup h1 { margin:0 0 12px; font-size:18px; }
.member-signup .signup-primary { display:flex; justify-content:center; align-items:center; min-height:36px; padding:5px 10px; border-radius:5px; background:#175da3; color:white; font-size:13px; text-decoration:none; }
.member-signup .signup-primary:hover { background:#164d83; }
.member-signup .signup-policies { margin:10px 0 0; font-size:12px; }
.member-signup .member-links { margin-top:12px; padding-top:10px; border-top:1px solid #d5e0eb; font-size:12px; }
.member-signup input:not([type=checkbox]),.member-signup button { min-height:36px; padding:6px 8px; }
.member-sheet #verification-status { margin:0; color:#9b2532; font-size:13px; }
.product-detail .product-summary h1 { margin:12px 0; font-size:calc(clamp(16px,1.6vw,19px) + 2px); }
.product-detail .purchase-conditions { margin:18px 0; color:var(--ink); }
.product-detail .purchase-conditions h2 { font-size:13px; margin:0 0 7px; }
.product-detail .purchase-conditions ul { margin:0; padding:0; list-style:none; }
.product-detail .purchase-conditions li { border-top:1px solid var(--line); padding:6px 0; margin:0; font-size:13px; }
.product-detail .order-price strong { font-size:calc(clamp(16px,1.6vw,19px) + 2px); font-variant-numeric:tabular-nums; }
[data-product-design=ocean] .product-section-nav { display:flex; justify-content:center; gap:10px; padding:5px; }
[data-product-design=ocean] .product-section-nav a { flex:1; border-radius:24px; }
[data-product-design=ocean] .purchase-conditions ul { border-left:3px solid #217cab; padding-left:14px; }
[data-product-design=ink] .product-section-nav a { border-right:1px solid currentColor; font-family:Georgia,serif; }
[data-product-design=ink] .product-main section h2 { border-bottom:2px solid currentColor; padding-bottom:9px; }
[data-product-design=glacier] .product-order { padding:16px; border:1px solid #c5dae6; border-radius:16px; background:#ffffffdb; }
[data-product-design=glacier] .product-facts { display:flex; flex-wrap:wrap; }
[data-product-design=glacier] .product-facts div { flex:1 1 120px; display:block; }
[data-product-design=denim] .product-order { padding:14px; border:1px dashed #8191a7; }
[data-product-design=denim] .product-section-nav { background:#e6edf7; }
[data-product-design=storefront] .order-price:has(+ .purchase-conditions),[data-product-design=storefront] .order-price:has(+ .order-actions) { border-inline-start:5px solid var(--accent); padding-inline-start:14px; }
[data-product-design=storefront] .purchase-conditions { border-top:1px solid var(--line); padding-top:15px; }
[data-product-design=cobalt] .order-price { border-left:5px solid #214bc3; padding-left:14px; }
[data-product-design=cobalt] .product-section-nav a[aria-current] { color:white; background:#163c9f; }
[data-product-design=cobalt] .product-main section h2 { padding-left:10px; border-left:4px solid #214bc3; }
[data-product-design=slate] .purchase-conditions li:nth-child(odd),[data-product-design=slate] .product-facts div:nth-child(odd) { background:#e8edf1; }
[data-product-design=slate] :is(.purchase-conditions li,.product-facts div) { padding-inline:9px; font-variant-numeric:tabular-nums; }
[data-product-design=lagoon] .purchase-conditions ul { display:flex; gap:8px; flex-wrap:wrap; }
[data-product-design=lagoon] .purchase-conditions li { flex:1 1 100px; border-top:3px solid #3e927a; padding:8px 4px; }
[data-product-design=iris] .product-summary { text-align:center; }
[data-product-design=iris] .order-price { justify-content:center; border-block:1px solid #c8afd6; padding:10px 0; }
[data-product-design=midnight] .purchase-conditions { color:white; }
[data-product-design=midnight] .product-section-nav { background:#183050; }
[data-product-design=midnight] .product-section-nav a:not([aria-current]) { color:#eef5ff; }
.product-design-options { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px; margin-block:14px 20px; }
.product-design-options a { display:block; overflow:hidden; padding:0; text-align:left; }
.product-design-options img { display:block; width:100%; height:auto; aspect-ratio:2.5; object-fit:cover; object-position:top; background:#f4f7fb; }
.product-design-options span { display:block; padding:5px 8px; }
.product-design-options a[aria-current] { outline:2px solid #245b90; outline-offset:1px; }
@media(max-width:700px) {
 .product-design-options { display:flex; flex-wrap:nowrap; overflow-x:auto; padding:4px; scroll-snap-type:x proximity; }
 .product-design-options a { flex:0 0 110px; scroll-snap-align:start; }
}

[data-theme="store"] #grid .card-body p { margin-block:clamp(12px,1.3vw,18px) clamp(22px,2.3vw,32px); }
[data-theme="store"] #grid .card-bottom { padding-top:clamp(10px,1vw,14px); }

#company-page { --section-gap:clamp(36px,5vw,60px); }
#company-page .phrase { display:inline-block; max-width:100%; }
#company-page .company-story { display:grid; grid-template-columns:minmax(150px, .28fr) minmax(0,1fr); column-gap:24px; row-gap:12px; padding:8px 0 var(--section-gap); margin:0; }
#company-page .company-story h2 { grid-row:span 2; margin:0; }
#company-page .company-story p { max-width:none; margin:0; line-height:1.75; font-size:clamp(13px,1vw,14px); }
.company-story .team-introduction { text-indent:.3em; }
.company-tech,.company-business { margin-top:var(--section-gap); }
#company-page :is(.company-tech,.company-business) h2 { margin:0 0 14px; }
.company-tech dl { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 clamp(18px,3vw,36px); margin:0; padding:4px clamp(16px,2.2vw,24px); border-radius:10px; background:#f2f0fa; }
.company-tech dl > div { min-width:0; padding:17px 0; }
.company-tech dl > div:nth-child(n+3) { border-top:1px solid #dcd7e9; }
.company-tech dt { font-weight:700; color:#41355e; margin-bottom:5px; }
.company-tech dd { margin:0; color:#514a65; line-height:1.7; word-break:keep-all; overflow-wrap:anywhere; text-wrap:pretty; }
#company-page .business-list { gap:10px; }
#company-page .business-list a { background:#f2f6fc; border-color:#d5e1ec; padding:16px 20px; }
#company-page .business-list a:is(:hover,:focus-visible) { border-color:var(--accent); }
@media(max-width:800px) {
 #company-page .company-story { grid-template-columns:1fr; }
 #company-page .company-story h2 { grid-row:auto; }
}
@media(max-width:640px) {
 .company-tech dl { grid-template-columns:1fr; }
 .company-tech dl > div + div { border-top:1px solid #dcd7e9; }
 #company-page .company-story p { text-wrap:balance; }
}

body:is([data-page="programs"],[data-page="marketing"],[data-page="landing"],[data-page="custom"]) #content > .intro:has(#service-action) {
  margin-top:clamp(23px,2vw,32px);
  margin-bottom:clamp(30px,3.2vw,48px);
}
body[data-page="programs"] #catalog .commission-guide { margin-top:clamp(48px,6vw,86px); }

.company-tech dd ul { display:flex; flex-wrap:wrap; gap:4px 0; list-style:none; padding:0; margin:0; }
.company-tech dd li { white-space:nowrap; }
.company-tech dd li:not(:last-child)::after { content:'·'; margin-inline:.45em; color:#79718e; }

/* Neutral background for the classic store. */
body[data-theme="store"]:is([data-surface="classic"],:not([data-surface])) .layout {
  background-color:#f1f1ee;
  background-image:none;
  background-repeat:no-repeat;
}
body[data-theme="store"]:is([data-surface="classic"],:not([data-surface])) #content {
  background:#f1f1ee;
}
body[data-theme="store"] #list-title,
body[data-theme="store"][data-page="custom"] :is(.company-tech h2,.support-heading h2) {
  border-inline-start:4px solid var(--panel-ink,#175da3); padding-inline-start:12px;
  font-size:21px; line-height:1.35; font-weight:700; letter-spacing:-.055em;
}
body[data-page="custom"] .company-tech h2 { margin:0 0 14px; }
body[data-page="custom"] #support-page { margin-top:clamp(28px,4vw,52px); scroll-margin-top:16px; }
body[data-page="custom"] .support-heading { margin-bottom:8px; }
#list-title { scroll-margin-top:16px; }
.service-catalog-card:hover { box-shadow:none; transform:none; }
.service-catalog-card .stage { background:var(--panel-light,#eef5f0); }
.service-catalog-card .stage:has(img) { background:#e1ece6; }
.service-catalog-card .stage img { width:100%; height:100%; max-width:none; margin:0; object-fit:contain; mix-blend-mode:normal; }
.service-catalog-card .sold-out-label { color:#8f2530; }
.portfolio-card .stage:has(img) { background:#edf0f4; }
.portfolio-card .stage img { inset:0; transform:none; mask-image:none; filter:none; border-radius:0; object-fit:contain; }
[data-theme="store"] .portfolio-card:hover .stage img { transform:none; }
.portfolio-card .stage::before { content:none; }
.portfolio-card .stage:focus-visible { outline-offset:-4px; }
.portfolio-card .card-bottom { flex-wrap:wrap; justify-content:flex-start; gap:0 12px; padding-top:5px; }
.portfolio-card .card-bottom a { display:inline-flex; align-items:center; min-height:36px; color:var(--accent); font-weight:650; }
body:is([data-page="landing"],[data-page="programs"],[data-page="marketing"]) #catalog #grid { row-gap:clamp(30px,4vw,58px); }
.website-example-guide { margin:0 0 clamp(24px,3.3vw,46px); color:#40566a; line-height:1.72; }
.website-example-guide p { margin:0; }
body[data-theme="store"] .website-example-guide p { overflow-wrap:break-word; }
@media(max-width:700px) {
  .website-example-guide p + p { margin-top:5px; }
}
@media(max-width:700px) {
  body[data-theme="store"] #list-title,
  body[data-theme="store"][data-page="custom"] :is(.company-tech h2,.support-heading h2) { font-size:17px; }
}

.feedback-form-panel { width:min(100%,740px); margin:clamp(16px,3vw,38px) auto; padding:clamp(16px,3vw,36px); border:1px solid #c9d7e6; border-top:3px solid #275b8c; background:#fff; border-radius:8px; box-shadow:0 8px 30px #243c5710; }
.feedback-form-header { padding:clamp(14px,2vw,22px); margin-bottom:22px; border-inline-start:4px solid #28639b; border-radius:0 7px 7px 0; background:linear-gradient(110deg,#e7f0fb,#f6f9fd); }
.feedback-form-header h1 { color:#173553; font-size:clamp(19px,1.65vw,23px); margin:0; }
.feedback-back { display:inline-flex; align-items:center; gap:8px; color:#50657a; font-size:13px; text-decoration:none; }
.feedback-back:hover { text-decoration:underline; }
.feedback-back img { width:32px; height:32px; border-radius:4px; object-fit:contain; }
#feedback-form .feedback-fields { display:flex; flex-direction:column; align-items:stretch; gap:14px; }
#feedback-form .feedback-fields > label:first-child { font-size:13px; }
#feedback-form input[name="title"] { border:1px solid #bdcfdf; border-radius:6px; padding:10px 12px; font-size:16px; background:#fbfdff; }
.feedback-fields .privacy-choice { display:flex; align-items:center; gap:8px; }
.feedback-fields .privacy-choice input { accent-color:#245b8d; }
.privacy-choice small { display:block; font-weight:400; color:#54667a; }
.star-picker legend { float:left; margin-right:12px; line-height:42px; }
.star-picker label { min-width:28px; }
.star-picker span { font-size:24px; }
.feedback-editor-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; margin:14px 0 6px; }
.feedback-editor-heading label { margin:0; }
.feedback-editor-heading button { color:#43617e; padding:5px 8px; border:1px solid #ced9e5; border-radius:4px; font-size:12px; }
.feedback-editor-heading button::after { content:' +'; }
.feedback-editor-heading button[aria-expanded="true"]::after { content:' −'; }
.feedback-editor-frame { border:1px solid #d5e0ea; border-radius:5px; }
.feedback-editor-frame:focus-within { border-color:#396e9e; }
.feedback-actions { justify-content:flex-end; align-items:center; gap:16px; margin-top:18px; }
.feedback-actions a { min-height:44px; padding-inline:18px; border:1px solid #afc1d2; background:#f5f8fb; color:#334e66; font-weight:650; }
.feedback-actions button { min-height:44px; padding-inline:23px; background:#20588c; border-color:#184a78; color:white; box-shadow:0 2px 4px #214b701f; }
.feedback-actions button:hover:enabled { background:#174672; }
.field-caption { display:inline-flex; align-items:center; gap:7px; color:#234966; font-size:14px; font-weight:750; }
.field-caption::before { content:""; width:3px; height:12px; border-radius:2px; background:#5383ad; }
@media(max-width:480px) {
 .product-main :is(#reviews,#questions) { padding-inline:8px; }
 .feedback-table th:first-child { width:3.8em; }
 .feedback-table th:nth-child(3) { width:4.6em; }
 .feedback-table th:last-child { width:5.5em; }
 .review-rating { font-size:10px; }
}

.store-preview-panel { display:flex; align-items:end; flex-wrap:wrap; gap:12px 24px; padding:16px; margin-top:14px; border:1px solid #b7c8d9; border-radius:10px; background:#fff; color:#1d3854; }
.store-preview-panel fieldset { display:flex; flex-wrap:wrap; border:0; padding:0; margin:0; gap:5px; min-width:0; }
.store-preview-panel legend { margin:0 0 5px; font-size:12px; font-weight:700; }
.store-preview-panel button { display:inline-flex; align-items:center; gap:5px; min-height:36px; padding:5px 9px; border:1px solid #c8d2df; border-radius:5px; font-size:13px; }
.store-preview-panel button[aria-pressed=true] { border-color:#1e5689; box-shadow:inset 0 0 0 1px #1e5689; font-weight:700; }
.store-preview-panel i { width:16px; height:16px; border-radius:50%; }
.store-preview-save { display:grid; gap:3px; }
.store-preview-save button { color:white; background:#214870; }
.store-preview-save span { font-size:12px; }
body[data-theme="store"]:is([data-surface=paper],[data-surface=blueprint],[data-surface=grove]) { background:var(--store-surround); }
body:is([data-surface=paper],[data-surface=blueprint],[data-surface=grove]) #content { background:var(--store-page); }
body:is([data-surface=paper],[data-surface=blueprint],[data-surface=grove]) #content :is(.product,.service,.commission-links,.product-main,.feedback-form-panel) { background-color:var(--store-surface); border-color:var(--store-line); }
body[data-surface=paper] #content .card-body { background:var(--store-surface); border-top:3px double var(--store-line); }
body[data-surface=paper] #content :is(.product,.commission-links) { border-radius:3px; box-shadow:0 3px 0 var(--store-line); }
body[data-surface=paper] #content .tools { padding-bottom:9px; border-bottom:2px solid var(--store-mark); }
body[data-surface=paper] #content .commission-links { background:var(--store-tint); }
body[data-surface=blueprint] #content { background-color:var(--store-page); background-image:linear-gradient(90deg,var(--store-tint) 1px,transparent 1px),linear-gradient(var(--store-tint) 1px,transparent 1px); background-size:24px 24px; }
body[data-surface=blueprint] #content .tools { background:#183c60; padding:10px 14px; border-radius:6px; }
body[data-surface=blueprint] #content .tools h2,body[data-surface=blueprint] #content .tools h2 span { color:white; }
body[data-surface=blueprint] #content .product { border-radius:4px; border-bottom:3px solid var(--store-mark); }
body[data-surface=grove] #content .tools { border-inline-start:4px solid var(--store-mark); padding-inline-start:12px; }
body[data-surface=grove] #content .card-bottom { background:var(--store-tint); padding:8px 9px; border:0; border-radius:6px; }
body[data-surface=grove] #content .commission-links { background:var(--store-tint); border-radius:16px; }
@media(max-width:620px) {
 .store-preview-panel { padding:10px; gap:9px; }
 .store-preview-panel button { font-size:12px; }
}

body[data-footer=navy] .site-footer { background:#17344f; color:white; }
body[data-footer=navy] .site-footer :is(a,button,strong,small,p,li) { color:white; }
body[data-footer=navy] .copyright { border-color:#547088; }
body[data-footer=navy] .site-footer :focus-visible { outline:2px solid white; outline-offset:3px; }

@media(min-width:701px) {
  [data-product-design=storefront] .product-gallery { align-self:stretch; }
  [data-product-design=storefront] .product-hero { row-gap:clamp(22px,3vw,46px); }
  [data-product-design=storefront] .product-summary { padding-top:clamp(18px,2.4vw,36px); }
  [data-product-design=storefront] .product-summary h1 { margin:0 0 clamp(16px,1.8vw,28px); }
  [data-product-design=storefront] .product-order {
    align-self:stretch; display:flex; flex-direction:column; justify-content:space-between;
    gap:clamp(18px,2vw,30px); padding-top:clamp(16px,2vw,30px); padding-bottom:clamp(18px,2.4vw,36px);
  }
  [data-product-design=storefront] .product-order :is(.purchase-conditions,.order-actions) { margin-block:0; }
  [data-product-design=storefront] .cart-feedback:empty { display:none; }
}

.feedback-form-panel { width:min(100%,840px); padding:clamp(16px,3vw,36px); border:1px solid #cbd5df; box-shadow:none; }
.feedback-form-header { padding:0 0 18px; border:0; border-bottom:2px solid #17344f; border-radius:0; background:none; margin-bottom:0; }
.feedback-form-header h1 { margin:0 0 clamp(18px,2vw,26px); letter-spacing:-.035em; }
.feedback-back img { width:26px; height:26px; }
#feedback-form .feedback-fields { gap:0; }
#feedback-form .feedback-fields > * { margin:0; padding:clamp(20px,2vw,28px) 0; border:0; border-bottom:1px solid var(--line); }
#feedback-form .feedback-fields > label:first-child,.feedback-privacy { display:grid; grid-template-columns:6rem minmax(0,1fr); align-items:center; gap:0; }
#feedback-form .field-caption { color:#203f5a; font-size:14px; font-weight:700; padding:0; }
#feedback-form .field-caption::before { content:none; }
#feedback-form .star-picker legend { width:6rem; margin:0; padding:0; }
#feedback-form .privacy-choice { flex-direction:row; }
#feedback-form .privacy-choice input { flex:0 0 18px; width:18px; height:18px; min-height:0; }
.feedback-editor-heading { margin:clamp(26px,3vw,38px) 0 10px; }
.feedback-actions { border-top:1px solid var(--line); padding-top:16px; gap:8px; }
.feedback-actions button { background:#17344f; box-shadow:none; }
#feedback-status:empty { margin:0; }
@media(max-width:600px) {
  #feedback-form .feedback-fields > label:first-child,.feedback-privacy { grid-template-columns:1fr; gap:6px; }
  #feedback-form .star-picker legend { width:auto; margin-right:16px; }
}
.feedback-table-wrap { max-width:100%; overflow-x:auto; }
@media(max-width:480px) {
  .feedback-table { min-width:270px; }
}

body:has(.member-signup) {
  /* 2026-10-09 시인성 보강: 글자를 밝게, 입력칸·구역 경계를 또렷하게(입력칸 테두리 대비 3:1 이상) */
  --rg-bg: #f2f5f8;
  --rg-card: #fff;
  --rg-panel: #f2f6fa;
  --rg-input: #0f1a2e;
  --rg-line: #cdd9e3;
  --rg-line-strong: #9ab0c6;
  --rg-text: #17344f;
  --rg-muted: #405770;
  --rg-dim: #a3b2c7;
  --rg-brand: #2563eb;
  --rg-brand-soft: rgba(59, 130, 246, 0.14);
  background: var(--rg-bg);
  color: var(--rg-text);
}

body.member-screen:has(.member-signup) {
  min-height: 100vh;
  padding: 32px 16px;
  background:var(--rg-bg);
}

body:has(.member-signup) .member-signup {
  width: min(480px, 100%);
  padding: 34px 34px 28px;
  border: 1px solid var(--rg-line);
  border-radius: 18px;
  background: var(--rg-card);
  box-shadow: 0 6px 22px #17344f12;
  color: var(--rg-text);
}

body:has(.member-signup) .member-brand {
  margin-bottom: 18px;
}

body:has(.member-signup) .member-brand,
body:has(.member-signup) .member-brand span {
  color: var(--rg-text);
}

body:has(.member-signup) .member-signup h1 {
  margin: 0 0 18px;
  color: #17344f;
  font-size: 18px;
  font-weight: 800;
}

body:has(.member-signup) .mc-flow {
  display: grid;
  gap: 0;
  margin: 0 0 18px;
  padding: 14px 16px;
  list-style: none;
  border: 1px solid var(--rg-line);
  border-radius: 12px;
  background: var(--rg-panel);
}

body:has(.member-signup) .mc-flow li {
  position: relative;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px;
  padding: 7px 0;
}

body:has(.member-signup) .mc-flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 33px;
  bottom: -7px;
  left: 12px;
  width: 2px;
  background: var(--rg-line-strong);
}

body:has(.member-signup) .mc-flow b {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--rg-line-strong);
  border-radius: 50%;
  background: var(--rg-card);
  color: var(--rg-muted);
  font-size: 12.5px;
  font-weight: 800;
}

body:has(.member-signup) .mc-flow li.now b {
  border-color: var(--rg-brand);
  background: var(--rg-brand);
  color: #ffffff;
}

body:has(.member-signup) .mc-flow div {
  display: grid;
  gap: 1px;
  min-width: 0;
}

body:has(.member-signup) .mc-flow strong {
  color: var(--rg-text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}

body:has(.member-signup) .mc-flow li.now strong {
  color: #175da3;
}

body:has(.member-signup) .mc-flow span {
  color: var(--rg-muted);
  font-size: 12.5px;
  line-height: 1.5;
}


.member-signup .social-login { display:grid; gap:8px; }
.member-signup .social-button { display:flex; align-items:center; justify-content:center; gap:10px; min-height:42px; border-radius:7px; font-size:14px; font-weight:700; text-decoration:none; }
.member-signup .social-button svg { width:18px; height:18px; }
.member-signup .social-kakao { background:#fee500; color:#191919; }
.member-signup .social-google { background:white; color:#263245; }
.member-signup :is(.signup-policies,.member-links) a { color:#175da3; }
.member-signup .member-links { border-color:#33476b; }
@media(max-width:520px){body:has(.member-signup) .member-signup { padding:20px; }}
body[data-theme="store"] { display:flex; flex-direction:column; min-height:100vh; min-height:100dvh; }
body[data-theme="store"] > .layout { flex:1 0 auto; }
.checkout-dialog { width:min(438px,calc(100% - 24px)); padding:0; border:1px solid #bdccdb; border-radius:12px; box-shadow:0 18px 64px #10243b38; }
.checkout-dialog .checkout-head { align-items:center; background:#17344f; color:white; padding:13px 18px; }
.checkout-dialog .checkout-head h2 { font-size:18px; color:white; }
.checkout-dialog .checkout-head p { font-size:11px; color:#c9d9ea; }
.checkout-dialog .checkout-head button { min-height:30px; color:white; border-color:#8095aa; font-size:12px; }
.checkout-dialog :is(.checkout-notice,#checkout-summary,#checkout-form,#checkout-mock-receipt) { margin:14px 18px; }
.checkout-dialog .checkout-notice { font-size:12px; }
.checkout-dialog #checkout-summary li { gap:12px; font-size:13px; }
.checkout-dialog #checkout-summary > p { display:flex; align-items:baseline; gap:6px; padding:10px 0; border-bottom:1px solid #d5e0eb; }
.checkout-dialog #checkout-summary > p strong { margin-left:auto; font-size:16px; }
.checkout-dialog #checkout-form fieldset { grid-template-columns:1fr 1fr; gap:8px; }
.checkout-dialog #checkout-form label { min-height:42px; font-size:13px; padding:7px; }
.checkout-dialog #checkout-form label:has(:checked) { box-shadow:inset 0 0 0 1px #175da3; }
.checkout-dialog #checkout-form > button { min-height:36px; font-size:14px; }
.member-sheet:not(.member-signup) h1 {font-size:21px;}
.cart-sheet .cart-table thead th {text-align:center;}
.cart-total strong {font-size:16px;}
.cart-actions .checkout-open {min-height:38px;padding-inline:16px;font-size:14px;}
#cart-continue {display:inline-flex;align-items:center;gap:6px;padding:6px 11px;border:1px solid #b8c9d9;border-radius:5px;text-decoration:none;color:#264969;font-size:13px;}
#cart-continue::before {content:'←';}
.member-program-points button,.member-payment button {border:1px solid #adc1d3;border-radius:5px;padding:5px 9px;color:#174f83;background:white;font-size:13px;}
.member-payment,.member-action-status {grid-column:1/-1;min-width:0;overflow-wrap:anywhere;}
.member-action-status:empty {display:none;}
.member-payment {padding:12px;background:#f1f5fa;border-radius:6px;}
.member-payment form {display:flex;align-items:end;gap:8px;flex-wrap:wrap;}
.member-payment label {display:grid;gap:3px;font-size:12px;}
.member-payment :is(input,select) {min-height:32px;max-width:100%;border:1px solid #afc0d0;border-radius:4px;padding:4px;background:white;}
.member-payment [data-instructions]:not(:empty) {padding:12px 0;font-weight:600;}
.checkout-dialog #checkout-summary {padding:10px 14px;background:#f2f6fa;border-radius:8px;}
.checkout-dialog #checkout-summary > p {margin:0;border:0;}
.checkout-dialog #checkout-summary ul {margin:0;}
.checkout-dialog .checkout-notice {background:none;padding:0;color:#52677a;}
.checkout-dialog #checkout-method-note:not([hidden]) {padding:10px 12px;background:#f2f6fa;border-left:3px solid #426f9b;font-size:13px;}
.checkout-dialog #checkout-form > button {margin-top:12px;min-height:40px;}
.member-signup .social-google {border:1px solid #cdd9e3;}
@media(min-width:720px){
  .checkout-dialog:has(#checkout-form:not([hidden])) {width:min(680px,calc(100% - 48px));}
  .checkout-dialog[open]:has(#checkout-form:not([hidden])) {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;}
  .checkout-dialog .checkout-head,.checkout-dialog .checkout-notice {grid-column:1/-1;}
  .checkout-dialog #checkout-summary {margin:0 0 18px 18px;}
  .checkout-dialog #checkout-form {margin-top:0;}
}
header .account[data-account-state="pending"] :is(.login,.signup,.member-page) {display:none;}
.product-detail .product-order .order-price {justify-content:flex-end;text-align:right;border-inline-start:0;padding-inline-start:0;}
.detail-quantity {display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-bottom:8px;font-size:13px;}
.detail-quantity input,.cart-quantity {width:4em;height:30px;border:1px solid #b9cad9;border-radius:4px;text-align:center;font:inherit;}
.product-detail .product-order .cart-feedback {display:block;min-height:17px;margin:3px 0 0;text-align:right;color:#175c41;font-size:12px;font-weight:700;line-height:17px;}
.product-detail .order-actions .add-product.buy-now {border:1px solid #a72c40;background:#fff5f5;color:#922439;}
.member-program-points [data-member-charge] {margin-top:7px;}
.cart-table td:nth-child(4) {white-space:nowrap;text-align:right;font-weight:700;}
.cart-table td:nth-child(3) {text-align:center;}
.product-point-mark {background:linear-gradient(145deg,#fff0b8,#e7b44c);border:1px solid #a77829;color:#623f09;box-shadow:inset 0 0 0 2px #ffe8a3,inset 0 0 0 3px #bb8e36,0 2px 0 #98702a;font-weight:900;}
.checkout-dialog #checkout-summary {background:#fff;border:1px solid #d4dfeb;padding:12px;}
.checkout-dialog #checkout-summary h3 {margin:0 0 6px;font-size:14px;color:#243e58;}
.checkout-dialog #checkout-summary li {display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px 0;}
.checkout-dialog #checkout-summary li img {display:block;width:44px;height:40px;object-fit:contain;background:#eff3f7;border-radius:4px;}
.checkout-dialog #checkout-summary li span {overflow-wrap:anywhere;line-height:1.4;}
.checkout-dialog #checkout-summary li small {display:block;color:#506477;font-size:11px;margin-top:3px;}
.checkout-dialog #checkout-summary > p {margin-top:4px;}
@media(max-width:480px){.cart-table .cart-product {display:grid;} .cart-quantity {width:3em;} }
@media(min-width:720px){.checkout-dialog:has(#checkout-form:not([hidden])) {width:min(760px,calc(100% - 48px));}.checkout-dialog[open]:has(#checkout-form:not([hidden])) {grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);}}
[data-product-design=storefront] .product-hero {background:var(--paper);border:1px solid #acbdce;box-shadow:0 2px 5px #17344f12,0 8px 22px #17344f21;}
[data-product-design=storefront] .product-summary h1 {color:#173c63;}
[data-product-design=storefront] .product-order .order-price {align-items:center;gap:8px;border:0;padding:10px 12px;background:#ffffffd9;border-radius:5px;}
[data-product-design=storefront] .order-price > span {border-inline-start:4px solid #2266a4;padding-inline-start:8px;}
.product-gallery .gallery-stage {position:relative;padding:12px;}
.product-gallery .gallery-stage > img {max-height:100%;min-height:0;}
.member-program-points [data-member-charge] {display:block;margin:20px 0 0 auto;}
@media(max-width:700px){.member-program-points [data-member-charge]{margin-left:0;}}
.detail-quantity label {font-weight:650;color:#294967;}
.quantity-stepper {display:inline-flex;align-items:center;border:1px solid #a7bed3;border-radius:6px;background:white;overflow:hidden;}
.quantity-stepper button {width:30px;height:30px;background:#eff5fa;color:#174c80;font-size:17px;}
.quantity-stepper input {width:3em;border:0;border-radius:0;appearance:textfield;}
.quantity-stepper input::-webkit-inner-spin-button {appearance:none;}
.checkout-dialog #checkout-form fieldset label {position:relative;display:flex;align-items:center;gap:8px;padding:9px 10px;min-height:54px;border-radius:8px;background:#f8fafc;}
.checkout-dialog #checkout-form label:has(:checked) {color:#12477c;background:#edf5ff;border-color:#367bb9;}
.checkout-dialog #checkout-form label strong {line-height:1.3;}
.checkout-dialog #checkout-form label small {display:block;color:#4b6379;font-size:11px;margin-top:2px;}
.checkout-dialog #checkout-form label:has([value=usdt]) {border-inline-start:3px solid #279577;}
.checkout-dialog #checkout-form label:has([value=bank]) {border-inline-start:3px solid #407ab2;}

.member-program-actions {grid-column:2/-1;display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:6px;}
.member-program-actions button {min-height:32px;padding:5px 10px;border:1px solid #adc1d3;border-radius:5px;background:#fff;color:#174f83;font-size:13px;}
.member-program-actions button:hover {background:#edf4fb;border-color:#648bae;}
@media(max-width:700px){.member-program-actions {grid-column:1/-1;}}
.inquiry-sheet #inquiry-title {margin:0;font-size:18px;line-height:1.4;}
.inquiry-sheet .inquiry-guidance {margin:10px 0 16px;line-height:1.65;}
.naver-autoking {--tint:#ddf2e4;}
.wordpress-autoking {--tint:#dde5f1;}
.inquiry-guidance span {display:inline-flex;align-items:center;gap:4px;vertical-align:middle;}
.inquiry-guidance img {width:16px;height:16px;object-fit:contain;}
.member-program-actions {justify-content:flex-start;flex-wrap:wrap;}
.member-program-actions .member-guide {display:inline-flex;align-items:center;min-height:32px;padding:5px 10px;border:1px solid #adc1d3;border-radius:5px;background:white;color:#174f83;text-decoration:none;font-size:13px;}
.member-program-actions .member-guide:hover {background:#edf4fb;border-color:#648bae;}
.member-program-actions [data-member-charge] {margin-left:auto;}
@media(max-width:700px){
  .member-program-actions {display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:4px;align-items:stretch;}
  .member-program-actions :is(button,.member-guide) {margin:0;padding:5px 2px;justify-content:center;text-align:center;font-size:12px;line-height:1.4;}
}
